
:root {
    --mom-bg: #f2f2f2;
    --mom-card: #ffffff;
    --mom-name: #576b95;
    --mom-text: #191919;
    --mom-sub: #666666;
    --mom-time: #b2b2b2;
    --mom-line: #f0f0f0;
    --mom-brand: #1c499e;
    --mom-brand-deep: #143a7e;
    --mom-accent: #c8902a;
}

/* 作用域限定：仅作用于 BeautyTimes 信息流，不影响公共导航/页脚 */
body.mom-page { background: var(--mom-bg); }
@media (max-width: 768px) {
    body.mom-page { margin: 0; padding: 0; }
}

.mom-wrap,
.mom-wrap * { box-sizing: border-box; }
.mom-wrap,
.mom-wrap * { margin: 0; padding: 0; }

.mom-wrap {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--mom-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.mom-wrap a { text-decoration: none; }
.mom-wrap button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }

.mom-wrap {
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
    background: var(--mom-card);
    box-shadow: 0 0 40px rgba(0, 0, 0, .05);
}

/* ===== 顶部相册封面 ===== */
.mom-cover {
    position: relative;
    background: linear-gradient(135deg, #0a2463 0%, #1c499e 50%, #3b82d9 100%);
    color: #fff;
    padding: 0 16px 20px;
    overflow: hidden;
}
.mom-cover::after {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 82% 18%, rgba(255,255,255,.16), transparent 42%),
        radial-gradient(circle at 12% 90%, rgba(255,255,255,.10), transparent 48%);
    pointer-events: none;
}
.mom-watermark {
    position: absolute; right: 20px; bottom: 20px;
    font-size: 112px; font-weight: 900; line-height: 1;
    color: rgba(255,255,255,.06); letter-spacing: 2px;
    pointer-events: none; user-select: none; white-space: nowrap;
}
.mom-cover-layout { position: relative; z-index: 1; }

/* ===== 面包屑 ===== */
.mom-crumb {
    position: relative; z-index: 2;
    display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
    padding: 14px 0 0;
    font-size: 12px;
}
.mom-crumb a { color: rgba(255,255,255,.72); }
.mom-crumb a:hover { color: #fff; text-decoration: underline; }
.mom-crumb-sep { color: rgba(255,255,255,.38); }
.mom-crumb-cur { color: #fff; font-weight: 600; }
.mom-cover-inner { display: flex; align-items: flex-start; gap: 16px; padding: 40px 0px;}
.mom-logo {
    width: 60px; height: 60px; border-radius: 14px;
    background: #fff; color: var(--mom-brand);
    display: grid; place-items: center;
    font-size: 24px; font-weight: 800;
    box-shadow: 0 6px 18px rgba(0,0,0,.28);
    flex-shrink: 0;
}
.mom-brand h1 { font-size: 21px; font-weight: 800; letter-spacing: .5px; }
.mom-brand p { font-size: 13px; color: rgba(255,255,255,.85); margin-top: 3px; }
.mom-brand .mom-intro {
    margin-top: 12px; font-size: 13px; line-height: 1.8;
    color: rgba(255,255,255,.82); max-width: 400px;
}
.mom-live {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 9px; font-size: 12px; color: #c6f6d5;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px; padding: 3px 11px;
}
.mom-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #22c55e; animation: mom-pulse 1.6s ease-out infinite;
}
@keyframes mom-pulse {
    0% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); }
    70% { box-shadow: 0 0 0 7px rgba(34,197,94,0); }
    100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

/* ===== 封面亮点（仅 PC 端显示） ===== */
.mom-features { display: none; }
.mom-feature {
    display: flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 12px; padding: 12px 14px;
}
.mom-feature-ico {
    width: 34px; height: 34px; flex-shrink: 0;
    display: grid; place-items: center;
    background: rgba(255,255,255,.16); border-radius: 9px; color: #fff;
}
.mom-feature-ico svg { width: 18px; height: 18px; }
.mom-feature-title { font-size: 14px; font-weight: 700; color: #fff; line-height: 1.3; }
.mom-feature-sub { font-size: 12px; color: rgba(255,255,255,.72); margin-top: 2px; }

@media (min-width: 769px) {
    .mom-cover-layout { display: flex; gap: 32px; align-items: center; }
    .mom-cover-inner { flex: 0 0 40%; }
    .mom-features { flex: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ===== 日期分隔条 ===== */
.mom-day[hidden] { display: none; }
.mom-day-label { display: flex; justify-content: center; padding: 18px 16px 8px; }
.mom-day-label span,
.mom-day-label a {
    font-size: 12px; color: #888;
    background: #f2f3f5; border-radius: 999px; padding: 4px 16px;
}
.mom-day-label a:hover { color: var(--mom-brand); background: #e8ecf5; }

/* ===== 近7天日期标签（PC 端） ===== */
.mom-days-nav { display: none; }
@media (min-width: 769px) {
    .mom-days-nav {
        display: flex;
        align-items: center;
        padding: 12px 16px;
        border-bottom: 1px solid var(--mom-line);
        background: #fff;
    }
    .mom-day-tab {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        padding: 8px 4px;
        border-radius: 10px;
        transition: background .15s;
    }
    .mom-day-tab:hover { background: #f2f5fb; }
    .mom-day-tab.active { background: var(--mom-brand); }
    .mom-day-tab-label { font-size: 12px; color: #888; }
    .mom-day-tab-date { font-size: 13px; font-weight: 700; color: #333; }
    .mom-day-tab.active .mom-day-tab-label,
    .mom-day-tab.active .mom-day-tab-date { color: #fff; }
}

/* ===== 单条动态 ===== */
.mom-post { padding: 14px 18px 12px; border-bottom: 1px solid var(--mom-line); }
.mom-head { display: flex; align-items: flex-start; gap: 12px; }
.mom-ava {
    width: 44px; height: 44px; border-radius: 8px; flex-shrink: 0;
    display: grid; place-items: center;
    font-size: 19px; font-weight: 700; color: #fff;
}
.mom-meta { flex: 1; min-width: 0; }
.mom-name-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mom-src { font-size: 15px; font-weight: 600; color: var(--mom-name); line-height: 1.3; }
.mom-src[data-intro] { cursor: help; border-bottom: 1px dashed #c9c9c9; }
.mom-src[data-intro]:hover { color: var(--mom-brand); }
.mom-media-tip {
    position: fixed;
    z-index: 99999;
    max-width: 320px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #e5e8ee;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    font-size: 13px;
    line-height: 1.7;
    color: #333;
    display: none;
    pointer-events: none;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.mom-media-tip.show { display: block; }
.mom-media-tip-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--mom-brand);
    margin-bottom: 4px;
}
.mom-cat {
    font-size: 11px; color: var(--mom-brand);
    background: #eef2fb; border-radius: 5px; padding: 2px 8px; white-space: nowrap;
    margin-left: auto;
}
.mom-time { font-size: 12px; color: var(--mom-time); margin-top: 2px; }
.mom-time b { color: var(--mom-accent); font-weight: 700; }

.mom-body { margin-top: 10px; padding-left: 56px; }
.mom-title { font-size: 15.5px; font-weight: 600; color: var(--mom-text); line-height: 1.5; }
.mom-sum {
    margin-top: 5px; font-size: 13.5px; color: var(--mom-sub); line-height: 1.7;
}
.mom-tags { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 8px; }
.mom-tag { font-size: 13px; color: var(--mom-name); }
.mom-wrap .mom-share-img {
    display: inline-block;
    margin-left: 56px;
    margin-top: 8px;
    font-size: 12px;
    color: var(--mom-brand);
    background: #eef2fb;
    border-radius: 6px;
    padding: 4px 12px;
}
.mom-wrap .mom-share-img:hover { background: var(--mom-brand); color: #fff; }

/* ===== 分享图模态框 ===== */
.mom-share-modal { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; }
.mom-share-modal.show { display: flex; }
.mom-share-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.72); }
.mom-share-dialog { position: relative; z-index: 1; width: 92%; max-width: 460px; max-height: 92vh; overflow: auto; background: #fff; border-radius: 12px; padding: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.mom-share-close { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border: none; cursor: pointer; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; font-size: 22px; line-height: 1; z-index: 2; }
.mom-share-img-view { display: block; width: 50%; margin: 0 auto; border-radius: 8px; }
.mom-share-download { display: block; margin-top: 12px; text-align: center; padding: 11px 0; background: var(--mom-brand); color: #fff; border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none; }
.mom-share-download:hover { background: var(--mom-brand-deep); }
@media (max-width: 768px) {
    .mom-share-download { display: none; }
}

/* ===== 加载更多 / 空态 / 页脚 ===== */
.mom-more-wrap { text-align: center; padding: 16px; }
.mom-more {
    display: inline-block; font-size: 13px; color: var(--mom-brand);
    background: #eef2fb; border-radius: 999px; padding: 8px 26px; transition: background .2s;
}
.mom-more:hover { background: #e0e8fa; }
.mom-more:disabled { opacity: .5; cursor: default; }
.mom-empty { text-align: center; padding: 80px 20px; color: #999; }
.mom-empty h2 { font-size: 18px; color: #666; margin-bottom: 8px; }
.mom-footer { text-align: center; padding: 26px 16px 34px; font-size: 12px; color: #b0b0b0; margin-bottom: 20px;}
@media (max-width: 768px) {
    .mom-footer { margin: 0; padding: 0; }
}
.mom-footer a { color: #999; }
.mom-footer-qr { display: none; margin-bottom: 14px; text-align: center; }
.mom-footer-qr img { width: 120px; height: 120px; border-radius: 8px; border: 1px solid #eef0f3; }
.mom-footer-qr p { font-size: 12px; color: #999; margin-top: 6px; }
@media (max-width: 900px) {
    .mom-footer-qr { display: block; }
}

/* ===== 每日视图（daily.php） ===== */
.mom-back { display: inline-block; margin-top: 10px; font-size: 13px; color: #c6f6d5; }
.mom-back:hover { color: #fff; }
.daily-nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 20px; border-bottom: 1px solid var(--mom-line); background: #fff;
}
.daily-nav-date { font-size: 14px; font-weight: 700; color: #222; }
.daily-nav-btn {
    display: inline-block; font-size: 13px; color: var(--mom-brand);
    background: #eef2fb; border-radius: 999px; padding: 6px 16px;
}
.daily-nav-btn:hover { background: var(--mom-brand); color: #fff; }
.daily-nav-btn.disabled { opacity: .4; pointer-events: none; }

/* ===== PC 端左右分栏：左侧信息流 + 右侧统计 ===== */
.mom-layout { display: flex; gap: 24px; align-items: flex-start; }
.mom-main { flex: 1; min-width: 0; display: flex; gap: 24px; align-items: flex-start; }
.mom-cats-side { width: 100px; flex-shrink: 0; }
.mom-feed { flex: 1; min-width: 0; }
.mom-cats-qr { margin-top: 18px; text-align: center; }
.mom-cats-qr-img { width: 100px; height: 100px; border-radius: 6px; border: 1px solid #eef0f3; padding: 10px;}
.mom-cats-qr p { font-size: 11px; color: #999; margin-top: 6px; line-height: 1.4; }
.mom-cats-title { font-size: 14px; font-weight: 700; color: #222; margin-bottom: 10px; padding-left: 4px; }
.mom-cat-link {
    display: flex; align-items: center;
    font-size: 13px; color: #555; padding: 8px 12px; border-radius: 8px;
    margin-bottom: 2px; transition: background .15s, color .15s;
}
.mom-cat-link:hover { background: #f2f5fb; color: var(--mom-brand); }
.mom-cat-link.active { background: var(--mom-brand); color: #fff; }
.mom-side { width: 320px; flex-shrink: 0; }

.mom-side-card {
    background: #fff; border: 1px solid #eef0f3; border-radius: 12px;
    padding: 20px; margin-bottom: 16px; box-shadow: 0 2px 8px rgba(0,0,0,.03);
}
.mom-side-card:last-child { margin-bottom: 0; }
.mom-side-card h3 {
    font-size: 15px; color: #222; font-weight: 700;
    margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid #f0f0f0;
}
.mom-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mom-stat { background: #f7f9fc; border: 1px solid #eef1f6; border-radius: 10px; padding: 14px 10px; text-align: center; }
.mom-stat-num { display: block; font-size: 22px; font-weight: 800; color: var(--mom-brand); line-height: 1.1; }
.mom-stat-label { display: block; font-size: 12px; color: #8a94a6; margin-top: 5px; }
.mom-cat-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 13px; }
.mom-cat-name { flex: 0 0 auto; color: #444; min-width: 60px; }
.mom-cat-bar { flex: 1; height: 8px; background: #eef1f6; border-radius: 999px; overflow: hidden; }
.mom-cat-bar i { display: block; height: 100%; background: var(--mom-brand); border-radius: 999px; }
.mom-cat-count { flex: 0 0 auto; color: #999; font-size: 12px; }
.mom-about { font-size: 13px; color: #6b7280; line-height: 1.8; }

@media (min-width: 901px) {
    .mom-layout { padding: 16px 20px 0; }
    .mom-side { position: sticky; top: 84px; }
    .mom-cats-side { position: sticky; top: 84px; }
}
@media (max-width: 900px) {
    .mom-side { display: none; }
    .mom-cats-side { display: none; }
    .mom-main { display: block; }
}

@media (max-width: 640px) {
    .mom-wrap { box-shadow: none; }
    .mom-ava { width: 42px; height: 42px; font-size: 18px; }
    .mom-body { padding-left: 54px; }
}

/* PC 端显示公共导航/页脚，移动端隐藏 */
.mom-pc-nav,
.mom-pc-footer { display: block; }
@media (max-width: 768px) {
    .mom-pc-nav,
    .mom-pc-footer { display: none !important; }
}
/* PC 端顶部为固定导航（64px），内容整体下移并留出间距 */
@media (min-width: 769px) {
    .mom-wrap { margin-top: 84px; border-bottom-left-radius: 16px; border-bottom-right-radius: 16px; margin-bottom: 20px;}
    .mom-cover { padding: 32px 20px 26px; border-top-left-radius: 16px; border-top-right-radius: 16px; }
}
