/* 微信朋友圈（页面 / 设置 / Char 资料与好友手机朋友圈等）— 自 style.css 拆出；#chat-page 内嵌时的玻璃覆盖仍保留在 style.css */
html[data-appearance="dark"] .wechat-moments-settings-panel.modal-content {
    background: linear-gradient(180deg, rgba(36, 36, 40, 0.98) 0%, rgba(24, 24, 28, 0.99) 100%) !important;
    color: #f5f5f7;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* 朋友圈自动发 / 配额（布局同主动发消息好友选择） */
#wechat-moments-auto-friend-picker-modal .modal-content.api-settings-modal-content,
#wechat-moments-auto-quota-modal .modal-content.api-settings-modal-content,
#wechat-moments-forward-settings-modal .modal-content.api-settings-modal-content {
    padding: 0;
    width: min(92vw, 360px);
    max-height: 82vh;
    display: flex;
    flex-direction: column;
}
#wechat-moments-auto-friend-picker-modal .modal-content.api-settings-modal-content .settings-content,
#wechat-moments-auto-quota-modal .modal-content.api-settings-modal-content .settings-content,
#wechat-moments-forward-settings-modal .modal-content.api-settings-modal-content .settings-content {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
#wechat-moments-auto-friend-picker-modal .modal-content.api-settings-modal-content .settings-content::-webkit-scrollbar,
#wechat-moments-auto-quota-modal .modal-content.api-settings-modal-content .settings-content::-webkit-scrollbar,
#wechat-moments-forward-settings-modal .modal-content.api-settings-modal-content .settings-content::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.wechat-moments-auto-status {
    margin-top: 6px;
    font-size: 12px;
    color: #666;
}

.wechat-moments-forward-dropdown {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    background: #fff;
    padding: 11px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 14px;
    color: #1f1f1f;
    cursor: pointer;
}

.wechat-moments-forward-dropdown.is-open {
    border-color: #07c160;
    background: #f4fff8;
}

.wechat-moments-forward-friend-list {
    margin-top: 10px;
    max-height: 220px;
    overflow-y: auto;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    background: #fff;
}

.wechat-moments-forward-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-size: 14px;
    color: #222;
}

.wechat-moments-forward-name-row + .wechat-moments-forward-name-row {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.wechat-moments-forward-empty {
    padding: 16px;
    font-size: 13px;
    color: #888;
    text-align: center;
}

.wechat-moments-forward-fields {
    display: grid;
    gap: 12px;
    font-size: 13px;
    color: #333;
}

.wechat-moments-forward-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wechat-moments-forward-time-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* 朋友圈设置：磨砂玻璃面板、底部主操作、分区与层级字重 */
#wechat-moments-settings-modal.wechat-moments-settings-modal-root.modal {
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.42);
}

#wechat-moments-settings-modal .wechat-moments-settings-panel.modal-content {
    padding: 0;
    width: min(92vw, 384px);
    max-width: 384px;
    max-height: min(88vh, 640px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    background: rgb(252, 253, 255);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#wechat-moments-settings-modal .wechat-moments-settings-header {
    flex: 0 0 auto;
    padding: 16px 20px 12px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

#wechat-moments-settings-modal .wechat-moments-settings-heading {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #141414;
    letter-spacing: 0.03em;
}

#wechat-moments-settings-modal .wechat-moments-settings-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 12px 14px 10px;
    -webkit-overflow-scrolling: touch;
}

#wechat-moments-settings-modal .wechat-moments-settings-lead {
    margin: 0 0 14px;
    padding: 0 2px;
    font-size: 12px;
    line-height: 1.55;
    color: #909090;
}

#wechat-moments-settings-modal .wechat-moments-settings-section {
    margin-bottom: 12px;
    padding: 12px 12px 10px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

#wechat-moments-settings-modal .wechat-moments-settings-section:last-child {
    margin-bottom: 4px;
}

#wechat-moments-settings-modal .wechat-moments-settings-section-title {
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 13px;
    font-weight: 700;
    color: #111;
    letter-spacing: 0.04em;
}

#wechat-moments-settings-modal .wechat-moments-settings-toggle-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

#wechat-moments-settings-modal .wechat-moments-settings-toggle-row--last {
    border-bottom: none;
    padding-bottom: 2px;
}

#wechat-moments-settings-modal .wechat-moments-settings-toggle-text {
    flex: 1;
    min-width: 0;
}

#wechat-moments-settings-modal .wechat-moments-settings-item-title {
    font-size: 14px;
    font-weight: 600;
    color: #1f1f1f;
    line-height: 1.35;
}

#wechat-moments-settings-modal .wechat-moments-settings-item-hint {
    margin: 5px 0 0;
    font-size: 12px;
    line-height: 1.45;
    color: #8e8e8e;
}

#wechat-moments-settings-modal .wechat-moments-settings-block + .wechat-moments-settings-block {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}

#wechat-moments-settings-modal .wechat-moments-settings-status-line {
    margin: 8px 0 0;
    font-size: 12px;
    font-weight: 500;
}

#wechat-moments-settings-modal .wechat-moments-settings-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

#wechat-moments-settings-modal .wechat-moments-settings-action-btn {
    flex: 1 1 auto;
    min-width: 0;
    padding: 9px 12px;
    font-size: 13px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

#wechat-moments-settings-modal .wechat-moments-settings-action-btn--primary {
    border-color: rgba(7, 193, 96, 0.45);
    background: rgba(7, 193, 96, 0.12);
    color: #059a4f;
    font-weight: 600;
}

#wechat-moments-settings-modal .wechat-moments-settings-action-btn--danger {
    border-color: rgba(220, 80, 70, 0.45);
    background: rgba(220, 80, 70, 0.1);
    color: #c0392b;
    font-weight: 600;
}

#wechat-moments-settings-modal .wechat-moments-settings-action-btn:active {
    opacity: 0.92;
}

#wechat-moments-settings-modal .wechat-moments-settings-footer {
    flex: 0 0 auto;
    display: flex;
    gap: 10px;
    padding: 12px 14px 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

#wechat-moments-settings-modal .wechat-moments-settings-footer-btn {
    flex: 1;
    padding: 11px 14px;
    font-size: 15px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: opacity 0.15s ease, transform 0.1s ease;
}

#wechat-moments-settings-modal .wechat-moments-settings-footer-btn--cancel {
    background: rgba(0, 0, 0, 0.06);
    color: #444;
}

#wechat-moments-settings-modal .wechat-moments-settings-footer-btn--save {
    background: linear-gradient(180deg, #2ed573 0%, #07c160 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(7, 193, 96, 0.35);
}

#wechat-moments-settings-modal .wechat-moments-settings-footer-btn:active {
    opacity: 0.92;
    transform: scale(0.99);
}
.moments-icon {
    background: linear-gradient(135deg, #ffd93d 0%, #ff9500 100%);
}

/* 朋友圈页面（微信式：封面顶Fullscreen、状态栏叠图、工具栏在状态栏下；动态流白底） */
.moments-page {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    flex-direction: column;
    /* 透明以便动态流磨砂下层能透出发现页 / 全局背景图 */
    background: transparent;
    z-index: 99;
}

.moments-page.show {
    display: flex;
}

/* 与 .status-bar 同公式：顶 padding(max(12,safe)) + 底 12 + 内容行约 22，再下移 10px 躲开时间行；整体再上移 8px 对齐视觉 */
.moments-floating-toolbar {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(max(12px, env(safe-area-inset-top, 0px)) + 12px + 22px + 10px - 8px);
    z-index: 150;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px 14px;
    pointer-events: none;
}

.moments-floating-toolbar > * {
    pointer-events: auto;
}

.moments-toolbar-back {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.moments-toolbar-back:active {
    opacity: 0.75;
}

.moments-toolbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.moments-toolbar-icon-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.moments-toolbar-icon-btn:active {
    opacity: 0.75;
}

@keyframes moments-refresh-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.moments-toolbar-icon-btn.is-moments-refresh-loading,
.moments-toolbar-icon-btn.is-loading {
    pointer-events: none;
    opacity: 0.9;
}

.moments-toolbar-icon-btn.is-moments-refresh-loading .moments-line-icon,
.moments-toolbar-icon-btn.is-loading .moments-line-icon {
    animation: moments-refresh-spin 0.75s linear infinite;
    transform-origin: 50% 50%;
}

.moments-line-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: block;
}

.moments-line-icon--md {
    width: 28px;
    height: 28px;
}

.moments-page-body {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0;
    background: transparent;
}

.moments-ins-scroll {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 20px;
    background: transparent;
}

.moments-ins-scroll::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

/* 名片区：仅封面；头像在右下角「压」在封面与动态流分界上 */
.moments-ins-hero {
    position: relative;
    z-index: 1;
}

.moments-cover-wrap {
    position: relative;
    height: clamp(132px, 36vw, 200px);
    overflow: visible;
    cursor: pointer;
}

.moments-cover-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, #5b9bd5 0%,rgb(110, 130, 174) 45%,rgb(86, 95, 118) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.moments-cover-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    z-index: 1;
}

.moments-cover-bg.has-cover {
    background-color: #2a2a2a;
}

.moments-cover-hint {
    position: absolute;
    left: 12px;
    bottom: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
    pointer-events: none;
    max-width: 60%;
    z-index: 3;
}

/* 昵称在封面右下角，头像左侧（微信惯例） */
.moments-cover-bottom-meta {
    position: absolute;
    right: 12px;
    bottom: 0;
    transform: translateY(25%);
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 10px;
    z-index: 3;
}

/* 主朋友圈封面区：头像与昵称可点进本人资料 */
#moments-page .moments-ins-hero:not(.wechat-char-fmom-hero) .moments-ins-avatar-wrap,
#moments-page .moments-ins-hero:not(.wechat-char-fmom-hero) .moments-ins-nickname {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.moments-ins-nickname {
    font-size: 16px;
    font-weight: 600;
    color: #5c6f93;
    text-shadow: none;
    margin-bottom: 6px;
    max-width: 42vw;
    text-align: right;
    line-height: 1.25;
    word-break: break-word;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(244, 247, 255, 0.88);
    background-image: linear-gradient(135deg, rgba(255, 233, 243, 0.62), rgba(225, 239, 255, 0.68));
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0 1px rgba(91, 123, 165, 0.18), 0 8px 16px rgba(164, 180, 214, 0.14);
}

/* 微信式方头像，约 1/4 落在封面下、3/4 在封面上 */
.moments-ins-avatar-wrap {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 1px rgba(91, 123, 165, 0.18), 0 8px 16px rgba(164, 180, 214, 0.14);
    overflow: hidden;
    background: rgba(246, 248, 255, 0.92);
    flex-shrink: 0;
}

.moments-ins-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.moments-ins-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 600;
    color: #7a8fb6;
    background: linear-gradient(135deg, rgba(255, 235, 244, 0.92), rgba(228, 238, 255, 0.94));
}

/* 动态流区域：底层透明；单条动态为 #F4F4F4 @ 55% 不透明 + 磨砂，兼顾背景透出与可读性 */
.moments-feed-container {
    position: relative;
    z-index: 0;
    background: transparent;
    padding: 28px 10px 8px;
    min-height: 120px;
}

.moments-feed {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.moments-post-card {
    padding: 14px 12px 16px;
    margin: 0 2px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.52);
    background: rgba(244, 244, 244, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.moments-post-card:last-child {
    margin-bottom: 4px;
}

/* 每条：左方头像 + 右内容（微信排布） */
.moments-post-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.moments-post-avatar-col {
    flex-shrink: 0;
    width: 46px;
}

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

.moments-post-avatar {
    width: 46px;
    height: 46px;
    border-radius: 4px;
    object-fit: cover;
    display: block;
}

.moments-post-avatar-placeholder {
    width: 46px;
    height: 46px;
    border-radius: 4px;
    background: linear-gradient(135deg, #cfd8dc, #90a4ae);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
}

.moments-post-name {
    font-size: 15px;
    font-weight: 600;
    color: #576b95;
    margin-bottom: 5px;
    line-height: 1.3;
}

.moments-post-content {
    font-size: 15px;
    color: #111;
    line-height: 1.55;
    word-break: break-word;
    margin-bottom: 8px;
}

.moments-post-polaroid-host {
    margin: 8px 0 10px;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* 拍立得相框内图片：绝对铺满；min 尺寸防止个别引擎在 object-fit 前按固有像素渲染 */
.wechat-polaroid-imgbox > .wechat-polaroid-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    -webkit-object-fit: cover;
    object-position: center;
    display: block;
    z-index: 0;
}

/* 规范③拍立得：朋友圈与聊天共用同一套外框与取景框尺寸，避免聊天内缺样式导致取景框塌陷、与正文并排挤压 */
.moments-post-polaroid-host .wechat-polaroid-wrap,
.moments-polaroid-in-feed.wechat-polaroid-wrap,
#chat-page .chat-message-bubble .wechat-polaroid-wrap {
    width: 260px;
    max-width: 100%;
    background: #fcfbf9;
    padding: 14px 14px 22px 14px;
    margin: 0;
    border-radius: 2px;
    box-shadow: 0 4px 12px rgba(170, 160, 140, 0.08), 0 20px 40px rgba(170, 160, 140, 0.12);
    border: 1px solid rgba(230, 225, 215, 0.6);
    font-family: -apple-system, "PingFang SC", sans-serif;
    box-sizing: border-box;
}

.moments-post-polaroid-host .wechat-polaroid-imgbox,
.moments-polaroid-in-feed .wechat-polaroid-imgbox,
#chat-page .chat-message-bubble .wechat-polaroid-wrap .wechat-polaroid-imgbox {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    min-height: 220px;
    flex-shrink: 0;
    position: relative;
    background: #e8e6e3 linear-gradient(180deg, #eceae7 0%, #ddd9d4 100%);
    overflow: hidden;
    box-sizing: border-box;
}

/* 不支持 aspect-ratio 的内置浏览器：用 padding 百分比顶出 3:4 取景框，避免高度塌陷导致图按固有像素显示成一小块 */
@supports not (aspect-ratio: 1 / 1) {
    .moments-post-polaroid-host .wechat-polaroid-imgbox,
    .moments-polaroid-in-feed .wechat-polaroid-imgbox,
    #chat-page .chat-message-bubble .wechat-polaroid-wrap .wechat-polaroid-imgbox {
        aspect-ratio: unset;
        height: 0;
        min-height: 0;
        padding-bottom: 133.3333333333%;
    }
}

.moments-post-polaroid-host .wechat-polaroid-imgbox::after,
.moments-polaroid-in-feed .wechat-polaroid-imgbox::after,
#chat-page .chat-message-bubble .wechat-polaroid-wrap .wechat-polaroid-imgbox::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.03), inset 0 3px 8px rgba(0, 0, 0, 0.04);
    pointer-events: none;
    z-index: 1;
}

.moments-post-polaroid-host .wechat-polaroid-img,
.moments-polaroid-in-feed .wechat-polaroid-img,
#chat-page .chat-message-bubble .wechat-polaroid-wrap .wechat-polaroid-img {
    filter: contrast(1.05) brightness(0.98) saturate(0.85) sepia(12%);
}

/* 仅朋友圈动态（.moments-post-polaroid-host）：强制 cover + 四边贴合；宽高不用 !important，留给 momentsPolaroidSyncImgLayout 写像素覆盖畸形 WebKit */
.moments-post-polaroid-host .wechat-polaroid-imgbox > .wechat-polaroid-img {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100%;
    height: 100%;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    -webkit-object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    box-sizing: border-box !important;
    z-index: 0;
}

/* 聊天窗口拍立得：!important 铺满取景框。
   朋友圈动态不使用本段：同类元素带 .moments-polaroid-in-feed，若写进此处会阻断 momentsPolaroidSyncImgLayout 的像素同步（!important 压过内联宽高），部分 WebKit 仍按固有尺寸居中导致「取景框里只有一小张图」。 */
#chat-page .chat-message-bubble .wechat-polaroid-wrap .wechat-polaroid-imgbox > .wechat-polaroid-img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    -webkit-object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    z-index: 0;
}

.moments-post-polaroid-host .wechat-polaroid-text,
.moments-polaroid-in-feed .wechat-polaroid-text,
#chat-page .chat-message-bubble .wechat-polaroid-wrap .wechat-polaroid-text {
    margin-top: 18px;
    padding: 0 2px;
}

.moments-post-polaroid-host .wechat-polaroid-line,
.moments-polaroid-in-feed .wechat-polaroid-line,
#chat-page .chat-message-bubble .wechat-polaroid-wrap .wechat-polaroid-line {
    width: 16px;
    height: 1px;
    background: #c8c3bc;
    margin-bottom: 10px;
}

.moments-post-polaroid-host .wechat-polaroid-caption,
.moments-polaroid-in-feed .wechat-polaroid-caption,
#chat-page .chat-message-bubble .wechat-polaroid-wrap .wechat-polaroid-caption {
    font-size: 13px;
    color: #55504b;
    line-height: 1.7;
    font-weight: 300;
    letter-spacing: 0.5px;
    text-align: justify;
    min-height: calc(1.7em * 2);
    box-sizing: border-box;
}

.moments-post-polaroid-host .wechat-polaroid-meta,
.moments-polaroid-in-feed .wechat-polaroid-meta,
#chat-page .chat-message-bubble .wechat-polaroid-wrap .wechat-polaroid-meta {
    margin-top: 16px;
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-size: 10.5px;
    color: #b5b0a8;
    letter-spacing: 1px;
    display: flex;
    justify-content: space-between;
}

.moments-post-content .chat-emoji {
    max-width: 75px;
    max-height: 75px;
    width: auto;
    height: auto;
    vertical-align: middle;
    display: inline-block;
    margin: 2px 2px 0 0;
}

/* 时间 + 右下角「··」；展开为微信式深色条（赞 / 评论 / 收藏） */
.moments-post-meta-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 2px;
    min-height: 26px;
    width: 100%;
    box-sizing: border-box;
}

.moments-post-time-inline {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    color: #7e90b4;
    background: rgba(244, 247, 255, 0.88);
    background-image: linear-gradient(135deg, rgba(255, 233, 243, 0.66), rgba(225, 239, 255, 0.68));
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0 1px rgba(91, 123, 165, 0.22), 0 6px 14px rgba(164, 180, 214, 0.14);
}

.moments-post-more-wrap {
    position: relative;
    flex-shrink: 0;
    z-index: 4;
}

.moments-post-more-btn {
    width: 34px;
    height: 22px;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: #f0f0f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.07);
}

.moments-post-more-btn:active {
    opacity: 0.85;
}

.moments-post-more-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #3d3d3d;
}

.moments-post-menu {
    display: none;
    position: absolute;
    right: 100%;
    margin-right: 8px;
    bottom: 0;
    z-index: 60;
    flex-direction: row;
    align-items: stretch;
    background: rgba(132, 151, 189, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(57, 69, 92, 0.18);
}

.moments-post-menu.is-open {
    display: flex;
}

.moments-post-menu-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 7px 10px;
    min-height: 34px;
    border: none;
    background: transparent;
    color: #f7f9fc;
    font-size: 12px;
    white-space: nowrap;
    cursor: pointer;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.moments-post-menu-item:last-child {
    border-right: none;
}

.moments-post-menu-item:active {
    background: rgba(255, 255, 255, 0.12);
}

.moments-post-menu-item.moments-post-menu-item--danger {
    color: #e53935;
}

.moments-post-menu-item.moments-post-menu-item--danger:active {
    background: rgba(229, 57, 53, 0.12);
}

.moments-menu-ico {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.moments-post-images {
    display: grid;
    gap: 4px;
    margin-bottom: 8px;
}

.moments-post-images--n1 {
    grid-template-columns: 1fr;
}

.moments-post-images--n1 img {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: 10px;
}

.moments-post-images--n2 {
    grid-template-columns: 1fr 1fr;
}

.moments-post-images--n2 img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
}

.moments-post-images--n3,
.moments-post-images--n4,
.moments-post-images--n5,
.moments-post-images--n6,
.moments-post-images--n7,
.moments-post-images--n8,
.moments-post-images--n9 {
    grid-template-columns: repeat(3, 1fr);
}

.moments-post-images--n3 img,
.moments-post-images--n4 img,
.moments-post-images--n5 img,
.moments-post-images--n6 img,
.moments-post-images--n7 img,
.moments-post-images--n8 img,
.moments-post-images--n9 img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
}

.moments-post-social-box {
    background: rgba(244, 247, 255, 0.88);
    background-image: linear-gradient(135deg, rgba(255, 233, 243, 0.6), rgba(225, 239, 255, 0.66));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 9px 11px;
    margin-top: 6px;
    font-size: 13px;
    color: #52637f;
    line-height: 1.5;
    box-shadow: 0 0 1px rgba(91, 123, 165, 0.2), 0 10px 20px rgba(164, 180, 214, 0.12);
}

.moments-post-social-box .moments-comment-line {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.moments-post-social-box .moments-comment-author {
    font-weight: 600;
    color: #385898;
}

/* 朋友圈「楼中楼」评论结构 */
.moments-threads {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.moments-thread {
    display: block;
}

.moments-thread-line {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    align-items: baseline;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.moments-thread-label {
    color: #5b6d8f;
}

.moments-thread-author {
    font-weight: 600;
    color: #6b82b5;
}

.moments-thread-relation {
    font-weight: 500;
    color: #9aa7c1;
    font-size: 0.92em;
}

.moments-thread-replyto {
    font-weight: 500;
    color: #9aa7c1;
}

.moments-thread-text {
    color: #52637f;
    word-break: break-word;
}

.moments-thread-reply {
    margin-left: 14px;
    padding-left: 8px;
    border-left: 2px solid rgba(194, 209, 235, 0.52);
    margin-top: 3px;
}

/* 朋友圈刷新按钮：加载中转圈提示 */
#moments-refresh-btn.is-loading svg {
    animation: moments-refresh-spin 0.9s linear infinite;
    transform-origin: 50% 50%;
}
@keyframes moments-refresh-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.moments-post-like-strip {
    color: #262626;
    margin-bottom: 6px;
}

.moments-post-like-strip:last-child {
    margin-bottom: 0;
}

.moments-post-like-icon {
    color: #ed4956;
    margin-right: 4px;
}

.moments-post-comments {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 6px;
    margin-top: 6px;
}

.moments-post-comments:first-child {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.moments-post-comment-line {
    margin-top: 4px;
    word-break: break-word;
}

.moments-post-comment-line:first-child {
    margin-top: 0;
}

.moments-post-comment-author {
    font-weight: 600;
    color: #385898;
}

.moments-post-comment-relation {
    font-weight: 500;
    color: #8a8d91;
    font-size: 0.92em;
}

.moments-post-comment-replyto {
    font-weight: 500;
    color: #8a8d91;
}

.moments-empty {
    text-align: center;
    padding: 40px 20px;
    margin: 8px 4px 0;
    border-radius: 14px;
    background: rgba(244, 244, 244, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.52);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.moments-empty-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 8px;
}

.moments-empty-hint {
    font-size: 13px;
    color: #888;
}

/* 发朋友圈模态框 */
.post-moments-modal-content {
    max-width: 360px;
    width: 92%;
    padding: 0;
}

.post-moments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
}

.post-moments-header h3 {
    margin: 0;
    font-size: 17px;
}

.post-moments-cancel,
.post-moments-publish {
    font-size: 15px;
    background: none;
    border: none;
    cursor: pointer;
}

.post-moments-cancel { color: #666; }
.post-moments-publish { color: #07c160; font-weight: 500; }

.post-moments-body {
    padding: 16px;
}

.post-moments-body textarea {
    width: 100%;
    min-height: 120px;
    border: none;
    font-size: 15px;
    resize: none;
    outline: none;
    box-sizing: border-box;
}

.moments-image-upload-area {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.moments-image-add {
    width: 72px;
    height: 72px;
    border: 1px dashed #ccc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #999;
    cursor: pointer;
}

.moments-image-previews {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.moments-image-previews img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
}

/* 朋友圈评论弹窗 */
.moments-comment-modal-content {
    max-width: 360px;
    width: 92%;
    padding: 0;
}

.moments-comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
}

.moments-comment-title {
    font-size: 17px;
    font-weight: 600;
    color: #111;
}

.moments-comment-cancel,
.moments-comment-send {
    font-size: 15px;
    background: none;
    border: none;
    cursor: pointer;
}

.moments-comment-cancel { color: #666; }
.moments-comment-send { color: #07c160; font-weight: 500; }

.moments-comment-input {
    width: 100%;
    min-height: 100px;
    padding: 16px;
    border: none;
    font-size: 15px;
    resize: vertical;
    outline: none;
    box-sizing: border-box;
}
/* 朋友圈打开：状态栏叠在封面上；隐藏「发现」标题与列表；底部 Tab 在朋友圈内不显示（否则 flex 会把它挤到顶部） */
#wechat-discover-page.wechat-discover-moments-open .wechat-me-header,
#wechat-discover-page.wechat-discover-moments-open .discover-content {
    display: none;
}

#wechat-discover-page.wechat-discover-moments-open .status-bar {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    position: relative;
    z-index: 200;
}

#wechat-discover-page.wechat-discover-moments-open .status-left {
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

#wechat-discover-page.wechat-discover-moments-open .status-icon {
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35));
}

/* 朋友圈封面（可能是用户上传图片）：图标改为白色并加阴影 */
#wechat-discover-page.wechat-discover-moments-open .status-right {
    color: #fff !important;
}

#wechat-discover-page.wechat-discover-moments-open .status-icon-svg {
    color: rgba(255, 255, 255, 0.95) !important;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}

#wechat-discover-page.wechat-discover-moments-open .wechat-bottom-nav {
    display: none !important;
}
html.wechat-global-bg-on .moments-page-body {
    background: transparent !important;
}

html.wechat-global-bg-on .moments-page {
    background: transparent !important;
}

html.wechat-global-bg-on #wechat-discover-page.wechat-discover-moments-open .status-bar {
    background: transparent !important;
}

html.wechat-global-bg-on .moments-feed-container {
    background: transparent !important;
}

html.wechat-global-bg-on .moments-post-card {
    background: rgba(244, 244, 244, 0.55) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
}
/* ========== 好友资料 · 好友朋友圈（Char）========== */
/* 必须高于 #chat-page 内全屏磨砂(≈2400)、查找记录(2425)、子模态(2500)，否则线下模式顶栏仍会叠在好友资料之上 */
#app .wechat-char-moments-host {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 2700;
    background: #ededed;
    flex-direction: column;
    overflow: hidden;
}

#app .wechat-char-moments-host.is-visible {
    display: flex;
}

#app .wechat-char-moments-host.wechat-char-moments-host--animate {
    animation: wechatCharHostIn 0.3s ease-out both;
}

@keyframes wechatCharHostIn {
    from {
        opacity: 0.85;
        transform: translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.moments-post-avatar--char,
.moments-post-avatar-placeholder.moments-post-avatar--char {
    cursor: pointer;
}

#app .wechat-char-profile-shell {
    flex: 1;
    display: none;
    flex-direction: column;
    min-height: 0;
    background: #f5f5f5;
}

#app .wechat-char-profile-top {
    position: relative;
    flex-shrink: 0;
    width: 100%;
}

#app .wechat-char-profile-hero {
    width: 100%;
    min-height: 220px;
    box-sizing: border-box;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

#app .wechat-char-profile-hero.has-photo {
    box-shadow: inset 0 -48px 70px rgba(0, 0, 0, 0.25);
}

#app .wechat-char-profile-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    padding: calc(max(12px, env(safe-area-inset-top, 0px)) + 6px) 10px 10px;
    z-index: 4;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.08) 55%, transparent);
}

#app .wechat-char-profile-nav .moments-toolbar-back {
    pointer-events: auto;
}

#app .wechat-char-profile-back {
    border-color: rgba(255, 255, 255, 0.35);
}

#app .wechat-char-profile-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 0 24px;
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

#app .wechat-char-profile-card {
    margin: 0 12px 0;
    padding: 16px 14px 8px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 1;
}

#app .wechat-char-profile-name {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-bottom: 14px;
}

#app .wechat-char-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-top: 1px solid #f0f0f0;
    font-size: 15px;
}

#app .wechat-char-row--tap:active {
    opacity: 0.72;
}

#app .wechat-char-k {
    color: #888;
    flex-shrink: 0;
    margin-right: 12px;
}

#app .wechat-char-v {
    color: #333;
    text-align: right;
    word-break: break-all;
}

#app .wechat-char-row--moments .wechat-char-k {
    color: #111;
    font-weight: 500;
}

#app .wechat-char-chevron {
    color: #c7c7c7;
    font-size: 22px;
    font-weight: 300;
    line-height: 1;
}

#app .wechat-char-profile-actions {
    display: flex;
    gap: 12px;
    padding: 20px 16px;
}

#app .wechat-char-btn {
    flex: 1;
    padding: 12px 10px;
    border-radius: 8px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

#app .wechat-char-btn--primary {
    background: #07c160;
    color: #fff;
}

#app .wechat-char-btn--outline {
    background: #fff;
    color: #07c160;
    border: 1px solid rgba(7, 193, 96, 0.45);
}

#app .wechat-char-btn:active {
    opacity: 0.88;
}

#app .wechat-char-fmom-shell.moments-page {
    background: transparent;
}

#app .wechat-char-fmom-cover-bg--tap {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

#app .wechat-char-fmom-meta {
    pointer-events: none;
}

#app .wechat-char-feed-meta {
    justify-content: space-between;
}

#app .wechat-char-feed-hint {
    font-size: 12px;
    color: #8e8e8e;
}

#app .wechat-char-detail-shell {
    flex: 1;
    display: none;
    flex-direction: column;
    min-height: 0;
    background: #ededed;
    position: relative;
}

#app .wechat-char-detail-nav {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: calc(max(12px, env(safe-area-inset-top, 0px)) + 8px) 10px 10px;
    background: #ededed;
    border-bottom: 1px solid #e2e2e2;
}

#app .wechat-char-detail-nav .moments-toolbar-back {
    position: relative;
    top: auto;
    left: auto;
    border-color: rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: none;
}

#app .wechat-char-detail-title {
    font-size: 17px;
    font-weight: 600;
    color: #111;
}

#app .wechat-char-detail-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 10px 12px 20px;
    -webkit-overflow-scrolling: touch;
}

#app .wechat-char-detail-inner {
    background: #fff;
    border-radius: 10px;
    padding: 12px 12px 14px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

#app .wechat-char-detail-timebar {
    margin-top: 4px;
    justify-content: flex-start;
}

#app .wechat-char-dtl-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    margin: 10px 0 6px;
    padding: 0;
    box-sizing: border-box;
    background: transparent;
    border: none;
    box-shadow: none;
    pointer-events: auto;
}

#app .wechat-char-dtl-btn {
    border: none;
    background: rgba(0, 0, 0, 0.06);
    color: #333;
    font-size: 11px;
    padding: 5px 9px;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 600;
    line-height: 1.2;
}

#app .wechat-char-dtl-btn:active {
    opacity: 0.82;
}

#app .wechat-char-dtl-btn.is-on {
    background: rgba(7, 193, 96, 0.2);
    color: #07a050;
}

#app .wechat-char-dtl-btn--danger {
    background: rgba(250, 81, 81, 0.14);
    color: #d32f2f;
}

/* 微信号/地区编辑弹层（须高于 .wechat-char-moments-host:2700，否则资料页内点击后弹层被盖住） */
.wechat-char-field-edit-modal.modal {
    z-index: 2800;
    align-items: center;
    justify-content: center;
    padding: max(16px, env(safe-area-inset-top, 0px)) 16px max(16px, env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    /* 避免与内层滚动抢占纵向触控；表单区独自 overflow */
    overflow: hidden;
}

.wechat-char-field-edit-panel.modal-content {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    border-radius: 14px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    max-height: min(420px, calc(100vh - max(32px, env(safe-area-inset-top, 0px) + env(safe-area-inset-bottom, 0px)) - 48px));
}

/* 「你的行程」：面板为纵向 flex，表单区收敛高度并内部滚动（避免仅裁切、触控无法下滑） */
.user-itinerary-modal-panel.wechat-char-field-edit-panel.modal-content {
    display: flex;
    flex-direction: column;
    max-height: min(560px, calc(100vh - max(32px, env(safe-area-inset-top, 0px) + env(safe-area-inset-bottom, 0px)) - 48px));
}

.user-itinerary-modal-panel .wechat-char-field-edit-head {
    flex: 0 0 auto;
}

.wechat-char-field-edit-body {
    padding: 16px 14px 20px;
    background: #fff;
}

.wechat-char-field-edit-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid #eee;
    background: #fafafa;
}

.wechat-char-field-edit-htitle {
    font-size: 16px;
    font-weight: 600;
    color: #111;
}

.wechat-char-field-edit-hbtn {
    border: none;
    background: transparent;
    font-size: 15px;
    color: #576b95;
    cursor: pointer;
    padding: 4px 6px;
}

.wechat-char-field-edit-hbtn--ok {
    color: #07c160;
    font-weight: 600;
}

.wechat-char-field-edit-input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f7f7f7;
}

#phone-page .phone-app-panel--friend-wechat-moments {
    position: relative;
}

#phone-page .phone-app-panel--friend-wechat-moments .phone-app-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    border-bottom: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    pointer-events: none;
}

#phone-page .phone-app-panel--friend-wechat-moments .phone-app-back {
    pointer-events: auto;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.18);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

#phone-page .phone-app-panel--friend-wechat-moments .phone-app-title,
#phone-page .phone-app-panel--friend-wechat-moments .phone-app-actions {
    visibility: hidden;
    pointer-events: none;
}
.friend-phone-wechat-body--moments {
    padding: 0;
    background: #f6f7fb;
}

/* User行程编辑模态框美化 */
.user-itinerary-modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.user-itinerary-modal-body::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Opera */
}

.user-itinerary-cancel-btn {
    color: #666 !important;
    font-weight: 500 !important;
}

.user-itinerary-ok-btn {
    color: #111 !important;
    font-weight: 600 !important;
}

.user-itinerary-clear-btn {
    width: 100%;
    padding: 10px;
    background: #f5f5f5;
    border: none;
    border-radius: 4px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-itinerary-clear-btn:hover {
    background: #ebebeb;
}

.user-itinerary-clear-btn:active {
    background: #e0e0e0;
    transform: scale(0.98);
}

.friend-phone-wechat-moments-page {
    min-height: 100%;
    background: #f6f7fb;
}

.friend-phone-wechat-moments-hero {
    position: relative;
    z-index: 1;
    height: 176px;
    background: linear-gradient(145deg, #607083, #354150);
    /* meta 使用 bottom 负值探入下方 feed；须叠在 feed 白底之上，否则头像/昵称被裁切 */
}

.friend-phone-wechat-moments-cover {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, #607083, #354150);
    background-size: cover;
    background-position: center;
}

.friend-phone-wechat-moments-meta {
    position: absolute;
    right: 16px;
    bottom: -24px;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.friend-phone-wechat-moments-name {
    color: #fff;
    font-size: 18px;
    font-weight: 750;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.24);
    padding-bottom: 8px;
    max-width: 150px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.friend-phone-wechat-moments-avatar {
    width: 58px;
    height: 58px;
    border-radius: 10px;
    border: 3px solid #fff;
    font-size: 22px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
}

.friend-phone-wechat-feed-container {
    position: relative;
    z-index: 0;
    padding-top: 40px;
    background: #fff;
}

.friend-phone-wechat-empty {
    padding: 42px 16px;
}

.friend-phone-wechat-moment-card {
    cursor: pointer;
}

.friend-phone-wechat-moment-card.is-detail {
    cursor: default;
}

.friend-phone-wechat-post-avatar {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    font-size: 16px;
}

.friend-phone-wechat-post-meta {
    align-items: center;
}

.friend-phone-wechat-post-fav {
    border: none;
    border-radius: 6px;
    background: #eef7f1;
    color: #07a553;
    font-size: 12px;
    padding: 5px 8px;
    cursor: pointer;
}

.friend-phone-wechat-detail-page {
    min-height: 100%;
    padding: 10px 0 18px;
    background: #fff;
}

