/* ============================================================
 * 豪言微语 · Apple 风外观（仅影响视觉，不包含任何逻辑）
 * 颜色主色板见模板里的 tailwind.config（gray/blue/red 已替换）
 * ============================================================ */

/* 内容未超出一屏时禁止橡皮筋下滑（iOS 即使页面不满默认也能拉动）；真实内容超出仍可滚动（键盘弹起依赖） */
html { overscroll-behavior: none; }
body { overscroll-behavior: none; }

body {
    /* 只用系统自带字体，不加载任何 webfont（无 @font-face / 无外链） */
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro SC",
        "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-synthesis: none;
    font-optical-sizing: auto;
    letter-spacing: 0.01em;
}

/* 今日一言名言：显式中文衬线栈（同咖啡馆主题长文标题写法），避免 Tailwind font-serif 依赖浏览器对 serif 的隐式回退 */
.quote-text {
    font-family: "Songti SC", "SimSun", "Noto Serif SC", serif, -apple-system;
    /* 宋体仅有 Light/Regular/Bold 档，500 会回退 Regular；供 Noto Serif SC 等可变字重环境加实笔画 */
    font-weight: 500;
}

/* 开闭引号装饰：由伪元素承载（编辑保存的 textContent 覆盖不影响伪元素），品牌蓝半透明呼应全站点缀色 */
.quote-text::before,
.quote-text::after {
    font-weight: 700;
    line-height: 1;
    color: rgba(0, 113, 227, 0.4);
}
.quote-text::before {
    content: "“";
    margin-right: 0.2em;
}
.quote-text::after {
    content: "”";
    margin-left: 0.15em;
}
html.dark .quote-text::before,
html.dark .quote-text::after {
    color: rgba(100, 160, 255, 0.55);
}

/* 暗色下细笔画宋体易发虚：0.4px 同向微光晕增实笔画（肉眼无模糊感，如嫌糊可整条移除） */
html.dark .quote-text {
    text-shadow: 0 0 0.4px rgba(255, 255, 255, 0.3);
}

::selection {
    background: rgba(0, 113, 227, 0.18);
}

/* ---------- 卡片 ---------- */
.apple-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.03), 0 8px 24px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
html.dark .apple-card {
    background: #1c1c1e;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

/* 时间线卡片 hover：轻微浮起（分页 JS 追加的卡片也会自动生效） */
#postsContainer .apple-card:hover {
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04), 0 16px 40px rgba(0, 0, 0, 0.09);
    transform: translateY(-2px);
}
html.dark #postsContainer .apple-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

/* ---------- 时间线 1~3 图横滑条：隐藏滚动条但保留滑动（WebKit / Firefox / 老 IE 双写） ---------- */
.scrollbar-hide { scrollbar-width: none; -ms-overflow-style: none; }
.scrollbar-hide::-webkit-scrollbar { display: none; }

/* ---------- 卡片底部元信息（时间戳 + 分享/编辑图标） ---------- */
/* 两端对齐 + 严格垂直居中，字号 13px、次级灰 #8E8E93（Apple systemGray） */
.post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    padding-top: 8px;
    color: #8E8E93;
    font-size: 13px;
    line-height: 1.2;
}
html.dark .post-meta { border-top-color: rgba(255, 255, 255, 0.08); }
.post-meta-actions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

/* ============================================================
 * 发布面板：桌面居中模态 / 移动 Bottom Sheet（同一份 DOM）
 * 交互规格见 index.html 内联脚本的 openComposer / setComposerStatus
 * ============================================================ */
:root {
    --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
    --d-fast: 160ms;
    --d-base: 240ms;
    --d-slow: 320ms;
}

body.composer-open { overflow: hidden; }

/* 层级约定（新增浮层请按此顺序取值，避免又被上层盖住）：
 *   40 悬浮发布按钮 → 45 下拉刷新指示器（藏在头部之下，靠 header 底部滑出）
 *   → 50 头部/时间线 → 60 发布面板 → 100 图片浏览
 *   → 140 口令弹窗（必须高于发布面板，否则发布时看不见）→ 150 确认弹窗
 *   → 200 海报弹窗 → 300 Toast（任何浮层之上）→ 9999 长按保存降级层
 */
.composer-root {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.composer-root.hidden { display: none; }

.composer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity var(--d-fast) ease;
}
.composer-root.is-open .composer-backdrop { opacity: 1; }

.composer-panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: 92vh;
    max-height: 92dvh;
    border-radius: 20px 20px 0 0;
    background: #ffffff;
    color: #1d1d1f;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.18);
    transform: translateY(100%);
    transition: transform var(--d-slow) var(--ease-spring);
    overscroll-behavior: contain;
}
html.dark .composer-panel {
    background: #1c1c1e;
    color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.6);
}
.composer-root.is-open .composer-panel { transform: translateY(0); }
.composer-root.is-closing .composer-panel { transform: translateY(100%); }
/* 拖拽投放态：整张面板即投放区 */
.composer-panel.is-drop-active { box-shadow: inset 0 0 0 2px rgba(10, 132, 255, 0.55); }

.composer-grabber {
    width: 36px;
    height: 5px;
    margin: 8px auto 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.18);
}
html.dark .composer-grabber { background: rgba(255, 255, 255, 0.24); }

.composer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 20px 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
html.dark .composer-head { border-bottom-color: rgba(255, 255, 255, 0.08); }
.composer-title { font-size: 15px; font-weight: 600; }
.composer-action {
    font-size: 15px;
    color: #0071e3;
    padding: 4px 2px;
    transition: opacity var(--d-fast) ease, color var(--d-fast) ease, transform var(--d-fast) var(--ease-spring);
}
html.dark .composer-action { color: #0a84ff; }
.composer-submit { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.composer-submit:disabled { opacity: 0.35; cursor: not-allowed; }
.composer-submit.is-done { color: #30d158; transform: scale(1.06); }


.composer-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 14px 20px calc(16px + env(safe-area-inset-bottom));
}
.composer-form { display: flex; flex-direction: column; gap: 12px; }

/* 无边框输入区：标题与正文之间不加分隔线，焦点只靠插入符提亮，减轻视觉负担 */
.composer-title-input {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 2px 0 8px;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: #1d1d1f;
    animation: composer-fade-in var(--d-base) var(--ease-spring);
}
html.dark .composer-title-input { color: #f5f5f7; }
.composer-title-input::placeholder { color: #aeaeb2; }
html.dark .composer-title-input::placeholder { color: #8e8e93; }
.composer-title-input:focus { outline: none; }

.composer-input {
    width: 100%;
    min-height: 108px;
    max-height: 40vh;
    border: 0;
    background: transparent;
    padding: 0;
    resize: none;
    font-size: 17px;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.9);
    caret-color: #0071e3;
    overflow-y: auto;
}
html.dark .composer-input { color: rgba(255, 255, 255, 0.9); caret-color: #0a84ff; }
.composer-input:focus { outline: none; }
.composer-input::placeholder { color: #aeaeb2; }
html.dark .composer-input::placeholder { color: #8e8e93; }

/* 动态态正文上限同步放宽：正文已按 ARTICLE_MODE_HEIGHT_EXTRA 加高，
   不放开 max-height 会被 40vh 截断，切到长文时下方栏位仍会跳动 */
.composer-form:not(.is-article) .composer-input { max-height: calc(40vh + 94px); }

/* 桌面端：居中模态（移动端保持贴底 Bottom Sheet） */
@media (min-width: 640px) {
    .composer-root { align-items: center; padding: 16px; }
    .composer-panel {
        max-width: 480px;
        max-height: 85vh;
        border-radius: 20px;
        transform: translateY(8px) scale(0.97);
        opacity: 0;
        transition: transform var(--d-base) var(--ease-spring), opacity var(--d-fast) ease;
    }
    .composer-root.is-open .composer-panel { transform: none; opacity: 1; }
    .composer-root.is-closing .composer-panel { transform: translateY(8px) scale(0.97); opacity: 0; }
    .composer-grabber { display: none; }
    .composer-head { padding: 16px 20px 12px; }
    .composer-body { padding-bottom: 20px; }
}

.composer-attach { display: flex; flex-direction: column; gap: 10px; }

/* 附件入口：横排图标一行（桌面风格），移动端同样紧凑不占输入区；位置胶囊与附件计数内联跟在其后 */
.composer-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.icon-btn {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: transparent;
    color: #6e6e73;
    transition: background-color var(--d-fast) ease, color var(--d-fast) ease, transform var(--d-fast) var(--ease-spring);
}
html.dark .icon-btn { background: transparent; color: #aeaeb2; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn-label { display: none; }
.icon-btn:hover { background: rgba(0, 0, 0, 0.07); color: #1d1d1f; }
html.dark .icon-btn:hover { background: rgba(255, 255, 255, 0.12); color: #f5f5f7; }
/* 触屏没有 hover 态，按压缩放是唯一「点到了」的即时反馈 */
.icon-btn:active { transform: scale(0.95); }
.icon-btn.is-active { color: #0071e3; background: rgba(0, 113, 227, 0.12); }
html.dark .icon-btn.is-active { color: #0a84ff; background: rgba(10, 132, 255, 0.20); }
/* 附件计数回显：内联跟在按钮行末；空文本直接不占位 */
.composer-attach-summary { margin-left: 6px; font-size: 12px; color: #8e8e93; }
.composer-attach-summary:empty { display: none; }

/* 链接输入框行：与上方图标行保持间距，避免贴太近 */
#linkPanel { margin-top: 8px; }
/* 标签输入面板：跟随附件行展开，仅点击 # 图标时出现，与链接输入行同间距 */
.composer-tags-panel { margin-top: 8px; }
.composer-link-input {
    width: 100%;
    border: 0;
    border-radius: 10px;
    padding: 6px 10px;
    /* 16px：低于此值时 iOS Safari 聚焦 input 会自动缩放页面（撑开/回弹），必须 ≥16px */
    font-size: 16px;
    background: rgba(0, 0, 0, 0.05);
    color: #1d1d1f;
}
html.dark .composer-link-input { background: rgba(255, 255, 255, 0.08); color: #f5f5f7; }
.composer-link-input::placeholder { color: #c7c7cc; font-size: 14px; }
html.dark .composer-link-input::placeholder { color: #636366; font-size: 14px; }
.composer-link-input:focus { outline: none; box-shadow: 0 0 0 2px rgba(0, 113, 227, 0.22); }

.composer-preview-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.composer-preview-title { font-size: 12px; color: #8e8e93; }
/* 朋友圈式预览网格：固定 3 列、正方形格子随容器宽度撑大（原 72px 定宽在宽屏下偏小） */
.composer-preview-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.preview-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.06);
    touch-action: none; /* 长按拖动排序不被原生的滚动抢走手势 */
    -webkit-user-drag: none; /* 禁 img 原生拖拽幽灵图：不禁止会抢先启动 HTML5 drag，排序失效变复制 */
    -webkit-touch-callout: none; /* 禁 iOS 长按弹保存菜单：也会打断 pointer 事件流 */
    user-select: none;
    cursor: grab;
}
html.dark .preview-item { background: rgba(255, 255, 255, 0.08); }
.preview-item.is-dragging { z-index: 2; cursor: grabbing; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28); }
.preview-item img, .preview-item video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 朋友圈式「＋」占位格：与预览格同尺寸同底色，虚线描边区分真实图片；点击行为在 compose 页脚本 */
.preview-add {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    line-height: 1;
    color: #c7c7cc;
    border: 1px dashed rgba(0, 0, 0, 0.14);
    cursor: pointer;
}
.preview-add:hover { color: #8e8e93; border-color: rgba(0, 0, 0, 0.28); }
html.dark .preview-add { color: #6e6e73; border-color: rgba(255, 255, 255, 0.2); }
html.dark .preview-add:hover { color: #98989d; border-color: rgba(255, 255, 255, 0.32); }
.preview-remove {
    position: absolute;
    top: 3px;
    right: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.62);
    color: #ffffff;
    font-size: 12px;
    line-height: 1;
}

/* 已选位置胶囊：只读展示简称，点地名看地图、点 ✕ 清除；内联跟在按钮行，过长截断 */
.composer-location-chip {
    display: none;
    align-items: center;
    gap: 2px;
    min-width: 0;
    max-width: 46%;
    margin-left: 6px;
    min-height: 26px;
    padding: 3px 4px 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    color: #0071e3;
    background: rgba(0, 113, 227, 0.10);
}
.composer-location-chip.is-visible { display: inline-flex; }
html.dark .composer-location-chip { color: #0a84ff; background: rgba(10, 132, 255, 0.16); }
.composer-location-chip-name { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
/* ✕ 的命中区不再只有字形大小：撑到 22px 见方 */
.composer-location-chip-clear { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; font-size: 11px; line-height: 1; color: inherit; opacity: 0.55; }
.composer-location-chip-clear:hover { opacity: 1; }

.composer-status { min-height: 18px; font-size: 13px; color: #8e8e93; }
.composer-status.is-invalid { color: #ff3b30; }
html.dark .composer-status.is-invalid { color: #ff453a; }

.composer-progress { height: 2px; width: 100%; background: rgba(0, 0, 0, 0.06); }
html.dark .composer-progress { background: rgba(255, 255, 255, 0.10); }
.composer-progress-bar { height: 100%; width: 0; background: #0071e3; transition: width 0.2s ease; }
html.dark .composer-progress-bar { background: #0a84ff; }

.composer-drop-hint { font-size: 12px; color: #8e8e93; margin-top: 8px; }
/* 触屏设备没有拖拽/⌘V 场景，直接不展示这行提示 */
@media (hover: none) {
    .composer-drop-hint { display: none; }
}

.composer-draft {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 12px;
    color: #6e6e73;
    background: rgba(0, 0, 0, 0.04);
}
html.dark .composer-draft { color: #aeaeb2; background: rgba(255, 255, 255, 0.06); }
.composer-draft-btn { font-size: 12px; font-weight: 600; color: #0071e3; padding: 2px 4px; }
html.dark .composer-draft-btn { color: #0a84ff; }

/* ---------- Markdown 快捷输入条（长文模式专属，产出仍是纯 Markdown） ---------- */
.md-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
}
.md-toolbar.hidden { display: none; }
.md-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border-radius: 9px;
    color: #8e8e93;
    font-size: 14px;
    transition: background-color var(--d-fast) ease, color var(--d-fast) ease, transform var(--d-fast) var(--ease-spring);
}
.md-btn:hover { background: rgba(0, 0, 0, 0.05); color: #48484a; }
html.dark .md-btn:hover { background: rgba(255, 255, 255, 0.10); color: #e8e8ed; }
.md-btn:active { transform: scale(0.94); }
.md-glyph { font-weight: 600; letter-spacing: 0.01em; }
.md-glyph-code { font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace; font-size: 12px; }

.composer-spinner {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    animation: composer-spin 0.8s linear infinite;
}
@keyframes composer-spin { to { transform: rotate(360deg); } }
@keyframes composer-fade-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* 悬浮发布按钮：面板打开时让位 */
body.composer-open .fab-compose { opacity: 0; pointer-events: none; }
.fab-compose { transition: opacity var(--d-fast) ease, transform var(--d-fast) var(--ease-spring); }

@media (prefers-reduced-motion: reduce) {
    .composer-panel,
    .composer-backdrop,
    .composer-title-input,
    .composer-spinner {
        transition-duration: 1ms !important;
        animation: none !important;
    }
}

/* ---------- 按钮交互反馈 ---------- */
button {
    -webkit-tap-highlight-color: transparent;
}

/* ============================================================
 * 正文排版（Markdown 渲染内容）：首页时间线卡片与详情页共用同一份规则
 * 此前 .markdown-body / .article-body 两份副本已出现参数漂移
 * （图片圆角 12/14、引用边线 #d1d1d6/#c7c7cc、列表缩进 1.5/1.4rem），此处统一为一套。
 * ============================================================ */
.markdown-body {
    /* 容器用 normal：块级元素之间的换行不再被 pre-wrap 渲染成空行（此前段距虚高约一倍）。
       段落内的单换行改由 p / li 上的 pre-wrap 保留，作者写作习惯不受影响。 */
    white-space: normal; word-break: break-word; overflow-wrap: break-word;
    /* 即刻感微调：正文 16px（信息密度）/ 行距 1.7 / 偏灰 #333——层级靠灰度拉开，标题保持深色形成对比；
       字重 400（normal）：首页对比试排后定稿，正文统一 400，标题 strong/h 仍为 600 */
    font-size: 16px; line-height: 1.7; font-weight: 400;
    letter-spacing: 0.01em;
    color: #333333;
    /* 详情页卡片内容宽 672px（约 40 字/行）偏宽，限到 36em（约 36 字/行）并居中；
       首页动态卡内容仅 536px，不受此限制影响。 */
    max-width: 36em;
    margin-left: auto;
    margin-right: auto;
}
html.dark .markdown-body { color: rgba(255, 255, 255, 0.9); }
.markdown-body > :first-child { margin-top: 0; }
.markdown-body p {
    margin: 0 0 16px; white-space: pre-wrap; word-break: break-word; overflow-wrap: break-word;
}
.markdown-body ul, .markdown-body ol { margin: 0 0 16px; padding-left: 1.5rem; }
.markdown-body ul { list-style-type: disc; }
.markdown-body ol { list-style-type: decimal; }
/* 紧凑列表的 <li> 内不含 <p>，软换行必须在 li 上单独保留；顺带给出条目间距 */
.markdown-body li { white-space: pre-wrap; margin-bottom: 6px; }
.markdown-body li > p { margin-bottom: 6px; }
.markdown-body blockquote {
    margin: 20px 0; border-left: 3px solid #d1d1d6; padding: 0.1rem 0 0.1rem 1rem;
    color: #6e6e73; background: transparent;
}
html.dark .markdown-body blockquote { border-left-color: #48484a; color: #8E8E93; }
.markdown-body strong { font-weight: 600; }
.markdown-body a { color: #0071e3; text-decoration: none; }
.markdown-body a:hover { text-decoration: underline; }
html.dark .markdown-body a { color: #409cff; }
.markdown-body h1, .markdown-body h2, .markdown-body h3 {
    margin: 34px 0 12px; font-weight: 600; line-height: 1.25; letter-spacing: -0.02em;
    color: #1d1d1f;
}
.markdown-body h1 { font-size: 24px; }
.markdown-body h2 { font-size: 20px; }
.markdown-body h3 { font-size: 18px; }
html.dark .markdown-body h1, html.dark .markdown-body h2, html.dark .markdown-body h3 { color: #f5f5f7; }
/* 正文内嵌图片：12px 圆角与站点媒体语言一致（post-image / article-media-image 均为 rounded-xl） */
.markdown-body img {
    max-width: 100%; height: auto; margin: 1rem auto; border-radius: 12px; cursor: zoom-in;
}
.markdown-body pre {
    overflow-x: auto; margin: 16px 0; border-radius: 12px; padding: 1rem 1.1rem;
    color: #f5f5f7; background: #1d1d1f; font-size: 0.875rem; line-height: 1.55;
}
html.dark .markdown-body pre { background: #000; color: #e8e8ed; }
.markdown-body code {
    border-radius: 6px; padding: 0.12rem 0.35rem; background: rgba(0, 0, 0, 0.06); font-size: 0.9em;
}
html.dark .markdown-body code { background: rgba(255, 255, 255, 0.12); color: #f5f5f7; }
.markdown-body pre code { padding: 0; background: transparent; }
.markdown-body table {
    display: block; overflow-x: auto; margin-bottom: 20px; border-collapse: collapse;
    font-size: 0.9375rem;
}
.markdown-body th, .markdown-body td {
    border: 1px solid #d1d1d6; padding: 0.5rem 0.75rem; text-align: left;
}
html.dark .markdown-body th, html.dark .markdown-body td { border-color: #48484a; }
.markdown-body hr { margin: 32px auto; width: 35%; border: 0; border-top: 1px solid #e8e8ed; }
html.dark .markdown-body hr { border-top-color: #3a3a3c; }

/* 首页时间线卡片的正文整体再降一档到 15px（信息流密度感，详情页保持 16px）；
   .long-post 是首页卡片独有容器，详情页无此类不受影响。 */
.long-post .markdown-body { font-size: 15px; }

/* 首页长文卡片的正文预览：标题层级已由卡片标题承担，预览内整体收一档，
   保证「卡片标题 21px > # 20px > ## 19px > 段落 15px」严格不倒挂；详情页不受影响。 */
.long-post-content h1 { font-size: 20px; }
.long-post-content h2 { font-size: 19px; }
.long-post-content h3 { font-size: 17px; }

/* ---------- 图片查看器：浮层打开时锁滚动（首页与详情页共用） ---------- */
body.image-viewer-open { overflow: hidden; }



/* ---------- 归档统计数字更新微动效：发布/删除后数字轻跳一下 ---------- */
@keyframes moments-stat-bump {
    0% { transform: scale(1); }
    40% { transform: scale(1.22); }
    100% { transform: scale(1); }
}
.stat-bump { animation: moments-stat-bump 0.35s ease-out; }

