/*!
 * member-detail.css
 * 来源：resources/views/web/member/detail.blade.php 的内联 <style>
 * 说明：仅为把样式从 HTML 里挪出来（避免慢网速下的样式错位 / FOUC），CSS 内容与原内联一致。
 */


/* ==================== 设计变量（对齐首页 hm 体系） ==================== */
.mdd {
  --mdd-brand: #087e78;
  --mdd-brand-700: #066a65;
  --mdd-brand-100: #e9f7f5;
  --mdd-gold: #b8873b;
  --mdd-text: #1d2939;
  --mdd-text-2: #475467;
  --mdd-muted: #667085;
  --mdd-muted-2: #6b7785;
  --mdd-line: #e9eef3;
  --mdd-line-2: #dce4ea;
  --mdd-bg: #f5f7fb;
  --mdd-radius: 16px;
  --mdd-shadow-sm: 0 4px 14px rgba(16, 24, 40, .04);
  --mdd-shadow-md: 0 14px 34px rgba(16, 24, 40, .08);
  padding: 0 0 56px;
  background: var(--mdd-bg);
  color: var(--mdd-text);
  -webkit-font-smoothing: antialiased;
}
.mdd a { text-decoration: none; }
.mdd-wrap { width: min(1450px, calc(100% - 40px)); margin: 0 auto; padding-top: 20px; }

.mdd-mark {
  display: inline-block;
  width: 4px;
  height: 15px;
  border-radius: 4px;
  background: linear-gradient(180deg, #0a8f88, #067069);
}

/* ==================== 名片主体 ==================== */
.mdd-profile {
  overflow: hidden;
  border: 1px solid var(--mdd-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--mdd-shadow-sm);
}

.mdd-cover {
  position: relative;
  height: 110px;
  overflow: hidden;
  padding: 13px 24px;
  background: linear-gradient(118deg, #0a2a28 0%, #0f3b38 46%, #0a2c29 100%);
}

.mdd-cover-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(160deg, rgba(0, 0, 0, .95), transparent 82%);
  mask-image: linear-gradient(160deg, rgba(0, 0, 0, .95), transparent 82%);
  pointer-events: none;
}

.mdd-cover-glow {
  position: absolute;
  top: -150px;
  right: 6%;
  width: 460px;
  height: 380px;
  background: radial-gradient(circle, rgba(45, 212, 191, .26), transparent 64%);
  pointer-events: none;
}

.mdd-cover-mark {
  position: absolute;
  right: 26px;
  bottom: -26px;
  color: rgba(255, 255, 255, .055);
  font-size: 158px;
  line-height: 1;
  transform: rotate(-8deg);
  pointer-events: none;
}

.mdd-cover::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 160, 89, .6), transparent);
  content: '';
}

.mdd-cover-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.mdd-cover-auths {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-left: auto;
}

.mdd-auth-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 100px;
  background: rgba(255, 255, 255, .08);
  color: #d9f2ee;
  font-size: 11.5px;
  letter-spacing: .2px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.mdd-auth-chip i { font-size: 10px; }
.mdd-auth-chip.is-real { border-color: rgba(126, 231, 214, .4); color: #9aecdf; }
.mdd-auth-chip.is-pro { border-color: rgba(197, 160, 89, .45); color: #e8cf9f; }
.mdd-auth-chip.is-comp { border-color: rgba(255, 255, 255, .22); color: #e3eeec; }

/* ---------- 资料区 ---------- */
.mdd-profile-body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding: 0 24px;
}

.mdd-person {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
}

.mdd-avatar-wrap {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  margin-top: -58px;
}

.mdd-avatar {
  display: block;
  width: 108px;
  height: 108px;
  overflow: hidden;
  border: 4px solid #fff;
  border-radius: 24px;
  background: #eef2f6;
  box-shadow: 0 10px 26px rgba(11, 46, 43, .16);
}
.mdd-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }

.mdd-avatar-badge {
  position: absolute;
  right: -5px;
  bottom: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 2.5px solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a9d94, #067069);
  color: #fff;
  font-size: 9px;
  box-shadow: 0 3px 8px rgba(8, 126, 120, .35);
}

.mdd-identity { min-width: 0; padding-top: 16px; }

.mdd-name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  color: #14242e;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.3px;
  line-height: 1.25;
}
.mdd-name-txt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.mdd-sex {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  color: #fff;
  font-size: 9px;
}
.mdd-sex.male { background: #4d9bf0; }
.mdd-sex.female { background: #f4709e; }

.mdd-verified { color: #0a9d94; font-size: 15px; }

/* 会员身份徽章（与 /member/list 的 .vip-tag 同名同款，改一处记得同步）
   level 1 标准 VIP / level 2 超级 SVIP / level 3 荣耀 SVIP
   金色仅用于会员身份，不参与其它语义色 */
.vip-tag {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
  height: 20px;
  padding: 0 8px 0 7px;
  border: 1px solid #ecd9b4;
  border-radius: 100px;
  background: linear-gradient(135deg, #fdf8ee, #f9edd6);
  color: #8a641f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2px;
  line-height: 1;
  white-space: nowrap;
}
.vip-tag i { color: #b8873b; font-size: 9px; }
.vip-tag.is-lv2 {
  border-color: #e2c58c;
  background: linear-gradient(135deg, #fbf0d8, #f3e0b7);
  color: #6f4c12;
}
.vip-tag.is-lv2 i { color: #9c7420; }
.vip-tag.is-lv3 {
  border-color: #7a5416;
  background: linear-gradient(135deg, #6b4a12, #8a641f 58%, #6b4a12);
  color: #fff4dc;
  box-shadow: 0 2px 7px rgba(107, 74, 18, .26);
}
.vip-tag.is-lv3 i { color: #ffd98f; }

.mdd-active {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 20px;
  padding: 0 8px;
  border: 1px solid #e6ebf0;
  border-radius: 100px;
  background: #f8fafc;
  color: #667085;
  font-size: 11px;
  font-weight: 600;
}
.mdd-active em {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a9b6c1;
}
.mdd-active.is-high { border-color: #cfe9e5; background: #f2fbf9; color: #087e78; }
.mdd-active.is-high em { background: #12b886; box-shadow: 0 0 0 3px rgba(18, 184, 134, .16); }
.mdd-active.is-mid { border-color: #dcece8; background: #f6fbfa; color: #3f7d77; }
.mdd-active.is-mid em { background: #5fbfae; }

.mdd-headline {
  margin: 8px 0 0;
  max-width: 720px;
  color: var(--mdd-text-2);
  font-size: 13.5px;
  line-height: 1.65;
  /* 一句话签名限 2 行，写长了也不撑高头部 */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.mdd-metas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 10px;
}
.mdd-meta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--mdd-muted);
  font-size: 12px;
}
.mdd-meta i { color: #a7b3be; font-size: 10.5px; }
/* 品牌：身份行里最需要被记住的一项，略作强调（其余保持次要灰） */
.mdd-meta.is-brand { color: #1d2939; font-weight: 600; }
.mdd-meta.is-brand i { color: #087e78; }

/* ---------- 头部个人介绍（身份行下方） ---------- */
.mdd-bio {
  margin-top: 10px;
  max-width: 720px;
}

.mdd-bio-text {
  margin: 0;
  color: #475467;
  font-size: 13px;
  line-height: 1.8;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.mdd-bio.is-open .mdd-bio-text {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.mdd-bio-more {
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: none;
  color: #087e78;
  font-size: 12.5px;
  line-height: 1.6;
  cursor: pointer;
}

.mdd-bio-more:hover { color: #066a65; }
.mdd-bio-more i { margin-left: 3px; font-size: 10px; transition: transform .2s ease; }
.mdd-bio.is-open .mdd-bio-more i { transform: rotate(180deg); }

.mdd-bio-empty {
  margin: 0;
  color: #667085;
  font-size: 12.5px;
  line-height: 1.7;
}

.mdd-bio-empty > i { margin-right: 2px; color: #a7b3be; font-size: 11px; }
.mdd-bio-empty a { color: #087e78; font-weight: 500; }

/* ---------- 操作按钮 ---------- */
.mdd-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  padding-top: 22px;
}

.mdd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 38px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all .18s ease;
}
.mdd-btn i { font-size: 12px; }

/* display:inline-flex 会盖掉 hidden 属性自带的 display:none，
   导致 JS 里 `btn.hidden = true` 完全失效（加好友弹窗里会错误露出「购买联系卡」） */
.mdd-btn[hidden] { display: none; }

.mdd-btn.primary {
  background: linear-gradient(135deg, #0a8f88, #067069);
  color: #fff;
  box-shadow: 0 8px 18px rgba(8, 126, 120, .26);
}
.mdd-btn.primary:hover { filter: brightness(1.07); box-shadow: 0 10px 22px rgba(8, 126, 120, .34); transform: translateY(-1px); }
.mdd-btn.primary.is-on {
  background: #f2fbf9;
  border-color: #bfe6e0;
  color: var(--mdd-brand);
  box-shadow: none;
}
.mdd-btn.primary.is-on:hover { filter: none; background: #e9f7f5; transform: none; }

.mdd-btn.ghost {
  border-color: var(--mdd-line-2);
  background: #fff;
  color: var(--mdd-text-2);
}
.mdd-btn.ghost:hover { border-color: #b9ded9; background: #f6fbfa; color: var(--mdd-brand); }

.mdd-btn.icon {
  width: 38px;
  padding: 0;
  border-color: var(--mdd-line-2);
  background: #fff;
  color: var(--mdd-muted);
}
.mdd-btn.icon:hover { border-color: #b9ded9; color: var(--mdd-brand); background: #f6fbfa; }

.mdd-btn.full { width: 100%; }
.mdd-btn:focus-visible { outline: 2px solid var(--mdd-brand); outline-offset: 2px; }

/* ---------- 数据条 + 联系条 ---------- */
.mdd-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 20px;
  padding: 0 24px;
  border-top: 1px solid #f1f4f7;
  background: #fcfdfe;
}

.mdd-kpis { display: flex; align-items: center; }
.mdd-kpi {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 14px 20px;
  white-space: nowrap;
}
.mdd-kpi:first-child { padding-left: 0; }
.mdd-kpi + .mdd-kpi { border-left: 1px solid #eef2f6; }
.mdd-kpi strong {
  color: #14242e;
  font-size: 18px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.2px;
  line-height: 1.3;
}
.mdd-kpi span { color: var(--mdd-muted-2); font-size: 11.5px; }

.mdd-contactbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 12px 0;
  margin-left: auto;
}
.mdd-contactbar-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mdd-text-2);
  font-size: 12px;
  font-weight: 600;
}
.mdd-contactbar-title i { color: #a7b3be; font-size: 11px; }

.mdd-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--mdd-muted);
  font-size: 12px;
}
.mdd-contact-item i { color: #a7b3be; font-size: 11px; }
.mdd-contact-item b { color: #14242e; font-weight: 600; }
.mdd-contact-item em {
  padding: 1px 7px;
  border: 1px dashed #d8e0e8;
  border-radius: 5px;
  background: #fff;
  color: #6b7785;
  font-size: 11px;
  font-style: normal;
}

.mdd-contactbar-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding-left: 16px;
  border-left: 1px solid #eef2f6;
  color: var(--mdd-brand);
  font-size: 12px;
  font-weight: 600;
}
.mdd-contactbar-more i { font-size: 11px; }
.mdd-contactbar-more:hover { color: var(--mdd-brand-700); }

/* ==================== 两栏 ==================== */
.mdd-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 344px;
  align-items: start;
  gap: 18px;
  margin-top: 18px;
}
.mdd-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.mdd-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

/* ---------- 通用卡片 ---------- */
.mdd-card {
  padding: 18px 22px 20px;
  border: 1px solid var(--mdd-line);
  border-radius: var(--mdd-radius);
  background: #fff;
  box-shadow: var(--mdd-shadow-sm);
}

.mdd-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  padding-bottom: 13px;
  border-bottom: 1px solid #f2f5f8;
}
.mdd-card-head h2 {
  margin: 0;
  color: #14242e;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .2px;
}
.mdd-card-note {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--mdd-muted-2);
  font-size: 11.5px;
  font-style: normal;
}
.mdd-card-note i { color: #b6c2cd; font-size: 10px; }
.mdd-card-note b { color: var(--mdd-brand); font-variant-numeric: tabular-nums; }
.mdd-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  color: var(--mdd-muted);
  font-size: 12px;
}
.mdd-card-link:hover { color: var(--mdd-brand); }
.mdd-card-link i { font-size: 10px; }

/* ---------- 名片字段（档案式排版） ---------- */
.mdd-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 44px;
}

.mdd-fact {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  padding: 11px 0;
  border-top: 1px dashed #eef2f6;
}
.mdd-fact:nth-child(1),
.mdd-fact:nth-child(2) { border-top: 0; padding-top: 2px; }

.mdd-fact-ico {
  flex: 0 0 15px;
  width: 15px;
  color: #b6c2cd;
  font-size: 10.5px;
  text-align: center;
}

.mdd-fact-copy {
  display: flex;
  flex: 1;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}
.mdd-fact-lb {
  flex: 0 0 56px;
  color: var(--mdd-muted-2);
  font-size: 11.5px;
  line-height: 1.6;
}
.mdd-fact-vl {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: #22323d;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mdd-facts-tip {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 14px 0 0;
  padding: 9px 12px;
  border-radius: 9px;
  background: #f8fafc;
  color: var(--mdd-muted-2);
  font-size: 11.5px;
  line-height: 1.6;
}
.mdd-facts-tip i { color: #a7b3be; font-size: 11px; }

/* ---------- 标签分类 ---------- */
.mdd-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px dashed #f0f3f6;
}
.mdd-tags-lb { color: var(--mdd-muted-2); font-size: 11.5px; }
.mdd-tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border: 1px solid #e2f0ee;
  border-radius: 100px;
  background: #f4fbfa;
  color: var(--mdd-brand-700);
  font-size: 11.5px;
  font-weight: 500;
}

/* ---------- 个人介绍 ----------
   已上移到名片头部（.mdd-bio），左栏卡片删除，这里不再保留 .mdd-intro */

/* ---------- 合作列表 ---------- */
.mdd-posts { margin: 0; padding: 0; list-style: none; }

.mdd-post {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 12px 12px 10px;
  border-radius: 11px;
  transition: background-color .16s ease;
}
.mdd-post + .mdd-post { border-top: 1px solid #f4f6f9; }
.mdd-post:hover { background: #f8fbfb; }

.mdd-post-hit { position: absolute; inset: 0; z-index: 1; border-radius: 11px; }
.mdd-post-hit:focus-visible { outline: 2px solid var(--mdd-brand); outline-offset: 2px; }

.mdd-post-cate {
  flex: 0 0 auto;
  margin-top: 1px;
  padding: 3px 8px;
  border: 1px solid #eef2f6;
  border-radius: 6px;
  background: #f7f9fb;
  color: #66757f;
  font-size: 11px;
  line-height: 1.4;
  white-space: nowrap;
}

.mdd-post-main { flex: 1; min-width: 0; }

.mdd-post-title {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #22323d;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color .16s ease;
}
.mdd-post:hover .mdd-post-title { color: var(--mdd-brand); }

.mdd-post-new {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 4px;
  background: #fff5e6;
  color: #b8873b;
  font-size: 10px;
  font-weight: 600;
  vertical-align: 1px;
}
.mdd-post-new i { font-size: 8px; }

.mdd-post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 5px;
  color: var(--mdd-muted-2);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}
.mdd-post-meta span { display: inline-flex; align-items: center; gap: 4px; }
.mdd-post-meta i { color: #b6c2cd; font-size: 10px; }

.mdd-post-go {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  align-self: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f4f8fa;
  color: #b6c2cd;
  font-size: 10px;
  transition: all .16s ease;
}
.mdd-post:hover .mdd-post-go { background: var(--mdd-brand-100); color: var(--mdd-brand); }

/* ---------- 空状态 ---------- */
.mdd-empty {
  padding: 34px 20px;
  border: 1px dashed #e4ebf1;
  border-radius: 12px;
  background: #fcfdfe;
  text-align: center;
}
.mdd-empty > i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 11px;
  border-radius: 13px;
  background: #f2f7f9;
  color: #b8c5d0;
  font-size: 16px;
}
.mdd-empty strong { display: block; color: #4a5b68; font-size: 13px; font-weight: 600; }
.mdd-empty p { margin: 5px 0 0; color: var(--mdd-muted); font-size: 12px; line-height: 1.6; }

/* ==================== 侧栏 ==================== */
.mdd-side-card {
  padding: 18px;
  border: 1px solid var(--mdd-line);
  border-radius: var(--mdd-radius);
  background: #fff;
  box-shadow: var(--mdd-shadow-sm);
}

.mdd-side-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 11px;
  border-bottom: 1px solid #f2f5f8;
}
.mdd-side-head h2 { margin: 0; color: #14242e; font-size: 14px; font-weight: 700; }
.mdd-side-head a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
  color: var(--mdd-muted-2);
  font-size: 11.5px;
}
.mdd-side-head a:hover { color: var(--mdd-brand); }
.mdd-side-head a i { font-size: 9px; }

/* ---------- 对接卡 ---------- */
.mdd-connect {
  position: relative;
  overflow: hidden;
  border-color: #dfeeec;
  background: linear-gradient(165deg, #f2fbfa 0%, #ffffff 58%);
}
.mdd-connect-glow {
  position: absolute;
  top: -90px;
  right: -60px;
  width: 240px;
  height: 220px;
  background: radial-gradient(circle, rgba(45, 212, 191, .16), transparent 66%);
  pointer-events: none;
}
.mdd-connect-title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #14242e;
  font-size: 14.5px;
  font-weight: 700;
}
.mdd-connect-title i { color: var(--mdd-brand); font-size: 13px; }

.mdd-connect-desc {
  position: relative;
  margin: 9px 0 0;
  color: var(--mdd-muted);
  font-size: 12px;
  line-height: 1.65;
}

.mdd-contact-list {
  position: relative;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}
.mdd-contact-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  border: 1px dashed #dfeae8;
  border-radius: 9px;
  background: rgba(255, 255, 255, .8);
}
.mdd-contact-list li + li { margin-top: 7px; }
.mdd-contact-list .k {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mdd-text-2);
  font-size: 12px;
}
.mdd-contact-list .k i { color: #a7b3be; font-size: 11px; }
.mdd-contact-list .v {
  overflow: hidden;
  color: #14242e;
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mdd-contact-list .v.is-locked {
  padding: 1px 8px;
  border-radius: 5px;
  background: #f5f8fa;
  color: #a3aebb;
  font-weight: 400;
}

.mdd-connect-actions {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 13px;
}

.mdd-connect-note {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 11px 0 0;
  color: var(--mdd-muted-2);
  font-size: 11px;
  line-height: 1.5;
}
.mdd-connect-note i { font-size: 10px; }

/* ---------- 同行人脉 ---------- */
.mdd-peers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mdd-peer {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #eef2f6;
  border-radius: 12px;
  background: #fbfcfd;
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.mdd-peer:hover {
  border-color: #d3ebe7;
  background: #fff;
  box-shadow: 0 8px 20px rgba(8, 60, 56, .07);
  transform: translateY(-2px);
}

.mdd-peer-avatar {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border: 1px solid #eef2f6;
  border-radius: 12px;
  background: #f4f7fa;
}
.mdd-peer-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }

.mdd-peer-copy { flex: 1; min-width: 0; }

.mdd-peer-name {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  color: #22323d;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mdd-peer-name i { flex: 0 0 auto; color: #0a9d94; font-size: 10px; }
.mdd-peer:hover .mdd-peer-name { color: var(--mdd-brand); }

.mdd-peer-job {
  display: block;
  overflow: hidden;
  margin-top: 1px;
  color: var(--mdd-muted);
  font-size: 11.5px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mdd-peer-meta {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: var(--mdd-muted-2);
  font-size: 11px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mdd-peer-meta i { margin-right: 3px; font-size: 9px; }
.mdd-peer-meta em { margin: 0 5px; font-style: normal; color: #ccd5dd; }

.mdd-peer-go { flex: 0 0 auto; color: #ccd5dd; font-size: 10px; transition: color .16s ease, transform .16s ease; }
.mdd-peer:hover .mdd-peer-go { color: var(--mdd-brand); transform: translateX(2px); }

/* ---------- 名片档案 ---------- */
.mdd-files { margin: 0; padding: 0; list-style: none; }
.mdd-files li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
}
.mdd-files li + li { border-top: 1px dashed #f0f3f6; }
.mdd-files .k {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--mdd-muted);
  font-size: 12px;
}
.mdd-files .k i { width: 12px; color: #b6c2cd; font-size: 10.5px; text-align: center; }
.mdd-files .v {
  color: #22323d;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.mdd-files .v.is-online { color: #0a9d94; }

.mdd-side-empty {
  margin: 0;
  padding: 22px 0;
  color: var(--mdd-muted);
  font-size: 12px;
  text-align: center;
}

/* ---------- 侧栏引导 ---------- */
.mdd-promo { position: relative; overflow: hidden; background: linear-gradient(160deg, #f7fbfc, #ffffff 70%); }
.mdd-promo-ico {
  position: absolute;
  top: 14px;
  right: 14px;
  color: #e2edf2;
  font-size: 38px;
  pointer-events: none;
}
.mdd-promo strong { display: block; color: #22323d; font-size: 13px; font-weight: 700; }
.mdd-promo p { position: relative; margin: 7px 0 12px; color: var(--mdd-muted); font-size: 12px; line-height: 1.65; }
.mdd-promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 13px;
  border: 1px solid #cfe9e5;
  border-radius: 8px;
  background: #fff;
  color: var(--mdd-brand);
  font-size: 12px;
  font-weight: 600;
  transition: all .16s ease;
}
.mdd-promo-btn:hover { border-color: var(--mdd-brand); background: var(--mdd-brand); color: #fff; }
.mdd-promo-btn i { font-size: 9px; }

/* ==================== 返回顶部 ==================== */
.mdd-back-top {
  position: fixed;
  right: 26px;
  bottom: 40px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #dbe5e3;
  border-radius: 12px;
  background: #fff;
  color: var(--mdd-muted);
  font-size: 13px;
  box-shadow: 0 8px 20px rgba(16, 24, 40, .1);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: all .22s ease;
}
.mdd-back-top.is-on { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mdd-back-top:hover { border-color: #b9ded9; color: var(--mdd-brand); }

/* ---------- 按钮：好友状态 / 查看联系方式 ---------- */
.mdd-btn.ghost.is-done {
  border-color: #dceee9;
  background: #f3fbf8;
  color: var(--mdd-brand);
}
.mdd-btn.ghost.is-done:hover { border-color: #c6e6df; background: #ecf8f4; color: var(--mdd-brand-700); }
.mdd-btn.ghost.is-wait {
  border-color: #f0dcc0;
  background: #fffaf1;
  color: #8a641f;
}
.mdd-btn.ghost.is-wait:hover { border-color: #e6cda4; background: #fff5e4; color: #8a641f; }

.mdd-btn.outline-warm {
  border-color: #cfe9e5;
  background: #f4fbfa;
  color: var(--mdd-brand-700);
}
.mdd-btn.outline-warm:hover { border-color: var(--mdd-brand); background: #e9f7f5; color: var(--mdd-brand-700); }

.mdd-connect-row { display: flex; gap: 8px; }
.mdd-connect-row .mdd-btn { flex: 1; padding: 0 10px; }

/* ---------- 联系条：立即查看联系方式 ---------- */
.mdd-reveal {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 12px;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(135deg, #0a8f88, #067069);
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(8, 126, 120, .22);
  transition: all .16s ease;
}
.mdd-reveal:hover { filter: brightness(1.07); transform: translateY(-1px); }
.mdd-reveal:focus-visible { outline: 2px solid var(--mdd-brand); outline-offset: 2px; }
.mdd-reveal i { font-size: 10.5px; }

.mdd-reveal-note {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 9px;
  border: 1px solid #d5ece5;
  border-radius: 100px;
  background: #f3fbf8;
  color: #0a7d6f;
  font-size: 11px;
  font-weight: 600;
}
.mdd-reveal-note i { font-size: 9.5px; }

.mdd-contactbar-use { color: var(--mdd-muted-2); font-size: 11.5px; }
.mdd-contactbar-use b { color: var(--mdd-brand); font-variant-numeric: tabular-nums; }

/* ---------- 内容选项卡 ---------- */
/* 9 个选项卡：空间不够就换行，别横向藏起来（藏起来等于用户找不到） */
.mdd-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: -3px 0 14px;
  padding-bottom: 1px;
}

/* 中等宽度：收起图标 + 收紧内边距，尽量维持一行 */
@media (max-width: 1320px) {
  .mdd-tab { padding: 0 10px; gap: 5px; }
  .mdd-tab i { display: none; }
}

.mdd-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: #f5f8fa;
  color: var(--mdd-text-2);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all .16s ease;
}
.mdd-tab i { color: #a7b3be; font-size: 11px; transition: color .16s ease; }
.mdd-tab em {
  min-width: 16px;
  padding: 0 4px;
  border-radius: 5px;
  background: #e8eef2;
  color: #75828d;
  font-size: 10.5px;
  font-style: normal;
  font-variant-numeric: tabular-nums;
  line-height: 15px;
  text-align: center;
}
.mdd-tab:hover { background: #eff6f5; color: var(--mdd-brand); }
.mdd-tab:hover i { color: var(--mdd-brand); }
.mdd-tab.is-on {
  border-color: #bfe6e0;
  background: #f2fbf9;
  color: var(--mdd-brand);
  box-shadow: 0 2px 8px rgba(8, 126, 120, .08);
}
.mdd-tab.is-on i { color: var(--mdd-brand); }
.mdd-tab.is-on em { background: var(--mdd-brand); color: #fff; }
.mdd-tab.is-empty { opacity: .62; }
.mdd-tab.is-empty.is-on { opacity: 1; }
.mdd-tab:focus-visible { outline: 2px solid var(--mdd-brand); outline-offset: 1px; }

.mdd-pane[hidden] { display: none; }

.mdd-feed { margin: 0; padding: 0; list-style: none; }

.mdd-feed-it {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 10px 11px 8px;
  border-radius: 11px;
  transition: background-color .16s ease;
}
.mdd-feed-it + .mdd-feed-it { border-top: 1px solid #f4f6f9; }
.mdd-feed-it:hover { background: #f8fbfb; }

.mdd-feed-hit { position: absolute; inset: 0; z-index: 1; border-radius: 11px; }
.mdd-feed-hit:focus-visible { outline: 2px solid var(--mdd-brand); outline-offset: 2px; }

.mdd-feed-thumb {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  overflow: hidden;
  border: 1px solid #eef2f6;
  border-radius: 9px;
  background: #f4f7fa;
}
.mdd-feed-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }

.mdd-feed-main { flex: 1; min-width: 0; }

.mdd-feed-title {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #22323d;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color .16s ease;
}
.mdd-feed-it:hover .mdd-feed-title { color: var(--mdd-brand); }

.mdd-feed-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 13px;
  margin-top: 5px;
  color: var(--mdd-muted-2);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}
.mdd-feed-meta span { display: inline-flex; align-items: center; gap: 4px; }
.mdd-feed-meta i { color: #b6c2cd; font-size: 10px; }

.mdd-feed-chip {
  flex: 0 0 auto;
  padding: 3px 8px;
  border: 1px solid #eef2f6;
  border-radius: 6px;
  background: #f7f9fb;
  color: #66757f;
  font-size: 11px;
  line-height: 1.4;
  white-space: nowrap;
}
.mdd-feed-chip.is-img { display: inline-flex; align-items: center; gap: 3px; }
.mdd-feed-chip.is-img i { font-size: 9.5px; }

.mdd-feed-go {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f4f8fa;
  color: #b6c2cd;
  font-size: 9.5px;
  transition: all .16s ease;
}
.mdd-feed-it:hover .mdd-feed-go { background: var(--mdd-brand-100); color: var(--mdd-brand); }

/* ---------- 隐私：内容未公开时的说明卡 ---------- */
.mdd-privacy-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 44px 24px 46px;
  text-align: center;
}

.mdd-privacy-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #f1f7f6;
  color: var(--mdd-brand);
  font-size: 17px;
}

.mdd-privacy-empty strong {
  color: var(--mdd-text);
  font-size: 14.5px;
  font-weight: 600;
}

.mdd-privacy-empty p {
  max-width: 420px;
  margin: 8px 0 0;
  color: var(--mdd-muted);
  font-size: 12.5px;
  line-height: 1.8;
}

.mdd-privacy-acts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

/* ---------- 单条操作：置顶角标 / 分享 · 设置按钮（文字常显，不做 hover 才出现） ---------- */
.mdd-feed-pin {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  border: 1px solid #f0e2c8;
  border-radius: 5px;
  background: #fdf6e9;
  color: #8a641f;
  font-size: 10.5px;
  line-height: 1.5;
  white-space: nowrap;
}
.mdd-feed-pin i { font-size: 9.5px; }
.mdd-feed-pin[hidden] { display: none; }

.mdd-feed-acts {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
}

.mdd-feed-act {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 9px;
  border: 1px solid #e8eef3;
  border-radius: 7px;
  background: #fff;
  color: #52606d;
  font-size: 11.5px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.mdd-feed-act i { color: #98a2b3; font-size: 10px; transition: color .15s ease; }
.mdd-feed-act:hover {
  border-color: #b9ded9;
  background: #f4fbfa;
  color: var(--mdd-brand);
}
.mdd-feed-act:hover i { color: var(--mdd-brand); }
/* 菜单展开时按钮保持选中态，用户知道操作面板是从这里弹出来的 */
.mdd-feed-act[aria-expanded="true"] {
  border-color: #b9ded9;
  background: var(--mdd-brand-100);
  color: var(--mdd-brand);
}
.mdd-feed-act[aria-expanded="true"] i { color: var(--mdd-brand); }
.mdd-feed-act:focus-visible { outline: 2px solid var(--mdd-brand); outline-offset: 1px; }

/* 设置菜单：挂在 body 上，避免被卡片圆角/溢出裁掉 */
.mdd-pop {
  position: fixed;
  z-index: 19999;
  padding: 6px;
  border: 1px solid #e9eef3;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 40px -12px rgba(16, 24, 40, .26), 0 2px 8px rgba(16, 24, 40, .06);
}
.mdd-pop-cap { padding: 4px 8px 6px; color: #98a2b3; font-size: 11px; }

.mdd-pop-it {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 8px 9px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #344054;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .14s ease, color .14s ease;
}
.mdd-pop-it i { width: 14px; color: #7b8794; font-size: 11.5px; text-align: center; }
.mdd-pop-it em { margin-left: auto; padding-left: 10px; color: #98a2b3; font-size: 11px; font-style: normal; }
.mdd-pop-it em.is-warn { color: #b54708; }
.mdd-pop-it:hover { background: #f2fbf9; color: var(--mdd-brand); }
.mdd-pop-it:hover i { color: #0a8f88; }
.mdd-pop-it.is-danger { color: #b42318; }
.mdd-pop-it.is-danger i { color: #d92d20; }
.mdd-pop-it.is-danger:hover { background: #fef3f2; color: #b42318; }
.mdd-pop-it:focus-visible { outline: 2px solid var(--mdd-brand); outline-offset: -1px; }
.mdd-pop-tip { color: #667085; font-size: 12.5px; line-height: 1.7; }

/* ---------- 分享面板 ---------- */
/* skin 名会原样加到 layer 容器上（不是 layui-layer-xxx） */
.layui-layer.mdd-share-layer { border-radius: 16px !important; overflow: hidden; }
.mdd-share { padding: 22px 20px 18px; text-align: center; }
.mdd-share-cap { margin: 0 0 14px; color: #475467; font-size: 13px; }
.mdd-share-qr {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 168px;
  height: 168px;
  margin: 0 auto 14px;
  padding: 8px;
  border: 1px solid #eef2f6;
  border-radius: 12px;
  background: #fff;
}
.mdd-share-qr img { width: 100%; height: 100%; image-rendering: pixelated; }
.mdd-share-link { display: flex; align-items: center; gap: 8px; }
.mdd-share-link input {
  flex: 1;
  min-width: 0;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #e4eaf0;
  border-radius: 8px;
  background: #f8fafc;
  color: #475467;
  font-size: 12px;
}
.mdd-share-copy {
  flex: none;
  height: 34px;
  padding: 0 15px;
  border: 1px solid var(--mdd-brand);
  border-radius: 8px;
  background: var(--mdd-brand);
  color: #fff;
  font-size: 12.5px;
  cursor: pointer;
}
.mdd-share-copy:hover { background: var(--mdd-brand-700); }
.mdd-share-native {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 6px 13px;
  border: 1px solid #e4eaf0;
  border-radius: 999px;
  background: #fff;
  color: #475467;
  font-size: 12px;
  cursor: pointer;
}
.mdd-share-native:hover { border-color: #b9ded9; color: var(--mdd-brand); }

/* ---------- 置顶卡选择 ---------- */
.mdd-cardpick { padding: 16px 18px 4px; }
.mdd-cardpick-it {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  padding: 10px 12px;
  border: 1px solid #e9eef3;
  border-radius: 10px;
  cursor: pointer;
}
.mdd-cardpick-it input { accent-color: var(--mdd-brand); }
.mdd-cardpick-main { display: flex; flex-direction: column; gap: 2px; }
.mdd-cardpick-main strong { color: #1d2939; font-size: 13px; font-weight: 600; }
.mdd-cardpick-main em { color: #667085; font-size: 11.5px; font-style: normal; }


/* 滚动加载状态：加载中 / 没有更多 / 观察哨兵 */
.mdd-feed-state { padding: 4px 0 0; }

.mdd-feed-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 0;
  color: #667085;
  font-size: 12.5px;
}

.mdd-feed-loading i { color: var(--mdd-brand); font-size: 12px; }

.mdd-feed-end {
  display: block;
  padding: 12px 0 2px;
  color: #98a2b3;
  font-size: 12px;
  text-align: center;
}

.mdd-feed-end::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  margin-right: 8px;
  background: #e4eaef;
  vertical-align: middle;
}

.mdd-feed-end::after {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  margin-left: 8px;
  background: #e4eaef;
  vertical-align: middle;
}

.mdd-feed-sentinel { display: block; height: 1px; }

/* ---------- 主页封面（自定义图 / 更换按钮） ---------- */
.mdd-cover.is-custom {
  height: 220px;
  background-image:
    linear-gradient(180deg, rgba(4, 32, 30, .30) 0%, rgba(4, 38, 36, .52) 52%, rgba(3, 26, 24, .86) 100%),
    var(--mdd-cover-img);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

.mdd-cover.is-custom .mdd-cover-grid,
.mdd-cover.is-custom .mdd-cover-mark { display: none; }

/* 常显：不让用户靠猜才知道能换封面（之前是 hover 才出现） */
.mdd-cover-acts {
  position: absolute;
  right: 18px;
  bottom: 14px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.mdd-cover-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  color: #0b3b37;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background .16s ease;
}

.mdd-cover-btn:hover { background: #fff; }
.mdd-cover-btn i { font-size: 11.5px; }

.mdd-cover-btn.is-plain {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
}

.mdd-cover-btn.is-plain:hover { background: rgba(255, 255, 255, .26); }

/* ---------- 侧栏：创作中心 / 常用入口 ---------- */
.mdd-side-head .mdd-side-link {
  margin-left: auto;
  color: var(--mdd-brand);
  font-size: 12px;
}

.mdd-creator-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 2px 0 12px;
}

.mdd-creator-kpi {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 9px 4px;
  border: 1px solid #eef2f6;
  border-radius: 10px;
  background: #fbfcfd;
  font-family: inherit;
  text-align: center;
  transition: all .16s ease;
}

.mdd-creator-kpi.is-btn { cursor: pointer; }

.mdd-creator-kpi strong {
  color: #14242e;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.mdd-creator-kpi span { color: #667085; font-size: 11.5px; }

a.mdd-creator-kpi:hover,
.mdd-creator-kpi.is-btn:hover { border-color: #d7e5e3; background: #f2fbf9; }

.mdd-creator-acts { display: flex; gap: 8px; }

.mdd-creator-pub {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, #0a8f88, #067069);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: filter .16s ease;
}

.mdd-creator-pub:hover { filter: brightness(1.08); }
.mdd-creator-pub i { font-size: 11px; }

.mdd-creator-manage {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 14px;
  border: 1px solid #dbe4ea;
  border-radius: 9px;
  color: #475467;
  font-size: 13px;
}

.mdd-creator-manage:hover { border-color: var(--mdd-brand); color: var(--mdd-brand); }

.mdd-creator-tip { margin: 10px 0 0; color: var(--mdd-gold); font-size: 12px; }
.mdd-creator-tip i { margin-right: 4px; font-size: 11px; }

.mdd-link-list { margin: 0; padding: 0; list-style: none; }
.mdd-link-list li + li { border-top: 1px dashed #f0f3f6; }

.mdd-link-list a,
.mdd-link-list button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 2px;
  border: 0;
  background: none;
  color: #344054;
  font-family: inherit;
  font-size: 12.5px;
  text-align: left;
  cursor: pointer;
  transition: color .16s ease;
}

.mdd-link-list i { width: 14px; color: #7b8794; font-size: 12px; text-align: center; }
.mdd-link-list span { flex: 1; min-width: 0; }
.mdd-link-list em { color: #98a2b3; font-size: 11.5px; font-style: normal; }

.mdd-link-list a:hover,
.mdd-link-list button:hover { color: var(--mdd-brand); }
.mdd-link-list a:hover i,
.mdd-link-list button:hover i { color: #0a8f88; }

/* ---------- 收藏：收藏夹 ---------- */
.mdd-fav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 2px 0 12px;
}

.mdd-fav-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1d2939;
  font-size: 13.5px;
  font-weight: 600;
}

.mdd-fav-title > i { color: var(--mdd-brand); font-size: 12px; }

.mdd-fav-title em {
  padding: 0 6px;
  border-radius: 9px;
  background: #f1f4f7;
  color: #667085;
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  line-height: 18px;
}

.mdd-fav-new {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid #d7e5e3;
  border-radius: 9px;
  background: #f2fbf9;
  color: var(--mdd-brand);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all .16s ease;
}

.mdd-fav-new:hover { background: #e6f7f4; border-color: #bfe0da; }
.mdd-fav-new i { font-size: 11px; }

.mdd-fav-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mdd-fav-card {
  border: 1px solid #e9eef3;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.mdd-fav-card:hover { border-color: #d7e5e3; box-shadow: 0 6px 18px rgba(16, 24, 40, .06); }

.mdd-fav-open {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 11px;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

.mdd-fav-covers { display: flex; gap: 3px; flex: 0 0 auto; }

.mdd-fav-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f4f7f9;
  color: #b9c4cf;
  font-size: 12px;
  overflow: hidden;
}

.mdd-fav-cover img { width: 100%; height: 100%; object-fit: cover; }

.mdd-fav-body { flex: 1; min-width: 0; }

.mdd-fav-name {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #1d2939;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.mdd-fav-lock { color: var(--mdd-gold); font-size: 10px; }

.mdd-fav-desc {
  display: block;
  margin-top: 2px;
  color: #667085;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mdd-fav-meta { display: block; margin-top: 3px; color: #98a2b3; font-size: 11.5px; }

.mdd-fav-arrow { align-self: center; color: #b9c4cf; font-size: 11px; transition: transform .2s ease; }
.mdd-fav-card.is-open .mdd-fav-arrow i { transform: rotate(180deg); }

.mdd-fav-items { border-top: 1px dashed #f0f3f6; padding: 8px 11px 10px; }

.mdd-fav-list { margin: 0; padding: 0; list-style: none; }

.mdd-fav-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  color: #344054;
  font-size: 12.5px;
}

.mdd-fav-list li a:hover { color: var(--mdd-brand); }

.mdd-fav-thumb { width: 30px; height: 30px; border-radius: 6px; object-fit: cover; flex: 0 0 auto; }

.mdd-fav-item-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mdd-fav-item-date { color: #98a2b3; font-size: 11.5px; flex: 0 0 auto; }
.mdd-fav-empty-item { margin: 6px 0; color: #98a2b3; font-size: 12px; }

/* ---------- 关注订阅：人员列表 ---------- */
.mdd-people-tabs { display: flex; gap: 6px; margin: 2px 0 12px; }

.mdd-people-tab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid #e9eef3;
  border-radius: 9px;
  background: #fff;
  color: #475467;
  font-size: 12.5px;
  cursor: pointer;
  transition: all .16s ease;
}

.mdd-people-tab em {
  padding: 0 5px;
  border-radius: 8px;
  background: #f1f4f7;
  color: #667085;
  font-size: 10.5px;
  font-style: normal;
  line-height: 16px;
}

.mdd-people-tab.is-on { border-color: var(--mdd-brand); background: #f2fbf9; color: var(--mdd-brand); font-weight: 600; }
.mdd-people-tab.is-on em { background: var(--mdd-brand); color: #fff; }

.mdd-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.mdd-person {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid #eef2f6;
  border-radius: 12px;
  transition: border-color .16s ease;
}

.mdd-person:hover { border-color: #d7e5e3; }

.mdd-person-avatar { flex: 0 0 auto; }
.mdd-person-avatar img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }

.mdd-person-main { flex: 1; min-width: 0; }

.mdd-person-name {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #1d2939;
  font-size: 13px;
  font-weight: 600;
}

.mdd-person-name i { color: #0a9d94; font-size: 11px; }

.mdd-person-desc {
  margin: 2px 0 0;
  color: #667085;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mdd-person-meta { display: flex; gap: 10px; margin: 3px 0 0; color: #98a2b3; font-size: 11.5px; }
.mdd-person-meta i { margin-right: 3px; font-size: 10.5px; }

.mdd-person-btn { flex: 0 0 auto; height: 30px; padding: 0 10px; font-size: 12px; }
.mdd-person-btn.is-on { color: #667085; border-color: #e4eaef; background: #f7f9fb; }

@media (max-width: 1180px) {
  .mdd-fav-grid, .mdd-people { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 新建收藏夹弹窗（layer 插到 body 下，不加 .mdd 前缀） ---------- */
.mdd-fav-form { padding: 2px 0; }

.mdd-fav-field { margin-bottom: 12px; }
.mdd-fav-field > label { display: block; margin-bottom: 6px; color: #344054; font-size: 12.5px; font-weight: 500; }

.mdd-fav-input {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #e4eaef;
  border-radius: 9px;
  background: #fff;
  color: #1d2939;
  font-size: 13px;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.mdd-fav-input:focus { border-color: var(--mdd-brand); box-shadow: 0 0 0 3px rgba(8, 126, 120, .1); }

textarea.mdd-fav-input { height: 72px; padding: 10px 12px; line-height: 1.6; resize: vertical; }

.mdd-fav-radio { display: flex; gap: 18px; color: #475467; font-size: 12.5px; }
.mdd-fav-radio label { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.mdd-fav-tip { margin: 4px 0 0; color: #98a2b3; font-size: 11.5px; }

.mdd-feed-foot {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #f0f3f6;
}
.mdd-feed-foot a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--mdd-muted);
  font-size: 12px;
}
.mdd-feed-foot a:hover { color: var(--mdd-brand); }
.mdd-feed-foot i { font-size: 9.5px; }

/* ==================== 额度弹窗 ==================== */
/* 本站没有全局 box-sizing，新组件自带，避免 width/padding 叠加撑破 */
.mdd-modal, .mdd-modal *,
.mdd-tabs, .mdd-tabs *,
.mdd-feed, .mdd-feed *,
.mdd-reveal { box-sizing: border-box; }

.mdd-modal[hidden] { display: none; }
.mdd-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.mdd-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(9, 24, 30, .48);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.mdd-modal-box {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 22px 22px 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 26px 60px rgba(9, 24, 30, .26);
  animation: mddPop .2s ease;
}
@keyframes mddPop {
  from { opacity: 0; transform: translateY(10px) scale(.985); }
  to   { opacity: 1; transform: none; }
}

.mdd-modal-x {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #98a2b3;
  font-size: 13px;
  cursor: pointer;
  transition: all .16s ease;
}
.mdd-modal-x:hover { background: #f2f5f8; color: #475467; }

.mdd-modal-pane[hidden] { display: none; }

.mdd-modal-top { display: flex; align-items: flex-start; gap: 12px; }

.mdd-modal-ico {
  display: flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e9f7f5, #d7f0ec);
  color: var(--mdd-brand);
  font-size: 15px;
}
.mdd-modal-ico.is-warn {
  background: linear-gradient(135deg, #fff6e6, #ffefd4);
  color: #a9760f;
}

.mdd-modal-copy { min-width: 0; }
.mdd-modal-copy h3 {
  margin: 0;
  color: #14242e;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.2px;
  line-height: 1.4;
}
.mdd-modal-copy p {
  margin: 5px 0 0;
  color: var(--mdd-muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.mdd-quota {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 16px;
}
.mdd-quota > div {
  padding: 11px 13px;
  border: 1px solid #eef2f6;
  border-radius: 11px;
  background: #fafcfd;
}
.mdd-quota > div[hidden] { display: none; }
.mdd-quota.is-single { grid-template-columns: minmax(0, 1fr); }
.mdd-quota span { display: block; color: var(--mdd-muted-2); font-size: 11.5px; }
.mdd-quota b {
  display: block;
  margin-top: 3px;
  color: #14242e;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.mdd-deduct {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 13px 0 0;
  padding: 10px 12px;
  border: 1px solid #d9ede9;
  border-radius: 10px;
  background: #f5fbfa;
  color: #0a6f68;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.6;
}
.mdd-deduct i { margin-top: 3px; color: var(--mdd-brand); font-size: 10.5px; }

.mdd-tips { margin: 14px 0 0; padding: 0; list-style: none; }
.mdd-tips li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  color: var(--mdd-text-2);
  font-size: 12px;
  line-height: 1.6;
}
.mdd-tips li i { margin-top: 3px; color: #b8873b; font-size: 10.5px; }
.mdd-tips li[hidden] { display: none; }

.mdd-modal-acts { display: flex; gap: 9px; margin-top: 17px; }
.mdd-modal-acts .mdd-btn { flex: 1; height: 42px; }
.mdd-modal-acts .mdd-btn.ghost { color: var(--mdd-text-2); }

.mdd-modal-foot {
  margin: 11px 0 0;
  color: #98a2b3;
  font-size: 11.5px;
  line-height: 1.6;
  text-align: center;
}
.mdd-modal-foot:empty { display: none; }

body.mdd-locked { overflow: hidden; }


@media (prefers-reduced-motion: reduce) {
  .mdd *, .mdd *::before, .mdd *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* ==================== 响应式 ==================== */
@media (max-width: 1180px) {
  .mdd-cols { grid-template-columns: minmax(0, 1fr) 316px; }
  .mdd-facts { column-gap: 28px; }
}

@media (max-width: 1000px) {
  .mdd-cols { grid-template-columns: minmax(0, 1fr); }
  .mdd-cover { height: auto; min-height: 104px; padding-bottom: 14px; }
  .mdd-cover-mark { right: 12px; font-size: 128px; }
}

@media (max-width: 768px) {
  .mdd { padding-bottom: 84px; }
  .mdd-wrap { width: calc(100% - 24px); padding-top: 12px; }
  .mdd-profile { border-radius: 14px; }
  .mdd-cover { padding: 12px 16px 16px; }
  .mdd-cover-mark { font-size: 120px; right: 10px; }
  .mdd-auth-chip { height: 22px; padding: 0 8px; font-size: 10.5px; }
  .mdd-profile-body { flex-direction: column; gap: 0; padding: 0 16px; }
  .mdd-person { gap: 13px; }
  .mdd-avatar-wrap { margin-top: -42px; }
  .mdd-avatar { width: 82px; height: 82px; border-width: 3px; border-radius: 19px; }
  .mdd-avatar-badge { width: 20px; height: 20px; font-size: 8px; border-width: 2px; }
  .mdd-identity { padding-top: 13px; }
  .mdd-name { font-size: 19px; }
  .mdd-headline { margin-top: 6px; font-size: 12.5px; }
  .mdd-metas { gap: 5px 12px; margin-top: 8px; }
  .mdd-meta { font-size: 11.5px; }
  .mdd-actions { width: 100%; padding-top: 14px; }
  .mdd-actions .mdd-btn { flex: 1; height: 42px; padding: 0 12px; }
  .mdd-actions .mdd-btn.icon { flex: 0 0 38px; }
  .mdd-kpis { margin-top: 14px; }
  .mdd-kpi { padding: 12px 6px 13px; }
  .mdd-kpi strong { font-size: 16px; }
  .mdd-kpi span { font-size: 10.5px; }
  .mdd-bar { padding: 0 16px; gap: 0; }
  .mdd-kpis { width: 100%; justify-content: space-between; }
  .mdd-kpi { padding: 12px 8px; }
  .mdd-kpi strong { font-size: 16px; }
  .mdd-kpi span { font-size: 11px; }
  .mdd-contactbar { width: 100%; margin-left: 0; padding: 10px 0 11px; gap: 7px 14px; border-top: 1px solid #f2f5f8; }
  .mdd-contactbar-more { padding-left: 0; border-left: 0; margin-left: 0; }
  .mdd-card { padding: 15px 15px 17px; border-radius: 14px; }
  .mdd-card-head { margin-bottom: 12px; padding-bottom: 11px; }
  .mdd-card-head h2 { font-size: 14px; }
  .mdd-card-note { display: none; }
  .mdd-facts { column-gap: 20px; }
  .mdd-fact { padding: 9px 0; }
  .mdd-fact-lb { flex: 0 0 50px; font-size: 11px; }
  .mdd-fact-vl { font-size: 12.5px; }
  .mdd-bio { margin-top: 8px; max-width: 100%; }
  .mdd-bio-text { font-size: 12.5px; line-height: 1.75; }
  .mdd-post { padding: 11px 8px; gap: 9px; }
  .mdd-post-title { font-size: 13px; }
  .mdd-side-card { padding: 15px; border-radius: 14px; }
  .mdd-back-top { right: 14px; bottom: 96px; }

  /* 新增：选项卡 / 按钮 / 联系条 */
  .mdd-actions { gap: 7px; }
  .mdd-actions .mdd-btn { font-size: 12.5px; gap: 5px; }
  .mdd-tabs { gap: 6px; margin-bottom: 12px; }
  .mdd-tab { height: 30px; padding: 0 10px; font-size: 12px; }
  .mdd-tab i { font-size: 10.5px; }
  .mdd-feed-it { padding: 10px 6px; gap: 9px; }
  .mdd-feed-thumb { flex: 0 0 46px; width: 46px; height: 46px; }
  .mdd-feed-title { font-size: 13px; }
  .mdd-feed-meta { font-size: 11px; gap: 3px 10px; }
  /* 触屏没有 hover：操作按钮常显，去掉右侧箭头腾位置 */
  .mdd-feed-act { height: 25px; padding: 0 7px; gap: 4px; font-size: 11px; }
  .mdd-feed-act i { font-size: 9.5px; }
  .mdd-feed-go { display: none; }
  .mdd-feed-chip { max-width: 76px; overflow: hidden; text-overflow: ellipsis; }
  .mdd-share { padding: 20px 16px 16px; }
  .mdd-share-qr { width: 150px; height: 150px; }
  .mdd-feed-foot { gap: 14px; }
  .mdd-contactbar { gap: 7px 12px; }
  .mdd-reveal { height: 27px; padding: 0 10px; font-size: 11.5px; }
  .mdd-modal-box { padding: 20px 18px 16px; border-radius: 16px; }
}

@media (max-width: 480px) {
  /* 手机窄屏：分享 / 设置只留文字，把宽度还给标题 */
  .mdd-feed-act { padding: 0 8px; gap: 0; }
  .mdd-feed-act i { display: none; }
  .mdd-feed-acts { gap: 5px; }
  .mdd-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mdd-kpi:nth-child(odd) { border-left: 0; }
  .mdd-kpi:nth-child(n+3) { border-top: 1px solid #f1f4f7; }
  .mdd-post-cate { display: none; }
  .mdd-facts { grid-template-columns: minmax(0, 1fr); column-gap: 0; }
  .mdd-fact:nth-child(2) { border-top: 1px dashed #eef2f6; }
  .mdd-peers { grid-template-columns: minmax(0, 1fr); }
  .mdd-cover-top { flex-direction: column; align-items: flex-start; gap: 9px; }
  .mdd-cover-auths { align-self: flex-end; margin-left: 0; }
  .mdd-actions .mdd-btn { height: 40px; font-size: 12px; }
  .mdd-actions .mdd-btn.icon { flex: 0 0 40px; width: 40px; }
  .mdd-feed-thumb { display: none; }
  .mdd-feed-chip { display: none; }
  .mdd-quota { grid-template-columns: minmax(0, 1fr); }
  .mdd-modal { padding: 12px; }
  .mdd-modal-acts .mdd-btn { height: 44px; font-size: 13px; }
}


