/* ==== styles.css ==== */
/* ==========================================================================
   小鱼来了 — 设计系统（移动优先，桌面自适应）
   ========================================================================== */
:root {
  --brand: #0b74ff;
  --brand-600: #0962d8;
  --brand-050: #eaf2ff;
  --accent: #00c2b2;
  --accent-050: #e6faf8;

  --bg: #f4f6fb;
  --surface: #ffffff;
  --surface-2: #fafbfe;
  --line: #e8ecf3;
  --line-strong: #d7deea;

  --text: #16202e;
  --text-2: #5a6b82;
  --text-3: #93a1b5;

  --ok: #12a45b;
  --warn: #f59e0b;
  --danger: #e5484d;
  --danger-050: #fdecec;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --r-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(16, 32, 60, 0.06);
  --shadow: 0 4px 16px rgba(16, 32, 60, 0.08);
  --shadow-lg: 0 12px 40px rgba(16, 32, 60, 0.14);

  --tabbar-h: 58px;
  --topbar-h: 52px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);

  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}
a { color: var(--brand); text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.35; }
p { margin: 0 0 8px; }
ul { margin: 0; padding-left: 18px; }

/* ---------- 启动 ---------- */
.boot { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; gap: 8px; }
.boot-logo { font-size: 56px; animation: bob 1.6s ease-in-out infinite; }
.boot-text { font-size: 20px; font-weight: 700; }
.boot-sub { color: var(--text-3); font-size: 13px; }
@keyframes bob { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-8px) } }

/* ---------- 骨架 ---------- */
.shell { min-height: 100vh; padding-bottom: calc(var(--tabbar-h) + var(--safe-b) + 12px); }
.topbar {
  position: sticky; top: 0; z-index: 40;
  height: calc(var(--topbar-h) + var(--safe-t));
  padding-top: var(--safe-t);
  display: flex; align-items: center; gap: 10px;
  padding-inline: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar .title { font-size: 17px; font-weight: 700; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar .icon-btn { flex: none; }

/* 标题做成回首页链接时的样式：看起来可点，但不像按钮那么重 */
.topbar .title-link {
  color: var(--text-1);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.topbar .title-link:active { opacity: .6; }
.topbar #nav-home { font-size: 17px; }
.page { padding: 12px; max-width: 1180px; margin: 0 auto; }
.page.flush { padding: 0; }

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  height: calc(var(--tabbar-h) + var(--safe-b));
  padding-bottom: var(--safe-b);
  display: grid; grid-template-columns: repeat(5, 1fr);  /* 列数由 JS 按 TABS 长度内联覆盖 */
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--line);
}
.tabbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; color: var(--text-3); font-size: 11px; font-weight: 600;
}
.tabbar a .ico { font-size: 20px; line-height: 1; }
.tabbar a.active { color: var(--brand); }
.tabbar a.active .ico { transform: translateY(-1px); }
/* 7 个一级入口时压缩一下，避免窄屏拥挤 */
@media (max-width: 480px) {
  .tabbar a { font-size: 10px; gap: 1px; }
  .tabbar a .ico { font-size: 17px; }
}
@media (min-width: 481px) and (max-width: 720px) {
  .tabbar a { font-size: 10.5px; }
  .tabbar a .ico { font-size: 18px; }
}

.fab {
  position: fixed; right: 16px; bottom: calc(var(--tabbar-h) + var(--safe-b) + 16px); z-index: 46;
  width: 56px; height: 56px; border-radius: 50%; border: none;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff; font-size: 26px; line-height: 1; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
}
.fab:active { transform: scale(0.94); }

/* ---------- 通用 ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.card + .card { margin-top: 12px; }
.card-pad { padding: 14px; }
.section { margin: 16px 0 8px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.section-head h2 { font-size: 16px; }
.section-head .more { font-size: 13px; color: var(--text-3); }

.row { display: flex; align-items: center; gap: 10px; }
.row.between { justify-content: space-between; }
.row.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.muted { color: var(--text-2); }
.dim { color: var(--text-3); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.strong { font-weight: 700; }
.center { text-align: center; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clamp3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mt8 { margin-top: 8px } .mt12 { margin-top: 12px } .mt16 { margin-top: 16px } .mt24 { margin-top: 24px }
.mb8 { margin-bottom: 8px } .mb12 { margin-bottom: 12px } .mb16 { margin-bottom: 16px }
.gap6 { gap: 6px } .gap8 { gap: 8px } .gap12 { gap: 12px }
.hide { display: none !important; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 42px; padding: 0 16px; border-radius: var(--r);
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--text);
  font-size: 15px; font-weight: 600; cursor: pointer; transition: .15s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: .5; pointer-events: none; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:active { background: var(--brand-600); }
.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--brand); }
.btn-outline { background: var(--brand-050); border-color: #cfe0ff; color: var(--brand-600); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.btn-block { width: 100%; }
.btn-group { display: flex; gap: 8px; }
.btn-group .btn { flex: 1; }

.icon-btn {
  width: 36px; height: 36px; border-radius: 10px; border: none; background: transparent;
  display: inline-flex; align-items: center; justify-content: center; font-size: 18px;
  color: var(--text-2); cursor: pointer;
}
.icon-btn:active { background: var(--line); }

/* ---------- 标签 / 徽章 ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips.scroll::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  height: 30px; padding: 0 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-strong);
  font-size: 13px; color: var(--text-2); white-space: nowrap; cursor: pointer;
}
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.chip.soft { background: var(--brand-050); border-color: transparent; color: var(--brand-600); }
.badge {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 1px 7px; border-radius: 6px; font-size: 11px; font-weight: 700;
  background: var(--brand-050); color: var(--brand-600);
}
.badge.ok { background: #e7f7ee; color: var(--ok); }
.badge.warn { background: #fef4e3; color: #b26a00; }
.badge.danger { background: var(--danger-050); color: var(--danger); }
.badge.gray { background: #eef1f6; color: var(--text-2); }
.badge.accent { background: var(--accent-050); color: #00857a; }

/* ---------- 表单 ---------- */
.field { margin-bottom: 14px; }
.field > label { display: block; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.field .hint { font-size: 12px; color: var(--text-3); margin-top: 5px; }
.input, .textarea, .select {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line-strong);
  border-radius: var(--r); background: var(--surface); outline: none; transition: .15s;
}
.input:focus, .textarea:focus, .select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-050); }
.textarea { min-height: 120px; resize: vertical; line-height: 1.7; }
.input-lg { height: 48px; font-size: 16px; }
.input-group { display: flex; gap: 8px; }
.input-group .input { flex: 1; }
.switch { position: relative; width: 46px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider { position: absolute; inset: 0; background: #cbd5e1; border-radius: 999px; transition: .2s; }
.switch .slider::before { content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; }
.switch input:checked + .slider { background: var(--brand); }
.switch input:checked + .slider::before { transform: translateX(20px); }

.checkbox { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; cursor: pointer; }
.checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); }

/* ---------- 列表项 ---------- */
.item {
  display: flex; gap: 12px; padding: 12px 14px;
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.item:last-child { border-bottom: none; }
.item:active { background: var(--surface-2); }
.item-thumb { width: 96px; height: 72px; border-radius: var(--r); object-fit: cover; flex: none; background: linear-gradient(135deg, #e8f0ff, #e6faf8); }
.item-body { flex: 1; min-width: 0; }
.item-title { font-size: 15px; font-weight: 700; line-height: 1.4; }
.item-sub { font-size: 13px; color: var(--text-2); margin-top: 3px; }
.item-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--text-3); margin-top: 7px; }

/* ---------- 详情 ---------- */
.hero { position: relative; background: #0b1420; }
.hero img { width: 100%; max-height: 58vh; object-fit: contain; margin: 0 auto; }
.gallery { display: flex; gap: 8px; overflow-x: auto; padding: 10px 12px; background: var(--surface); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery img { width: 78px; height: 78px; border-radius: var(--r); object-fit: cover; flex: none; border: 2px solid transparent; }
.gallery img.active { border-color: var(--brand); }
.detail-title { font-size: 21px; font-weight: 800; line-height: 1.4; }
.detail-sub { font-size: 14px; color: var(--text-2); margin-top: 8px; }

.ai-card { border: 1px solid #d8e6ff; background: linear-gradient(160deg, #f5f9ff, #f0fbfa); }
.ai-head { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand-600); }
.score-ring { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 18px; color: #fff; flex: none; }
.ai-list { margin: 8px 0 0; padding: 0; list-style: none; font-size: 13.5px; }
.ai-list li { padding-left: 20px; position: relative; margin-bottom: 5px; color: var(--text-2); }
.ai-list li::before { position: absolute; left: 0; }
.ai-list.good li::before { content: "✓"; color: var(--ok); font-weight: 700; }
.ai-list.risk li::before { content: "!"; color: var(--danger); font-weight: 700; }
.ai-list.tip li::before { content: "→"; color: var(--brand); font-weight: 700; }

.pipeline { display: flex; flex-direction: column; gap: 0; }
.stage { display: flex; gap: 10px; padding: 8px 0; position: relative; }
.stage .dot { width: 22px; height: 22px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: #eef1f6; color: var(--text-3); z-index: 1; }
.stage.done .dot { background: #e7f7ee; color: var(--ok); }
.stage.current .dot { background: var(--brand); color: #fff; box-shadow: 0 0 0 4px var(--brand-050); }
.stage:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 30px; bottom: -2px; width: 2px; background: var(--line-strong); }
.stage.done:not(:last-child)::after { background: #bfe7d0; }
.stage .body { flex: 1; }
.stage .name { font-size: 14px; font-weight: 600; }
.stage.current .name { color: var(--brand); font-weight: 700; }
.stage .desc { font-size: 12px; color: var(--text-3); }

/* ---------- 留言 ---------- */
.comment { display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.comment:last-child { border-bottom: none; }
.avatar { width: 36px; height: 36px; border-radius: 50%; flex: none; background: var(--brand-050); color: var(--brand-600); display: grid; place-items: center; font-weight: 700; font-size: 14px; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.lg { width: 52px; height: 52px; font-size: 18px; }
.avatar.sm { width: 28px; height: 28px; font-size: 12px; }
.comment .body { flex: 1; min-width: 0; }
.comment .name { font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.comment .content { font-size: 14.5px; margin-top: 3px; white-space: pre-wrap; word-break: break-word; }
.comment.ai { background: var(--brand-050); border-radius: var(--r); padding: 10px; border-bottom: none; margin-top: 6px; }
.comment.ai .avatar { background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; }

/* ---------- 聊天 ---------- */
.chat-page { display: flex; flex-direction: column; height: 100vh; }
.chat-body { flex: 1; overflow-y: auto; padding: 12px; background: var(--bg); }
.msg { display: flex; gap: 8px; margin-bottom: 12px; align-items: flex-start; }
.msg.me { flex-direction: row-reverse; }
.msg .bubble { max-width: 74%; padding: 9px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; white-space: pre-wrap; word-break: break-word; box-shadow: var(--shadow-sm); }
.msg.me .bubble { background: var(--brand); color: #fff; border-color: var(--brand); }
.msg.system { justify-content: center; }
.msg.system .bubble { background: #eef1f6; color: var(--text-2); font-size: 12.5px; border: none; max-width: 88%; text-align: center; }
.msg .meta { font-size: 11px; color: var(--text-3); margin-bottom: 3px; }
.chat-input { display: flex; gap: 8px; padding: 10px 12px calc(10px + var(--safe-b)); background: var(--surface); border-top: 1px solid var(--line); align-items: flex-end; }
.chat-input textarea { flex: 1; min-height: 42px; max-height: 120px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--r); resize: none; outline: none; }

/* ---------- 会议 ---------- */
.video-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.video-tile { position: relative; background: #0b1420; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; display: grid; place-items: center; color: #7b8ba3; }
.video-tile video { width: 100%; height: 100%; object-fit: cover; }
.video-tile .tag { position: absolute; left: 8px; bottom: 8px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 6px; }
.transcript { max-height: 320px; overflow-y: auto; }
.transcript .line { padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.transcript .spk { color: var(--brand-600); font-weight: 700; margin-right: 6px; font-size: 13px; }
.rec-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--danger); display: inline-block; animation: pulse 1.2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .25 } }

/* ---------- 弹层 ---------- */
.sheet-mask { position: fixed; inset: 0; background: rgba(10, 20, 35, .45); z-index: 60; animation: fade .18s; }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 61;
  background: var(--surface); border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: 8px 16px calc(20px + var(--safe-b));
  max-height: 88vh; overflow-y: auto; animation: slideUp .22s cubic-bezier(.2,.8,.3,1);
}
@keyframes slideUp { from { transform: translateY(100%) } to { transform: translateY(0) } }
.sheet-handle { width: 40px; height: 4px; border-radius: 2px; background: var(--line-strong); margin: 6px auto 14px; }
.sheet h3 { font-size: 17px; margin-bottom: 12px; }

.modal-mask { position: fixed; inset: 0; background: rgba(10, 20, 35, .5); z-index: 70; display: grid; place-items: center; padding: 20px; }
.modal { background: var(--surface); border-radius: var(--r-lg); padding: 20px; width: 100%; max-width: 420px; box-shadow: var(--shadow-lg); animation: pop .18s; }
@keyframes pop { from { transform: scale(.94); opacity: 0 } to { transform: scale(1); opacity: 1 } }
.modal h3 { margin-bottom: 10px; }
.modal .actions { display: flex; gap: 10px; margin-top: 18px; }
.modal .actions .btn { flex: 1; }

.toast-host { position: fixed; left: 0; right: 0; top: calc(18px + var(--safe-t)); z-index: 90; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.toast { background: rgba(20, 30, 46, .93); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 14px; max-width: 86vw; text-align: center; box-shadow: var(--shadow-lg); animation: toastIn .2s; }
.toast.ok { background: rgba(15, 130, 75, .95); }
.toast.err { background: rgba(200, 45, 50, .95); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px) } to { opacity: 1; transform: none } }

/* ---------- 空状态 / 加载 ---------- */
.empty { text-align: center; padding: 48px 20px; color: var(--text-3); }
.empty .ico { font-size: 44px; margin-bottom: 10px; }
.skeleton { background: linear-gradient(90deg, #eef1f6 25%, #f6f8fc 37%, #eef1f6 63%); background-size: 400% 100%; animation: shimmer 1.3s infinite; border-radius: var(--r); }
@keyframes shimmer { 0% { background-position: 100% 50% } 100% { background-position: 0 50% } }
.spinner { width: 20px; height: 20px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg) } }
.load-more { text-align: center; padding: 16px; color: var(--text-3); font-size: 13px; }

/* ---------- 首页 ---------- */
.hero-banner { position: relative; border-radius: var(--r-xl); overflow: hidden; padding: 22px 20px; color: #fff; background: linear-gradient(135deg, #0b74ff, #00c2b2); }
.hero-banner h1 { font-size: 22px; }
.hero-banner p { margin: 6px 0 14px; opacity: .92; font-size: 13.5px; }
.hero-search { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.94); border-radius: 999px; padding: 9px 16px; color: var(--text-3); font-size: 14px; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 10px; text-align: center; box-shadow: var(--shadow-sm); }
.cat-card .ico { font-size: 26px; }
.cat-card .name { font-weight: 700; margin-top: 6px; }
.cat-card .desc { font-size: 11.5px; color: var(--text-3); }

/* 首页一级入口：项目 / 活动 / 贸易 / 群聊 / 会议 同一横栏 */
.cat-grid-5 { grid-template-columns: repeat(5, 1fr); gap: 8px; }
.cat-grid-5 .cat-card { padding: 12px 4px; border-radius: var(--r); }
.cat-grid-5 .cat-card .ico { font-size: 22px; }
.cat-grid-5 .cat-card .name { font-size: 13px; margin-top: 4px; }
.cat-grid-5 .cat-card .desc {
  font-size: 10.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 1px;
}
@media (max-width: 430px) {
  .cat-grid-5 { gap: 6px; }
  .cat-grid-5 .cat-card { padding: 10px 2px; }
  .cat-grid-5 .cat-card .ico { font-size: 20px; }
  .cat-grid-5 .cat-card .name { font-size: 12.5px; }
  .cat-grid-5 .cat-card .desc { display: none; }
}
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; }
.stat-row .n { font-size: 19px; font-weight: 800; color: var(--brand); }
.stat-row .l { font-size: 11.5px; color: var(--text-3); }
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.industry-cell { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 4px; text-align: center; font-size: 12px; }
.industry-cell .ico { font-size: 20px; display: block; }

/* ---------- 首页：登录入口 / 会议与群聊快捷区 ---------- */
.hero-auth { display: flex; gap: 10px; margin-top: 14px; }
.hero-auth-btn {
  flex: 1;
  background: #fff;
  border-color: #fff;
  color: var(--brand-600);
  height: 38px;
  font-weight: 700;
}
.hero-auth-btn.ghost { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .55); color: #fff; }
.hero-auth-btn:active { transform: scale(.98); }

.login-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(120deg, #eaf2ff, #e6faf8);
  border: 1px solid #cfe0ff;
  border-radius: var(--r-lg);
  padding: 12px 14px;
}

.quick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.quick-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: .15s;
}
.quick-card:active { transform: scale(.98); }
.quick-card:hover { border-color: var(--brand); }
.quick-card .ico { font-size: 24px; }
.quick-card .t { font-weight: 700; font-size: 14.5px; }
.quick-card .d { font-size: 11.5px; color: var(--text-3); }

/* ---------- 分享海报 ---------- */
.poster-wrap { display: grid; place-items: center; padding: 10px 0; }
.poster-wrap canvas { width: 100%; max-width: 320px; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.share-mode { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 10px; cursor: pointer; }
.share-mode.active { border-color: var(--brand); background: var(--brand-050); }
.share-mode .ico { font-size: 22px; }
.share-preview { background: var(--surface-2); border: 1px dashed var(--line-strong); border-radius: var(--r); padding: 12px; font-size: 13px; white-space: pre-wrap; word-break: break-all; color: var(--text-2); }

/* ---------- 表格（管理端） ---------- */
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th, .table td { padding: 10px 8px; text-align: left; border-bottom: 1px solid var(--line); }
.table th { color: var(--text-2); font-weight: 600; background: var(--surface-2); }

/* ---------- 文件卡片 ---------- */
.file-card { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.file-card .fico { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; font-size: 17px; background: var(--brand-050); color: var(--brand-600); flex: none; }
.file-card .fname { font-size: 14px; font-weight: 600; }
.file-card .fmeta { font-size: 11.5px; color: var(--text-3); }

/* ---------- 桌面适配 ---------- */
@media (min-width: 768px) {
  body { font-size: 15px; }
  .page { padding: 20px 24px; }
  .tabbar { display: none; }
  .fab { right: 32px; bottom: 32px; }
  .shell { padding-bottom: 40px; }
  .list-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; }
  .list-grid .item { border: 1px solid var(--line); border-radius: var(--r-lg); border-bottom: 1px solid var(--line); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid-5 { grid-template-columns: repeat(5, 1fr); }
  .industry-grid { grid-template-columns: repeat(8, 1fr); }
  .video-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
  .detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
  .detail-side { position: sticky; top: calc(var(--topbar-h) + 20px); }
  .sheet { left: auto; right: 24px; bottom: 24px; width: 440px; border-radius: var(--r-xl); }
  .modal { max-width: 520px; }
}
@media (min-width: 1100px) {
  .industry-grid { grid-template-columns: repeat(10, 1fr); }
}

/* ==========================================================================
   项目发布：资质要求 / 商务条件 / 当前环节面板 / 文书
   ========================================================================== */
.privacy-note {
  background: #eef6ff;
  border: 1px solid #cfe0ff;
  border-radius: var(--r);
  padding: 10px 12px;
  font-size: 12.5px;
  line-height: 1.7;
  color: #2b4a7a;
}
.privacy-note b { color: #17406f; }

/* 未登录访客的门禁卡片 */
.gate-card {
  text-align: center;
  background: linear-gradient(180deg, #f5f9ff, #fff);
  border: 1px solid #cfe0ff;
}
.gate-card .btn { height: 42px; }

/* ---------- 发布页：AI 两步流程 ---------- */
.step-hint {
  background: #f5f9ff;
  border: 1px solid #dbe8fb;
  border-radius: var(--r);
  padding: 10px 12px;
  font-size: 12.5px;
  line-height: 1.8;
  color: #33507a;
}
.step-hint b { color: #17406f; }

.summary-card {
  background: #f8fbff;
  border: 1px solid #dbe8fb;
  border-radius: var(--r-lg);
  padding: 12px;
}
.summary-points {
  margin: 6px 0 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--text-2);
}
.summary-points li { margin-bottom: 2px; }

.warn-note {
  background: #fff8e6;
  border: 1px solid #ffe1a8;
  border-radius: var(--r);
  padding: 9px 12px;
  font-size: 12.5px;
  line-height: 1.7;
  color: #8a5a00;
  margin-top: 8px;
}
.warn-note b { color: #6b4600; }

/* ---------- 注册身份选择 / 实名认证 ---------- */
.acct-type { display: flex; gap: 10px; }
.acct-opt {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  cursor: pointer;
  transition: all .15s;
  background: #fff;
}
.acct-opt:hover { border-color: #b9d3f5; }
.acct-opt.active { border-color: var(--brand); background: #f2f8ff; box-shadow: 0 0 0 3px rgba(45,120,245,.08); }
.acct-opt .ico { font-size: 26px; line-height: 1.2; }
.acct-opt .strong { font-size: 14px; margin: 4px 0 2px; }

.verify-summary {
  background: #f6f9fe;
  border: 1px solid #e2ecfa;
  border-radius: var(--r);
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-2);
}
.verify-list { margin: 6px 0 0; padding-left: 18px; font-size: 12.5px; line-height: 1.8; color: var(--text-2); }
.verify-list li { margin-bottom: 2px; }

/* ---------- 微信绑定 ---------- */
.wx-bound, .wx-unbound {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 12px;
  background: #f7fbf9;
}
.wx-unbound { background: #f8fafc; }

/* 微信内分享提示条 */
.wx-tip {
  background: #f0f9f1;
  border: 1px solid #cfe9d4;
  border-radius: var(--r);
  padding: 10px 12px;
  font-size: 12.5px;
  line-height: 1.75;
  color: #1f6b34;
  margin-bottom: 12px;
}
.wx-tip b { color: #14512a; }

/* ---------- 案例参考 ---------- */
.case-item {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 10px 12px;
  margin-bottom: 8px;
  background: #fbfcfe;
}
.case-title { font-size: 13.5px; font-weight: 600; color: var(--text-1); }
.case-item .kv { font-size: 12.5px; margin-top: 3px; }
.case-item .kv .k { width: 62px; }

/* ---------- 上传队列（逐个文件进度） ---------- */
.upload-queue {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  padding: 10px 12px;
}
.upload-queue-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.upload-item { padding: 6px 0; border-top: 1px dashed #eef2f7; }
.upload-item:first-of-type { border-top: 0; }
.upload-item-main {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 12.5px;
}
.upload-item-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-1);
}
.upload-item-meta { flex: none; color: var(--text-3); font-variant-numeric: tabular-nums; }
.upload-item.is-error .upload-item-name { color: var(--danger); }
.upload-bar {
  height: 4px;
  border-radius: 999px;
  background: #eef2f7;
  margin-top: 5px;
  overflow: hidden;
}
.upload-bar > i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), #4aa3ff);
  transition: width .18s ease;
}
.upload-bar > i.err { background: var(--danger); }
/* 解析阶段：进度条走满并流动，表示「还在忙」而不是卡死 */
.upload-bar > i.busy {
  background: repeating-linear-gradient(
    115deg,
    var(--brand) 0 12px,
    #7cbcff 12px 24px
  );
  background-size: 200% 100%;
  animation: upload-stripe 1s linear infinite;
}
@keyframes upload-stripe {
  from { background-position: 0 0; }
  to { background-position: -48px 0; }
}
.upload-retry { margin-top: 6px; }

/* ---------- 文件保密 ---------- */
.secret-box {
  border: 1px solid #e6ddc8;
  border-radius: var(--r);
  background: #fffdf6;
  padding: 12px;
}
.file-locked {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 12px;
  border: 1px dashed #e0cfa8;
  border-radius: var(--r);
  background: #fffdf6;
}
.file-locked-ico { font-size: 26px; }
.file-locked-txt { flex: 1; min-width: 0; }
.file-unlocked-tip {
  background: #f0f9f1;
  border: 1px solid #cfe9d4;
  border-radius: var(--r);
  padding: 8px 12px;
  font-size: 12.5px;
  color: #1f6b34;
}
.file-countdown { font-variant-numeric: tabular-nums; }

/* ---------- 导入：拖拽区 ---------- */
.upload-zone {
  border: 2px dashed #c8d8ee;
  border-radius: var(--r-lg);
  background: #f8fbff;
  padding: 20px 14px;
  text-align: center;
  transition: border-color .15s, background .15s, transform .15s;
}
.upload-zone.dragging {
  border-color: var(--brand);
  background: #eef6ff;
  transform: scale(1.01);
}
.upload-zone-ico { font-size: 32px; line-height: 1.1; }
.upload-zone-main { font-size: 14px; font-weight: 600; color: var(--text-1); margin-top: 6px; }
.upload-zone-sub { font-size: 12.5px; color: var(--text-3); margin-top: 4px; line-height: 1.6; }
@media (max-width: 560px) {
  .upload-zone { padding: 16px 10px; }
  .upload-zone-ico { font-size: 26px; }
}

/* ---------- 悬赏配图 ---------- */
.bounty-img-box { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bounty-img-list { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.bounty-img-item {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f4f7fb;
}
.bounty-img-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bounty-img-del {
  position: absolute; top: 4px; right: 4px;
  width: 22px; height: 22px; line-height: 1;
  border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, .55); color: #fff;
  font-size: 12px; cursor: pointer; padding: 0;
}
.bounty-img-cover {
  position: absolute; left: 4px; bottom: 4px;
  background: #ff8f00; color: #fff;
  font-size: 10px; padding: 1px 6px; border-radius: 999px;
}

/* ---------- 悬赏 ---------- */
.bounty-card { border: 1px solid #ffe0b2; background: linear-gradient(180deg, #fffdf7, #fff); }
.bounty-reward {
  flex: none;
  background: linear-gradient(135deg, #ff8f00, #ff6f00);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

/* 无封面时的占位区 */
.hero-empty {
  display: grid;
  place-items: center;
  height: 168px;
  align-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #eef4fb, #f7fbff);
}

/* ---------- 采购/供应：物资明细 ---------- */
.trade-item {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 10px;
  margin-bottom: 10px;
  background: #f9fbfd;
}
.trade-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 1fr;
  gap: 6px;
  margin-top: 6px;
}
@media (max-width: 560px) {
  .trade-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- 数据表格（物资明细 2 条以上） ---------- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 560px;
}
.data-table th,
.data-table td {
  padding: 9px 10px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.data-table thead th {
  background: #f4f8fd;
  color: var(--text-2);
  font-weight: 600;
  white-space: nowrap;
}
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:nth-child(even) { background: #fafcff; }
.data-table .num { text-align: right; white-space: nowrap; }
.data-table .dim { color: var(--text-3); }
.data-table td .tiny { line-height: 1.5; }

/* 未登录时给操作按钮加一个锁的提示 */
.locked-hint {
  background: #fff8e6;
  border: 1px solid #ffe1a8;
  border-radius: var(--r);
  padding: 9px 12px;
  font-size: 12.5px;
  color: #8a5a00;
  margin-top: 8px;
}

.form-section-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-1);
  margin: 18px 0 10px;
  padding-left: 9px;
  border-left: 3px solid var(--brand);
  line-height: 1.2;
}

/* ---------- 资质要求：可增删的多行 ---------- */
.qual-row {
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 10px;
  margin-bottom: 10px;
}
.qual-meta { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.qual-meta .select { flex: 1; min-width: 0; }
.qual-req-wrap {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12.5px; color: var(--text-2); white-space: nowrap; cursor: pointer;
}
.qual-note { margin-top: 6px; }

/* ---------- 商务条件 / 资质清单：键值表 ---------- */
.kv-table { display: flex; flex-direction: column; gap: 8px; }
.kv { display: flex; gap: 10px; font-size: 13.5px; line-height: 1.6; }
.kv .k { flex: none; width: 106px; color: var(--text-3); }
.kv .v { flex: 1; min-width: 0; color: var(--text-1); word-break: break-word; }

.qual-list { display: flex; flex-direction: column; gap: 8px; }
.qual-item { background: #f7f9fc; border-radius: var(--r); padding: 9px 11px; }
.qual-item-name { font-size: 13.5px; font-weight: 600; color: var(--text-1); }

/* ---------- 当前环节面板 ---------- */
.stage-panel { border: 1px solid #cfe0ff; background: linear-gradient(180deg, #f5f9ff, #fff); }
.stage-note {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 10px 12px;
  margin-bottom: 8px;
}
.qual-upload-row {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 10px;
  margin-bottom: 10px;
}
.qual-upload-row input[readonly] { background: #f2f5f9; color: var(--text-2); }

/* ---------- 文书视图 ---------- */
.doc-view {
  max-height: 56vh;
  overflow-y: auto;
  padding: 4px 2px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--text-1);
}
.doc-h2 { text-align: center; letter-spacing: 6px; font-size: 19px; margin: 4px 0; }
.doc-sub { text-align: center; color: var(--text-3); font-size: 12.5px; margin-bottom: 14px; }
.doc-meta {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 10px 12px;
  margin-bottom: 14px;
  font-size: 12.5px;
  background: #f7f9fc;
}
.doc-meta b { color: var(--text-3); font-weight: 600; }
.doc-h3 { font-size: 14px; font-weight: 700; margin: 16px 0 6px; }
.doc-row { font-size: 13px; margin: 3px 0; }
.doc-row b { color: var(--text-2); font-weight: 600; }
.doc-foot {
  margin-top: 18px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 11.5px;
}

/* 转发到微信引导 */
.wx-guide { text-align: center; padding: 18px 4px 6px; }
.wx-guide-ico { font-size: 44px; line-height: 1.1; }
.wx-guide-arrow {
  font-size: 40px;
  color: #07c160;
  font-weight: 800;
  animation: wxArrow 1.4s ease-in-out infinite;
}
@keyframes wxArrow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(10px, -10px); }
}
.wx-guide-t { font-size: 17px; font-weight: 800; margin-top: 8px; }
.wx-guide-d { font-size: 12.5px; color: var(--muted); line-height: 1.8; margin-top: 8px; }
.wx-qr {
  margin: 16px auto 4px;
  width: 200px; height: 200px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 4px 18px rgba(15,30,60,.08);
}
.wx-qr img { width: 100%; height: 100%; display: block; image-rendering: pixelated; }

/* 微信接入状态提示 */
.wx-status {
  margin-top: 12px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 11.5px;
  line-height: 1.6;
  background: #f4f6f8;
  color: var(--muted);
  text-align: left;
}
.wx-status.ok { background: #eafaf0; color: #0e8f5f; }

/* 公众号接入配置页 */
.wxsetup-hero {
  background: linear-gradient(135deg, #3a4a63 0%, #55637a 100%);
  border-radius: 16px; padding: 20px; color: #fff;
}
.wxsetup-hero.ok { background: linear-gradient(135deg, #07c160 0%, #0aa552 100%); }
.wxsetup-hero-t { font-size: 20px; font-weight: 800; }
.wxsetup-hero-s { font-size: 12.5px; opacity: .92; margin-top: 8px; line-height: 1.7; }

.wxsetup-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wxsetup-stat { background: #f7fafd; border-radius: 10px; padding: 10px; text-align: center; }
.wxsetup-stat.ok { background: #eafaf0; }
.wxsetup-stat b { display: block; font-size: 14px; color: var(--muted); }
.wxsetup-stat.ok b { color: #0e8f5f; }
.wxsetup-stat span { font-size: 10.5px; color: var(--muted); }

.wxsetup-field { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.wxsetup-field:last-child { border-bottom: none; }
.wxsetup-field-ico { font-size: 15px; }
.wxsetup-field-k { font-size: 12.5px; font-weight: 700; font-family: ui-monospace, Consolas, monospace; }
.wxsetup-field-l { font-size: 11.5px; color: var(--text); margin-top: 2px; }
.wxsetup-field-d { font-size: 11px; color: var(--muted); margin-top: 2px; line-height: 1.5; }
.wxsetup-field.ok .wxsetup-field-k { color: #0e8f5f; }

.wxsetup-code {
  background: #1e2430; color: #d8e2f0;
  border-radius: 10px; padding: 12px 14px;
  font-size: 11.5px; line-height: 1.8;
  overflow-x: auto; margin: 0;
  font-family: ui-monospace, Consolas, monospace;
}

.wxsetup-step { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.wxsetup-step:last-child { border-bottom: none; }
.wxsetup-step-n {
  width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.wxsetup-step-t { font-size: 13.5px; font-weight: 700; }
.wxsetup-step-d { font-size: 12px; color: var(--muted); line-height: 1.65; margin-top: 4px; }

@media (max-width: 520px) {
  .wxsetup-grid { grid-template-columns: 1fr; }
}

/* ==== home.css ==== */
/* ==========================================================================
   小鱼来了 — 首页（参照移动端 App 首页布局重做）
   结构：消息条 → 轮播 Banner → 2×3 入口网格 → 推荐 Tab 横滑 → 行业快捷 → 两列内容卡
   ========================================================================== */

.home-wrap { padding: 10px 12px 16px; }

/* ---------------- 顶部消息条 ---------------- */
.home-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 14px;
  padding: 9px 12px;
  box-shadow: 0 2px 10px rgba(24, 60, 120, .07);
  margin-bottom: 12px;
  overflow: hidden;
}
.home-notice .thumbs { display: flex; flex: none; }
.home-notice .thumbs i {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-style: normal;
  color: #fff;
  margin-left: -7px;
  border: 2px solid #fff;
}
.home-notice .thumbs i:first-child { margin-left: 0; }
.home-notice .body { flex: 1; min-width: 0; }
.home-notice .body .a { font-size: 13.5px; font-weight: 700; color: #16202e; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-notice .body .b { font-size: 12px; color: #8a9bb5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------- 轮播 Banner ---------------- */
.home-banner {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  height: 172px;
  box-shadow: 0 10px 26px rgba(20, 60, 140, .18);
}
.home-banner .slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px;
  opacity: 0;
  transition: opacity .55s ease;
  pointer-events: none;
}
.home-banner .slide.on { opacity: 1; pointer-events: auto; }
.home-banner .slide .txt { flex: 1; min-width: 0; color: #fff; }
.home-banner .slide .tag {
  display: inline-block;
  background: rgba(255, 255, 255, .22);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 11.5px;
  margin-bottom: 10px;
  backdrop-filter: blur(4px);
}
.home-banner .slide h2 {
  font-size: 27px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 1px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .22);
}
.home-banner .slide p { margin: 8px 0 0; font-size: 12.5px; opacity: .92; }
.home-banner .slide .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  background: rgba(255, 255, 255, .92);
  color: #16202e;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
}
.home-banner .slide .art { font-size: 62px; flex: none; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .28)); }
.home-banner .dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}
.home-banner .dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  transition: .2s;
}
.home-banner .dots i.on { width: 18px; border-radius: 3px; background: #fff; }

/* ---------------- 2×3 入口网格 ---------------- */
.home-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 12px; }
.home-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #fff;
  border-radius: 16px;
  padding: 14px 14px;
  box-shadow: 0 2px 10px rgba(24, 60, 120, .07);
  min-height: 88px;
  transition: .15s;
}
.home-card:active { transform: scale(.98); }
.home-card .txt { flex: 1; min-width: 0; }
.home-card .t { font-size: 16.5px; font-weight: 800; color: #16202e; letter-spacing: .3px; }
.home-card .d { font-size: 12px; color: #8a9bb5; margin-top: 5px; line-height: 1.4; }
.home-card .art {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 30px;
  flex: none;
  box-shadow: inset 0 -6px 14px rgba(255, 255, 255, .55);
}

/* ---------------- 推荐 Tab + 横滑 ---------------- */
.home-panel {
  background: #fff;
  border-radius: 18px;
  padding: 14px 0 14px;
  margin-top: 12px;
  box-shadow: 0 2px 10px rgba(24, 60, 120, .07);
}
.home-panel-head {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 16px 12px;
  border-bottom: 1px solid #f0f4fa;
}
.home-tab {
  position: relative;
  font-size: 15px;
  font-weight: 700;
  color: #8a9bb5;
  padding-bottom: 8px;
  cursor: pointer;
}
.home-tab.on { color: #12a05a; }
.home-tab.on::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: #12a05a;
}
.home-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px 16px 2px;
  scrollbar-width: none;
}
.home-scroll::-webkit-scrollbar { display: none; }
.home-tile {
  flex: none;
  width: 104px;
  text-align: center;
}
.home-tile .art {
  width: 100%;
  height: 78px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 30px;
  margin-bottom: 8px;
}
.home-tile .t { font-size: 13px; font-weight: 700; color: #16202e; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-tile .d { font-size: 11px; color: #12a05a; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------- 最新发布：两列卡片 ---------------- */
.home-list2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 12px; }
.home-item {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(24, 60, 120, .07);
  display: flex;
  flex-direction: column;
}
.home-item .cover {
  height: 104px;
  display: grid;
  place-items: center;
  font-size: 34px;
  background: linear-gradient(135deg, #e8f1ff, #e6faf8);
  position: relative;
}
.home-item .cover .badge2 {
  position: absolute;
  left: 8px;
  top: 8px;
  background: rgba(255, 255, 255, .92);
  color: #0f8a4d;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
}
.home-item .body { padding: 9px 10px 11px; flex: 1; display: flex; flex-direction: column; }
.home-item .t {
  font-size: 13.5px;
  font-weight: 700;
  color: #16202e;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-item .m { margin-top: auto; padding-top: 8px; font-size: 11px; color: #8a9bb5; display: flex; justify-content: space-between; gap: 6px; }
.home-item .m span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------- 区块标题 ---------------- */
.home-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 2px 10px;
}
.home-sec-head h2 { font-size: 16.5px; font-weight: 800; color: #16202e; }
.home-sec-head h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 15px;
  border-radius: 2px;
  background: linear-gradient(180deg, #2f8bff, #12c2b2);
  margin-right: 8px;
  vertical-align: -2px;
}
.home-sec-head a { font-size: 12.5px; color: #8a9bb5; }

/* ---------------- 统计条 ---------------- */
.home-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: 16px;
  padding: 14px 0;
  margin-top: 12px;
  box-shadow: 0 2px 10px rgba(24, 60, 120, .07);
  text-align: center;
}
.home-stats .n { font-size: 19px; font-weight: 800; color: #2f8bff; }
.home-stats .l { font-size: 11.5px; color: #8a9bb5; margin-top: 2px; }

/* ---------------- 底部导航：中间圆形发布按钮 ---------------- */
.tabbar a.tab-center { position: relative; }
.tabbar a.tab-center .fab-inline {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(140deg, #3d9bff, #1f7bff);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  display: grid;
  place-items: center;
  margin-top: -20px;
  box-shadow: 0 8px 20px rgba(31, 123, 255, .45), 0 0 0 4px #fff;
}
.tabbar a.tab-center .lbl { font-size: 11px; margin-top: 2px; }
.tabbar a.tab-center:active .fab-inline { transform: scale(.94); }

@media (max-width: 430px) {
  .home-banner { height: 158px; }
  .home-banner .slide { padding: 16px; }
  .home-banner .slide h2 { font-size: 23px; }
  .home-banner .slide .art { font-size: 52px; }
  .home-card { padding: 12px; min-height: 80px; }
  .home-card .t { font-size: 15px; }
  .home-card .d { font-size: 11px; }
  .home-card .art { width: 50px; height: 50px; font-size: 26px; border-radius: 15px; }
  .home-tile { width: 92px; }
  .home-tile .art { height: 68px; font-size: 26px; }
}

@media (min-width: 768px) {
  .home-wrap { max-width: 1180px; margin: 0 auto; padding: 16px 24px 24px; }
  .home-grid { grid-template-columns: repeat(3, 1fr); }
  .home-list2 { grid-template-columns: repeat(4, 1fr); }
  .home-banner { height: 220px; }
  .home-banner .slide h2 { font-size: 34px; }
  .home-banner .slide .art { font-size: 84px; }
  .home-tile { width: 130px; }
  .home-tile .art { height: 96px; font-size: 36px; }
}

/* AI 自动补充信息要素 */
.auto-hl { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.auto-hl-item {
  font-size: 13px; line-height: 1.6; color: var(--text);
  display: flex; gap: 7px; align-items: flex-start;
}
.auto-hl-item i { font-style: normal; color: var(--brand); font-weight: 800; }

.auto-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.auto-fact {
  background: #f7fafd; border-radius: 10px; padding: 9px 11px;
  display: flex; flex-direction: column; gap: 3px;
  border: 1px solid #eef2f7;
}
.auto-fact span { font-size: 11px; color: var(--muted); }
.auto-fact b { font-size: 13px; font-weight: 700; color: var(--text); word-break: break-word; }

@media (max-width: 520px) {
  .auto-facts { grid-template-columns: 1fr; }
}

/* AI 解析授权 */
.ai-locked { border-style: dashed; background: #fbfcfe; }
.ai-grant-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 0; border-bottom: 1px dashed var(--line);
}
.ai-grant-row:last-child { border-bottom: none; }
.ai-grant-name { font-size: 13px; font-weight: 700; }

/* 详情页位置 */
.detail-loc {
  display: inline-flex; align-items: center; gap: 6px;
  background: #f2f7fd; border: 1px solid #dce8f6;
  border-radius: 10px; padding: 7px 12px;
  font-size: 12.5px; color: var(--text);
}
.detail-loc-ico { font-size: 14px; }
.detail-loc a { color: var(--brand); text-decoration: none; margin-left: 4px; }
.detail-loc .badge { margin-left: 6px; }

/* ================================================================== */
/* 最新发布 / 项目案例：改为「缩略图 + 文字」的紧凑横排                  */
/*   原来是大图竖排卡片，占屏太高                                    */
/* ================================================================== */

.home-list2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin-top: 12px;
}

.home-item {
  flex-direction: row;
  align-items: stretch;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(24, 60, 120, .06);
  border: 1px solid #eef2f7;
  overflow: hidden;
}

.home-item .cover {
  flex: 0 0 104px;
  width: 104px;
  height: auto;
  min-height: 80px;
  border-radius: 0;
  position: relative;
}

.home-item .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-item .cover .badge2 {
  left: 5px;
  top: 5px;
  font-size: 9.5px;
  padding: 1px 5px;
}

.home-item .body {
  padding: 8px 11px 9px;
  min-width: 0;
}

.home-item .t {
  font-size: 12.8px;
  line-height: 1.45;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-item .m {
  padding-top: 5px;
  font-size: 10.5px;
  gap: 4px;
}

@media (max-width: 420px) {
  .home-list2 { grid-template-columns: 1fr; }
  .home-item .cover { flex: 0 0 92px; width: 92px; }
}

/* 发布页：内容段落编辑器 */
.pub-block {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 10px;
  background: #fbfcfe;
}
.pub-block textarea { min-height: 72px; }
.pub-block-img {
  width: 64px; height: 64px; object-fit: cover;
  border-radius: 8px; border: 1px solid var(--line);
}

/* 详情页：内容段落展示 */
.detail-block { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.detail-block:last-child { border-bottom: none; }
.detail-block-t { font-size: 11px; color: var(--muted); margin-bottom: 5px; }
.detail-block-b {
  font-size: 13.5px; line-height: 1.85; color: var(--text);
  white-space: pre-wrap; word-break: break-word;
}
.detail-block-imgs {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px; margin-top: 10px;
}
.detail-block-imgs img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 10px; background: #f1f5fa; border: 1px solid var(--line);
}

/* 发布页：段落文件拖拽区 */
.pub-drop {
  border: 1px dashed #c9d8ea;
  border-radius: 10px;
  padding: 12px 10px;
  background: #f8fbfe;
  transition: border-color .15s, background .15s;
}
.pub-drop.dragging {
  border-color: var(--brand);
  background: #eef6ff;
  border-style: solid;
}
.pub-drop-hint { font-size: 12px; color: var(--muted); text-align: center; }

.pub-file-thumb {
  position: relative;
  width: 64px; height: 64px;
  border-radius: 8px; overflow: hidden;
  border: 1px solid var(--line);
  background: #f1f5fa;
}
.pub-file-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pub-file-chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; padding: 5px 9px;
  background: #f4f7fb; border: 1px solid var(--line);
  border-radius: 8px; max-width: 240px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.pub-file-x {
  font-style: normal; cursor: pointer;
  width: 16px; height: 16px; line-height: 15px; text-align: center;
  border-radius: 50%; background: rgba(0,0,0,.45); color: #fff;
  font-size: 12px; flex: none;
}
.pub-file-thumb .pub-file-x { position: absolute; top: 2px; right: 2px; }
.pub-file-chip .pub-file-x { background: #d8e2ee; color: #55627a; }

/* 会议：设备权限错误提示条 */
.media-err {
  background: #fff6f6;
  border: 1px solid #ffd6d6;
  border-radius: 12px;
  padding: 12px 14px;
  text-align: left;
}
.media-err-t { font-size: 13px; font-weight: 700; color: #c0392b; }
.media-err-b { font-size: 12px; color: #7a4a44; line-height: 1.7; margin-top: 6px; }
.media-err.hide { display: none; }

/* ---------------- 消息页：会议 / 群聊分区 ---------------- */
.ct-group-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .3px;
  margin-bottom: 8px;
}

/* 话题群网格 */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin-top: 10px;
}
.topic-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 14px;
  padding: 12px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 6px rgba(24, 60, 120, .05);
  transition: transform .12s, box-shadow .12s;
}
.topic-card:active { transform: scale(.985); }
.topic-ico {
  font-size: 22px;
  line-height: 1;
  flex: none;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: #f4f8fd;
  border-radius: 10px;
}
.topic-body { min-width: 0; flex: 1; }
.topic-name {
  font-size: 13.5px; font-weight: 700;
  display: flex; align-items: center; gap: 5px; flex-wrap: wrap;
}
.topic-joined {
  font-size: 9.5px; font-weight: 600;
  background: #eafaf0; color: #0e8f5f;
  border-radius: 5px; padding: 1px 5px;
}
.topic-desc {
  font-size: 11px; color: var(--muted);
  line-height: 1.5; margin-top: 3px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.topic-meta { font-size: 10.5px; color: #9aabc2; margin-top: 5px; }

@media (max-width: 480px) {
  .topic-grid { grid-template-columns: 1fr; }
}


/* ================================================================== */
/* 横向栏：统一「看不到就滑动」                                          */
/* ================================================================== */

/* 通用横滑容器：隐藏滚动条、支持惯性、右侧渐隐提示可滑动 */
.hscroll,
.home-scroll,
.chips.scroll,
.tabbar.scrollable {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}
.hscroll::-webkit-scrollbar,
.home-scroll::-webkit-scrollbar,
.chips.scroll::-webkit-scrollbar,
.tabbar.scrollable::-webkit-scrollbar {
  display: none;
}

/* 右侧渐隐：暗示右边还有内容 */
.hscroll,
.home-scroll,
.chips.scroll {
  position: relative;
  padding-right: 18px;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0) calc(100% - 26px), rgba(255, 255, 255, .95) 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
/* 滑到最右时渐隐消失（由 JS 加 .at-end） */
.hscroll.at-end,
.home-scroll.at-end,
.chips.scroll.at-end {
  background-image: none;
}

/* ---------------- 会议控制栏：单行横滑 ---------------- */
.mt-bar {
  flex:none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding: 8px 10px calc(8px + var(--safe-b));
  background: #1b1f27;
  border-top: 1px solid #262b35;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.mt-bar::-webkit-scrollbar { display: none; }
.mt-btn { flex: none; }

/* ---------------- 分区标题：右侧说明不被挤压 ---------------- */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.section-head > span,
.section-head > .tiny {
  flex: 0 1 auto;
  min-width: 0;
  text-align: right;
}

/* ---------------- 列表标题行：徽标不挤压标题 ---------------- */
.item-title { flex-wrap: wrap; row-gap: 4px; }

/* ---------------- 底部导航：多于 5 项时可滑动 ---------------- */
.tabbar.scrollable {
  display: flex;
  justify-content: center;
  grid-template-columns: none;
}
.tabbar.scrollable a {
  flex: 0 0 auto;
  min-width: 66px;
}

/* ---------------- 首页：短视频横滑区 ---------------- */
.home-shorts {
  display: flex;
  gap: 10px;
  padding: 4px 2px 8px;
}
.short-card {
  flex: 0 0 150px;
  width: 150px;
  text-decoration: none;
  color: inherit;
}
.short-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #2c3e58, #1b2432);
  display: flex;
  align-items: center;
  justify-content: center;
}
.short-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.short-ph { font-size: 34px; opacity: .7; }
.short-play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .48);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  padding-left: 2px;
  backdrop-filter: blur(2px);
}
.short-tag {
  position: absolute;
  left: 6px; top: 6px;
  font-size: 9.5px; font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, .42);
  border-radius: 5px;
  padding: 1px 5px;
}
.short-t {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.short-m {
  display: flex;
  gap: 10px;
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 3px;
}


/* ================================================================== */
/* 短视频沉浸式滑动流（仿抖音）                                          */
/* ================================================================== */
.shorts-wrap {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 60;
  overflow: hidden;
}

.shorts-feed {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  scrollbar-width: none;
}
.shorts-feed::-webkit-scrollbar { display: none; }

.short-slide {
  position: relative;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  overflow: hidden;
}

.short-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.short-center-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .45);
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  opacity: 0;
  transition: opacity .18s;
  pointer-events: none;
}
.short-slide:not(.playing) .short-center-play { opacity: 1; }

/* 右侧操作栏 */
.short-side {
  position: absolute;
  right: 10px;
  bottom: 118px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  z-index: 3;
}
.short-act {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: none;
  border: none;
  color: #fff;
  padding: 0;
  cursor: pointer;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
}
.short-act-ico { font-size: 26px; line-height: 1; }
.short-act-ico.liked { animation: like-pop .32s ease; }
@keyframes like-pop {
  0% { transform: scale(1); }
  45% { transform: scale(1.35); }
  100% { transform: scale(1); }
}
.short-act-n { font-size: 11px; font-weight: 600; }

/* 底部信息 */
.short-info {
  position: absolute;
  left: 14px;
  right: 74px;
  bottom: 30px;
  color: #fff;
  z-index: 3;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .55);
}
.short-author {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
}
.short-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}
.short-views { font-size: 11px; opacity: .8; font-weight: 400; }
.short-title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.short-desc {
  font-size: 12px;
  line-height: 1.5;
  opacity: .82;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 播放进度 */
.short-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(255, 255, 255, .18);
  z-index: 3;
}
.short-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: #fff;
}

/* 顶部栏 */
.shorts-topbar {
  position: absolute;
  top: calc(10px + var(--safe-t, 0px));
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 5;
  pointer-events: none;
}
.shorts-back {
  pointer-events: auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, .32);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.shorts-count {
  pointer-events: none;
  color: #fff;
  font-size: 12px;
  background: rgba(0, 0, 0, .32);
  border-radius: 10px;
  padding: 3px 10px;
  backdrop-filter: blur(6px);
}

.shorts-loading {
  position: absolute;
  left: 50%;
  bottom: 90px;
  transform: translateX(-50%);
  color: #fff;
  font-size: 12px;
  background: rgba(0, 0, 0, .4);
  border-radius: 10px;
  padding: 5px 14px;
  z-index: 5;
}
.shorts-loading.hide { display: none; }

/* 沉浸播放页：隐藏浮动提示，底部预留安全区 */
body.shorts-mode #install-bar,
body.shorts-mode #wx-tip { display: none !important; }

.short-info { bottom: calc(30px + var(--safe-b, 0px)); }
.short-side { bottom: calc(118px + var(--safe-b, 0px)); }
.shorts-topbar { top: calc(12px + var(--safe-t, 0px)); }

/* 短视频抽帧预览 */
.parsed-frames {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.parsed-frames img {
  width: 72px;
  height: 96px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #0b1020;
}


/* ================================================================== */
/* 成为服务商                                                          */
/* ================================================================== */
.sp-hero {
  background: linear-gradient(135deg, #123a6b 0%, #1f5fa8 100%);
  border-radius: 18px;
  padding: 22px 20px;
  color: #fff;
}
.sp-hero-t { font-size: 21px; font-weight: 800; }
.sp-hero-s { font-size: 12.5px; line-height: 1.75; margin-top: 8px; opacity: .93; }
.sp-hero .chip {
  background: rgba(255, 255, 255, .16);
  color: #fff;
  border-color: transparent;
}
.sp-hero .chip.active {
  background: #fff;
  color: #123a6b;
  font-weight: 700;
}

.sp-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.sp-item:last-child { border-bottom: none; }
.sp-logo {
  width: 44px; height: 44px; flex: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #1f5fa8;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
}
.sp-body { min-width: 0; flex: 1; }
.sp-name { font-size: 13.5px; font-weight: 700; }
.sp-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.sp-tag {
  font-size: 10.5px;
  background: #eef6ff;
  color: #1f5fa8;
  border-radius: 5px;
  padding: 1px 6px;
}
.sp-tag.gray { background: #f4f6f8; color: var(--muted); }
.sp-intro {
  font-size: 12px; color: var(--muted); line-height: 1.6; margin-top: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sp-contact { font-size: 11.5px; color: var(--text-2); margin-top: 6px; }


/* ---------------- 详情页：相关链接 ---------------- */
.detail-link {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  background: #f6f9fe;
  border: 1px solid #e2ecf9;
  border-radius: 12px;
  padding: 12px;
}
.detail-link:active { background: #eef5ff; }
.detail-link-ico {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: #e4efff;
  color: #1f5fa8;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700;
}
.detail-link-body { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.detail-link-domain {
  font-size: 13px; font-weight: 700; color: #1f5fa8;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.detail-link-url {
  font-size: 11.5px; color: var(--muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}


/* ================================================================== */
/* 首页：发布 / 成为服务商 两条独立横栏                                 */
/* ================================================================== */
.home-promo-list {
  display: flex;
  flex-direction: column;

  gap: 10px;
  margin-top: 12px;
}

.home-promo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: transform .12s ease;
}
.home-promo:active { transform: scale(.988); }

.promo-publish {
  background: linear-gradient(115deg, #1b5fd0 0%, #2f8bf5 55%, #47a8ff 100%);
  box-shadow: 0 6px 20px rgba(31, 95, 208, .22);
}
.promo-provider {
  background: linear-gradient(115deg, #0f7a5a 0%, #14a172 55%, #22bb86 100%);
  box-shadow: 0 6px 20px rgba(15, 122, 90, .2);
}

/* 右上角装饰圆 */
.home-promo::after {
  content: '';
  position: absolute;
  right: -24px;
  top: -34px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .10);
}

.promo-ico {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  backdrop-filter: blur(4px);
}

.promo-body { min-width: 0; flex: 1; }
.promo-t {
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: .3px;
}
.promo-d {
  font-size: 11.5px;
  line-height: 1.5;
  opacity: .9;
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.promo-go {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, .92);
  border-radius: 999px;
  padding: 6px 13px;
  position: relative;
  z-index: 1;
}
.promo-publish .promo-go { color: #1b5fd0; }
.promo-provider .promo-go { color: #0f7a5a; }

@media (min-width: 720px) {
  /* 横栏现在有 4 条：桌面端两两一行，避免挤在一排被截断 */
  .home-promo-list { flex-direction: row; flex-wrap: wrap; }
  .home-promo { flex: 1 1 calc(50% - 5px); min-width: 0; }
}


/* 发布页：标题区（放在 AI 生成之后） */
.pub-title-box {
  background: #f7fbff;
  border: 1px solid #e2ecf9;
  border-radius: 14px;
  padding: 14px;
}
.pub-title-box .field:last-of-type { margin-bottom: 6px; }


/* ---------------- 首页短视频：一屏一个，滑动查看 ---------------- */
.home-shorts-wrap {
  margin-top: 10px;
}

.home-shorts {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.home-shorts::-webkit-scrollbar { display: none; }

/* 手机（默认）：一张占满一屏 */
.short-card {
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

/* 桌面：卡片收窄到 320px，一屏能看两三张，仍然可滑 */
@media (min-width: 720px) {
  .short-card { flex: 0 0 320px; width: 320px; }
}

/* 缩略图：保持 3:4，但限制最大高度，避免桌面端过高 */
.short-thumb {
  aspect-ratio: 3 / 4;
  max-height: min(62vh, 470px);
}

.short-t {
  font-size: 14px;
  -webkit-line-clamp: 2;
  margin-top: 8px;
}
.short-m { font-size: 11.5px; }

/* 指示点 */
.home-shorts-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}
.home-shorts-dots i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #d3dde9;
  transition: width .18s, background .18s;
  cursor: pointer;
}
.home-shorts-dots i.on {
  width: 18px;
  background: var(--brand);
}

@media (min-width: 720px) {
  .home-shorts-dots { display: none; }
}


/* 发布页：联系人智能识别 */
.contact-ai {
  background: #f7fbff;
  border: 1px solid #e2ecf9;
  border-radius: 12px;
  padding: 12px;
}
.contact-ai textarea {
  background: #fff;
  resize: vertical;
  min-height: 62px;
}


/* 发布页：从链接导入 */
.url-import {
  background: #f7fbff;
  border: 1px solid #e2ecf9;
  border-radius: 12px;
  padding: 12px;
}
.url-import .input { background: #fff; }
.url-import-result {
  background: #fff;
  border: 1px solid #e2ecf9;
  border-radius: 10px;
  padding: 10px 12px;
}
.uir-head { font-size: 12.5px; font-weight: 700; color: #1f5fa8; }
.uir-body {
  font-size: 12px; color: var(--text-2); line-height: 1.65; margin-top: 6px;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.uir-foot { font-size: 11px; color: var(--muted); margin-top: 6px; }


/* 发布页：多条目拆分 */
.split-box {
  background: #fff8ec;
  border: 1px solid #ffe0b2;
  border-radius: 14px;
  padding: 14px;
}
.split-head { font-size: 14px; font-weight: 800; color: #a35c00; }
.split-desc { font-size: 12px; color: var(--text-2); line-height: 1.65; margin-top: 6px; }
.split-list { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.split-item {
  display: flex; gap: 8px; align-items: flex-start;
  background: #fff; border-radius: 9px; padding: 8px 10px;
  font-size: 12.5px; line-height: 1.5;
}
.split-no {
  flex: none; width: 18px; height: 18px; border-radius: 999px;
  background: #ffe3b8; color: #a35c00;
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.split-t { min-width: 0; color: var(--text); }
.split-done { background: #eefaf3; border-color: #bfe8d2; }
.split-done .split-head { color: #0e8f5f; }
.split-link {
  display: block; font-size: 12.5px; color: #1f5fa8;
  padding: 5px 0; text-decoration: none;
}


/* 发布页：贸易物资 AI 汇总条 */
.trade-ai-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: #f4f9ff;
  border: 1px solid #e2ecf9;
  border-radius: 10px;
  padding: 9px 11px;
}
.trade-ai-bar .tiny { min-width: 0; }


/* ================================================================== */
/* 新闻资讯                                                            */
/* ================================================================== */
.news-page { padding-bottom: 24px; }

.news-hero {
  background: linear-gradient(135deg, #1b5fd0 0%, #2f8bf5 60%, #47a8ff 100%);
  border-radius: 18px;
  padding: 18px 16px 16px;
  color: #fff;
  box-shadow: 0 8px 22px rgba(31, 95, 208, .2);
}
.news-hero-t {
  display: flex; align-items: center; gap: 8px;
  font-size: 19px; font-weight: 800; letter-spacing: .5px;
}
.news-hero-ico { font-size: 22px; }
.news-hero-d {
  font-size: 12px; line-height: 1.6; opacity: .92; margin-top: 6px;
}
.news-hero-f { font-size: 11.5px; opacity: .85; margin-top: 8px; }

.news-search {
  display: flex; gap: 8px; margin-top: 12px;
}
.news-search .input {
  background: rgba(255, 255, 255, .96);
  border: none;
  font-size: 13px;
}
.news-search .btn { flex: none; background: #fff; color: #1b5fd0; border: none; font-weight: 700; }

.news-tabs {
  display: flex; gap: 8px;
  overflow-x: auto; overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 12px 2px 4px;
  margin: 0 -2px;
}
.news-tabs::-webkit-scrollbar { display: none; }
.news-tab {
  flex: none;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 13px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e6ebf2;
  font-size: 12.5px;
  color: var(--text-2);
  text-decoration: none;
  white-space: nowrap;
}
.news-tab i {
  font-style: normal; font-size: 10.5px; color: var(--muted);
}
.news-tab.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 700;
}
.news-tab.active i { color: rgba(255,255,255,.8); }

.news-list { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }

.news-card {
  display: flex; align-items: center; gap: 10px;
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 3px rgba(16, 32, 56, .06);
  transition: transform .12s;
}
.news-card:active { transform: scale(.992); }
.news-card-main { min-width: 0; flex: 1; }

.news-card-title {
  font-size: 14.5px; font-weight: 700; line-height: 1.45; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card-sum {
  font-size: 12px; line-height: 1.6; color: var(--text-2); margin-top: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card-foot {
  display: flex; align-items: center; gap: 5px; flex-wrap: wrap;
  font-size: 11px; color: var(--muted); margin-top: 8px;
}
.news-src { color: #1f5fa8; font-weight: 600; }
.news-dot { opacity: .5; }
.news-hot {
  background: #ffeceb; color: #d63a2f;
  border-radius: 4px; padding: 1px 5px; font-size: 10px; font-weight: 700;
}
.news-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 7px; }
.news-tag {
  font-size: 10.5px; color: #4a5566;
  background: #f2f5f9; border-radius: 5px; padding: 2px 6px;
}
.news-card-arrow { flex: none; color: #c3ccd8; font-size: 20px; }

/* 详情 */
.news-detail-t { font-size: 20px; font-weight: 800; line-height: 1.45; }
.news-detail-meta {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 11.5px; color: var(--muted); margin-top: 10px;
}
.news-body p {
  font-size: 14.5px; line-height: 1.9; color: #24303f;
  margin: 0 0 14px;
}
.news-body p:last-child { margin-bottom: 0; }


/* ================================================================== */
/* 推荐有礼                                                            */
/* ================================================================== */
.ref-hero {
  background: linear-gradient(135deg, #1b5fd0 0%, #2f8bf5 58%, #47a8ff 100%);
  border-radius: 18px;
  padding: 18px 16px 16px;
  color: #fff;
  box-shadow: 0 8px 22px rgba(31, 95, 208, .2);
}
.ref-hero-t { font-size: 19px; font-weight: 800; letter-spacing: .5px; }
.ref-hero-d { font-size: 12px; line-height: 1.6; opacity: .92; margin-top: 6px; }

.ref-code-box {
  margin-top: 14px;
  background: rgba(255, 255, 255, .96);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
  color: #16305c;
}
.ref-code-label { font-size: 11.5px; color: #7b8798; letter-spacing: 2px; }
.ref-code {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 8px;
  color: #0b74ff;
  margin-top: 4px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
}
.ref-qr { margin-top: 12px; text-align: center; }
.ref-qr img {
  /* 全局 img{display:block} 会让它左对齐，必须显式居中 */
  display: block;
  margin: 0 auto;
  width: 168px; height: 168px;
  border-radius: 10px;
  border: 1px solid #e6ebf2;
  background: #fff;
}
.ref-qr-cap { font-size: 11.5px; color: #7b8798; margin-top: 6px; }

.ref-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.ref-actions .btn-primary { background: #fff; color: #1b5fd0; font-weight: 700; }
.ref-actions .btn-outline { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); color: #fff; }
.ref-link {
  margin-top: 8px;
  font-size: 11px;
  opacity: .85;
  word-break: break-all;
  line-height: 1.5;
}

.ref-stats {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.ref-stat {
  flex: 1;
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(16, 32, 56, .06);
}
.ref-stat b { display: block; font-size: 26px; color: #0b74ff; font-weight: 800; }
.ref-stat span { font-size: 11.5px; color: var(--muted); }

.ref-users { display: flex; flex-direction: column; gap: 4px; }
.ref-user {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #f0f3f7;
}
.ref-user:last-child { border-bottom: none; }
.ref-ava {
  flex: none; width: 36px; height: 36px; border-radius: 999px;
  background: #e4efff; color: #1f5fa8;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700;
}
.ref-body { min-width: 0; flex: 1; }
.ref-name { font-size: 13.5px; font-weight: 700; }
.ref-meta {
  font-size: 11.5px; color: var(--muted); margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ref-how { display: flex; flex-direction: column; gap: 9px; }
.ref-step {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: 12.5px; line-height: 1.6; color: var(--text-2);
}
.ref-step span {
  flex: none; width: 19px; height: 19px; border-radius: 999px;
  background: #e4efff; color: #1f5fa8;
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* 注册页推荐码提示 */
.ref-banner {
  background: #fff8ec;
  border: 1px solid #ffe0b2;
  color: #a35c00;
  border-radius: 12px;
  padding: 11px 13px;
  font-size: 12.5px;
  line-height: 1.6;
  margin-bottom: 12px;
}
.ref-banner b { color: #d97706; letter-spacing: 1px; }

/* ================================================================== */
/* 首页底部：可展开的通讯录横栏                                          */
/* ================================================================== */
.home-contacts-bar {
  /* 桌面端 .home-promo-list 是横向 flex，这里强制占满一整行，
     让它排在两条 promo 下方（上下叠加） */
  flex: 0 0 100%;
  width: 100%;
  margin-top: 10px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(16, 32, 56, .07);
  overflow: hidden;
}
.hcb-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.hcb-ico {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: #f3e9ff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.hcb-body { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.hcb-t { font-size: 15px; font-weight: 800; color: var(--text); }
.hcb-d {
  font-size: 11.5px; color: var(--muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hcb-arrow {
  flex: none;
  font-size: 11px;
  color: #8fa0b5;
  width: 24px; height: 24px;
  border-radius: 999px;
  background: #f2f5f9;
  display: flex; align-items: center; justify-content: center;
  transition: transform .18s;
}
.hcb-panel {
  padding: 0 16px 14px;
  border-top: 1px solid #f1f4f8;
}
.hcb-panel[hidden] { display: none; }
.hcb-list { display: flex; flex-direction: column; gap: 2px; padding-top: 8px; }
.hcb-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0;
  text-decoration: none;
  color: inherit;
}
.hcb-ava {
  flex: none; width: 32px; height: 32px; border-radius: 999px;
  background: #e4efff; color: #1f5fa8;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.hcb-info { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.hcb-name { font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 5px; }
.hcb-meta {
  font-size: 11px; color: var(--muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tiny-badge { font-size: 9.5px; padding: 1px 5px; }


/* ================================================================== */
/* 扫码进群引导                                                        */
/* ================================================================== */
.join-room-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72vh;
  padding: 20px 16px;
}
.join-room-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 18px;
  padding: 28px 22px 22px;
  text-align: center;
  box-shadow: 0 8px 28px rgba(16, 32, 56, .10);
}
.jr-ico {
  width: 64px; height: 64px;
  margin: 0 auto;
  border-radius: 20px;
  background: linear-gradient(135deg, #e4efff, #d6f0ff);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
}
.jr-name {
  margin-top: 14px;
  font-size: 20px; font-weight: 800; color: var(--text);
}
.jr-meta { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.jr-desc {
  margin-top: 14px; font-size: 13px; line-height: 1.7;
  color: var(--text-2); text-align: left;
}
.jr-ann {
  margin-top: 12px;
  background: #fff8ec; border: 1px solid #ffe0b2;
  color: #8a5300; border-radius: 10px;
  padding: 10px 12px; font-size: 12.5px; line-height: 1.6;
  text-align: left;
}


/* 短视频：声音解锁提示 */
.shorts-sound-tip {
  position: absolute;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%) translateY(8px);
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, .62);
  color: #fff;
  font-size: 12.5px;
  padding: 8px 14px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 30;
  backdrop-filter: blur(6px);
}
.shorts-sound-tip.on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


/* 短视频：多选列表 */
.pm-video-list { display: flex; flex-direction: column; gap: 6px; }
.pm-video-item {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #f7fbff;
  border: 1px solid #e2ecf9;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12.5px;
}
.pv-idx {
  flex: none;
  width: 18px; height: 18px;
  border-radius: 999px;
  background: #e4efff; color: #1f5fa8;
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.pv-name {
  min-width: 0; flex: 1;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: var(--text); font-weight: 600;
}
.pv-size { flex: none; color: var(--muted); font-size: 11.5px; }
.pv-del {
  flex: none;
  width: 22px; height: 22px;
  border: none; background: none;
  color: #a8b4c4; font-size: 13px;
  cursor: pointer; border-radius: 6px;
}
.pv-del:active { background: #eef2f7; color: #c0392b; }


/* ---------------- 短视频：横屏视频自适应 ---------------- */
/* 竖屏视频：铺满（contain 在 9:16 容器里正好撑满，不裁切） */
/* 横屏视频：完整居中显示，背后加一层模糊的同图背景，避免大片死黑 */

.short-slide[data-orient="landscape"]::before {
  content: '';
  position: absolute;
  inset: -40px;
  background-image: var(--poster, none);
  background-size: cover;
  background-position: center;
  filter: blur(28px) brightness(.45) saturate(1.2);
  transform: scale(1.15);
  z-index: 0;
}
.short-slide[data-orient="landscape"] .short-video {
  position: relative;
  z-index: 1;
  /* 横屏：最大化显示完整画面 */
  object-fit: contain;
  max-height: 78vh;
}
.short-slide[data-orient="landscape"] .short-side,
.short-slide[data-orient="landscape"] .short-center-play {
  z-index: 3;
}

/* 一般视频层，保证在背景之上 */
.short-slide .short-video { position: relative; z-index: 1; }


/* ================================================================== */
/* 联系我                                                              */
/* ================================================================== */
.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 26px;
  padding: 0 10px;
  margin-left: 6px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #1f5fa8;
  background: #e9f2ff;
  border: 1px solid #d5e6ff;
  text-decoration: none;
  white-space: nowrap;
  flex: none;
}
.contact-pill:active { background: #dbeaff; }

.cu-hero {
  background: linear-gradient(135deg, #1b5fd0 0%, #2f8bf5 58%, #47a8ff 100%);
  border-radius: 18px;
  padding: 18px 16px 16px;
  color: #fff;
  box-shadow: 0 8px 22px rgba(31, 95, 208, .2);
}
.cu-hero-t { font-size: 19px; font-weight: 800; }
.cu-hero-d { font-size: 12px; line-height: 1.6; opacity: .92; margin-top: 6px; }

.fb-list { display: flex; flex-direction: column; gap: 0; }
.fb-thread { border-radius: 16px; }

.fb-status {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
}
.fb-open { background: #fff4e5; color: #b26a00; }
.fb-replied { background: #e8f8ef; color: #0e8f5f; }
.fb-closed { background: #f1f4f8; color: #7b8798; }

.fb-msgs { display: flex; flex-direction: column; gap: 10px; }
.fb-msg { display: flex; gap: 8px; align-items: flex-start; }
.fb-msg-admin { flex-direction: row-reverse; }

.fb-avatar {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 999px;
  background: #e4efff; color: #1f5fa8;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.fb-avatar.is-admin { background: #e8f8ef; }

.fb-bubble {
  max-width: 78%;
  background: #f5f8fc;
  border-radius: 12px;
  padding: 9px 12px;
}
.fb-msg-admin .fb-bubble { background: #e9f2ff; }
.fb-meta { font-size: 10.5px; color: var(--muted); margin-bottom: 3px; }
.fb-text { font-size: 13.5px; line-height: 1.65; color: var(--text); white-space: pre-wrap; word-break: break-word; }


/* ---------------- 短视频：收藏 / 联系我 ---------------- */
.short-act-ico.faved { filter: drop-shadow(0 0 6px rgba(255, 200, 0, .7)); }

/* 联系我 弹层 */
.fb-sheet-mask {
  position: fixed;
  inset: 0;
  background: rgba(12, 20, 33, .52);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity .22s;
  backdrop-filter: blur(2px);
}
.fb-sheet-mask.show { opacity: 1; }
.fb-sheet {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  transform: translateY(18px);
  transition: transform .24s;
  max-height: 88vh;
  overflow-y: auto;
}
.fb-sheet-mask.show .fb-sheet { transform: translateY(0); }
.fb-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.fb-sheet-t { font-size: 16px; font-weight: 800; color: var(--text); }
.fb-sheet-d { font-size: 12px; color: var(--muted); margin-top: 4px; }
.fb-sheet-x {
  flex: none;
  width: 28px; height: 28px;
  border: none; background: #f1f4f8;
  border-radius: 999px;
  color: #66748a; font-size: 13px;
  cursor: pointer;
}


/* ---------------- 我的收藏 ---------------- */
.fav-head {
  background: linear-gradient(135deg, #f7b733 0%, #fc4a1a 100%);
  border-radius: 18px;
  padding: 18px 16px 16px;
  color: #fff;
  box-shadow: 0 8px 22px rgba(252, 74, 26, .18);
}
.fav-head-t { font-size: 19px; font-weight: 800; }
.fav-head-d { font-size: 12px; opacity: .92; margin-top: 5px; }

.fav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.fav-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(20, 40, 80, .07);
  text-decoration: none;
  display: block;
}
.fav-thumb {
  position: relative;
  aspect-ratio: 9 / 13;
  background: #0b1220;
}
.fav-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fav-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: #46536b;
}
.fav-badge {
  position: absolute;
  left: 8px; top: 8px;
  background: rgba(0, 0, 0, .55);
  color: #ffd34d;
  font-size: 12px;
  padding: 2px 7px;
  border-radius: 999px;
}
.fav-t {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  padding: 8px 9px 2px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fav-m {
  display: flex;
  gap: 8px;
  font-size: 10.5px;
  color: var(--muted);
  padding: 4px 9px 9px;
}


/* ---------------- 首页横栏：新闻资讯 / 行业论坛 ---------------- */
.promo-news {
  background: linear-gradient(115deg, #1f6fd0 0%, #3a95f0 55%, #63b3ff 100%);
  box-shadow: 0 6px 20px rgba(31, 111, 208, .2);
}
.promo-forum {
  background: linear-gradient(115deg, #6a4bd0 0%, #8a68ed 55%, #a98cff 100%);
  box-shadow: 0 6px 20px rgba(106, 75, 208, .2);
}
/* 「去看 / 进入」按钮文字颜色：不设会继承白色，白底白字看不见 */
.promo-news .promo-go { color: #1f6fd0; }
.promo-forum .promo-go { color: #6a4bd0; }

/* ---------------- 窄屏顶栏压缩：logo + 融资 + 联系我 + 3 个图标 ---------------- */
/* 390px 宽的手机放不下，会把右侧头像挤出屏幕，这里整体收窄 */
@media (max-width: 440px) {
  .topbar { gap: 6px; padding-inline: 10px; }
  .topbar-brand { gap: 3px; min-width: 0; }
  .topbar .title-link { font-size: 15px; letter-spacing: -.2px; }
  .invest-pill,
  .contact-pill {
    height: 24px;
    padding: 0 7px;
    margin-left: 2px;
    font-size: 11px;
    gap: 1px;
  }
  .topbar .icon-btn { width: 34px; min-width: 34px; }
}
@media (max-width: 370px) {
  .topbar .title-link { font-size: 14px; }
  .invest-pill, .contact-pill { padding: 0 5px; font-size: 10.5px; }
}

/* ---------------- 横栏 + 下方最新 5 条 ---------------- */
.promo-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(20, 40, 80, .06);
}
.promo-group > .home-promo {
  border-radius: 0;
  box-shadow: none;
}

.promo-items {
  display: flex;
  flex-direction: column;
  padding: 4px 0 6px;
}
.promo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  text-decoration: none;
  border-top: 1px solid #f2f6fb;
  transition: background .15s;
}
.promo-item:first-child { border-top: none; }
.promo-item:active { background: #f5f9ff; }
.pi-t {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  color: var(--text);
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.promo-item::before {
  content: '';
  flex: none;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #c3d2e6;
}
.pi-m {
  flex: none;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}

/* 桌面端：两条横栏并排时，组也要能对半 */
@media (min-width: 720px) {
  /* 没有最新列表的组（如服务商）不要被拉高撑满整行 */
  .home-promo-list { align-items: flex-start; }
  .promo-group { flex: 1 1 calc(50% - 5px); min-width: 0; }
}


/* ================================================================== */
/* 会员付款弹层                                                        */
/* ================================================================== */
.pay-mask {
  position: fixed; inset: 0;
  background: rgba(12, 20, 33, .52);
  display: flex; align-items: flex-end; justify-content: center;
  z-index: 9999; opacity: 0; transition: opacity .22s;
  backdrop-filter: blur(2px);
}
.pay-mask.show { opacity: 1; }
.pay-sheet {
  width: 100%; max-width: 520px;
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  transform: translateY(18px); transition: transform .24s;
  max-height: 90vh; overflow-y: auto;
}
.pay-mask.show .pay-sheet { transform: translateY(0); }

.pay-head { display: flex; align-items: flex-start; gap: 10px; }
.pay-t { font-size: 17px; font-weight: 800; color: var(--text); }
.pay-d { font-size: 12px; color: var(--muted); margin-top: 3px; }
.pay-amt {
  margin-left: auto; flex: none;
  font-size: 22px; font-weight: 800; color: #e5484d;
  display: flex; align-items: baseline; gap: 2px;
}
.pay-amt span { font-size: 11px; font-weight: 600; color: var(--muted); }
.pay-x {
  flex: none; width: 28px; height: 28px;
  border: none; background: #f1f4f8; border-radius: 999px;
  color: #66748a; font-size: 13px; cursor: pointer;
}

.pay-tabs { display: flex; gap: 6px; margin: 14px 0 10px; }
.pay-tab {
  flex: 1;
  height: 34px;
  border: 1px solid #e6ecf4;
  background: #f8fafd;
  border-radius: 10px;
  font-size: 12.5px; font-weight: 600; color: #5a6b81;
  cursor: pointer;
}
.pay-tab.on {
  background: #e9f2ff; border-color: #a9cdf7; color: #1f5fa8;
}

.pay-pane { text-align: center; }
.pay-qr {
  display: block; margin: 0 auto;
  width: 220px; max-width: 70%;
  border-radius: 12px;
  border: 1px solid #eef2f7;
}
.pay-qr-tip { font-size: 12px; color: var(--muted); margin-top: 8px; }
.pay-qr-name { font-size: 12px; color: var(--text); margin-top: 4px; font-weight: 600; }

.pay-bank {
  background: #f8fafd; border: 1px solid #eef2f7;
  border-radius: 12px; padding: 12px;
  text-align: left;
}
.pay-bank-row {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 0; border-top: 1px solid #eef2f7;
  font-size: 13px;
}
.pay-bank-row:first-child { border-top: none; }
.pay-bank-row span { flex: none; width: 48px; color: var(--muted); font-size: 12px; }
.pay-bank-row b { flex: 1; min-width: 0; word-break: break-all; }
.pay-bank-row.hi b { font-size: 15px; letter-spacing: .5px; color: #1f5fa8; }

.pay-foot {
  font-size: 11.5px; color: var(--muted);
  text-align: center; margin-top: 10px; line-height: 1.6;
}

/* 待确认订单提示 */
.lv-pending {
  background: #fff8e8; border: 1px solid #ffe4b3;
  border-radius: 12px; padding: 11px 13px;
  font-size: 12.5px; color: #92600b;
  margin-top: 12px; line-height: 1.6;
}


/* ---------------- 会员订单管理 ---------------- */
.lo-status { font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.lo-pending { background: #fff4e5; color: #b26a00; }
.lo-paid { background: #e8f8ef; color: #0e8f5f; }
.lo-rejected { background: #fdecec; color: #c0392b; }

.lo-main { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.lo-lv { font-size: 16px; font-weight: 800; color: var(--text); }
.lo-amt { font-size: 18px; font-weight: 800; color: #e5484d; }

.lo-meta {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 6px 10px;
  font-size: 12.5px;
  background: #f8fafd;
  border-radius: 10px;
  padding: 10px 12px;
}
.lo-meta span { color: var(--muted); }
.lo-meta b { color: var(--text); font-weight: 600; word-break: break-all; }


/* 联系我：话题标签 */
.fb-topic {
  pointer-events: none;
  font-size: 11px !important;
  height: auto !important;
  padding: 2px 9px !important;
}


/* ---------------- 服务商详情 ---------------- */
.spd-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #0f7a5a 0%, #14a172 55%, #22bb86 100%);
  border-radius: 18px;
  padding: 18px 16px;
  color: #fff;
  box-shadow: 0 8px 22px rgba(15, 122, 90, .2);
}
.spd-logo {
  flex: none;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .22);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800;
}
.spd-head { min-width: 0; }
.spd-name { font-size: 17px; font-weight: 800; line-height: 1.35; }
.spd-kind {
  display: inline-block;
  margin-top: 6px;
  font-size: 11.5px;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
}
.spd-intro { font-size: 13.5px; line-height: 1.75; color: var(--text); white-space: pre-wrap; }
.spd-sec-t { font-size: 13px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.spd-body { font-size: 13px; line-height: 1.8; color: var(--text-2, #47536b); white-space: pre-wrap; }
.sp-go { flex: none; color: var(--muted); font-size: 16px; }
.sp-item { text-decoration: none; }
a.sp-item:active { background: #f7fbff; }


/* ---------------- 邀请分享面板 ---------------- */
.inv-mask {
  position: fixed; inset: 0;
  background: rgba(12, 20, 33, .55);
  display: flex; align-items: flex-end; justify-content: center;
  z-index: 9999; opacity: 0; transition: opacity .22s;
  backdrop-filter: blur(2px);
}
.inv-mask.show { opacity: 1; }
.inv-sheet {
  width: 100%; max-width: 520px;
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  transform: translateY(18px); transition: transform .24s;
  max-height: 92vh; overflow-y: auto;
}
.inv-mask.show .inv-sheet { transform: translateY(0); }

.inv-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.inv-t { font-size: 16px; font-weight: 800; color: var(--text); }
.inv-d { font-size: 12px; color: var(--muted); margin-top: 4px; }
.inv-x {
  margin-left: auto; flex: none;
  width: 28px; height: 28px;
  border: none; background: #f1f4f8; border-radius: 999px;
  color: #66748a; font-size: 13px; cursor: pointer;
}

.inv-poster-wrap {
  background: #f4f7fb;
  border-radius: 14px;
  padding: 10px;
  text-align: center;
}
.inv-poster {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(16, 32, 60, .12);
}

.inv-sec { font-size: 12.5px; font-weight: 700; color: var(--text); margin: 14px 0 6px; }
.inv-text {
  width: 100%;
  border: 1px solid #e6ecf4;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12.5px;
  line-height: 1.7;
  color: #47536b;
  background: #f8fafd;
  resize: none;
}

.inv-actions { display: flex; gap: 8px; margin-top: 10px; }
.inv-foot {
  font-size: 11.5px; color: var(--muted);
  text-align: center; margin-top: 12px; line-height: 1.7;
}


/* ---------------- 首页「项目」横栏：类型直达 ---------------- */
.proj-bar {
  background: #fff;
  border-radius: 16px;
  padding: 14px 14px 12px;
  margin-top: 12px;
  box-shadow: 0 2px 10px rgba(20, 40, 80, .06);
}
.proj-bar-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}
.proj-bar-t { font-size: 15px; font-weight: 800; color: var(--text); }
.proj-bar-more { font-size: 12px; color: #1f5fa8; text-decoration: none; }

.proj-bar-types {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.proj-type {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 13px;
  border-radius: 999px;
  background: #f2f7ff;
  border: 1px solid #dfeaf9;
  color: #1f5fa8;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, transform .12s;
}
.proj-type:active { background: #e2eefe; transform: scale(.97); }

@media (min-width: 720px) {
  .proj-type { height: 32px; padding: 0 16px; font-size: 13px; }
}


/* ---------------- 我的分享数据 ---------------- */
.sh-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.sh-stat {
  background: #f5f9ff;
  border: 1px solid #e6eefb;
  border-radius: 10px;
  padding: 10px 6px;
  text-align: center;
}
.sh-stat b { display: block; font-size: 17px; color: #1f5fa8; }
.sh-stat span { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.sh-tip { font-size: 11.5px; color: var(--muted); margin-top: 10px; text-align: center; }


/* ---------------- 发布页：主图选择 ---------------- */
.cover-pick {
  width: 100%;
  margin-bottom: 12px;
}
.cover-pick-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.cover-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px;
}
.cover-cell {
  position: relative;
  padding-top: 66%;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #e6ecf4;
  background: #f4f7fb;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.cover-cell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cover-cell.active {
  border-color: #0b74ff;
  box-shadow: 0 0 0 3px rgba(11, 116, 255, .15);
}
.cover-badge {
  position: absolute;
  left: 6px;
  bottom: 6px;
  background: #0b74ff;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  pointer-events: none;
}
.cover-del {
  position: absolute;
  right: 4px;
  top: 4px;
  background: rgba(0, 0, 0, .45) !important;
  color: #fff !important;
  font-size: 12px !important;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.file-other {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}


/* ---------------- 邀请引导弹层（/r/CODE 进主页 10 秒后） ---------------- */
.invite-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(12, 20, 33, .55);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .22s;
}
.invite-gate.show { opacity: 1; }

.invite-gate-card {
  width: 100%;
  max-width: 340px;
  background: #fff;
  border-radius: 20px;
  padding: 26px 22px 20px;
  text-align: center;
  transform: translateY(14px) scale(.97);
  transition: transform .24s;
  box-shadow: 0 20px 60px rgba(8, 20, 40, .28);
}
.invite-gate.show .invite-gate-card { transform: translateY(0) scale(1); }

.invite-gate-ico { font-size: 44px; line-height: 1; }
.invite-gate-t {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  margin-top: 12px;
  line-height: 1.4;
}
.invite-gate-d {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
  margin: 10px 0 18px;
}
.invite-gate-foot {
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
}
.invite-gate-foot a { color: #1f5fa8; text-decoration: none; font-weight: 600; }

/* ---------------- 后台：短视频管理 ---------------- */
.sh-admin-row {
  display: flex;
  gap: 12px;
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(20, 40, 80, .05);
}
.sh-admin-row.removed { opacity: .62; background: #fafbfd; }

.sh-admin-thumb {
  flex: none;
  width: 84px;
  height: 112px;
  border-radius: 10px;
  overflow: hidden;
  background: #eef3f9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sh-admin-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sh-admin-ph { font-size: 11px; color: #9aa6b8; }

.sh-admin-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sh-admin-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sh-admin-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 6px;
}
.sh-admin-act { display: flex; gap: 8px; margin-top: auto; padding-top: 8px; }
.btn.danger { color: #c0392b; border-color: #f0c6c0; }

/* ---------------- 首页「电商」横栏 ---------------- */
.ecom-bar {
  background: linear-gradient(135deg, #fff7f2 0%, #fff1e8 100%);
  border: 1px solid #ffe0cc;
}
.ecom-bar .proj-bar-t { color: #b4471f; }
.ecom-bar .proj-bar-more { color: #c2551f; }
.ecom-type {
  background: #fff;
  border-color: #ffd8bf;
  color: #b4471f;
}
.ecom-type:active { background: #ffe9db; }


/* ---------------- 首页「电商」交易区 ---------------- */
.ecom-sec {
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  margin-top: 12px;
  box-shadow: 0 2px 10px rgba(20, 40, 80, .06);
  border: 1px solid #ffe6d5;
}
.ecom-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.ecom-head-l { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ecom-t { font-size: 16px; font-weight: 800; color: #b4471f; }
.ecom-d { font-size: 11.5px; color: var(--muted); }
.ecom-search {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.ecom-input {
  width: 150px;
  height: 32px;
  border: 1px solid #ffd8bf;
  border-radius: 999px;
  padding: 0 12px;
  font-size: 12.5px;
  background: #fffaf6;
  outline: none;
}
.ecom-input:focus { border-color: #f0955a; background: #fff; }
.ecom-btn {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 999px;
  background: #ff7a3d;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  flex: none;
}
.ecom-more { font-size: 12px; color: #c2551f; text-decoration: none; white-space: nowrap; }

.ecom-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 640px) {
  .ecom-list { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 980px) {
  .ecom-list { grid-template-columns: repeat(5, 1fr); }
}

.ecom-card {
  display: flex;
  flex-direction: column;
  background: #fffaf7;
  border: 1px solid #ffe6d5;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .12s, box-shadow .15s;
}
.ecom-card:active { transform: scale(.985); }
.ecom-card:hover { box-shadow: 0 4px 14px rgba(180, 71, 31, .12); }

.ecom-thumb {
  position: relative;
  padding-top: 58%;
  background: linear-gradient(135deg, #ffe9db, #ffd7c2);
  overflow: hidden;
}
.ecom-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ecom-thumb-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}
.ecom-kind {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(180, 71, 31, .88);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
}

.ecom-body { padding: 8px 9px 10px; display: flex; flex-direction: column; gap: 4px; }
.ecom-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 35px;
}
.ecom-price {
  font-size: 14px;
  font-weight: 800;
  color: #e0471c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ecom-meta {
  font-size: 10.5px;
  color: var(--muted);
  display: flex;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ecom-empty {
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
  padding: 26px 12px;
  background: #fffaf7;
  border-radius: 12px;
}


/* ---------------- 附件下载 / 申请下载 ---------------- */
.file-dl-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}
.file-dl-apply {
  margin-top: 8px;
  padding: 10px 12px;
  background: #fff9f3;
  border: 1px solid #ffe3cc;
  border-radius: 10px;
}
.file-dl-apply-t { font-size: 12px; color: #a15a1e; font-weight: 600; }


/* 邀请弹窗的「先随便看看」：弱化成文字按钮 */
.invite-gate-skip {
  display: block;
  margin: 14px auto 0;
  padding: 6px 10px;
  border: none;
  background: none;
  color: #93a1b5;
  font-size: 12.5px;
  cursor: pointer;
  text-decoration: underline;
}


/* ---------------- 活动报名表单 ---------------- */
.reg-form .field { margin-bottom: 12px; }
.reg-form label { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.reg-form .req { color: #e0471c; }
.reg-ai-box {
  margin: 4px 0 12px;
  padding: 12px;
  background: #f7fbff;
  border: 1px solid #e2eefc;
  border-radius: 12px;
}
.reg-list .reg-item {
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.reg-list .reg-item:last-child { border-bottom: none; }


/* ---------------- 报名状态 ---------------- */
.reg-status-box {
  margin-top: 12px;
  padding: 12px;
  background: var(--bg-soft, #f7f9fc);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
}


/* 融资页 hero 里的分享按钮 */
.inv-share-btn {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}
.inv-share-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}


/* ---------------- AI 搜索横栏 ---------------- */
.ai-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 8px;
  padding: 10px 12px;
  background: #fff;
  border: 1.5px solid #dbe7f7;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(11, 116, 255, 0.06);
}
.ai-search-bar:focus-within {
  border-color: var(--brand, #0b74ff);
  box-shadow: 0 2px 14px rgba(11, 116, 255, 0.16);
}
.ai-search-bar.inside { margin: 0 0 12px; }
.ai-search-ico { font-size: 18px; flex: none; }
.ai-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: var(--text);
}
.ai-search-input::placeholder { color: #9aa8bb; }
.ai-search-btn {
  flex: none;
  border: none;
  background: linear-gradient(135deg, #0b74ff, #12c7b4);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
}
.ai-search-btn:active { transform: scale(0.97); }
.ai-search-hints {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding-left: 2px;
}

/* AI 解析结果条 */
.ai-parsed {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
  background: #f2f8ff;
  border: 1px solid #dbe9fb;
  border-radius: 12px;
}
.ai-parsed-ico { flex: none; }
.ai-parsed-t { font-size: 13px; color: #16202e; font-weight: 600; }
.ai-parsed-bits { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-bit {
  font-size: 11.5px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #cfe3fb;
  color: #0b74ff;
}
.ai-parsed-src { margin-left: auto; }


/* ---------------- 后台：封面管理 ---------------- */
.cv-progress { margin-top: 12px; }
.cv-bar {
  height: 8px;
  border-radius: 999px;
  background: #e8eef7;
  overflow: hidden;
}
.cv-bar > i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #0b74ff, #12c7b4);
  transition: width 0.25s ease;
}
.cv-note {
  padding: 10px 12px;
  background: #f5f9ff;
  border: 1px solid #dce9fb;
  border-radius: 10px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
}
.cv-note.cv-ok { background: #f2fdf7; border-color: #cdeedb; color: #0e8f5f; }


/* ---------------- 位置定位 ---------------- */
.loc-map { margin-top: 10px; }
.loc-pick { display: flex; flex-direction: column; gap: 8px; }
.loc-pick-item {
  text-align: left;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.loc-pick-item:active { background: #f5f9ff; }


/* 位置地图预览：静态瓦片 + 定位标记 */
.loc-map-box {
  position: relative;
  width: 100%;
  height: 168px;
  border-radius: 12px;
  overflow: hidden;
  background: #eef3f9;
  border: 1px solid var(--line);
}
.loc-map-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.loc-map-pin {
  position: absolute;
  transform: translate(-50%, -90%);
  font-size: 26px;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));
  pointer-events: none;
}
.loc-map-attr {
  position: absolute;
  right: 6px;
  bottom: 4px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.35);
  padding: 1px 6px;
  border-radius: 4px;
}


/* ---------------- 首页：发布横栏 ---------------- */
.publish-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0 12px;
  padding: 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0b74ff, #12c7b4);
  box-shadow: 0 6px 18px rgba(11, 116, 255, 0.22);
}
.pb-main {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.pb-ico {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.pb-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pb-t { font-size: 15px; font-weight: 700; color: #fff; line-height: 1.3; }
.pb-d { font-size: 11.5px; color: rgba(255, 255, 255, 0.82); line-height: 1.35; margin-top: 2px; }
.pb-go {
  flex: none;
  font-size: 12px;
  font-weight: 600;
  color: #0b74ff;
  background: #fff;
  padding: 7px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.pb-cats {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-top: 2px;
  scrollbar-width: none;
}
.pb-cats::-webkit-scrollbar { display: none; }
.pb-cat {
  flex: none;
  font-size: 12px;
  color: #fff;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  white-space: nowrap;
}
.pb-cat:active { background: rgba(255, 255, 255, 0.3); }

/* promo 组的小标题（原来是用卡片当组头） */
.promo-group-head {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  padding: 4px 2px 8px;
}

/* ---------------- 文档预览器 ---------------- */
.file-row { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 200px; }
.docv-mask {
  position: fixed; inset: 0; z-index: 9999;
  background: #0a121e; /* 文档阅读器不需要透出背景，用不透明底色最稳 */
  display: flex; align-items: stretch;
  opacity: 0; transition: opacity 0.2s ease;
  padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
}
.docv-mask.show { opacity: 1; }
.docv { flex: 1; display: flex; flex-direction: column; min-height: 0; background: #0a121e; }
.docv-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; color: #fff;
}
.docv-title { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.docv-x {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  border: none; background: rgba(255, 255, 255, 0.14); color: #fff;
  font-size: 16px; cursor: pointer;
}
.docv-body {
  flex: 1; min-height: 0; overflow: auto;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 0 12px;
  -webkit-overflow-scrolling: touch;
}
.docv-body img {
  width: 100%; max-width: 900px; height: auto;
  background: #fff; border-radius: 6px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}
.docv-foot {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 12px 14px 16px;
}
.docv-nav {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: #fff; font-size: 13px;
  padding: 8px 16px; border-radius: 999px; cursor: pointer;
}
.docv-nav:disabled { opacity: 0.35; }
.docv-page { color: rgba(255, 255, 255, 0.85); font-size: 13px; min-width: 70px; text-align: center; }
/* 名片识别区：拖入时高亮 */
.contact-ai.drop-active,
.reg-ai-box.drop-active {
  border: 1.5px dashed var(--brand, #0b74ff) !important;
  background: #eef6ff !important;
  border-radius: 12px;
}
.contact-ai.drop-active::after,
.reg-ai-box.drop-active::after {
  content: '松手即可识别这张名片';
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--brand, #0b74ff);
  text-align: center;
}
.contact-ai { border: 1.5px dashed transparent; transition: background 0.15s ease, border-color 0.15s ease; }
/* ==== live.css ==== */
/* ==========================================================================
   小鱼来了 — 短视频与直播
   ========================================================================== */

/* ---------------- 列表 ---------------- */
.fd-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.fd-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(24, 60, 120, .07);
  display: flex;
  flex-direction: column;
}
.fd-cover {
  position: relative;
  height: 116px;
  background: linear-gradient(135deg, #dbeafe, #c7d2fe) center/cover no-repeat;
  display: grid;
  place-items: center;
}
.fd-cover .fd-play {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .45);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
  padding-left: 3px;
  backdrop-filter: blur(3px);
}
.fd-cover .fd-dur {
  position: absolute;
  right: 7px;
  bottom: 7px;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 10.5px;
  padding: 2px 7px;
  border-radius: 5px;
}
.fd-cover .fd-live {
  position: absolute;
  left: 7px;
  top: 7px;
  background: linear-gradient(120deg, #ff3b3b, #ff6b3d);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
  animation: livePulse 1.6s infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .62; }
}
.fd-body { padding: 9px 10px 11px; flex: 1; display: flex; flex-direction: column; }
.fd-t {
  font-size: 13.5px;
  font-weight: 700;
  color: #16202e;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fd-m { margin-top: auto; padding-top: 8px; font-size: 11px; color: #8a9bb5; display: flex; justify-content: space-between; gap: 6px; }
.fd-m span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------- 短视频播放页 ---------------- */
.fd-page { padding: 0 0 16px; }
.fd-player { background: #000; border-radius: 0 0 16px 16px; overflow: hidden; }
.fd-player video { width: 100%; max-height: 72vh; display: block; background: #000; }
.fd-noplay { height: 220px; display: grid; place-items: center; color: #93a3ba; text-align: center; }
.fd-page .card,
.fd-page > a.card { margin-left: 12px; margin-right: 12px; }

/* ---------------- 直播间 ---------------- */
.live-page { padding: 0 0 16px; }
.live-stage {
  position: relative;
  background: #0b0e14;
  aspect-ratio: 9 / 13;
  max-height: 66vh;
  overflow: hidden;
}
.live-stage video { width: 100%; height: 100%; object-fit: cover; background: #0b0e14; }
.live-cover {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1c2434, #0d1220) center/cover no-repeat;
  display: grid;
  place-items: center;
  transition: opacity .3s;
}
.live-cover.hide { opacity: 0; pointer-events: none; }
.live-cover-txt { color: #cbd6e6; font-size: 14px; background: rgba(0, 0, 0, .35); padding: 8px 18px; border-radius: 999px; }
.live-top {
  position: absolute;
  left: 10px;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.live-badge {
  background: rgba(0, 0, 0, .55);
  color: #cbd6e6;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.live-badge.on { background: linear-gradient(120deg, #ff3b3b, #ff6b3d); color: #fff; animation: livePulse 1.6s infinite; }
.live-stat {
  margin-left: auto;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 11.5px;
  padding: 4px 11px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.live-host {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(to top, rgba(0, 0, 0, .72), rgba(0, 0, 0, 0));
  border-radius: 12px;
  padding: 22px 10px 8px;
  margin: -14px -6px -6px;
}
.live-host .avatar { flex: none; }
.live-host-name { color: #fff; font-size: 13.5px; font-weight: 700; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.live-host-sub { color: rgba(255, 255, 255, .75); font-size: 11px; }

.live-chat { height: 190px; overflow-y: auto; padding: 10px 14px; background: #fafcff; }
.live-msg { font-size: 13px; color: #24303f; margin-bottom: 7px; line-height: 1.5; word-break: break-word; }
.live-msg b { color: #0b74ff; font-weight: 600; }
.live-msg.sys { color: #93a3ba; font-size: 12px; }
.live-input {
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
}
.live-input input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 14px;
  outline: none;
}
.live-input input:focus { border-color: var(--brand); }

/* ---------------- 首页轮播里的视频位 ---------------- */
.home-banner .slide.video { padding: 0; }
.home-banner .slide.video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-banner .slide.video .veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .78) 12%, rgba(0, 0, 0, .12) 62%);
}
.home-banner .slide.video .cap {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 30px;
  color: #fff;
  z-index: 2;
}
.home-banner .slide.video .cap .t {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-banner .slide.video .cap .s { font-size: 12px; opacity: .85; margin-top: 5px; }
.home-banner .slide.video .live-tag {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 3;
  background: linear-gradient(120deg, #ff3b3b, #ff6b3d);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .5px;
  padding: 4px 11px;
  border-radius: 999px;
  animation: livePulse 1.6s infinite;
}
.home-banner .slide.video .short-tag {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 3;
  background: rgba(0, 0, 0, .5);
  color: #fff;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.home-banner .slide.video .mute-btn {
  position: absolute;
  right: 12px;
  bottom: 32px;
  z-index: 4;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, .5);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

@media (min-width: 768px) {
  .fd-grid { grid-template-columns: repeat(4, 1fr); }
  .fd-cover { height: 150px; }
  .live-stage { aspect-ratio: 16 / 9; max-height: 62vh; }
  .live-chat { height: 260px; }
}

/* ==== meeting.css ==== */
/* ==========================================================================
   小鱼来了 — 会议与群聊邀请（会议界面参考腾讯会议的布局语言）
   ========================================================================== */

/* ---------------- 会议号加入页 ---------------- */
.join-hero {
  text-align: center;
  padding: 28px 0 12px;
}
.join-hero .ico { font-size: 52px; }
.join-code {
  width: 100%;
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 8px;
  padding: 14px 10px;
  border: 2px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--surface);
  outline: none;
  font-variant-numeric: tabular-nums;
}
.join-code:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-050); }
.join-hint { font-size: 12.5px; color: var(--text-3); text-align: center; margin-top: 8px; }

/* ---------------- 会前预览（Lobby） ---------------- */
.lobby { padding: 16px 12px 24px; }
.lobby-stage {
  position: relative;
  background: #10141b;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
}
.lobby-stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}
.lobby-stage .placeholder { color: #6b7a90; text-align: center; }
.lobby-stage .placeholder .ico { font-size: 44px; margin-bottom: 6px; }
.lobby-preview-tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 6px;
}
.lobby-toggles {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.lobby-toggle {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  border-radius: var(--r);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.lobby-toggle.on { background: var(--brand-050); border-color: #cfe0ff; color: var(--brand-600); }
.lobby-toggle.off { background: #fdecec; border-color: #f7c9c9; color: var(--danger); }
.lobby-mic-bar {
  height: 4px;
  border-radius: 2px;
  background: var(--line);
  margin-top: 10px;
  overflow: hidden;
}
.lobby-mic-bar i { display: block; height: 100%; width: 0; background: var(--ok); transition: width .08s linear; }

/* ---------------- 会议中 ---------------- */
.mt-room {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  background: #14171d;
  color: #e8ecf3;
  font-size: 14px;
}

.mt-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  padding-top: calc(8px + var(--safe-t));
  background: #1b1f27;
  border-bottom: 1px solid #262b35;
  flex: none;
}
.mt-top .mt-title { font-weight: 700; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.mt-no {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #262b35;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12.5px;
  color: #9fb0c9;
  cursor: pointer;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.mt-no:hover { background: #313846; color: #fff; }
.mt-timer { font-size: 12.5px; color: #9fb0c9; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mt-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }
.mt-dot.bad { background: var(--danger); }
.mt-rec { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: #ff6b6b; }

.mt-stage { flex: 1; display: flex; min-height: 0; }

.mt-grid {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 8px;
  overflow: auto;
  align-content: center;
  justify-content: center;
  grid-auto-rows: minmax(120px, 1fr);
}
.mt-grid[data-count="1"] { grid-template-columns: minmax(0, 1fr); }
.mt-grid[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mt-grid[data-count="3"], .mt-grid[data-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mt-grid[data-count="5"], .mt-grid[data-count="6"],
.mt-grid[data-count="7"], .mt-grid[data-count="8"], .mt-grid[data-count="9"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mt-grid[data-count="10"], .mt-grid[data-count="11"], .mt-grid[data-count="12"],
.mt-grid[data-count="13"], .mt-grid[data-count="14"], .mt-grid[data-count="15"], .mt-grid[data-count="16"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mt-grid.screen { grid-template-columns: minmax(0, 1fr); }

.mt-tile {
  position: relative;
  background: #0e1116;
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 110px;
  border: 1px solid #262b35;
}
.mt-tile video { width: 100%; height: 100%; object-fit: cover; }
.mt-tile.self video { transform: scaleX(-1); }
.mt-tile .mt-avatar { font-size: 34px; width: 64px; height: 64px; border-radius: 50%; background: #2a3140; display: grid; place-items: center; color: #cfd9e8; }
.mt-tile .mt-label {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: rgba(0, 0, 0, .5);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  max-width: calc(100% - 16px);
}
.mt-tile .mt-label .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt-tile .mt-flags { position: absolute; right: 8px; top: 8px; display: flex; gap: 4px; }
.mt-tile .mt-flag { background: rgba(0, 0, 0, .5); border-radius: 6px; padding: 2px 6px; font-size: 12px; }
.mt-tile.speaking { border-color: var(--ok); box-shadow: 0 0 0 2px rgba(18, 164, 91, .35); }
.mt-tile.sharing { grid-column: 1 / -1; }
.mt-tile.sharing video { object-fit: contain; background: #000; }

.mt-side {
  width: 320px;
  flex: none;
  background: #1b1f27;
  border-left: 1px solid #262b35;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.mt-side-head { display: flex; gap: 4px; padding: 8px; border-bottom: 1px solid #262b35; flex: none; }
.mt-tab {
  flex: 1;
  text-align: center;
  padding: 7px 4px;
  border-radius: 8px;
  font-size: 13px;
  color: #9fb0c9;
  cursor: pointer;
}
.mt-tab.active { background: #2a3140; color: #fff; font-weight: 600; }
.mt-side-body { flex: 1; overflow-y: auto; padding: 8px; min-height: 0; }
.mt-member { display: flex; align-items: center; gap: 8px; padding: 7px 6px; border-radius: 8px; }
.mt-member:hover { background: #232835; }
.mt-member .nm { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt-member .role { font-size: 11px; color: #7f8fa6; }
.mt-member .mini { font-size: 13px; opacity: .8; }

.mt-chat { display: flex; flex-direction: column; height: 100%; }
.mt-chat-list { flex: 1; overflow-y: auto; padding: 4px 2px; }
.mt-chat-msg { margin-bottom: 10px; font-size: 13.5px; }
.mt-chat-msg .who { font-size: 11.5px; color: #7f8fa6; margin-bottom: 2px; }
.mt-chat-msg .txt { background: #262b35; border-radius: 10px; padding: 7px 10px; word-break: break-word; white-space: pre-wrap; }
.mt-chat-msg.me .txt { background: #1f4a8f; }
.mt-chat-msg.system { text-align: center; color: #7f8fa6; font-size: 12px; }
.mt-chat-input { display: flex; gap: 6px; padding: 8px; border-top: 1px solid #262b35; flex: none; }
.mt-chat-input input {
  flex: 1;
  background: #262b35;
  border: none;
  border-radius: 8px;
  padding: 9px 11px;
  color: #e8ecf3;
  outline: none;
  min-width: 0;
}
.mt-chat-input input::placeholder { color: #6b7a90; }

.mt-bar {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px calc(8px + var(--safe-b));
  background: #1b1f27;
  border-top: 1px solid #262b35;
  flex-wrap: wrap;
}
.mt-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 62px;
  padding: 6px 8px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: #cfd9e8;
  font-size: 11.5px;
  cursor: pointer;
}
.mt-btn .i { font-size: 19px; line-height: 1; }
.mt-btn:hover { background: #262b35; }
.mt-btn.off { color: #ff7b7b; }
.mt-btn.primary { background: var(--brand); color: #fff; }
.mt-btn.danger { background: #b3262b; color: #fff; }
.mt-btn.on { background: #2f6b46; color: #fff; }
.mt-btn:disabled { opacity: .45; pointer-events: none; }

@media (min-width: 900px) {
  .mt-side { width: 340px; }
}
@media (max-width: 720px) {
  .mt-side {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: 86vw;
    max-width: 360px;
    z-index: 70;
    box-shadow: -12px 0 32px rgba(0, 0, 0, .5);
    transform: translateX(102%);
    transition: transform .2s;
  }
  .mt-side.open { transform: none; }
  .mt-grid[data-count="1"] { grid-template-columns: minmax(0, 1fr); }
  .mt-grid[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mt-grid[data-count="3"], .mt-grid[data-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mt-grid[data-count="5"], .mt-grid[data-count="6"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mt-btn { min-width: 52px; padding: 6px 4px; }
}

/* ---------------- 会议邀请卡 ---------------- */
.invite-card {
  border-radius: var(--r-lg);
  padding: 18px;
  background: linear-gradient(155deg, #1b1f27, #2a3140);
  color: #fff;
  text-align: center;
}
.invite-card .t { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.invite-card .h { font-size: 12.5px; opacity: .7; margin-bottom: 14px; }
.invite-card .n {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: 5px;
  font-variant-numeric: tabular-nums;
  margin: 6px 0;
}
.invite-card .p { font-size: 12.5px; opacity: .8; }
.invite-card img { margin: 12px auto 6px; width: 168px; height: 168px; border-radius: 10px; background: #fff; padding: 6px; }
.invite-card .tip { font-size: 11.5px; opacity: .6; }

/* ---------------- 群公告 ---------------- */
.announce {
  background: #fff8e6;
  border: 1px solid #ffe1a8;
  border-radius: var(--r);
  padding: 10px 12px;
  font-size: 13px;
  color: #8a5a00;
  margin-bottom: 10px;
}
.announce b { color: #6b4600; }

/* ================================================================== */
/* 会议控制栏：单行横向滑动（10 个按钮不再换行占两排）                    */
/* ================================================================== */
.mt-bar {
  justify-content: flex-start;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-left: 12px;
  padding-right: 12px;
}
.mt-bar::-webkit-scrollbar { display: none; }
.mt-btn { flex: none; }

/* 右侧渐隐，提示还有按钮 */
.mt-bar-wrap { position: relative; }
.mt-bar-wrap::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 26px;
  pointer-events: none;
  background: linear-gradient(to right, rgba(27,31,39,0), rgba(27,31,39,.95));
}

/* ==== forum.css ==== */

/* ================================================================== */
/* 论坛                                                               */
/* ================================================================== */

.fm-hero {
  background: linear-gradient(135deg, #0b74ff 0%, #00a9c2 100%);
  border-radius: 18px;
  padding: 22px 20px 18px;
  color: #fff;
  box-shadow: 0 10px 30px rgba(11, 116, 255, .22);
}
.fm-hero-t { font-size: 24px; font-weight: 800; letter-spacing: .5px; }
.fm-hero-s { font-size: 13px; line-height: 1.6; opacity: .92; margin-top: 6px; }
.fm-stats { display: flex; gap: 26px; margin-top: 16px; }
.fm-stats > div { display: flex; flex-direction: column; }
.fm-stats b { font-size: 22px; font-weight: 800; line-height: 1.1; }
.fm-stats span { font-size: 11px; opacity: .85; margin-top: 2px; }
.fm-hero .btn-primary {
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.42);
  color: #fff;
  margin-top: 14px;
}

.fm-group { margin-top: 18px; }
.fm-group-t {
  font-size: 13px; font-weight: 700; color: var(--muted);
  margin: 0 2px 8px; letter-spacing: .5px;
}
.fm-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 720px) { .fm-grid { grid-template-columns: 1fr 1fr; } }

.fm-card {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 14px;
  text-decoration: none; color: inherit;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.fm-card:hover { border-color: #b9d3f5; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(11,116,255,.10); }
.fm-ico {
  width: 46px; height: 46px; flex: 0 0 46px;
  border-radius: 12px; background: #eef4ff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.fm-main { flex: 1; min-width: 0; }
.fm-name { font-size: 15px; font-weight: 700; }
.fm-desc {
  font-size: 12px; color: var(--muted); line-height: 1.45; margin-top: 3px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fm-count { text-align: center; flex: 0 0 44px; }
.fm-count b { display: block; font-size: 16px; color: var(--brand); }
.fm-count span { font-size: 10px; color: var(--muted); }

/* 板块头部 */
.fm-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.fm-head-ico {
  width: 56px; height: 56px; flex: 0 0 56px; border-radius: 16px;
  background: #eef4ff; display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}
.fm-head-n { font-size: 19px; font-weight: 800; }
.fm-head-d { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin-top: 3px; }
.fm-head-m { font-size: 11.5px; color: var(--brand); margin-top: 5px; }
.fm-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.fm-bar .chips { flex: 1; }

/* 最新讨论行 */
.po-row {
  display: block; padding: 10px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit;
}
.po-row:last-child { border-bottom: none; }
.po-row-t { font-size: 13.5px; font-weight: 600; line-height: 1.45; }
.po-row-m { display: flex; flex-wrap: wrap; gap: 10px; font-size: 11px; color: var(--muted); margin-top: 4px; }
.po-forum { color: var(--brand); }

/* 帖子卡片 */
.po-card {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 14px; margin-bottom: 10px;
  text-decoration: none; color: inherit; position: relative;
  transition: border-color .15s, box-shadow .15s;
}
.po-card:hover { border-color: #b9d3f5; box-shadow: 0 6px 18px rgba(11,116,255,.08); }
.po-card-t { font-size: 15px; font-weight: 700; line-height: 1.45; padding-right: 44px; }
.po-card-x {
  font-size: 12.5px; color: var(--muted); line-height: 1.55; margin-top: 5px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.po-imgs { display: flex; gap: 6px; margin-top: 8px; }
.po-imgs img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; background: #f1f5fa; }
.po-card-m {
  display: flex; flex-wrap: wrap; gap: 12px;
  font-size: 11px; color: var(--muted); margin-top: 9px;
}
.po-author { color: var(--text); font-weight: 600; }
.po-pin {
  position: absolute; right: 12px; top: 12px;
  font-size: 10px; color: #fff; background: var(--brand);
  border-radius: 6px; padding: 2px 7px;
}

/* 帖子详情 */
.po-detail { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.po-detail-forum {
  display: inline-block; font-size: 11.5px; color: var(--brand);
  background: #eef4ff; border-radius: 8px; padding: 3px 9px; text-decoration: none;
}
.po-detail-t { font-size: 20px; font-weight: 800; line-height: 1.4; margin: 10px 0 8px; }
.po-detail-m { display: flex; flex-wrap: wrap; gap: 12px; font-size: 11.5px; color: var(--muted); }
.po-detail-b { font-size: 14.5px; line-height: 1.85; margin-top: 14px; color: var(--text); word-break: break-word; }
.po-detail-imgs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 14px; }
.po-detail-imgs img { width: 100%; border-radius: 10px; background: #f1f5fa; }
.po-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.po-actions .btn.active { background: #fff0f0; border-color: #ffc9c9; color: #e03e3e; }

/* 回复 */
.cm-item { padding: 11px 0; border-bottom: 1px solid var(--line); }
.cm-item:last-child { border-bottom: none; }
.cm-head { display: flex; justify-content: space-between; gap: 10px; }
.cm-name { font-size: 12.5px; font-weight: 700; }
.cm-time { font-size: 11px; color: var(--muted); }
.cm-body { font-size: 13.5px; line-height: 1.7; margin-top: 5px; word-break: break-word; }

.v-badge { color: var(--brand); font-style: normal; font-size: 10px; }
.btn-sm { padding: 6px 14px; font-size: 12.5px; border-radius: 10px; }

/* ==== bindings.css ==== */

/* ================================================================== */
/* 账号绑定                                                            */
/* ================================================================== */

.bd-hero {
  background: linear-gradient(135deg, #0b74ff 0%, #00a9c2 100%);
  border-radius: 18px;
  padding: 20px 20px 18px;
  color: #fff;
  box-shadow: 0 10px 30px rgba(11, 116, 255, .22);
}
.bd-hero-t { font-size: 22px; font-weight: 800; letter-spacing: .5px; }
.bd-hero-s { font-size: 13px; line-height: 1.6; opacity: .92; margin-top: 6px; }

.bd-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.bd-row:last-child { border-bottom: none; }
.bd-ico {
  width: 42px; height: 42px; flex: 0 0 42px;
  border-radius: 12px; background: #eef4ff;
  display: flex; align-items: center; justify-content: center;
  font-size: 21px;
}
.bd-main { flex: 1; min-width: 0; }
.bd-name { font-size: 14px; font-weight: 700; }
.bd-val {
  font-size: 12px; color: var(--muted); margin-top: 3px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.bd-ok {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  color: #0e8f5f; background: #e6f7ef;
  border-radius: 6px; padding: 1px 6px;
  vertical-align: middle; margin-left: 6px;
}
.bd-warn {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  color: #b26a00; background: #fff4e0;
  border-radius: 6px; padding: 1px 6px;
}
.bd-lock { font-size: 11px; color: var(--muted); flex: 0 0 auto; }

/* ==== invest.css ==== */

/* ================================================================== */
/* 融资页                                                              */
/* ================================================================== */

.invest-pill {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 26px;
  padding: 0 10px;
  margin-left: 2px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #b26a00;
  background: linear-gradient(135deg, #fff4e0, #ffe6b8);
  border: 1px solid #ffd58a;
  text-decoration: none;
  white-space: nowrap;
  flex: none;
  animation: investGlow 2.4s ease-in-out infinite;
}

/* 让融资入口紧贴 logo，而不是被推到右侧 */
.topbar-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: none;
}
.topbar-brand .title { flex: none; min-width: 0; }
.topbar-spacer { flex: 1 1 auto; min-width: 0; }
@keyframes investGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 190, 80, .45); }
  50% { box-shadow: 0 0 0 5px rgba(255, 190, 80, 0); }
}

/* 主视觉 */
.inv-hero {
  background: linear-gradient(135deg, #0b74ff 0%, #00a9c2 100%);
  border-radius: 18px;
  padding: 24px 20px 20px;
  color: #fff;
  box-shadow: 0 12px 32px rgba(11, 116, 255, .24);
}
.inv-hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, .2);
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 999px;
  padding: 3px 10px;
}
.inv-hero-title { font-size: 23px; font-weight: 800; margin-top: 10px; letter-spacing: .3px; }
.inv-hero-sub { font-size: 13px; opacity: .92; margin-top: 6px; }
.inv-hero-nums {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.inv-hero-nums > div {
  flex: 1;
  background: rgba(255, 255, 255, .14);
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
}
.inv-hero-nums b { display: block; font-size: 22px; font-weight: 800; line-height: 1.1; }
.inv-hero-nums b i { font-size: 12px; font-style: normal; margin-left: 1px; font-weight: 600; }
.inv-hero-nums span { font-size: 11px; opacity: .85; }

/* 小节标题 */
.inv-sec-t {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 12px;
  padding-left: 10px;
  border-left: 3px solid var(--brand);
  line-height: 1.1;
}

/* 认购规则 */
.inv-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.inv-kv > div {
  background: #f7fafd;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.inv-kv span { font-size: 11.5px; color: var(--muted); }
.inv-kv b { font-size: 15px; color: var(--text); }

.inv-formula {
  margin-top: 12px;
  padding: 11px 14px;
  background: #eef4ff;
  border-radius: 10px;
  font-size: 13px;
  color: #0a4fa8;
  text-align: center;
}
.inv-formula b { font-size: 15px; }
.inv-tip { font-size: 11.5px; color: var(--muted); margin-top: 10px; line-height: 1.6; }

/* 权利 */
.inv-rights { display: flex; flex-direction: column; gap: 10px; }
.inv-right {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.inv-right.inv-yes { background: #f2fbf6; border-color: #b9e8cf; }
.inv-right.inv-no { background: #fafbfc; }
.inv-right-ico { font-size: 18px; line-height: 1.2; }
.inv-right-t { font-size: 14px; font-weight: 700; }
.inv-right-d { font-size: 12px; color: var(--muted); margin-top: 3px; line-height: 1.5; }

.inv-warn {
  margin-top: 12px;
  padding: 10px 12px;
  background: #fff7e6;
  border: 1px solid #ffe0a3;
  border-radius: 10px;
  font-size: 12.5px;
  color: #8a5a00;
  line-height: 1.6;
}

/* 资金用途 */
.inv-use-row {
  display: grid;
  grid-template-columns: 84px 1fr 60px;
  gap: 8px 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.inv-use-row:last-child { border-bottom: none; }
.inv-use-name { font-size: 13px; font-weight: 700; }
.inv-use-bar {
  height: 8px;
  background: #eef2f7;
  border-radius: 999px;
  overflow: hidden;
}
.inv-use-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #0b74ff, #00a9c2);
}
.inv-use-amt { font-size: 13px; font-weight: 700; color: var(--brand); text-align: right; }
.inv-use-note {
  grid-column: 1 / -1;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: -2px;
}

/* 亮点 */
.inv-points { display: flex; flex-direction: column; gap: 12px; }
.inv-points > div { display: flex; flex-direction: column; gap: 3px; }
.inv-points b { font-size: 13.5px; }
.inv-points span { font-size: 12px; color: var(--muted); line-height: 1.55; }

/* 完成态 */
.inv-done { text-align: center; padding: 14px 0 6px; }
.inv-done-ico { font-size: 34px; }
.inv-done-t { font-size: 15px; font-weight: 700; margin-top: 8px; }
.inv-done-d { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.inv-done-n {
  font-size: 12px;
  color: var(--brand);
  margin-top: 10px;
  background: #eef4ff;
  border-radius: 10px;
  padding: 9px;
}

/* 风险提示 */
.inv-risk {
  margin-top: 14px;
  background: #fbfbfc;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}
.inv-risk-t { font-size: 13px; font-weight: 800; color: #b45309; }
.inv-risk-b {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 8px;
}
.inv-risk-b p { margin: 0 0 4px; }
.inv-risk-b b { color: var(--text); }

/* ================================================================== */
/* 投资流程                                                            */
/* ================================================================== */

.inv-hero-sm {
  background: linear-gradient(135deg, #0b74ff 0%, #00a9c2 100%);
  border-radius: 16px;
  padding: 18px 20px;
  color: #fff;
  box-shadow: 0 10px 26px rgba(11,116,255,.22);
}
.inv-hero-sm-t { font-size: 24px; font-weight: 800; }
.inv-hero-sm-s { font-size: 12.5px; opacity: .9; margin-top: 5px; }
.inv-hero-sm-n { font-size: 12px; opacity: .85; margin-top: 3px; }

/* 步骤条 */
.inv-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 8px;
  position: relative;
}
.inv-step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; }
.inv-step-dot {
  width: 28px; height: 28px; border-radius: 50%;
  background: #eef2f7; color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; font-weight: 700; z-index: 1;
}
.inv-step.done .inv-step-dot { background: var(--brand); color: #fff; }
.inv-step.cur .inv-step-dot { box-shadow: 0 0 0 4px rgba(11,116,255,.18); }
.inv-step-t { font-size: 11px; color: var(--muted); text-align: center; }
.inv-step.done .inv-step-t { color: var(--text); font-weight: 600; }

/* 确认框 */
.inv-confirm-box {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.inv-confirm-box > div {
  background: #f7fafd; border-radius: 10px; padding: 10px 12px;
  display: flex; flex-direction: column; gap: 3px;
}
.inv-confirm-box span { font-size: 11.5px; color: var(--muted); }
.inv-confirm-box b { font-size: 15px; }

/* 收款账户 */
.inv-bank {
  background: #f7fafd; border-radius: 12px; padding: 4px 14px;
  border: 1px solid var(--line);
}
.inv-bank-row {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0; border-bottom: 1px dashed var(--line);
}
.inv-bank-row:last-child { border-bottom: none; }
.inv-bank-row span { font-size: 12px; color: var(--muted); flex: 0 0 68px; }
.inv-bank-row b { font-size: 14px; flex: 1; word-break: break-all; }
.inv-bank-row b.mono { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .5px; }

/* 凭证 */
.inv-proof { background: #f7fafd; border-radius: 12px; padding: 14px; }
.inv-proof-meta { display: flex; flex-direction: column; gap: 7px; margin-bottom: 10px; }
.inv-proof-meta > div { display: flex; gap: 12px; font-size: 12.5px; }
.inv-proof-meta span { color: var(--muted); flex: 0 0 68px; }
.inv-proof-img { width: 100%; border-radius: 10px; border: 1px solid var(--line); }

/* 我的投资列表 */
.inv-list-row {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 14px; margin-bottom: 10px; text-decoration: none; color: inherit;
}
.inv-list-row:hover { border-color: #b9d3f5; }
.inv-list-main { flex: 1; min-width: 0; }
.inv-list-t { font-size: 15px; font-weight: 700; }
.inv-list-m { display: flex; flex-wrap: wrap; gap: 10px; font-size: 11px; color: var(--muted); margin-top: 4px; }
.inv-badge {
  font-size: 11px; font-weight: 700; border-radius: 8px; padding: 4px 9px; flex: 0 0 auto;
  background: #eef2f7; color: var(--muted);
}
.inv-badge-pending { background: #fff4e0; color: #a3660a; }
.inv-badge-confirmed { background: #e8f1ff; color: #0a52b8; }
.inv-badge-proof_uploaded { background: #ece8ff; color: #5b3fbf; }
.inv-badge-verified { background: #e6f7ef; color: #0e8f5f; }
.inv-badge-rejected { background: #ffecec; color: #c02a2a; }

/* ================================================================== */
/* 文档（协议 / 股权证）                                                */
/* ================================================================== */

.doc-page { max-width: 860px; }
.doc-toolbar { display: flex; gap: 10px; margin-bottom: 12px; }

.doc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 44px 52px;
  box-shadow: 0 2px 16px rgba(15,30,60,.05);
}
.doc-title {
  text-align: center; font-size: 22px; font-weight: 800;
  letter-spacing: 2px; margin-bottom: 6px;
}
.doc-sub { text-align: center; font-size: 12px; color: var(--muted); margin-bottom: 26px; }
.doc-party { margin-bottom: 16px; font-size: 13.5px; line-height: 1.9; }
.doc-party b { font-size: 14px; }
.doc-h { font-size: 14px; font-weight: 800; margin: 22px 0 8px; }
.doc-p { font-size: 13.5px; line-height: 1.95; margin: 0 0 8px; text-indent: 2em; text-align: justify; }
.doc-sign { display: flex; gap: 40px; margin-top: 42px; }
.doc-sign-col { flex: 1; }
.doc-sign-t { font-size: 13px; font-weight: 700; margin-bottom: 26px; }
.doc-sign-line { font-size: 14px; border-bottom: 1px solid #999; padding-bottom: 4px; }
.doc-sign-d { font-size: 12px; color: var(--muted); margin-top: 8px; }
.doc-foot { margin-top: 34px; text-align: center; font-size: 11px; color: var(--muted); }

/* 股权证 */
.cert {
  background: #fffefb;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 4px 24px rgba(15,30,60,.08);
}
.cert-border {
  border: 3px double #c9a227;
  border-radius: 6px;
  padding: 34px 40px 26px;
  background:
    radial-gradient(circle at 12% 8%, rgba(201,162,39,.07), transparent 42%),
    radial-gradient(circle at 88% 92%, rgba(201,162,39,.07), transparent 42%),
    #fffefb;
}
.cert-head { text-align: center; }
.cert-brand { font-size: 15px; font-weight: 800; color: #8a6a12; letter-spacing: 1px; }
.cert-title { font-size: 30px; font-weight: 800; letter-spacing: 8px; color: #2a2118; margin: 12px 0 4px; }
.cert-en { font-size: 10px; letter-spacing: 3px; color: #b09a5a; }
.cert-no { text-align: right; font-size: 12px; color: #8a7a55; margin-top: 14px; }
.cert-body { text-align: center; margin: 22px 0 20px; }
.cert-body p { font-size: 13.5px; color: #4a4237; line-height: 1.9; margin: 0; }
.cert-name {
  font-size: 26px; font-weight: 800; color: #1a1208;
  letter-spacing: 4px; margin: 12px 0;
  border-bottom: 1px solid #d9c88a; display: inline-block; padding: 0 28px 8px;
}
.cert-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px;
  background: #e8dcc0; border: 1px solid #e8dcc0; border-radius: 6px; overflow: hidden;
}
.cert-grid > div { background: #fffdf7; padding: 12px 10px; text-align: center; }
.cert-grid span { display: block; font-size: 10.5px; color: #998a63; margin-bottom: 4px; }
.cert-grid b { font-size: 14px; color: #2a2118; }
.cert-rights {
  margin-top: 18px; text-align: center; font-size: 12.5px; color: #8a5a00;
  background: #fff7e2; border: 1px solid #f0dca8; border-radius: 6px; padding: 10px;
}
.cert-rights b { color: #a3660a; }
.cert-sign { display: flex; align-items: center; justify-content: space-between; margin-top: 26px; }
.cert-seal {
  width: 96px; height: 96px; border-radius: 50%;
  border: 3px solid #c0392b; color: #c0392b;
  display: flex; align-items: center; justify-content: center;
  transform: rotate(-14deg); opacity: .88;
}
.cert-seal-inner { text-align: center; font-size: 12px; font-weight: 800; line-height: 1.3; }
.cert-seal-inner span { font-size: 9px; font-weight: 600; letter-spacing: 1px; }
.cert-sign-meta { text-align: right; font-size: 12px; color: #6a5f47; line-height: 1.9; }
.cert-verify { color: #b09a5a; }
.cert-foot {
  margin-top: 20px; padding-top: 12px; border-top: 1px dashed #e0d4b0;
  text-align: center; font-size: 10.5px; color: #a0947a;
}

/* 打印 */
@media print {
  .topbar, .tabbar, .doc-toolbar, .fab { display: none !important; }
  .page { padding: 0 !important; max-width: none !important; }
  .doc, .cert { border: none; box-shadow: none; }
  .cert { padding: 0; }
  body { background: #fff !important; }
}

/* ================================================================== */
/* 投资管理后台                                                        */
/* ================================================================== */

.ai-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 8px;
}
.ai-stats > div { text-align: center; }
.ai-stats b { display: block; font-size: 17px; font-weight: 800; color: var(--brand); }
.ai-stats span { font-size: 11px; color: var(--muted); }

.ai-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px;
}
.ai-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.ai-name { font-size: 15px; font-weight: 700; }
.ai-phone { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 6px; }
.ai-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 11px; color: var(--muted); margin-top: 4px; }

.ai-amount {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin-top: 12px;
}
.ai-amount > div {
  background: #f7fafd; border-radius: 10px; padding: 9px 10px;
  display: flex; flex-direction: column; gap: 2px;
}
.ai-amount span { font-size: 11px; color: var(--muted); }
.ai-amount b { font-size: 14px; }

.ai-note {
  margin-top: 10px; font-size: 12px; color: var(--muted);
  background: #fbfbfc; border-radius: 8px; padding: 8px 10px;
}
.ai-reject {
  margin-top: 10px; font-size: 12px; color: #c02a2a;
  background: #fff0f0; border-radius: 8px; padding: 8px 10px;
}

.ai-proof {
  display: flex; gap: 12px; margin-top: 12px;
  background: #f7fafd; border-radius: 12px; padding: 12px;
}
.ai-proof-l { flex: 0 0 132px; }
.ai-proof-l img {
  width: 132px; height: 132px; object-fit: cover;
  border-radius: 10px; border: 1px solid var(--line);
  cursor: zoom-in; display: block;
}
.ai-proof-r { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ai-proof-r > div { display: flex; gap: 10px; font-size: 12px; }
.ai-proof-r span { color: var(--muted); flex: 0 0 60px; }
.ai-proof-r b { word-break: break-all; }

.ai-actions { display: flex; gap: 10px; margin-top: 12px; }
.ai-actions .btn { flex: 1; }

@media (max-width: 520px) {
  .ai-stats { grid-template-columns: repeat(2, 1fr); }
  .ai-amount { grid-template-columns: 1fr; }
  .ai-proof { flex-direction: column; }
  .ai-proof-l { flex: none; }
}

/* 协议书中的收款账户块 */
.doc-bank {
  margin: 10px 0 12px;
  border: 1px solid #d8e3ee;
  border-radius: 8px;
  overflow: hidden;
  background: #fafcfe;
}
.doc-bank-t {
  background: #eef4ff;
  color: #0a4fa8;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 14px;
  letter-spacing: 1px;
}
.doc-bank > div:not(.doc-bank-t) {
  display: flex;
  gap: 14px;
  padding: 9px 14px;
  border-top: 1px dashed #e2ebf4;
  font-size: 13px;
}
.doc-bank > div:not(.doc-bank-t) span {
  flex: 0 0 78px;
  color: #7a8a9a;
  letter-spacing: 1px;
}
.doc-bank > div:not(.doc-bank-t) b { color: #1a2b3c; word-break: break-all; }
.doc-bank-card {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  letter-spacing: 1.5px;
  font-size: 14px !important;
}

/* 募集进度 */
.inv-quota-tag {
  font-size: 11px; font-weight: 700; border-radius: 8px; padding: 3px 9px;
  background: #e6f7ef; color: #0e8f5f;
}
.inv-quota-tag.closed { background: #ffecec; color: #c02a2a; }

.inv-quota-bar {
  height: 10px; background: #eef2f7; border-radius: 999px; overflow: hidden; margin: 4px 0 12px;
}
.inv-quota-bar i {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, #0b74ff, #00a9c2);
  transition: width .4s ease;
}
.inv-quota-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.inv-quota-nums > div { text-align: center; }
.inv-quota-nums b { display: block; font-size: 15px; font-weight: 800; }
.inv-quota-nums span { font-size: 11px; color: var(--muted); }

/* 募满状态 */
.inv-closed { text-align: center; padding: 18px 0 6px; }
.inv-closed-ico { font-size: 38px; }
.inv-closed-t { font-size: 17px; font-weight: 800; margin-top: 10px; }
.inv-closed-d { font-size: 12.5px; color: var(--muted); line-height: 1.7; margin-top: 8px; }

@media (max-width: 520px) {
  .inv-quota-nums { grid-template-columns: repeat(2, 1fr); }
}

/* ==== tags.css ==== */

/* ================================================================== */
/* 标签设置                                                            */
/* ================================================================== */

.tag-hero {
  background: linear-gradient(135deg, #0b74ff 0%, #00a9c2 100%);
  border-radius: 16px;
  padding: 20px;
  color: #fff;
  box-shadow: 0 10px 26px rgba(11,116,255,.22);
}
.tag-hero-t { font-size: 21px; font-weight: 800; }
.tag-hero-s { font-size: 12.5px; opacity: .92; margin-top: 6px; line-height: 1.6; }

.tag-sec-t { font-size: 15px; font-weight: 800; }

.tag-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12.5px;
  color: var(--text);
  cursor: pointer;
  user-select: none;
  transition: all .14s;
}
.tag-chip:hover { border-color: #b9d3f5; }
.tag-chip.on {
  background: #eef4ff;
  border-color: var(--brand);
  color: var(--brand);
  font-weight: 700;
}
.tag-chip.tag-custom { background: #f5f0ff; border-color: #b9a6f0; color: #5b3fbf; }
.tag-chip.tag-custom.on { background: #ede6ff; border-color: #7c5cf0; color: #5b3fbf; }
.tag-x { font-style: normal; font-size: 13px; opacity: .7; margin-left: 2px; }

.tag-add { display: flex; gap: 8px; align-items: center; }
.tag-add .input { flex: 1; height: 36px; font-size: 12.5px; }
.tag-add .btn { flex: none; }

/* ================================================================== */
/* 会员等级                                                            */
/* ================================================================== */

.lv-hero {
  background: linear-gradient(135deg, #1a2233 0%, #2b3a52 100%);
  border-radius: 16px;
  padding: 22px 20px;
  color: #fff;
  box-shadow: 0 10px 26px rgba(20,30,50,.25);
}
.lv-hero-cur { font-size: 12.5px; opacity: .8; }
.lv-hero-cur b { display: block; font-size: 24px; font-weight: 800; margin-top: 6px; letter-spacing: 1px; }
.lv-hero-exp { display: inline-block; font-size: 11.5px; opacity: .75; margin-top: 6px; }

.lv-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  margin-top: 12px;
  position: relative;
  overflow: hidden;
}
.lv-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--lv, #8a95a5);
}
.lv-card.cur {
  border-color: var(--lv, var(--brand));
  box-shadow: 0 6px 22px rgba(11,116,255,.12);
}

.lv-head { display: flex; align-items: center; gap: 12px; }
.lv-icon {
  width: 48px; height: 48px; flex: 0 0 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}
.lv-title { flex: 1; min-width: 0; }
.lv-name { font-size: 16px; font-weight: 800; }
.lv-cur {
  font-size: 10px; font-weight: 700;
  background: var(--lv, var(--brand)); color: #fff;
  border-radius: 6px; padding: 1px 6px; vertical-align: middle;
  margin-left: 4px;
}
.lv-tagline { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.lv-price { text-align: right; flex: 0 0 auto; }
.lv-price b { display: block; font-size: 19px; font-weight: 800; color: var(--lv, var(--brand)); }
.lv-price span { font-size: 10.5px; color: var(--muted); }

.lv-perks { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.lv-perk { font-size: 12.5px; color: var(--text); display: flex; gap: 7px; align-items: flex-start; line-height: 1.55; }
.lv-dot { font-weight: 800; flex: 0 0 auto; }

@media (max-width: 520px) {
  .lv-head { flex-wrap: wrap; }
  .lv-price { text-align: left; }
}
