/* 圈子 前台样式 —— QQ空间动态风格 v1.2.3 */
:root {
  --q-bg: #eef1f6;
  --q-nav-from: #5aa9f5;
  --q-nav-to: #2f7fe0;
  --q-card: #ffffff;
  --q-line: #eceff3;
  --q-blue: #2f6fed;
  --q-text: #333333;
  --q-sub: #9aa3ad;
  --q-bubble: #f4f6f9;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body.mo-mypage {
  background: var(--q-bg);
  color: var(--q-text);
  font: 15px/1.6 -apple-system, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.mo-wrap {
  width: 100%;
  max-width: 720px;
  margin: -16px auto 16px;
  background: transparent;
  min-height: 0;
}

/* ===== 顶部导航（QQ空间蓝渐变） ===== */
.mo-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 12px;
  background: #ffffff;
  color: #2b2b2b;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.mo-nav-back {
  color: #2b2b2b;
  font-size: 20px;
  text-decoration: none;
  padding: 0 6px;
  white-space: nowrap;
  line-height: 48px;
  flex: 0 0 auto;
}
.mo-nav-title {
  flex: 1;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #2b2b2b;
}
.mo-nav-right { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.mo-nav-icon { color: #2b2b2b; font-size: 22px; font-weight: 600; text-decoration: none; line-height: 48px; }
.mo-nav-avatar { width: 30px; height: 30px; border-radius: 50%; background-size: cover; background-position: center; border: 1px solid #e3e6eb; display: inline-block; }

/* ===== 发布框 ===== */
.mo-pub {
  background: var(--q-card);
  padding: 16px 16px 12px;
  margin: 10px 10px 0;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(31,56,88,.06);
}
.mo-pub-row { display: flex; align-items: flex-start; }
.mo-pub-user { flex: 0 0 auto; margin-right: 12px; }
.mo-pub-main { flex: 1; min-width: 0; }
.mo-av {
  width: 38px; height: 38px; border-radius: 50%;
  object-fit: cover; display: inline-block; vertical-align: middle;
  background: #e3edf7;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #d6e2f5;
}
.mo-av-txt {
  background: #dce9fb; color: var(--q-blue);
  text-align: center; line-height: 34px; font-weight: 700; font-size: 17px;
  border-radius: 50%;
}
.mo-content {
  width: 100%; border: none; outline: none; resize: none;
  min-height: 60px; font-size: 15px; color: var(--q-text);
  font-family: inherit; line-height: 1.6;
}
.mo-pub-pre { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.mo-pre-cell {
  position: relative; width: 78px; height: 78px; border-radius: 4px; overflow: hidden;
  background: #f0f0f0;
}
.mo-pre-cell img { width: 100%; height: 100%; object-fit: cover; }
.mo-pre-x {
  position: absolute; top: 2px; right: 2px; width: 18px; height: 18px;
  background: rgba(0,0,0,.55); color: #fff; border-radius: 50%;
  text-align: center; line-height: 16px; font-size: 13px; cursor: pointer;
}
.mo-pub-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 10px;
}
.mo-addimg {
  border: none; background: none; font-size: 14px; cursor: pointer; color: #576b95;
  display: inline-flex; align-items: center; gap: 4px;
}
.mo-pub-right { display: flex; align-items: center; gap: 10px; }
.mo-count { font-size: 12px; color: var(--q-sub); }
.mo-vis {
  border: 1px solid #d9e2ee; border-radius: 4px; font-size: 12px;
  padding: 4px 6px; color: #666; background: #fff;
  appearance: auto;
}
.mo-btn {
  border: none; background: linear-gradient(135deg, var(--q-nav-from), var(--q-nav-to));
  color: #fff; font-size: 14px;
  padding: 7px 18px; border-radius: 5px; cursor: pointer; font-weight: 500;
  box-shadow: 0 1px 2px rgba(47,127,224,.3);
}
.mo-btn:disabled { opacity: .6; }

/* ===== 全部/我的标签 ===== */
.mo-tabs {
  display: flex;
  margin: 10px 10px 0;
  background: var(--q-card);
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(31,56,88,.06);
  overflow: hidden;
}
.mo-tab {
  flex: 1; text-align: center; padding: 11px 0;
  font-size: 15px; color: #555; text-decoration: none;
  position: relative;
}
.mo-tab.cur { color: var(--q-blue); font-weight: 600; }
.mo-tab.cur::after {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 0; width: 28px; height: 3px; border-radius: 3px;
  background: var(--q-blue);
}

/* ===== 说说卡片 ===== */
.mo-list { padding: 10px 10px 30px; }
.mo-card {
  background: var(--q-card);
  padding: 14px 16px;
  border-radius: 6px;
  margin-bottom: 10px;
  box-shadow: 0 1px 3px rgba(31,56,88,.06);
}
.mo-head { display: flex; align-items: flex-start; margin-bottom: 8px; }
.mo-hd-av {
  width: 34px; height: 34px; border-radius: 50%; overflow: hidden;
  background: #dce9fb; color: var(--q-blue);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; flex: 0 0 auto;
  margin-right: 10px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #d6e2f5;
}
.mo-hd-av img { width: 100%; height: 100%; object-fit: cover; }
.mo-hd-info { flex: 1; min-width: 0; }
.mo-hd-name { font-weight: 600; font-size: 15px; color: var(--q-blue); }
.mo-hd-nick { color: inherit; text-decoration: none; }
.mo-hd-nick.mo-vip { color: #e64340; }
.mo-hd-nick:hover { text-decoration: underline; }
.mo-vip { font-style: normal; color: #e64340; }
.mo-hd-meta { font-size: 12px; color: var(--q-sub); margin-top: 2px; }
.mo-hd-meta .mo-lock { margin-left: 4px; font-style: normal; }
.mo-hd-ops { flex: 0 0 auto; }
.mo-del {
  border: none; background: none; color: var(--q-sub); font-size: 12px; cursor: pointer;
}
.mo-del:hover { color: #d9534f; }

.mo-content-text {
  font-size: 15px; line-height: 1.7; white-space: pre-wrap; word-break: break-word;
  margin-bottom: 8px;
  color: var(--q-text);
}
.mo-content-text.mo-fold {
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical;
  overflow: hidden;
}
.mo-more { color: var(--q-blue); font-size: 14px; text-decoration: none; }

/* ===== 九宫格（QQ空间三列） ===== */
.mo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 8px 0 4px; }
.mo-grid .mo-cell { border-radius: 3px; overflow: hidden; aspect-ratio: 1; }
.mo-grid .mo-cell img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
/* 1张：QQ空间大图 */
.mo-grid.mo-g-1 { grid-template-columns: 1fr; max-width: 210px; }
.mo-grid.mo-g-1 .mo-cell { aspect-ratio: 16/10; }
/* 2张：两列 */
.mo-grid.mo-g-2 { grid-template-columns: repeat(2, 1fr); max-width: 240px; }
/* 4张：2x2 */
.mo-grid.mo-g-4 { grid-template-columns: repeat(2, 1fr); }

/* ===== 底部操作（QQ空间 评论 分隔样式） ===== */
.mo-cmt-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  color: #576b95; text-decoration: none; font-size: 14px;
  padding: 2px 4px;
}
.mo-cmt-btn { font-size: 14px; }
.mo-cmt-num { font-size: 13px; color: #576b95; }

/* ===== 评论区（QQ空间浅灰块嵌套） ===== */
.mo-comments { display: none; margin-top: 8px; }
.mo-comments-open { display: block !important; }
.mo-cmt-list { }
.mo-loading { color: var(--q-sub); font-size: 13px; text-align: center; padding: 8px 0; }
.mo-cmt-item { display: flex; align-items: flex-start; padding: 6px 0; }
.mo-cmt-av {
  width: 22px; height: 22px; border-radius: 50%; object-fit: cover;
  background: #dce9fb; color: var(--q-blue);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 11px; flex: 0 0 auto;
  margin-right: 8px;
}
.mo-cmt-body { flex: 1; min-width: 0; background: none; border-radius: 0; padding: 0; }
.mo-cmt-nick { font-size: 12px; color: var(--q-blue); font-weight: 600; }
a.mo-cmt-nick { text-decoration: none; }
a.mo-cmt-nick:hover { text-decoration: underline; }
.mo-cmt-text { font-size: 13px; line-height: 1.5; word-break: break-word; color: #333; }
.mo-cmt-text .at { color: var(--q-blue); }
.mo-cmt-sub { display: flex; align-items: center; gap: 12px; margin-top: 3px; font-size: 10px; color: #a3aab3; }
.mo-cmt-sub .mo-reply { color: var(--q-blue); text-decoration: none; font-size: 11px; white-space: nowrap; }
.mo-cmt-sub .mo-del-cmt { border: none; background: none; color: #a3aab3; font-size: 11px; cursor: pointer; }
.mo-cmt-replies { margin-left: 34px; margin-top: 2px; }
.mo-cmt-replies { margin-left: 6px; border-left: 2px solid #eef1f6; padding-left: 8px; margin-top: 6px; }
.mo-cmt-pending { font-size: 12px; color: var(--q-blue); padding: 4px 0; }
.mo-pending-x { color: #a3aab3; text-decoration: none; margin-left: 6px; }
.mo-cmt-input { display: flex; gap: 6px; margin-top: 8px; align-items: center; }
.mo-cmt-input input {
  flex: 0 1 auto; width: min(240px, 62%); border: 1px solid #d9e2ee; border-radius: 4px;
  padding: 2px 8px; font-size: 12px; line-height: 1.2; outline: none; min-width: 0;
}
.mo-cmt-input input::placeholder { font-size: 10px; color: #9aa8b8; }
.mo-cmt-input .mo-btn { padding: 3px 10px; font-size: 12px; border-radius: 4px; white-space: nowrap; flex: none; display: none; }
.mo-cmt-input.mo-cmt-active .mo-btn { display: inline-block; }
.mo-cmt-input input:focus { border-color: var(--q-nav-to); }
/* 评论框前的当前用户头像占位 */
.mo-cmt-input .mo-cmt-me-av {
  width: 22px; height: 22px; border-radius: 50%; overflow: hidden; flex: 0 0 auto;
  background: #dce9fb; color: var(--q-blue);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 11px;
}
.mo-cmt-input .mo-cmt-me-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mo-login-tip { text-align: center; font-size: 13px; color: #888; padding: 10px 0; }
.mo-login-tip a { color: var(--q-blue); text-decoration: none; }

/* ===== 空状态 ===== */
.mo-empty { text-align: center; padding: 70px 0; color: #aaa; }
.mo-empty-ic { font-size: 44px; margin-bottom: 8px; opacity: .6; }

/* ===== 分页 ===== */
.mo-pager { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; padding: 14px 0; }
.mo-pg {
  min-width: 30px; height: 30px; padding: 0 8px; line-height: 30px;
  text-align: center; border-radius: 4px; background: #fff;
  border: 1px solid #dce3ec; color: #555; font-size: 13px;
  text-decoration: none;
}
.mo-pg.cur { background: var(--q-nav-to); border-color: var(--q-nav-to); color: #fff; font-weight: 600; }

/* ===== 大图预览 ===== */
.mo-viewer {
  position: fixed; inset: 0; background: rgba(0,0,0,.96);
  display: none; align-items: center; justify-content: center; z-index: 999;
}
.mo-viewer img { max-width: 100vw; max-height: 100vh; object-fit: contain; }
.mo-viewer-close {
  position: absolute; top: 14px; right: 20px; color: #fff; font-size: 30px;
  cursor: pointer; line-height: 1; opacity: .9;
}
.mo-viewer-prev, .mo-viewer-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: #fff; font-size: 30px; cursor: pointer; opacity: .85;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  user-select: none;
}
.mo-viewer-prev { left: 10px; }
.mo-viewer-next { right: 10px; }
.mo-viewer-count {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: #ccc; font-size: 13px;
}

/* ===== 移动端 ===== */
@media (max-width: 520px) {
  .mo-list { padding: 8px 8px 24px; }
  .mo-pub { margin: 8px 8px 0; }
  .mo-tabs { margin: 8px 8px 0; }
  .mo-grid:has(.mo-cell:only-child) { max-width: 260px; }
}

/* ===== 顶部封面（QQ空间主页风格） ===== */
.mo-cover {
  position: relative;
  height: 172px;
  background: linear-gradient(135deg, #5aa9f5 0%, #3a8bef 45%, #2f7fe0 100%);
  overflow: hidden;
}
.mo-cover-deco { position: absolute; border-radius: 50%; background: rgba(255,255,255,.14); }
.mo-cover-d1 { width: 170px; height: 170px; right: -36px; top: -52px; }
.mo-cover-d2 { width: 96px; height: 96px; right: 86px; bottom: -40px; background: rgba(255,255,255,.1); }
.mo-cover-user {
  position: absolute; left: 14px; bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.mo-cover-av {
  width: 58px; height: 58px; border-radius: 50%;
  background: #fff; object-fit: cover;
  border: 2px solid rgba(255,255,255,.92);
  box-shadow: 0 3px 10px rgba(20,70,140,.35);
}
.mo-cover-av-txt {
  text-align: center; line-height: 54px;
  color: #2f7fe0; font-size: 26px; font-weight: 700;
}
.mo-cover-info { min-width: 0; }
.mo-cover-name {
  color: #fff; font-size: 17px; font-weight: 600;
  text-shadow: 0 1px 3px rgba(0,0,0,.25);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mo-cover-sub {
  margin-top: 3px; color: rgba(255,255,255,.88); font-size: 12px;
  text-shadow: 0 1px 2px rgba(0,0,0,.18);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ===== 底部操作（点赞/评论/打赏） ===== */
.mo-foot {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--q-line);
}
.mo-foot .mo-act { padding: 2px 4px; gap: 2px; }
.mo-foot .mo-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 14px; height: 14px;
}
.mo-foot .mo-ic svg { display: block; }
.mo-foot .mo-time {
  font-size: 11px; color: #a3aab3; line-height: 20px;
  margin-right: 12px; white-space: nowrap;
}
/* 时间靠左，赞评赏+位置靠右 */
.mo-foot-acts { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.mo-act {
  display: inline-flex; align-items: center; gap: 4px;
  color: #7a8598; text-decoration: none; font-size: 13px;
  padding: 2px 0; cursor: pointer; user-select: none;
}
.mo-act .mo-ic { font-style: normal; font-size: 15px; line-height: 1; }
.mo-act-num { font-size: 13px; color: #7a8598; min-width: 10px; }
.mo-like.on { color: #ff9d00; }
.mo-like.on .mo-act-num { color: #ff9d00; font-weight: 600; }

/* ===== 打赏弹窗 ===== */
.mo-modal {
  position: fixed; inset: 0; z-index: 998;
  background: rgba(20, 35, 60, .55);
  display: flex; align-items: center; justify-content: center;
}
.mo-modal-box {
  width: 300px; max-width: 86vw;
  background: #fff; border-radius: 10px;
  padding: 18px 18px 16px;
  box-shadow: 0 10px 32px rgba(20,50,90,.28);
}
.mo-modal-title {
  text-align: center; font-size: 16px; font-weight: 600;
  color: var(--q-blue); margin-bottom: 14px;
}
.mo-tip-input {
  width: 100%; box-sizing: border-box;
  border: 1px solid #d9e2ee; border-radius: 6px;
  padding: 10px 12px; font-size: 16px; outline: none;
  text-align: center;
}
.mo-tip-input:focus { border-color: var(--q-nav-to); }
.mo-tip-quick {
  display: flex; gap: 8px; margin-top: 10px; justify-content: center;
}
.mo-tip-quick button {
  flex: 1; padding: 7px 0;
  border: 1px solid #c9d8ef; border-radius: 5px;
  background: #f4f8ff; color: var(--q-blue);
  font-size: 13px; cursor: pointer;
}
.mo-tip-quick button:active { background: #e3edfb; }
.mo-modal-btns { display: flex; gap: 10px; margin-top: 16px; }
.mo-modal-btns .mo-btn { flex: 1; }
.mo-btn-ghost {
  background: #f2f4f7; color: #666;
  box-shadow: none;
}

/* ===== 封面自定义 ===== */
.mo-cover { background-position: center; background-size: cover; }
.mo-cover-cam {
  position: absolute; top: 10px; right: 12px; z-index: 5;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.92); border: none;
  font-size: 16px; line-height: 34px; text-align: center;
  cursor: pointer; box-shadow: 0 1px 6px rgba(0,0,0,.22);
  color: #2f7fe0;
}
.mo-cover-cam:active { background: #eef4ff; }
/* 封面图为图片时：底部渐变保证文字可读 */
.mo-cover[style*="background-image"]::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 72px;
  background: linear-gradient(to top, rgba(0,30,80,.45), rgba(0,30,80,0));
}

/* ===== 悬浮发布按钮（QQ空间风格圆钮） ===== */
.mo-fab {
  position: fixed; right: 18px; bottom: 26px; z-index: 90;
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--q-nav-from), var(--q-nav-to));
  color: #fff; font-size: 30px; line-height: 50px; text-align: center;
  text-decoration: none; font-weight: 300;
  box-shadow: 0 4px 14px rgba(47,127,224,.45);
  user-select: none;
}
.mo-fab:active { transform: scale(.95); }

/* ===== 独立发布页 ===== */
.mo-pubpage {
  margin-top: 10px; min-height: 46vh;
  display: flex; flex-direction: column;
}
.mo-pubpage .mo-pub-main { display: flex; flex-direction: column; }
.mo-pubpage .mo-content { flex: 1; min-height: 96px; resize: vertical; }
.mo-pubpage .mo-pub-bar { margin-top: 12px; }
/* 发布页：权限设置独立行（QQ 写说说样式） */
.mo-pub-vis-row {
  margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--q-line);
  display: flex; align-items: center; justify-content: space-between;
}
.mo-pub-vis-label { font-size: 13px; color: var(--q-text); }
.mo-pub-vis-row .mo-vis {
  border: none; background: none; font-size: 12px; color: var(--q-blue);
  padding: 0; cursor: pointer;
}

/* ===== 封面主题（内置封面） ===== */
.theme-0 { background: linear-gradient(135deg,#5aa9f5,#2f7fe0); }
.theme-1 { background: linear-gradient(135deg,#4aa3f5,#1f6fe0); }
.theme-2 { background: linear-gradient(135deg,#36cfc9,#2f8fd8); }
.theme-3 { background: linear-gradient(135deg,#a78bfa,#7c3aed); }
.theme-4 { background: linear-gradient(135deg,#ffb27d,#ff8a5c); }
.theme-5 { background: linear-gradient(135deg,#2b5876,#4e4376); }

/* ===== 封面设置页 ===== */
.mo-cov-preview { padding: 12px 12px 0; }
.mo-cov-preview-in {
  position: relative; height: 150px; border-radius: 8px;
  display: flex; align-items: flex-end; padding: 10px 14px;
  overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
.mo-cov-preview-in::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 60px;
  background: linear-gradient(to top, rgba(0,30,80,.45), rgba(0,30,80,0));
}
.mo-cov-preview-av {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid #fff; object-fit: cover; background: #fff;
}
.mo-cov-preview-av-txt { line-height: 40px; text-align: center; color: #2f7fe0; font-weight: 700; font-size: 18px; }
.mo-cov-preview-name { position: relative; color: #fff; font-weight: 600; margin-left: 10px; text-shadow: 0 1px 3px rgba(0,0,0,.35); }
.mo-cov-tip { font-size: 12px; color: #98a1ad; text-align: center; margin: 8px 2px 0; line-height: 1.6; }
.mo-cov-block { background: #fff; border-radius: 8px; margin: 12px 12px 0; padding: 14px; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.mo-cov-title { font-size: 14px; font-weight: 600; color: #333; margin-bottom: 10px; }
.mo-cov-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mo-cov-item { height: 54px; border-radius: 6px; border: 2px solid transparent; cursor: pointer; padding: 0; }
.mo-cov-item.cur { border-color: #2f7fe0; box-shadow: 0 0 0 1px #2f7fe0; }
.mo-cov-mini { font-size: 12px; color: #98a1ad; margin-top: 8px; }
/* 个性签名编辑 */
.mo-cov-sig { display: flex; align-items: center; gap: 8px; }
.mo-cov-sig .mo-sig-input {
  flex: 1; min-width: 0; border: 1px solid #d9e2ee; border-radius: 6px;
  padding: 8px 10px; font-size: 13px; outline: none;
}
.mo-cov-sig .mo-sig-input:focus { border-color: var(--q-nav-to); }
.mo-cov-del {
  display: block; margin: 16px auto 30px; border: 1px solid #f0c4c0; background: #fff;
  color: #d9534f; padding: 9px 22px; border-radius: 6px; font-size: 14px; cursor: pointer;
}
.mo-cov-del:active { background: #fdf2f0; }

/* 发布页工具行（参考「发表到广场」样式） */
.mo-tool {
  border: none; background: none; color: #576b95; font-size: 14px;
  padding: 6px 8px; margin-left: 4px; cursor: pointer;
}
.mo-tool:active { background: #e6e9ef; }
.mo-nav-send {
  border: none; background: #1b9cff; color: #fff; font-size: 14px; font-weight: 600;
  padding: 5px 16px; border-radius: 6px; cursor: pointer;
}
.mo-nav-send:active { opacity: .85; }

/* ===== 发布页 QQ 写说说 1:1 ===== */
.mo-pub-nav { justify-content: space-between; }
.mo-pub-nav .mo-nav-back { font-size: 14px; padding: 0 4px; }
.mo-pub-nav .mo-nav-title { flex: 0 1 auto; margin: 0 8px; font-size: 16px; }
.mo-brain {
  flex: 0 0 auto; font-size: 12px; color: #fff; font-weight: 600;
  background: linear-gradient(135deg, #ff9a3d, #ff5e62);
  border-radius: 10px; padding: 2px 8px; margin-right: 4px;
  white-space: nowrap;
}
.mo-pub-nav .mo-nav-send {
  background: #2f7fe0; border-radius: 14px; font-size: 12px;
  padding: 3px 12px;
}
.mo-pubpage { margin: 0; min-height: 0; background: #fff; padding: 10px 14px 0; }
.mo-pubpage .mo-content {
  border: none; outline: none; resize: vertical; min-height: 96px;
  width: 100%; font-size: 16px; line-height: 1.6; padding: 4px 0;
  background: transparent; color: #333;
}
.mo-pub-count { text-align: right; font-size: 11px; color: #b3bac3; margin: -4px 0 4px; }
.mo-pub-tools {
  display: flex; align-items: center; margin: 6px 0 2px;
  border-top: 1px solid var(--q-line); padding-top: 8px;
}
.mo-pub-tool {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  border: none; background: none; color: #576b95;
  font-size: 11px; padding: 4px 2px; cursor: pointer; min-width: 0;
}
.mo-pub-tool:active { background: #f0f2f5; border-radius: 6px; }
.mo-pub-ic { font-style: normal; line-height: 1; color: #576b95; }
.mo-pub-pre { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.mo-pub-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 0; border-top: 1px solid var(--q-line);
}
.mo-pub-row-label { font-size: 13px; color: #333; }
.mo-pub-row-arrow { font-size: 16px; color: #b3bac3; }
.mo-pub-row .mo-vis {
  border: none; background: none; font-size: 12px; color: #576b95; padding: 0; cursor: pointer;
}
.mo-pub-submit-tip { font-size: 11px; color: #b3bac3; margin: -4px 0 8px; }
/* 开关 */
.mo-switch { position: relative; display: inline-block; width: 44px; height: 26px; flex: 0 0 auto; }
.mo-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 2; }
.mo-switch i {
  position: absolute; inset: 0; border-radius: 13px; background: #d7dce3;
  transition: background .2s;
}
.mo-switch i::after {
  content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px;
  border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.mo-switch input:checked + i { background: #2f7fe0; }
.mo-switch input:checked + i::after { transform: translateX(18px); }
/* 底部浮层 */
.mo-sheet-mask {
  position: fixed; inset: 0; z-index: 999; background: rgba(0,0,0,.45);
  display: flex; align-items: flex-end; justify-content: center;
}
.mo-sheet {
  width: 100%; max-width: 420px; background: #fff; border-radius: 14px 14px 0 0;
  padding: 12px 16px 20px; box-shadow: 0 -4px 20px rgba(0,0,0,.12);
}
.mo-sheet-title {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 15px; font-weight: 600; color: #333; margin-bottom: 10px;
}
.mo-sheet-close { border: none; background: none; font-size: 20px; color: #9aa2ab; cursor: pointer; padding: 0 4px; }
.mo-sheet-body .mo-sheet-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; border-top: 1px solid var(--q-line); font-size: 14px; color: #333;
}
.mo-sheet-body .mo-sheet-item button.mo-sheet-act {
  border: none; background: none; color: #2f7fe0; font-size: 14px; cursor: pointer; padding: 2px 6px;
}
.mo-sheet-body .mo-sheet-input {
  width: 100%; border: 1px solid #d9e2ee; border-radius: 8px; padding: 9px 10px;
  font-size: 14px; outline: none; box-sizing: border-box;
}
.mo-sheet-body .mo-sheet-input:focus { border-color: #2f7fe0; }
.mo-sheet-body .mo-sheet-ok {
  margin-top: 10px; width: 100%; border: none; background: #2f7fe0; color: #fff;
  font-size: 14px; border-radius: 8px; padding: 10px 0; cursor: pointer;
}
.mo-sheet-body .mo-sheet-ok:active { opacity: .85; }
.mo-pub-addph {
  width: 76px; height: 76px; border: 1px dashed #b8c2d0; border-radius: 6px;
  background: #fafbfc; color: #8a94a6; font-size: 22px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.mo-pub-addph span { font-size: 12px; margin-top: 2px; }
.mo-pub-addph:active { background: #f0f2f5; }

.mo-cover-cams { position: absolute; top: 12px; right: 12px; display: flex; gap: 8px; z-index: 5; }
.mo-cover-cam {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.28);
  color: #fff; font-size: 16px; display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.mo-cover-cam:active { background: rgba(255,255,255,.45); }
.mo-cover-cam-lg { font-size: 15px; }

.mo-vis {
  border: 1px solid #d9e2ee; border-radius: 4px; font-size: 12px;
  padding: 4px 10px; color: #576b95; background: #f7f9fc; cursor: pointer;
}
.mo-vis:active { background: #edf1f7; }
.mo-pub-addph { width: 88px; height: 88px; }

.mo-cov-img {
  width: 100%; padding-bottom: 62%; border-radius: 6px; background-size: cover;
  background-position: center; border: 2px solid transparent; cursor: pointer;
}
.mo-cov-img.cur { border-color: var(--q-blue); }

.mo-video { margin-top: 8px; border-radius: 8px; overflow: hidden; }
.mo-video video { width: 100%; display: block; max-height: 320px; background: #000; }
.mo-loc { margin-top: 6px; font-size: 11px; color: #576b95; display: flex; align-items: center; gap: 3px; }
.mo-loc i { font-style: normal; font-size: 14px; }
/* 位置并入操作条同一行，靠右 */
.mo-foot .mo-loc { margin: 0 0 0 auto; white-space: nowrap; }
/* 点赞提示行（小字） */
.mo-like-users { margin-top: 6px; font-size: 12px; color: #98a1ad; }
.mo-like-users .mo-like-names { font-size: 12px; color: var(--q-blue); }
/* 打赏提示行（小字，打赏人金色） */
.mo-tip-users { margin-top: 4px; font-size: 11px; color: #98a1ad; }
.mo-tip-users .mo-tip-names { font-size: 11px; color: #c98910; }
.mo-pre-video video { width: 100%; display: block; border-radius: 6px; max-height: 200px; background: #000; }

@media (max-width: 480px) {
}

/* 页面标题栏（封面上方）：圈子 */
.mo-pagehead {
  position: relative;
  background: #fff;
  border-bottom: 1px solid #e8ecf3;
  padding: 5px 16px;
  text-align: center;
}
.mo-pagehead-back {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: #2f7fe0;
  text-decoration: none;
  padding: 4px 10px;
}
.mo-pagehead-t { margin: 0; font-size: 15px; font-weight: 600; color: #333; letter-spacing: .5px; text-align: center; }

/* 发布页 @好友 站内用户列表 */
.mo-sheet-users { margin-top: 8px; max-height: 260px; overflow-y: auto; }
.mo-sheet-user { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 1px solid #f2f3f5; cursor: pointer; }
.mo-sheet-user:active { background: #f7f8fa; }
.mo-sheet-av { width: 30px; height: 30px; border-radius: 50%; background: #eef1f4; color: #576b95; font-style: normal; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; overflow: hidden; flex: none; }
.mo-sheet-av img { width: 100%; height: 100%; object-fit: cover; }
.mo-sheet-user > span { font-size: 14px; color: #18191c; }
.mo-sheet-empty { padding: 18px 0; text-align: center; color: #a3aab3; font-size: 13px; }

/* 点赞/打赏用户昵称链接 */
.mo-like-names .mo-uname,.mo-tip-names .mo-uname{color:#3b82f6;text-decoration:none;cursor:pointer;font-weight:500;}
.mo-like-names .mo-uname:hover,.mo-tip-names .mo-uname:hover{text-decoration:underline;}
.mo-like-names .mo-uname .mo-vip,.mo-tip-names .mo-uname .mo-vip{color:#e64340;font-style:normal;}

/* 话题标签：单 # 胶囊样式 */
.moment-tag{display:inline-block;padding:2px 9px;margin:0 3px 3px 0;border-radius:999px;background:#eef3ff;color:#3b72e8;font-size:12px;line-height:1.5;vertical-align:baseline;cursor:default;}
.moment-tag:hover{background:#dfe9ff;}
