/*
 * 朋友圈（modules/moments.js）：方案 D「液态玻璃」。设计稿 TalkyMobile/docs/ui-redesign/moments（8 张图）。
 * 只用 play-tokens.css 的 --pf-* 令牌：浅色 / 深色 / 8 种强调色 / 降低透明度都自动跟随，不写死只适合浅色的颜色。
 * 选择器以 html[data-theme] 开头，和 play-shell.css 同级、排在后面生效。
 * 页面挂在 #main-view[data-moments-page]（首页 home / 详情 detail / 好友的朋友圈 user / 互动消息 notices / 设置 settings）上，
 * 顶栏像聊天页一样浮在内容上面；首页和好友页顶部是封面（自己 / 对方头像的模糊大图），顶栏按钮叠在封面上是白色玻璃。
 */

:root {
  --mo-radius: 22px;
  --mo-gap: 14px;
  --mo-name: var(--pf-on-pri-c);
  --mo-cover-h: 248px;
  --mo-head: calc(max(8px, env(safe-area-inset-top)) + 64px);
  --mo-bar-h: 62px;
}
html[data-theme="dark"] { --mo-name: var(--pf-on-pri-c); }

/* ───────────── 好友页入口卡片（图 01）与底栏小红点 ───────────── */
html[data-theme] .mo-entry {
  position: relative; isolation: isolate; display: flex; width: 100%; min-height: 64px; align-items: center; gap: 11px;
  margin: 12px 0 0; padding: 0 12px; border: 0; border-radius: var(--mo-radius); color: var(--pf-fg); background: var(--pf-glass2);
  box-shadow: var(--pf-glass-in), var(--pf-glass-sh); font: inherit; text-align: start; cursor: pointer;
}
html[data-theme] .mo-entry:hover { background: color-mix(in srgb, var(--pf-glass2) 80%, var(--pf-pri-c)); }
html[data-theme] .mo-entry:focus-visible { outline: 3px solid color-mix(in srgb, var(--pf-pri) 35%, transparent); outline-offset: 2px; }
html[data-theme] .mo-entry-icon, html[data-theme] .mo-permission-icon {
  display: grid; width: 38px; height: 38px; flex: none; place-items: center; border-radius: 13px; color: #fff;
  background: conic-gradient(from 200deg, #FF7C9C, #FFC98C, #45C8FF, #4E63FF, #7B4DFF, #FF7C9C);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 8px 16px -10px rgba(40,40,120,.8);
}
html[data-theme] .mo-entry-icon svg, html[data-theme] .mo-permission-icon svg { width: 21px; height: 21px; stroke: currentColor; stroke-width: 1.9; fill: none; }
html[data-theme] .mo-entry-copy { display: grid; min-width: 0; flex: 1; gap: 1px; line-height: 1.25; }
html[data-theme] .mo-entry-copy b { font-size: 15.5px; font-weight: 800; }
html[data-theme] .mo-entry-copy span { overflow: hidden; color: var(--pf-fg2); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
html[data-theme] .mo-entry-thumb { position: relative; display: block; width: 40px; height: 40px; flex: none; border-radius: 11px; background: var(--pf-sf2); box-shadow: inset 0 0 0 .5px var(--pf-line2); }
html[data-theme] .mo-entry-thumb > img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
html[data-theme] .mo-entry-thumb.is-avatar { background: transparent; box-shadow: none; }
html[data-theme] .mo-entry-thumb.is-avatar .avatar { width: 40px; height: 40px; flex-basis: 40px; font-size: 15px; }
html[data-theme] .mo-entry-author { position: absolute; inset-inline-start: -8px; inset-block-end: -5px; }
html[data-theme] .mo-entry-author .avatar { width: 22px; height: 22px; flex-basis: 22px; font-size: 9.5px; box-shadow: 0 0 0 2px var(--pf-bg); }
html[data-theme] .mo-entry-author .presence { display: none; }
html[data-theme] .mo-entry-dot { width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--pf-dan); box-shadow: 0 0 0 3px var(--pf-dan-c); }
html[data-theme] .mo-entry .chevron { display: grid; flex: none; color: var(--pf-fg3); }
html[data-theme] .mo-entry .chevron svg { width: 16px; height: 16px; }
html[data-theme] .contacts-page > .mo-entry + .contact-tiles { margin-top: 10px; }
/* 「好友」标签只亮一个点，不显示数字 */
html[data-theme] .nav-notice.is-dot { min-width: 10px; width: 10px; height: 10px; padding: 0; margin-inline-start: 9px; inset-block-start: 6px; border-radius: 50%; background: var(--pf-dan); box-shadow: 0 0 0 2px var(--pf-bg); }

/* ───────────── 页面骨架：顶栏浮在内容上（和聊天页一样） ───────────── */
html[data-theme] .main-view.is-subpage[data-moments-page] { grid-template-rows: minmax(0, 1fr); }
html[data-theme] .main-view.is-subpage[data-moments-page] > .page-content { grid-area: 1 / 1; min-height: 0; }
html[data-theme] .main-view.is-subpage[data-moments-page] > .app-header {
  position: relative; z-index: 7; grid-area: 1 / 1; align-self: start; height: var(--mo-head);
  padding-block-start: max(8px, env(safe-area-inset-top)); pointer-events: none;
}
html[data-theme] .main-view.is-subpage[data-moments-page] > .app-header :is(button, a) { pointer-events: auto; }
html[data-theme] .main-view.is-subpage[data-moments-page] .header-actions { display: flex; justify-content: flex-end; gap: 6px; }
html[data-theme] .main-view.is-subpage[data-moments-page] .header-start .icon-button,
html[data-theme] .main-view.is-subpage[data-moments-page] .mo-header-group { border-radius: 21px; }
html[data-theme] .mo-header-group {
  position: relative; isolation: isolate; display: inline-flex; height: 42px; align-items: center; padding: 0 2px; border-radius: 21px;
  color: var(--pf-fg); background: var(--pf-glass); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: var(--pf-glass-in), var(--pf-glass-sh);
}
html[data-theme] .main-view.is-subpage .mo-header-group .icon-button { position: relative; width: 38px; height: 42px; padding: 0; border-radius: 19px; color: inherit; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
html[data-theme] .main-view.is-subpage .mo-header-group .icon-button:hover { color: var(--pf-on-pri-c); }
html[data-theme] .main-view.is-subpage .mo-header-group .icon-button::before, html[data-theme] .main-view.is-subpage .mo-header-group .icon-button::after { display: none; }
html[data-theme] .mo-header-group .icon-button svg { width: 21px; height: 21px; }
html[data-theme] .mo-header-dot { position: absolute; inset-block-start: 9px; inset-inline-end: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--pf-dan); box-shadow: 0 0 0 2px var(--pf-glass2); }
html[data-theme] .mo-lock { position: absolute; inset-inline-end: 3px; inset-block-end: 7px; display: grid; width: 15px; height: 15px; place-items: center; border-radius: 50%; color: #fff; background: var(--pf-fg2); box-shadow: 0 0 0 2px var(--pf-glass2); }
html[data-theme] .mo-lock svg { width: 9px !important; height: 9px !important; stroke-width: 2.6; }
html[data-theme] .mo-header-pill { height: 36px; padding: 0 14px; border: 0; border-radius: 18px; color: var(--pf-fg); background: var(--pf-glass); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); box-shadow: var(--pf-glass-in), var(--pf-glass-sh); font: 700 13.5px/1 var(--pf-font); cursor: pointer; }
html[data-theme] .mo-settings .mo-header-pill { -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--pf-on-pri-c); background: var(--pf-pri-c); box-shadow: none; }
/* 叠在封面上：白色玻璃按钮，标题藏起来（封面上已经有名字） */
html[data-theme] .main-view[data-moments-header="cover"] > .app-header { background: transparent; }
html[data-theme] .main-view[data-moments-header="cover"] .header-title-wrap { visibility: hidden; }
html[data-theme] .main-view[data-moments-header="cover"] .header-start .icon-button,
html[data-theme] .main-view[data-moments-header="cover"] .mo-header-group,
html[data-theme] .main-view[data-moments-header="cover"] .mo-header-pill {
  color: #fff; background: rgba(255,255,255,.18); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 6px 16px -8px rgba(0,0,0,.4);
}
html[data-theme] .main-view[data-moments-header="cover"] .mo-header-dot, html[data-theme] .main-view[data-moments-header="cover"] .mo-lock { box-shadow: 0 0 0 2px rgba(0,0,0,.18); }

html[data-theme] .mo-page { position: relative; display: grid; width: 100%; height: 100%; min-width: 0; min-height: 0; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
html[data-theme] .mo-scroll { min-width: 0; overflow-x: hidden; }
html[data-theme] .mo-scroll { position: relative; padding: var(--mo-head) 0 calc(28px + env(safe-area-inset-bottom)); overscroll-behavior-y: contain; }
html[data-theme] .mo-page-home .mo-scroll, html[data-theme] .mo-page-user .mo-scroll { padding-block-start: 0; }
html[data-theme] .mo-page.has-comment-bar .mo-scroll { padding-block-end: calc(var(--mo-bar-h) + 24px + env(safe-area-inset-bottom)); }

/* 下拉刷新指示 */
html[data-theme] .mo-pull { position: absolute; z-index: 3; inset-inline: 0; inset-block-start: calc(var(--mo-head) - 36px); display: grid; height: 0; place-items: center; overflow: visible; pointer-events: none; }
html[data-theme] .mo-pull span { width: 26px; height: 26px; border: 2.5px solid var(--pf-line2); border-block-start-color: var(--pf-pri); border-radius: 50%; opacity: 0; transform: translateY(var(--mo-pull, 0px)) rotate(calc(var(--mo-pull, 0px) * 4)); transition: opacity .15s ease; }
html[data-theme] .mo-pulling .mo-pull span { opacity: .9; }
html[data-theme] .mo-pull.is-ready span { border-color: var(--pf-pri); border-block-start-color: transparent; }

/* ───────────── 封面（首页 / 好友的朋友圈） ───────────── */
html[data-theme] .mo-cover {
  position: relative; height: var(--mo-cover-h); overflow: hidden; background: var(--pf-hero);
}
html[data-theme] .mo-cover-image { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; filter: blur(26px) saturate(1.4); transform: scale(1.05); }
html[data-theme] .mo-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.22), rgba(0,0,0,0) 36%, rgba(0,0,0,0) 62%, rgba(0,0,0,.3)); pointer-events: none; }
html[data-theme] .mo-cover-identity { position: relative; z-index: 2; display: flex; height: 0; align-items: flex-start; justify-content: flex-end; gap: 12px; padding-inline: 16px; }
html[data-theme] .mo-cover-name { max-width: calc(100% - 110px); margin-block-start: -38px; overflow: hidden; color: #fff; font: 800 18px/1.3 var(--pf-display); text-overflow: ellipsis; text-shadow: 0 1px 6px rgba(0,0,0,.4); white-space: nowrap; }
html[data-theme] .mo-cover-avatar { margin-block-start: -40px; padding: 0; border: 0; border-radius: 22px; background: transparent; cursor: pointer; }
html[data-theme] .avatar.mo-avatar-large { width: 68px; height: 68px; flex-basis: 68px; border-radius: 22px; font-size: 26px; box-shadow: 0 0 0 3px var(--pf-bg), 0 10px 22px -10px rgba(30,40,120,.7); }
html[data-theme] .avatar.mo-avatar-large .avatar-image { border-radius: inherit; }
html[data-theme] .avatar.mo-avatar-large .presence { display: none; }
html[data-theme] .mo-bars { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 46px 16px 0; }
html[data-theme] .mo-page-home [data-mo-home-bars]:empty { height: 40px; }
html[data-theme] .mo-newmsg, html[data-theme] .mo-newposts {
  display: inline-flex; height: 36px; align-items: center; gap: 7px; padding: 0 12px; border: 0; border-radius: 18px;
  color: var(--pf-fg); background: var(--pf-glass2); box-shadow: var(--pf-glass-in), var(--pf-glass-sh); font: 700 13px/1 var(--pf-font); cursor: pointer;
}
html[data-theme] .mo-newmsg svg, html[data-theme] .mo-newposts svg { width: 16px; height: 16px; color: var(--pf-fg2); }
html[data-theme] .mo-newmsg > svg:first-child { color: var(--pf-dan); }
html[data-theme] .mo-newposts { color: var(--pf-on-pri-c); background: var(--pf-pri-c); box-shadow: none; }
html[data-theme] .mo-newposts svg { color: inherit; }

/* ───────────── 动态（图 02） ───────────── */
html[data-theme] .mo-feed { display: grid; gap: 4px; padding: 10px 0 0; }
html[data-theme] .mo-post { display: flex; gap: 10px; padding: 12px 14px; }
html[data-theme] .mo-post + .mo-post { box-shadow: inset 0 .5px 0 var(--pf-line); }
html[data-theme] .mo-post-avatar { align-self: flex-start; padding: 0; border: 0; border-radius: 14px; background: transparent; cursor: pointer; }
html[data-theme] .mo-post-avatar .avatar { width: 42px; height: 42px; flex-basis: 42px; border-radius: 14px; font-size: 16px; }
html[data-theme] .mo-post-avatar .avatar-image { border-radius: inherit; }
html[data-theme] .mo-post-avatar .presence { display: none; }
html[data-theme] .mo-post-body { min-width: 0; flex: 1; }
html[data-theme] .mo-post-head { display: flex; min-height: 22px; align-items: center; gap: 5px; }
html[data-theme] .mo-name { min-width: 0; max-width: 100%; padding: 0; overflow: hidden; border: 0; color: var(--mo-name); background: transparent; font-family: var(--pf-font); font-size: inherit; font-weight: 800; line-height: inherit; text-align: start; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
html[data-theme] .mo-name:hover { text-decoration: underline; text-underline-offset: 2px; }
html[data-theme] .mo-post-name { font-size: 15px; line-height: 20px; }
html[data-theme] .mo-post-head .user-identity-badge { flex: none; }
html[data-theme] .mo-post-more { display: grid; width: 30px; height: 26px; flex: none; margin-inline-start: auto; place-items: center; padding: 0; border: 0; border-radius: 13px; color: var(--pf-fg3); background: transparent; cursor: pointer; }
html[data-theme] .mo-post-more:hover { color: var(--pf-fg); background: var(--pf-sf2); }
html[data-theme] .mo-post-more svg { width: 18px; height: 18px; }
html[data-theme] .mo-status-chip { flex: none; padding: 2px 7px; border-radius: 8px; color: var(--pf-on-lem); background: var(--pf-lem-c); font-size: 11px; font-weight: 700; white-space: nowrap; }
html[data-theme] .mo-post-content { cursor: pointer; }
html[data-theme] .mo-post.is-detail .mo-post-content { cursor: auto; }
html[data-theme] .mo-text { margin-top: 3px; color: var(--pf-fg); font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; white-space: pre-wrap; user-select: text; }
html[data-theme] .mo-text.is-clamped { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 6; }
html[data-theme] .mo-text-toggle { margin-top: 2px; padding: 0; border: 0; color: var(--mo-name); background: transparent; font: 700 13.5px/1.6 var(--pf-font); cursor: pointer; }
html[data-theme] .mo-translation { margin-top: 6px; padding-block-start: 6px; border-block-start: .5px solid var(--pf-line2); color: var(--pf-fg2); font-size: 13.5px; line-height: 1.48; overflow-wrap: anywhere; white-space: pre-wrap; }
html[data-theme] .mo-text .inline-message-emoji, html[data-theme] .mo-translation .inline-message-emoji, html[data-theme] .mo-comment .inline-message-emoji, html[data-theme] .mo-comment-body .inline-message-emoji { width: 1.3em; height: 1.3em; vertical-align: -.25em; }
html[data-theme] .mo-text .message-link, html[data-theme] .mo-comment .message-link { color: var(--pf-on-pri-c); }

/* 图片网格：1 张按比例、4 张 2×2、其余 3 列 */
html[data-theme] .mo-grid { display: grid; width: min(100%, 264px); margin-top: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
html[data-theme] .mo-grid.is-pair, html[data-theme] .mo-grid.is-quad { width: min(100%, 178px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
html[data-theme] .mo-grid.is-single { display: block; width: auto; }
html[data-theme] .mo-grid-item { position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 0; overflow: hidden; border: 0; border-radius: 8px; background: var(--pf-sf2); box-shadow: inset 0 0 0 .5px var(--pf-line); cursor: zoom-in; }
html[data-theme] .mo-grid:not(.is-single) > .mo-grid-item:first-child { border-start-start-radius: 14px; }
html[data-theme] .mo-grid.is-triple > .mo-grid-item:nth-child(3), html[data-theme] .mo-grid:is(.is-pair, .is-quad) > .mo-grid-item:nth-child(2) { border-start-end-radius: 14px; }
html[data-theme] .mo-grid.is-single > .mo-grid-item { width: auto; max-width: min(100%, 240px); height: auto; max-height: 260px; aspect-ratio: var(--mo-ratio, 1); border-radius: 14px; }
html[data-theme] .mo-grid.is-single > .mo-grid-item:not([style]) { width: min(100%, 200px); }
html[data-theme] .mo-grid.is-single > .mo-grid-item[style] { width: min(100%, calc(240px * min(1, var(--mo-ratio, 1)))); }
html[data-theme] .mo-grid-item img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; user-select: none; }
html[data-theme] .mo-post.is-detail .mo-grid { width: min(100%, 300px); }
html[data-theme] .mo-post.is-detail .mo-grid:is(.is-pair, .is-quad) { width: min(100%, 204px); }

html[data-theme] .mo-link { display: flex; max-width: 360px; align-items: center; gap: 9px; margin-top: 8px; padding: 7px; border-radius: 14px; color: var(--pf-fg); background: var(--pf-glass2); box-shadow: inset 0 0 0 .5px var(--pf-line); text-decoration: none; }
html[data-theme] .mo-link > img, html[data-theme] .mo-link-icon { display: grid; width: 44px; height: 44px; flex: none; place-items: center; border-radius: 10px; color: var(--pf-on-pri-c); background: var(--pf-pri-c); object-fit: cover; }
html[data-theme] .mo-link-icon svg { width: 20px; height: 20px; }
html[data-theme] .mo-link-copy { display: grid; min-width: 0; gap: 2px; line-height: 1.35; }
html[data-theme] .mo-link-copy b { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
html[data-theme] .mo-link-copy small { overflow: hidden; color: var(--pf-fg2); font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }

html[data-theme] .mo-meta { display: flex; min-height: 30px; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 8px; color: var(--pf-fg3); font-size: 12px; font-weight: 500; }
html[data-theme] .mo-time { padding: 0; border: 0; color: inherit; background: transparent; font: inherit; cursor: pointer; }
html[data-theme] .mo-location { display: inline-flex; min-width: 0; max-width: 46%; align-items: center; gap: 3px; overflow: hidden; color: var(--pf-on-pri-c); text-overflow: ellipsis; white-space: nowrap; }
html[data-theme] .mo-location svg { width: 13px; height: 13px; flex: none; }
html[data-theme] .mo-visibility { display: inline-grid; place-items: center; color: var(--pf-fg3); }
html[data-theme] .mo-visibility svg { width: 14px; height: 14px; }
html[data-theme] .mo-actions { display: inline-flex; height: 30px; align-items: center; margin-inline-start: auto; padding: 0 3px; border-radius: 15px; background: var(--pf-glass2); box-shadow: var(--pf-glass-in), 0 4px 12px -8px rgba(20,30,70,.45); }
html[data-theme] .mo-action { display: inline-flex; height: 30px; align-items: center; gap: 4px; padding: 0 9px; border: 0; color: var(--pf-fg2); background: transparent; font: 700 12px/1 var(--pf-font); cursor: pointer; }
html[data-theme] .mo-action + .mo-action { box-shadow: inset .5px 0 0 var(--pf-line2); }
html[data-theme] .mo-action svg { width: 15px; height: 15px; stroke-width: 2.1; }
html[data-theme] .mo-action:hover { color: var(--pf-fg); }
html[data-theme] .mo-action.is-liked { color: var(--pf-dan); }
html[data-theme] .mo-action.is-liked svg { fill: var(--pf-dan); stroke: var(--pf-dan); }

html[data-theme] .mo-interactions { margin-top: 8px; padding: 7px 10px; border-radius: 14px; background: var(--pf-glass2); box-shadow: inset 0 0 0 .5px var(--pf-line); font-size: 13px; line-height: 1.5; }
html[data-theme] .mo-likes { display: flex; align-items: flex-start; gap: 5px; color: var(--mo-name); }
html[data-theme] .mo-likes > svg { width: 14px; height: 14px; flex: none; margin-top: 3px; fill: var(--pf-dan); stroke: var(--pf-dan); }
html[data-theme] .mo-likes > span { min-width: 0; overflow-wrap: anywhere; }
html[data-theme] .mo-likes .mo-name { display: inline; font-size: 13px; }
html[data-theme] .mo-likes-sep { color: var(--pf-fg3); }
html[data-theme] .mo-likes + .mo-comments { margin-top: 5px; padding-top: 5px; border-top: .5px solid var(--pf-line2); }
html[data-theme] .mo-comment { padding: 1px 4px; margin-inline: -4px; border-radius: 6px; color: var(--pf-fg); overflow-wrap: anywhere; cursor: pointer; -webkit-touch-callout: none; }
html[data-theme] .mo-comment:hover { background: color-mix(in srgb, var(--pf-fg) 6%, transparent); }
html[data-theme] .mo-comment .mo-name { display: inline; font-size: 13px; }
html[data-theme] .mo-comment-head { color: var(--pf-fg2); }
html[data-theme] .mo-comment-translation { display: block; color: var(--pf-fg2); font-size: 12.5px; }
html[data-theme] .mo-more-comments { margin-top: 2px; padding: 0; border: 0; color: var(--pf-fg2); background: transparent; font: 600 12.5px/1.6 var(--pf-font); cursor: pointer; }

/* ───────────── 详情（图 05） ───────────── */
html[data-theme] .mo-detail { padding-block-start: 4px; }
html[data-theme] .mo-like-card, html[data-theme] .mo-comment-card, html[data-theme] .mo-card {
  position: relative; isolation: isolate; border-radius: 20px; background: var(--pf-glass2); box-shadow: var(--pf-glass-in), var(--pf-glass-sh);
}
html[data-theme] .mo-like-card { display: flex; align-items: center; gap: 8px; margin: 6px 14px 0; padding: 9px 11px; }
html[data-theme] .mo-like-card > svg { width: 17px; height: 17px; flex: none; fill: var(--pf-dan); stroke: var(--pf-dan); }
html[data-theme] .mo-like-avatars { display: flex; min-width: 0; flex: 1; flex-wrap: wrap; gap: 4px; }
html[data-theme] .mo-like-avatars button { padding: 0; border: 0; border-radius: 9px; background: transparent; cursor: pointer; }
html[data-theme] .mo-like-avatars .avatar { width: 28px; height: 28px; flex-basis: 28px; border-radius: 9px; font-size: 11px; }
html[data-theme] .mo-like-avatars .avatar-image { border-radius: inherit; }
html[data-theme] .mo-like-avatars .presence, html[data-theme] .mo-comment-avatar .presence, html[data-theme] .mo-notice .presence { display: none; }
html[data-theme] .mo-like-card small { flex: none; color: var(--pf-fg2); font-size: 12px; font-weight: 700; }
html[data-theme] .mo-comment-card { margin: 8px 14px 0; padding: 4px 11px; }
html[data-theme] .mo-comment-row { display: flex; gap: 9px; padding: 9px 0; cursor: pointer; -webkit-touch-callout: none; }
html[data-theme] .mo-comment-row + .mo-comment-row { box-shadow: inset 0 .5px 0 var(--pf-line); }
html[data-theme] .mo-comment-avatar { align-self: flex-start; padding: 0; border: 0; border-radius: 10px; background: transparent; cursor: pointer; }
html[data-theme] .mo-comment-avatar .avatar { width: 30px; height: 30px; flex-basis: 30px; border-radius: 10px; font-size: 12px; }
html[data-theme] .mo-comment-avatar .avatar-image { border-radius: inherit; }
html[data-theme] .mo-comment-main { min-width: 0; flex: 1; }
html[data-theme] .mo-comment-top { display: flex; align-items: center; gap: 4px; }
html[data-theme] .mo-comment-top .mo-name { font-size: 13px; }
html[data-theme] .mo-comment-top small { flex: none; margin-inline-start: auto; color: var(--pf-fg3); font-size: 11.5px; font-weight: 500; }
html[data-theme] .mo-comment-body { margin: 1px 0 0; color: var(--pf-fg); font-size: 14px; line-height: 1.42; overflow-wrap: anywhere; white-space: pre-wrap; }
html[data-theme] .mo-reply-prefix { color: var(--pf-fg2); }
html[data-theme] .mo-reply-prefix .mo-name { display: inline; font-size: 14px; }
html[data-theme] .mo-comment-main .mo-comment-translation { margin: 3px 0 0; font-size: 13px; }
html[data-theme] .mo-hint { margin: 12px 16px 0; color: var(--pf-fg3); font-size: 12.5px; text-align: center; }

/* 评论输入栏：浮在底部的玻璃条 */
html[data-theme] .mo-comment-bar {
  position: absolute; z-index: 6; inset-inline: 10px; inset-block-end: calc(10px + env(safe-area-inset-bottom));
  display: flex; min-height: 52px; align-items: flex-end; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 26px;
  background: var(--pf-glass); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); box-shadow: var(--pf-glass-in), var(--pf-glass-sh);
}
html[data-theme] .mo-comment-bar[hidden] { display: none; }
html[data-theme] .mo-comment-field { display: flex; min-width: 0; flex: 1; align-self: center; }
html[data-theme] .mo-comment-field textarea { width: 100%; max-height: 120px; min-height: 22px; padding: 9px 0; border: 0; outline: 0; resize: none; color: var(--pf-fg); background: transparent; font: 500 15px/1.4 var(--pf-font); }
html[data-theme] .mo-comment-field textarea::placeholder { color: var(--pf-fg3); }
html[data-theme] .mo-comment-send, html[data-theme] .mo-comment-cancel { display: grid; width: 40px; height: 40px; flex: none; place-items: center; padding: 0; border: 0; border-radius: 50%; cursor: pointer; }
html[data-theme] .mo-comment-send { color: var(--pf-on-pri); background: var(--pf-out); box-shadow: var(--pfs-cta-sh, var(--pf-glass-sh)); }
html[data-theme] .mo-comment-send:disabled { opacity: .45; cursor: default; }
html[data-theme] .mo-comment-send svg { width: 20px; height: 20px; stroke-width: 2.4; }
html[data-theme] .mo-comment-cancel { color: var(--pf-fg2); background: var(--pf-sf2); }
html[data-theme] .mo-comment-cancel svg { width: 16px; height: 16px; }

/* ───────────── 好友的朋友圈（图 06） ───────────── */
html[data-theme] .mo-page-user .mo-cover { height: 200px; }
html[data-theme] .mo-user-head { position: relative; z-index: 2; display: flex; align-items: flex-start; gap: 12px; margin-block-start: -36px; padding-inline: 16px; }
html[data-theme] .mo-user-copy { display: grid; min-width: 0; flex: 1; gap: 2px; padding-block-start: 42px; line-height: 1.3; }
html[data-theme] .mo-user-copy b { display: flex; min-width: 0; align-items: center; gap: 6px; font-size: 20px; font-weight: 800; }
html[data-theme] .mo-user-copy b > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-theme] .mo-user-signature { overflow: hidden; color: var(--pf-fg2); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
html[data-theme] .mo-user-message { display: inline-flex; height: 34px; flex: none; align-items: center; gap: 5px; margin-block-start: 44px; padding: 0 12px; border: 0; border-radius: 17px; color: var(--pf-on-pri-c); background: var(--pf-glass2); box-shadow: var(--pf-glass-in), var(--pf-glass-sh); font: 700 13px/1 var(--pf-font); cursor: pointer; }
html[data-theme] .mo-user-message svg { width: 16px; height: 16px; }
html[data-theme] .mo-timeline { padding: 10px 14px 0 0; }
html[data-theme] .mo-tl-day { display: flex; gap: 10px; margin-top: 14px; }
html[data-theme] .mo-tl-date { width: 70px; flex: none; color: var(--pf-fg); line-height: 1; text-align: end; }
html[data-theme] .mo-tl-date b { font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
html[data-theme] .mo-tl-date b.is-word { font-size: 19px; }
html[data-theme] .mo-tl-date small { margin-inline-start: 2px; font-size: 11.5px; font-weight: 700; }
html[data-theme] .mo-tl-items { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 8px; }
html[data-theme] .mo-tl-item { display: flex; min-width: 0; gap: 9px; padding: 0; border: 0; color: var(--pf-fg); background: transparent; font: inherit; text-align: start; cursor: pointer; }
html[data-theme] .mo-tl-item.is-text { padding: 8px 10px; border-radius: 12px; background: var(--pf-glass2); box-shadow: inset 0 0 0 .5px var(--pf-line); }
html[data-theme] .mo-tl-thumb { display: grid; width: 72px; height: 72px; flex: none; overflow: hidden; grid-template-columns: 1fr 1fr; gap: 2px; border-radius: 12px; background: var(--pf-sf2); }
html[data-theme] .mo-tl-thumb.count-1 { grid-template-columns: 1fr; }
html[data-theme] .mo-tl-thumb.count-2 { grid-template-rows: 1fr; }
html[data-theme] .mo-tl-thumb.count-3 > img:first-child { grid-row: span 2; }
html[data-theme] .mo-tl-thumb img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
html[data-theme] .mo-tl-text { display: -webkit-box; min-width: 0; flex: 1; overflow: hidden; font-size: 13.5px; line-height: 1.42; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
html[data-theme] .mo-tl-item.is-text .mo-tl-text { -webkit-line-clamp: 2; }
html[data-theme] .mo-tl-text small { display: block; margin-top: 2px; color: var(--pf-fg3); font-size: 11.5px; }
html[data-theme] .mo-tl-text .mo-status-chip { display: inline-block; margin-top: 3px; }
html[data-theme] .mo-tl-end { display: flex; align-items: center; gap: 8px; margin: 18px 0 0 80px; color: var(--pf-fg3); font-size: 12px; }
html[data-theme] .mo-tl-end::before { content: ""; width: 18px; height: 1px; background: var(--pf-line2); }

/* ───────────── 互动消息（图 07） ───────────── */
html[data-theme] .mo-notices, html[data-theme] .mo-settings { display: grid; gap: 8px; padding: 0 14px; }
html[data-theme] .mo-section-title { margin: 8px 4px 0; color: var(--pf-fg2); font: 700 12.5px/1.3 var(--pf-font); letter-spacing: .02em; }
html[data-theme] .mo-notice-card { padding: 0 11px; }
html[data-theme] .mo-notice { display: flex; width: 100%; min-height: 72px; align-items: center; gap: 10px; padding: 10px 0; border: 0; color: var(--pf-fg); background: transparent; font: inherit; text-align: start; cursor: pointer; }
html[data-theme] .mo-notice + .mo-notice { box-shadow: inset 0 .5px 0 var(--pf-line); }
html[data-theme] .mo-notice > .avatar { width: 42px; height: 42px; flex-basis: 42px; border-radius: 14px; font-size: 15px; }
html[data-theme] .mo-notice > .avatar .avatar-image { border-radius: inherit; }
html[data-theme] .mo-notice-copy { display: grid; min-width: 0; flex: 1; gap: 1px; line-height: 1.32; }
html[data-theme] .mo-notice-copy b { display: flex; min-width: 0; align-items: center; gap: 4px; color: var(--mo-name); font-size: 14px; }
html[data-theme] .mo-notice-copy b > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-theme] .mo-notice.is-unread .mo-notice-copy b::after { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--pf-dan); }
html[data-theme] .mo-notice-what { overflow: hidden; font-size: 13.5px; text-overflow: ellipsis; white-space: nowrap; }
html[data-theme] .mo-notice-what svg { width: 14px; height: 14px; margin-inline-end: 3px; vertical-align: -2px; fill: var(--pf-dan); stroke: var(--pf-dan); }
html[data-theme] .mo-notice-copy small { color: var(--pf-fg3); font-size: 11.5px; }
html[data-theme] .mo-notice-thumb, html[data-theme] .mo-notice-excerpt { width: 52px; height: 52px; flex: none; border-radius: 10px; object-fit: cover; }
html[data-theme] .mo-notice-excerpt { display: -webkit-box; height: auto; max-height: 52px; overflow: hidden; padding: 5px; color: var(--pf-fg2); background: var(--pf-sf2); font-size: 10.5px; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
html[data-theme] .mo-load-more { display: inline-flex; align-self: center; justify-self: center; align-items: center; gap: 4px; margin-top: 4px; padding: 8px 12px; border: 0; border-radius: 16px; color: var(--pf-fg2); background: transparent; font: 700 13px/1 var(--pf-font); cursor: pointer; }
html[data-theme] .mo-load-more svg { width: 15px; height: 15px; }

/* ───────────── 设置（图 08） ───────────── */
html[data-theme] .mo-permission { display: flex; align-items: center; gap: 11px; padding: 12px; }
html[data-theme] .mo-permission-icon { width: 40px; height: 40px; }
html[data-theme] .mo-permission-copy { display: grid; min-width: 0; flex: 1; gap: 1px; line-height: 1.32; }
html[data-theme] .mo-permission-copy b { display: flex; align-items: center; gap: 5px; font-size: 15px; }
html[data-theme] .mo-permission-copy > span { color: var(--pf-fg2); font-size: 12.5px; font-weight: 700; }
html[data-theme] .mo-permission.is-allowed .mo-permission-copy > span { color: var(--pf-on-min); }
html[data-theme] .mo-permission-copy small { color: var(--pf-fg2); font-size: 11.5px; }
html[data-theme] .mo-settings-card { overflow: hidden; }
html[data-theme] .mo-range { display: grid; gap: 8px; padding: 12px 14px 10px; }
html[data-theme] .mo-range + .mo-settings-row, html[data-theme] .mo-settings-row + .mo-settings-row { box-shadow: inset 0 .5px 0 var(--pf-line); }
html[data-theme] .mo-range-title { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 700; }
html[data-theme] .mo-range-title svg { width: 20px; height: 20px; color: var(--pf-fg2); }
html[data-theme] .mo-seg { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--pf-sf2); box-shadow: inset 0 0 0 .5px var(--pf-line); }
html[data-theme] .mo-seg-option { min-width: 0; height: 32px; flex: 1; padding: 0 4px; overflow: hidden; border: 0; border-radius: 10px; color: var(--pf-fg2); background: transparent; font: 700 12.5px/1 var(--pf-font); text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
html[data-theme] .mo-seg-option.is-active { color: var(--pf-on-pri-c); background: var(--pf-lens); box-shadow: var(--pf-lens-sh); }
html[data-theme] .mo-count-pill { display: inline-grid; min-width: 20px; height: 20px; place-items: center; margin-inline-start: auto; padding: 0 6px; border-radius: 10px; color: var(--pf-on-pri-c); background: var(--pf-pri-c); font-size: 11px; font-style: normal; font-weight: 800; }

/* ───────────── 发朋友圈（图 03）：电脑是弹窗，手机是全屏页 ───────────── */
html[data-theme] .mo-compose-modal .modal-body { padding: 10px 14px 18px; }
html[data-theme] .mo-compose { display: grid; gap: 10px; }
html[data-theme] .mo-compose-editor { padding: 13px 13px 12px; border-radius: 24px; }
html[data-theme] .mo-compose-text { display: block; width: 100%; min-height: 96px; max-height: 40vh; padding: 0; border: 0; outline: 0; resize: vertical; color: var(--pf-fg); background: transparent; font: 500 15.5px/1.5 var(--pf-font); }
html[data-theme] .mo-compose-text::placeholder { color: var(--pf-fg3); }
html[data-theme] .mo-compose-grid { display: grid; margin-top: 10px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
html[data-theme] .mo-compose-image, html[data-theme] .mo-compose-add { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 12px; }
html[data-theme] .mo-compose-image img { width: 100%; height: 100%; object-fit: cover; }
html[data-theme] .mo-compose-image.is-uploading img { filter: brightness(.7); }
html[data-theme] .mo-compose-image.is-error img { filter: grayscale(.6) brightness(.6); }
html[data-theme] .mo-compose-spinner { position: absolute; inset: 0; margin: auto; width: 22px; height: 22px; border: 2.5px solid rgba(255,255,255,.4); border-block-start-color: #fff; border-radius: 50%; animation: moSpin .8s linear infinite; }
html[data-theme] .mo-compose-retry { position: absolute; inset: 0; display: grid; place-items: center; padding: 0; border: 0; color: #fff; background: transparent; cursor: pointer; }
html[data-theme] .mo-compose-retry svg { width: 24px; height: 24px; }
html[data-theme] .mo-compose-remove { position: absolute; inset-block-start: 4px; inset-inline-end: 4px; display: grid; width: 20px; height: 20px; place-items: center; padding: 0; border: 0; border-radius: 50%; color: #fff; background: rgba(0,0,0,.5); cursor: pointer; }
html[data-theme] .mo-compose-remove svg { width: 11px; height: 11px; stroke-width: 3; }
html[data-theme] .mo-compose-add { display: grid; place-items: center; padding: 0; border: 0; color: var(--pf-fg3); background: var(--pf-sf2); box-shadow: inset 0 0 0 1.5px var(--pf-line2); cursor: pointer; }
html[data-theme] .mo-compose-add:hover { color: var(--pf-on-pri-c); }
html[data-theme] .mo-compose-add svg { width: 26px; height: 26px; }
html[data-theme] .mo-compose-counts { margin-top: 9px; color: var(--pf-fg3); font-size: 12px; font-weight: 500; text-align: end; }
html[data-theme] .mo-compose-options { overflow: hidden; }
html[data-theme] .mo-option-row { min-height: 50px; }
html[data-theme] .mo-option-row + .mo-option-row { box-shadow: inset 0 .5px 0 var(--pf-line); }
html[data-theme] .mo-option-row .settings-menu-label { flex: none; }
html[data-theme] .mo-option-input { min-width: 0; flex: 1; padding: 6px 0; border: 0; outline: 0; color: var(--pf-on-pri-c); background: transparent; font: 600 13.5px/1.3 var(--pf-font); text-align: end; }
html[data-theme] .mo-option-input::placeholder { color: var(--pf-fg3); font-weight: 500; }
html[data-theme] .mo-option-value { display: inline-flex; min-width: 0; align-items: center; gap: 4px; margin-inline-start: auto; overflow: hidden; color: var(--pf-fg2); font-size: 13px; white-space: nowrap; }
html[data-theme] .mo-option-value.is-accent { color: var(--pf-on-pri-c); font-weight: 700; }
html[data-theme] .mo-option-value .mo-count-pill { margin-inline-start: 2px; }
html[data-theme] .mo-option-avatars .avatar { width: 22px; height: 22px; flex-basis: 22px; font-size: 9.5px; }
html[data-theme] .mo-option-avatars .presence { display: none; }
html[data-theme] .mo-compose-quota { display: flex; min-height: 40px; align-items: center; justify-content: center; gap: 7px; padding: 0 12px; border-radius: 20px; color: var(--pf-fg2); background: var(--pf-glass2); box-shadow: var(--pf-glass-in), var(--pf-glass-sh); font-size: 12.5px; font-weight: 500; }
html[data-theme] .mo-compose-quota b { color: var(--pf-fg); }
html[data-theme] .mo-post-button { height: 36px; padding: 0 16px; border: 0; border-radius: 18px; color: var(--pf-on-pri); background: var(--pf-out); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 10px 20px -10px color-mix(in srgb, var(--pf-out-m) 90%, transparent); font: 800 14px/1 var(--pf-font); white-space: nowrap; cursor: pointer; }
html[data-theme] .mo-post-button:disabled { opacity: .5; cursor: default; }
html[data-theme] .mo-picker { max-height: none; }
html[data-theme] .mo-picker-count { margin: 10px 4px 0; color: var(--pf-fg3); font-size: 12px; text-align: center; }
html[data-theme] .mo-vis { display: grid; gap: 2px; padding: 6px; }
html[data-theme] .mo-vis-option { display: flex; min-height: 48px; align-items: center; gap: 10px; padding: 6px 10px; border: 0; border-radius: 16px; color: var(--pf-fg); background: transparent; font: inherit; text-align: start; cursor: pointer; }
html[data-theme] .mo-vis-option > svg { width: 19px; height: 19px; flex: none; color: var(--pf-fg2); }
html[data-theme] .mo-vis-copy { display: grid; min-width: 0; flex: 1; gap: 1px; }
html[data-theme] .mo-vis-copy b { font-size: 14px; }
html[data-theme] .mo-vis-copy small { color: var(--pf-fg2); font-size: 11.5px; }
html[data-theme] .mo-vis-option.is-active { background: var(--pfs-hl, var(--pf-pri-c)); box-shadow: inset 0 0 0 1px var(--pfs-pri-line, var(--pf-pri)); }
html[data-theme] .mo-vis-option.is-active > svg, html[data-theme] .mo-vis-option.is-active b { color: var(--pf-on-pri-c); }
html[data-theme] .mo-vis-check { display: grid; width: 20px; height: 20px; flex: none; place-items: center; border-radius: 50%; color: var(--pf-on-pri); background: var(--pf-pri); }
html[data-theme] .mo-vis-check svg { width: 12px; height: 12px; stroke-width: 3; }

/* ───────────── 没有发布权限的特权说明（图 04） ───────────── */
html[data-theme] .mo-sheet { display: flex; flex-direction: column; align-items: center; padding: 6px 6px 4px; text-align: center; }
html[data-theme] .mo-sheet-badges { display: flex; gap: 10px; margin-top: 4px; }
html[data-theme] .mo-sheet-badge { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 18px; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 12px 22px -12px rgba(30,40,120,.8); }
html[data-theme] .mo-sheet-badge svg { width: 28px; height: 28px; stroke-width: 2; }
html[data-theme] .mo-sheet-badge.is-gold { color: #6A4200; background: var(--pf-vip); }
html[data-theme] .mo-sheet-badge.is-blue { background: linear-gradient(140deg, #5CC4FF, var(--pf-vblue)); }
html[data-theme] .mo-sheet-badge.is-muted { color: var(--pf-fg2); background: var(--pf-sf2); box-shadow: inset 0 0 0 .5px var(--pf-line2); }
html[data-theme] .mo-sheet h3 { margin: 14px 0 0; color: var(--pf-fg); font: 800 20px/1.3 var(--pf-display); letter-spacing: -.01em; }
html[data-theme] .mo-sheet p { margin: 6px 0 0; color: var(--pf-fg2); font-size: 13.5px; line-height: 1.5; }
html[data-theme] .mo-sheet-perks { display: grid; align-self: stretch; gap: 2px; margin: 14px 0 0; padding: 0; list-style: none; text-align: start; }
html[data-theme] .mo-sheet-perks li { display: flex; min-height: 38px; align-items: center; gap: 10px; padding: 0 6px; color: var(--pf-fg); font-size: 14px; font-weight: 500; }
html[data-theme] .mo-sheet-perks li > span { display: grid; width: 26px; height: 26px; flex: none; place-items: center; border-radius: 9px; color: var(--pf-on-pri-c); background: var(--pf-pri-c); }
html[data-theme] .mo-sheet-perks li svg { width: 15px; height: 15px; }
html[data-theme] .mo-sheet-actions { display: grid; align-self: stretch; gap: 8px; margin-top: 16px; }
html[data-theme] .mo-sheet-actions > button { width: 100%; }

/* ───────────── ··· 小菜单、加载、空状态 ───────────── */
html[data-theme] .mo-menu-layer { position: absolute; z-index: 40; inset: 0; }
html[data-theme] .mo-menu-scrim { position: absolute; inset: 0; padding: 0; border: 0; background: transparent; cursor: default; }
html[data-theme] .mo-menu { position: absolute; inset-block-start: 80px; inset-inline-end: 14px; display: grid; min-width: 150px; padding: 6px; border-radius: 18px; background: color-mix(in srgb, var(--pf-sf) 92%, transparent); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); box-shadow: var(--pf-glass-in), var(--pf-sh3); animation: moPop .14s var(--pf-spring); }
html[data-theme] .mo-menu-item { display: flex; min-height: 42px; align-items: center; gap: 10px; padding: 0 12px; border: 0; border-radius: 12px; color: var(--pf-fg); background: transparent; font: 600 14px/1 var(--pf-font); text-align: start; cursor: pointer; }
html[data-theme] .mo-menu-item:hover, html[data-theme] .mo-menu-item:focus-visible { background: var(--pf-sf2); outline: 0; }
html[data-theme] .mo-menu-item.is-danger { color: var(--pf-on-dan); }
html[data-theme] .mo-menu-item svg { width: 18px; height: 18px; }
html[data-theme] .mo-loader { display: grid; min-height: 64px; place-items: center; }
html[data-theme] .mo-loader span { width: 22px; height: 22px; border: 2.5px solid var(--pf-line2); border-block-start-color: var(--pf-pri); border-radius: 50%; animation: moSpin .8s linear infinite; }
html[data-theme] .mo-empty { display: grid; justify-items: center; gap: 8px; padding: 56px 24px; color: var(--pf-fg3); text-align: center; }
html[data-theme] .mo-empty svg { width: 40px; height: 40px; color: var(--pf-fg3); opacity: .7; }
html[data-theme] .mo-empty strong { color: var(--pf-fg2); font-size: 15px; }
html[data-theme] .mo-empty p { margin: 0; font-size: 13px; }
html[data-theme] .mo-error-row { display: flex; align-items: center; justify-content: center; gap: 8px; width: calc(100% - 28px); margin: 18px 14px; padding: 12px; border: 0; border-radius: 16px; color: var(--pf-fg2); background: var(--pf-glass2); box-shadow: inset 0 0 0 .5px var(--pf-line); font: 600 13px/1.4 var(--pf-font); cursor: pointer; }
html[data-theme] .mo-error-row svg { width: 18px; height: 18px; flex: none; }
html[data-theme] .mo-error-row small { color: var(--pf-fg3); }
html[data-theme] .mo-list-end { min-height: 24px; }
html[data-theme] .mo-list-end.is-end { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 14px 0 6px; color: var(--pf-fg3); font-size: 12px; }
html[data-theme] .mo-list-end.is-end::before, html[data-theme] .mo-list-end.is-end::after { content: ""; width: 24px; height: 1px; background: var(--pf-line2); }

/* ───────────── 好友资料页「朋友圈」一行（最近 3 张） ───────────── */
html[data-theme] .mo-profile-row { align-items: center; }
html[data-theme] .mo-profile-thumbs { display: flex; min-width: 0; flex: 1; justify-content: flex-end; gap: 4px; margin-inline-start: 10px; }
html[data-theme] .mo-profile-thumbs img { width: 44px; height: 44px; flex: none; border-radius: 9px; object-fit: cover; box-shadow: inset 0 0 0 .5px var(--pf-line); }

@keyframes moSpin { to { transform: rotate(360deg); } }
@keyframes moPop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

/* 手机：图片网格跟着屏幕宽度变大一点 */
@media (max-width: 600px), (max-width: 920px) and (max-height: 600px) and (orientation: landscape) {
  html[data-theme] .mo-grid { width: min(100%, 252px); }
  html[data-theme] .mo-compose-modal.details-modal .modal-body { padding-block-end: calc(18px + env(safe-area-inset-bottom)); }
}
/* 电脑：发朋友圈弹窗宽一点 */
@media (min-width: 601px) {
  html[data-theme] .mo-compose-modal:not(.details-modal) { width: min(560px, calc(100vw - 32px)); }
}
@media (prefers-reduced-motion: reduce) {
  html[data-theme] .mo-menu { animation: none; }
  html[data-theme] .mo-loader span, html[data-theme] .mo-compose-spinner { animation-duration: 2.4s; }
}
@media (prefers-reduced-transparency: reduce) {
  html[data-theme] :is(.mo-header-group, .mo-header-pill, .mo-comment-bar, .mo-menu) { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--pf-glass2); }
}
html[data-theme] .mo-post.is-detail .mo-post-more { display: none; }
html[data-theme] .mo-compose .mo-compose-text, html[data-theme] .mo-compose .mo-compose-text:focus, html[data-theme] .mo-compose .mo-compose-text:focus-visible { border: 0; outline: 0; box-shadow: none; background: transparent; resize: none; }
html[data-theme] .mo-compose-editor:focus-within { box-shadow: inset 0 0 0 1.5px var(--pfs-pri-line, var(--pf-pri)), var(--pf-glass-sh); }
html[data-theme] .mo-option-input:focus, html[data-theme] .mo-option-input:focus-visible { border: 0; outline: 0; box-shadow: none; }
html[data-theme] .mo-option-row .settings-menu-label + .chevron { margin-inline-start: auto; }
html[data-theme] #modal-header-action .mo-post-button { margin-inline-end: 6px; }
html[data-theme] .mo-pick-search .text-input, html[data-theme] .mo-pick-search input[type="search"] { padding-inline-start: 44px !important; }
/* 网格列不按内容撑宽（长英文、长状态标签不把整页撑出横向滚动） */
html[data-theme] :is(.mo-feed, .mo-notices, .mo-settings, .mo-compose, .mo-vis) { grid-template-columns: minmax(0, 1fr); }
html[data-theme] .mo-post-head .mo-status-chip { min-width: 0; flex: 0 1000 auto; overflow: hidden; text-overflow: ellipsis; }
html[data-theme] .mo-post-head .mo-name { flex: 0 1 auto; }
