/* ============================================================
   Love Diary · 毛玻璃皮肤 + 封面雪花
   尽量把实时模糊限制在小面积固定元素上，避免整页重绘卡顿
   ============================================================ */

:root {
    --glass-bg: rgba(255, 255, 255, .74);
    --glass-bg-strong: rgba(255, 255, 255, .86);
    --glass-border: rgba(255, 255, 255, .78);
    --glass-shadow: 0 16px 34px -30px rgba(70, 45, 55, .45),
        inset 0 1px 0 rgba(255, 255, 255, .8);
}

html { background-color: #f6f3f5; }

body {
    background-color: #f6f3f5;
    background-image:
        radial-gradient(rgba(120, 92, 104, .09) 1px, transparent 1.2px),
        radial-gradient(90vw 90vw at 0% -12%, rgba(255, 196, 208, .52), transparent 62%),
        radial-gradient(80vw 80vw at 100% 4%, rgba(206, 194, 255, .36), transparent 60%);
    background-size: 20px 20px, auto, auto;
    background-repeat: repeat, no-repeat, no-repeat;
}

/* 顶部导航：滚动后变成玻璃条 */
body .mn.is-solid {
    background: rgba(255, 255, 255, .62);
    color: var(--ink, #3d2b31);
    border-bottom: 1px solid rgba(255, 255, 255, .72);
    box-shadow: 0 16px 36px -34px rgba(64, 40, 52, .5);
    -webkit-backdrop-filter: blur(18px) saturate(170%);
    backdrop-filter: blur(18px) saturate(170%);
}

/* 主容器：用半透明白代替大面积实时模糊 */
body .stream,
body .page {
    background: rgba(255, 255, 255, .84);
    border: 1px solid var(--glass-border);
    border-radius: 26px;
    box-shadow: var(--glass-shadow);
}

body .stream > .post { border-bottom-color: rgba(61, 43, 49, .08); }

body .stream > .post:hover { background: rgba(255, 255, 255, .28); }

/* 底部胶囊导航（固定小面积，保留模糊） */
body .dock {
    background: rgba(255, 255, 255, .6);
    border: 1px solid rgba(255, 255, 255, .78);
    box-shadow: 0 22px 44px -30px rgba(64, 40, 52, .55), inset 0 1px 0 rgba(255, 255, 255, .8);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
}

body .dock-item:not(.is-active):hover { background: rgba(255, 255, 255, .5); }

/* 卡片：半透明 + 高光边，不做实时模糊 */
body .msg-card,
body .album-entry,
body .wish-card,
body .wish-progress,
body .wish-keepsake,
body .music-card,
body .mp,
body .empty {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

body .album-entry,
body .msg-card,
body .wish-card,
body .wish-progress,
body .wish-keepsake { border-radius: 18px; }

body .bl-modal .bl-mask {
    background: rgba(40, 30, 36, .34);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

body .bl-dialog {
    background: rgba(255, 255, 255, .88);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 40px 90px -50px rgba(64, 40, 52, .6);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    backdrop-filter: blur(14px) saturate(150%);
}

body .cmt-form input,
body .bl-field input,
body .bl-field textarea,
body .bl-field--qq input {
    background: rgba(255, 255, 255, .74);
    border: 1px solid rgba(255, 255, 255, .85);
    box-shadow: inset 0 1px 2px rgba(64, 40, 52, .04);
}

body .cmt-form input:focus,
body .bl-field input:focus,
body .bl-field textarea:focus {
    outline: none;
    border-color: rgba(194, 96, 122, .45);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(194, 96, 122, .1);
}

body .toast {
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(255, 255, 255, .8);
    box-shadow: 0 20px 40px -30px rgba(64, 40, 52, .5);
}

/* ------------------------------------------------------------
   封面雪花（只在封面上飘，不影响正文阅读）
   ------------------------------------------------------------ */

.cover-snow {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
}

.cover-inner { z-index: 2; }

.cover-snow i {
    position: absolute;
    top: -100%;
    left: -6%;
    display: block;
    width: 112%;
    height: 200%;
    background-image:
        radial-gradient(2.2px 2.2px at 18px 26px, rgba(255, 255, 255, .95), transparent 55%),
        radial-gradient(1.4px 1.4px at 76px 88px, rgba(255, 255, 255, .8), transparent 62%),
        radial-gradient(2.6px 2.6px at 142px 42px, rgba(255, 255, 255, .88), transparent 58%),
        radial-gradient(1.2px 1.2px at 44px 164px, rgba(255, 255, 255, .72), transparent 64%),
        radial-gradient(2px 2px at 176px 138px, rgba(255, 255, 255, .85), transparent 58%),
        radial-gradient(1.6px 1.6px at 112px 182px, rgba(255, 255, 255, .75), transparent 60%),
        radial-gradient(2.4px 2.4px at 198px 96px, rgba(255, 255, 255, .8), transparent 56%),
        radial-gradient(1.3px 1.3px at 8px 108px, rgba(255, 255, 255, .7), transparent 64%);
    background-size: 200px 200px;
    animation: coverSnow 10s linear infinite;
    opacity: .85;
}

.cover-snow i + i {
    background-size: 320px 320px;
    animation-duration: 17s;
    animation-delay: -6s;
    opacity: .48;
}

@keyframes coverSnow {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(0, 200px, 0); }
}

/* ------------------------------------------------------------
   封面与正文之间的波浪过渡
   ------------------------------------------------------------ */

.cover-bridge { display: none; }

@media (max-width: 980px) {
    body .cover {
        height: clamp(380px, 58vh, 560px);
    }

    .cover-bridge {
        position: relative;
        z-index: 3;
        display: block;
        height: 84px;
        margin-top: 0;
        pointer-events: none;
    }

    .cover-bridge-wave {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        display: block;
    }

    .cover-bridge-hint {
        position: absolute;
        left: 50%;
        bottom: 10px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 18px;
        border: 1px solid rgba(255, 255, 255, .8);
        border-radius: 999px;
        background: rgba(255, 255, 255, .58);
        color: #7d5b64;
        font-size: 10.5px;
        letter-spacing: .16em;
        white-space: nowrap;
        text-decoration: none;
        transform: translateX(-50%);
        box-shadow: 0 12px 28px -20px rgba(64, 40, 52, .4);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
        pointer-events: auto;
    }

    .cover-bridge-hint span {
        display: inline-block;
        color: var(--rose-deep, #9e4359);
        animation: bridgeFloat 1.9s ease-in-out infinite;
    }
}

@keyframes bridgeFloat {
    0%, 100% { transform: translateY(-1px); }
    50% { transform: translateY(2px); }
}

#story { scroll-margin-top: 64px; }

/* ------------------------------------------------------------
   视频弹窗：关闭按钮与残留处理
   ------------------------------------------------------------ */

.video-modal[hidden] { display: none !important; }

.vm-close-fixed { display: none; }

@media (max-width: 900px) {
    .vm-stage .vm-close { display: none; }

    .vm-close-fixed {
        position: fixed;
        top: calc(12px + env(safe-area-inset-top));
        right: 12px;
        z-index: 4;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        width: auto;
        height: 42px;
        padding: 0 16px;
        border: 1px solid rgba(255, 255, 255, .18);
        border-radius: 999px;
        background: rgba(20, 13, 11, .6);
        color: #fff;
        font-size: 16px;
        line-height: 1;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        cursor: pointer;
    }

    .vm-close-fixed span {
        font-size: 11px;
        letter-spacing: .16em;
    }
}

@media (max-width: 720px) {
    body .stream,
    body .page { border-radius: 20px; }
    body .msg-card,
    body .album-entry,
    body .wish-card { border-radius: 15px; }
}

/* 封面滚出视口后暂停雪花动画 */
.cover-snow.is-paused i { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
    .cover-snow i,
    .cover-bridge-hint span { animation: none; }
    html { scroll-behavior: auto; }
}

@media print {
    body { background: #fff !important; }
    body .stream,
    body .page { background: #fff !important; box-shadow: none; border-color: #eee; }
    .cover-snow,
    .cover-bridge { display: none !important; }
}

/* 过渡带底部渐白，避免和正文之间出现生硬的分段 */
@media (max-width: 980px) {
    .cover-bridge::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .32) 42%, rgba(255, 255, 255, .7) 76%, rgba(255, 255, 255, .9) 100%);
        pointer-events: none;
    }

    .cover-bridge-wave { z-index: 1; }

    .cover-bridge-hint {
        z-index: 2;
        background: rgba(255, 255, 255, .78);
    }
}

/* ------------------------------------------------------------
   首页顶部导航（参考第三张图：品牌 + 两个胶囊）
   ------------------------------------------------------------ */

.mn.mn-homebar {
    background: rgba(255, 255, 255, .58);
    color: var(--ink, #3d2b31);
    border-bottom: 1px solid rgba(255, 255, 255, .75);
    box-shadow: 0 14px 30px -30px rgba(64, 40, 52, .45);
    -webkit-backdrop-filter: blur(18px) saturate(175%);
    backdrop-filter: blur(18px) saturate(175%);
}

.mn.mn-homebar .mn-title {
    color: var(--ink, #3d2b31);
    text-shadow: none;
}

.mn-home {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.mn-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, .82);
    border-radius: 999px;
    background: rgba(255, 255, 255, .58);
    color: #6b535c;
    font-size: .72rem;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 10px 24px -22px rgba(64, 40, 52, .55);
}

.mn-pill svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mn-pill b { font-size: .78rem; font-weight: 600; color: #4a333b; }
.mn-pill em { font-size: .64rem; font-style: normal; color: #9a838b; }
.mn-pill span { letter-spacing: .06em; }

@media (max-width: 980px) {
    body.is-home .cover { margin-top: var(--nav-h, 52px); }

    .mn-pill { padding: 7px 11px; }
    .mn.mn-homebar { border-radius: 0 0 18px 18px; }
}

/* 波浪覆盖到封面底部，和正文直接相接 */
@media (max-width: 980px) {
    .cover-bridge {
        height: 96px;
        margin-top: -72px;
    }

    .cover-bridge::before { display: none; }
    .cover-bridge-hint { display: none; }
    .cover-bridge-wave path { fill: rgba(255, 255, 255, .94); }
}

/* 无封面页面（清单 / 倒数日）直接进入内容 */
.layout.layout--plain {
    display: block;
    max-width: 860px;
    margin: 0 auto;
    padding: calc(var(--nav-h, 52px) + 22px) 16px 0;
}

.layout--plain .layout-main { width: 100%; }
.layout--plain .wish-page,
.layout--plain .cd-page { padding-top: 0; }

.layout--plain .end {
    margin: 18px 0 0;
    text-align: center;
}

/* 无封面页面：顶栏也用浅色玻璃，避免白字落在浅背景上 */
.mn.mn-plain {
    background: rgba(255, 255, 255, .55);
    color: var(--ink, #3d2b31);
    border-bottom: 1px solid rgba(255, 255, 255, .72);
    box-shadow: 0 12px 28px -28px rgba(64, 40, 52, .4);
    -webkit-backdrop-filter: blur(16px) saturate(165%);
    backdrop-filter: blur(16px) saturate(165%);
}

.mn.mn-plain .mn-title {
    color: var(--ink, #3d2b31);
    text-shadow: none;
}

@media (max-width: 380px) {
    .mn-pill { padding: 6px 9px; gap: 4px; }
    .mn-pill b { font-size: .7rem; }
    .mn-pill em { display: none; }
}

/* 7 项底部导航的紧凑排版 */
@media (max-width: 720px) {
    .dock { gap: 0; padding: 6px 5px; }
    .dock-item { gap: 3px; padding: 7px 6px; font-size: 10px; }
    .dock-item svg { width: 20px; height: 20px; }
    .dock-item--home svg { width: 21px; height: 21px; }
}

@media (max-width: 360px) {
    .dock-item { padding: 6px 4px; font-size: 9.5px; }
    .dock-item svg { width: 18px; height: 18px; }
}

@media (min-width: 981px), (orientation: landscape) and (min-width: 640px) {
    body.is-home .layout { margin-top: 82px; }
}

/* ------------------------------------------------------------
   封面：相距距离 + 留言快捷键 + 头像光环
   ------------------------------------------------------------ */

.cover-distance {
    position: absolute;
    top: 64px;
    left: 50%;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 14px;
    background: rgba(32, 27, 25, .38);
    color: #fff;
    font-size: .78rem;
    letter-spacing: .03em;
    white-space: nowrap;
    transform: translateX(-50%);
    box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .55);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.cover-distance svg { width: 17px; height: 17px; flex: none; }
.cover-distance b { margin: 0 2px; font-family: 'Inter', sans-serif; font-size: .92rem; font-weight: 600; }

.cover-message {
    position: absolute;
    top: 64px;
    right: 14px;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff8498 0%, #f24b63 70%);
    color: #fff;
    box-shadow: 0 16px 30px -14px rgba(239, 66, 93, .75), inset 0 1px 0 rgba(255, 255, 255, .4);
    transition: transform .2s ease;
}

.cover-message:hover { transform: scale(1.05); }
.cover-message svg { width: 23px; height: 23px; fill: currentColor; }

body.is-home .cover-distance,
body.is-home .cover-message { top: 14px; }

body .cover-quote { display: none !important; }

body.is-dashboard .cover-avatar {
    width: 100px;
    height: 100px;
    border-width: 3px;
}

body.is-dashboard .cover-person-name {
    padding: 4px 16px;
    background: rgba(20, 16, 15, .58);
    backdrop-filter: blur(8px);
}

body.is-dashboard .cover-heart {
    width: 50px;
    height: 50px;
    margin-top: 22px;
    filter: drop-shadow(0 0 12px rgba(255, 95, 126, .5));
}

body.is-dashboard .cover-hero { gap: clamp(14px, 5vw, 38px); }

@media (max-width: 980px) {
    body.is-dashboard .cover-bridge-wave path { fill: rgba(255, 255, 255, .96); }
}

/* 头像外圈光环 */
body .cover-avatar {
    outline: 1px dashed rgba(255, 255, 255, .5);
    outline-offset: 6px;
    box-shadow:
        0 0 0 6px rgba(255, 255, 255, .08),
        0 18px 38px -16px rgba(0, 0, 0, .62),
        0 0 34px rgba(255, 200, 212, .28);
}

@media (max-width: 620px) {
    .cover-distance { top: 60px; padding: 8px 12px; font-size: .72rem; }
    .cover-message { top: 58px; right: 12px; width: 44px; height: 44px; }
    body.is-home .cover-distance,
    body.is-home .cover-message { top: 12px; }
    body.is-dashboard .cover-avatar { width: 86px; height: 86px; }
    body.is-dashboard .cover-heart { width: 42px; height: 42px; margin-top: 20px; }
}

#content { scroll-margin-top: var(--nav-h, 52px); }

/* 首页上部分收紧一些，减少空旷感 */
@media (max-width: 980px) {
    body .cover { height: clamp(320px, 44vh, 400px); }

    .hm-page { margin-top: 8px; }
    .hm-heading { padding: 2px 0 12px; }
    .hm-heading h2 { margin-top: 8px; }
    .hm-days { padding: 20px 16px 14px; }
    .hm-quote { margin: 0 4px 10px; }
    .hm-big { margin: 12px 0 0; }
    .hm-timer { margin-top: 10px; padding-top: 9px; }
    .hm-grid { margin-top: 8px; gap: 8px; }
    .hm-sections { margin-top: 8px; gap: 8px; }
    .hm-card { min-height: 92px; }
}

/* 私密动态 / 相册 */
.post--locked { padding: 22px 16px; }
.post-lock {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
    padding: 26px 16px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 18px;
    background: rgba(255, 255, 255, .55);
    text-align: center;
}
.post-lock-icon { color: #b98090; }
.post-lock-icon svg { width: 28px; height: 28px; }
.post-lock h3 { margin: 2px 0 0; font-family: 'Noto Serif SC', serif; font-size: 1rem; font-weight: 500; color: #5c424b; }
.post-lock p { margin: 0; color: #a18b92; font-size: .74rem; }

.item-unlock { display: flex; gap: 6px; margin-top: 10px; width: min(330px, 100%); }
.item-unlock input[type="password"] {
    flex: 1;
    min-width: 0;
    padding: 9px 12px;
    border: 1px solid rgba(61, 43, 49, .13);
    border-radius: 999px;
    background: #fff;
    font-family: inherit;
    font-size: .8rem;
    outline: none;
}
.item-unlock input[type="password"]:focus { border-color: rgba(194, 96, 122, .5); background: #fff; }
.item-unlock button {
    flex: none;
    padding: 9px 18px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #c2607a, #9e4359);
    color: #fff;
    font-family: inherit;
    font-size: .76rem;
    cursor: pointer;
}
.lock-error { width: 100%; margin: 0 0 2px; color: #b04b60; font-size: .72rem; }

/* 动态里的视频缩略 */
.post-imgs .ph.is-video { position: relative; padding: 0; }
.post-imgs .ph.is-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.post-video-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 18px;
    background: rgba(0, 0, 0, .18);
    text-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}

.album-lock {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 24px 16px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 16px;
    background: rgba(255, 255, 255, .5);
    text-align: center;
}

.album-lock h3 {
    margin: 2px 0 0;
    color: #5c424b;
    font-family: 'Noto Serif SC', serif;
    font-size: .96rem;
    font-weight: 500;
}

.album-lock p { margin: 0; color: #a18b92; font-size: .72rem; }
.archive-item.is-locked .archive-title { color: #8d747e; }

/* ------------------------------------------------------------
   私密内容：锁卡 + 解锁弹窗
   ------------------------------------------------------------ */

.private-card { width: 100%; }

.private-head {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 2px 2px 14px;
}

.private-avatar {
    display: grid;
    flex: none;
    place-items: center;
    width: 52px;
    height: 52px;
    overflow: hidden;
    border: 4px solid #f3ece9;
    border-radius: 16px;
    background: #f7f2ef;
    color: #a67d89;
    font-family: 'Noto Serif SC', serif;
    font-size: 1.1rem;
}

.private-avatar img { width: 100%; height: 100%; object-fit: cover; }
.private-meta { display: flex; flex-direction: column; min-width: 0; }
.private-meta b { color: #3e2c33; font-family: 'Noto Serif SC', serif; font-size: 1.08rem; font-weight: 600; }
.private-meta time { margin-top: 3px; color: #a18d95; font-size: .72rem; letter-spacing: .04em; }

.private-arrow {
    display: grid;
    flex: none;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-left: auto;
    padding: 0;
    border: 1px solid rgba(61, 43, 49, .12);
    border-radius: 50%;
    background: rgba(255, 255, 255, .72);
    color: #7d6971;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.private-arrow:hover { background: #fff; transform: translateX(2px); }
.private-arrow svg { width: 20px; height: 20px; }

.private-body {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 175px;
    padding: 20px 16px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 18px;
    background-color: #fff;
    background-image: radial-gradient(rgba(168, 158, 160, .28) 1.5px, transparent 1.5px);
    background-size: 22px 22px;
    color: #3b2d33;
    font-family: inherit;
    cursor: pointer;
    overflow: hidden;
}

.private-body--album { min-height: 185px; }

.private-finger {
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .96);
    color: #77878e;
    box-shadow: 0 20px 45px -22px rgba(61, 43, 49, .45), 0 0 0 1px rgba(255, 255, 255, .8);
}

.private-finger svg { width: 38px; height: 38px; }

.private-body strong {
    margin-top: 14px;
    font-family: 'Noto Serif SC', serif;
    font-size: 1.24rem;
    font-weight: 600;
    letter-spacing: .02em;
}

.post--locked { padding: 14px 12px; }

/* 弹窗 */
.unlock-modal {
    position: fixed;
    inset: 0;
    z-index: 160;
    display: grid;
    place-items: center;
    padding: 18px;
}

.unlock-modal[hidden] { display: none; }

.unlock-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(28, 21, 26, .38);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    backdrop-filter: blur(16px) saturate(120%);
}

.unlock-card {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(408px, 100%);
    max-height: calc(100dvh - 36px);
    padding: 26px 22px 18px;
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, .82);
    border-radius: 28px;
    background: rgba(255, 255, 255, .76);
    box-shadow: 0 40px 90px -40px rgba(38, 24, 31, .6);
    -webkit-backdrop-filter: blur(24px) saturate(130%);
    backdrop-filter: blur(24px) saturate(130%);
}

.unlock-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #9c8991;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.unlock-lock {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: #2d2430;
    color: #fff;
    box-shadow: 0 18px 34px -18px rgba(45, 36, 48, .7);
}

.unlock-lock svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.unlock-tag {
    margin-top: 12px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .9);
    color: #7f6973;
    font-size: .66rem;
    letter-spacing: .08em;
}

.unlock-title {
    margin: 9px 0 0;
    color: #3b2a31;
    font-family: 'Noto Serif SC', serif;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: .02em;
    text-align: center;
}

.unlock-days { margin: 5px 0 0; color: #9b858e; font-size: .7rem; letter-spacing: .04em; }
.unlock-days b { color: #6f5761; font-family: 'Inter', sans-serif; font-weight: 600; }

.unlock-form { width: 100%; margin-top: 16px; }

.unlock-input {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 49px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 13px;
    background: rgba(255, 255, 255, .72);
}

.unlock-input > svg { width: 18px; height: 18px; flex: none; color: #8f7d84; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.unlock-input input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    color: #3c2b32;
    font-family: inherit;
    font-size: .86rem;
    outline: none;
}
.unlock-input input::placeholder { color: #b2a0a7; }

.unlock-eye {
    display: grid;
    flex: none;
    place-items: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #9d8a91;
    cursor: pointer;
}
.unlock-eye svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.unlock-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 47px;
    margin-top: 11px;
    border: 0;
    border-radius: 13px;
    background: #2d2430;
    color: #fff;
    font-family: inherit;
    font-size: .82rem;
    letter-spacing: .06em;
    cursor: pointer;
}
.unlock-submit span { font-size: 1.1rem; line-height: 1; }

.unlock-error { margin: 0 0 8px; color: #b04b60; font-size: .72rem; text-align: center; }

.unlock-couple { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.unlock-avatar {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, .95);
    border-radius: 50%;
    background: #f4ece9;
    color: #9d7480;
    font-size: .8rem;
    box-shadow: 0 8px 18px -12px rgba(61, 43, 49, .5);
}
.unlock-avatar img { width: 100%; height: 100%; object-fit: cover; }
.unlock-couple em { width: 9px; height: 9px; border-radius: 50%; background: #ff5a7a; box-shadow: 0 0 12px rgba(255, 90, 122, .8); }

body.unlock-open { overflow: hidden; }

@media (max-width: 620px) {
    .unlock-card { padding: 24px 16px 16px; border-radius: 24px; }
    .unlock-title { font-size: 1.18rem; }
    .private-body { min-height: 168px; }
    .private-body--album { min-height: 178px; }
    .private-avatar { width: 46px; height: 46px; border-radius: 14px; }
    .private-arrow { width: 42px; height: 42px; }
}

/* 头像旁的身份角标 */
.avatar-with-badge {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-self: flex-start;
    vertical-align: middle;
}

.role-badge {
    position: absolute;
    right: -4px;
    bottom: -4px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 19px;
    height: 19px;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    line-height: 1;
    box-shadow: 0 4px 10px -4px rgba(20, 30, 50, .5);
}

.role-badge--male { background: #2f80ed; }
.role-badge--female { background: #f06a94; }

.album-author .avatar-with-badge { align-self: center; }
.album-author .role-badge { width: 17px; height: 17px; font-size: 10px; right: -3px; bottom: -3px; }

.private-head .avatar-with-badge { align-self: center; }

/* ------------------------------------------------------------
   顶部访问者天气
   ------------------------------------------------------------ */

.mn-weather {
    border: 0;
    font-family: inherit;
    cursor: pointer;
    gap: 6px;
}

.mn-weather-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #6f5963;
}
.mn-weather-icon svg { width: 18px; height: 18px; }
.mn-weather [data-weather-label] { font-size: .72rem; color: #6f5963; }
.mn-weather b { font-size: .78rem; color: #4a333b; }

.weather-pop {
    position: fixed;
    top: calc(var(--nav-h, 52px) + 10px);
    left: 50%;
    z-index: 150;
    width: min(398px, calc(100vw - 24px));
    transform: translateX(-50%);
}

.weather-card {
    position: relative;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 24px;
    background: rgba(238, 241, 232, .82);
    box-shadow: 0 30px 70px -34px rgba(40, 48, 36, .6);
    -webkit-backdrop-filter: blur(24px) saturate(135%);
    backdrop-filter: blur(24px) saturate(135%);
}

.weather-close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #8d8076;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.weather-main {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 4px 4px 16px;
}

.weather-icon-big {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .62);
    color: #45505b;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), 0 12px 24px -18px rgba(40, 48, 36, .45);
}
.weather-icon-big svg { width: 34px; height: 34px; }
.weather-icon-big.is-night { color: #6a617d; }

.weather-main-text { min-width: 0; }
.weather-main-text b { display: block; font-family: 'Noto Serif SC', serif; font-size: 1.08rem; font-weight: 600; color: #2f3b33; }
.weather-place { display: block; margin-top: 4px; overflow: hidden; color: #7b8a7c; font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }

.weather-current { color: #26322a; font-family: 'Inter', sans-serif; font-size: 2.3rem; font-weight: 500; line-height: 1; letter-spacing: -.04em; }

.weather-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }

.weather-metric {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 16px;
    background: rgba(255, 255, 255, .4);
}

.weather-mi {
    flex: none;
    width: 30px;
    height: 30px;
    padding: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .55);
    color: #687965;
}

.weather-mv { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.weather-mv > span { color: #859181; font-size: .64rem; letter-spacing: .04em; }
.weather-mv > b { overflow: hidden; color: #2f3b33; font-family: 'Inter', sans-serif; font-size: .96rem; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }

.weather-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(47, 59, 51, .08); }
.weather-foot > span { color: #7b8a7c; font-size: .66rem; }

.weather-refresh {
    padding: 6px 13px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 999px;
    background: rgba(255, 255, 255, .45);
    color: #586b5b;
    font-family: inherit;
    font-size: .68rem;
    cursor: pointer;
}

@media (max-width: 620px) {
    .weather-pop { top: calc(var(--nav-h, 52px) + 8px); }
    .weather-card { padding: 15px; border-radius: 21px; }
    .weather-main { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; }
    .weather-icon-big { width: 52px; height: 52px; border-radius: 17px; }
    .weather-icon-big svg { width: 30px; height: 30px; }
    .weather-current { font-size: 2rem; }
    .weather-metric { padding: 10px 12px; }
}

/* 各栏目统一标题（参考图二） */
.section-heading {
    padding: 6px 12px 22px;
    text-align: center;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #bb8b99;
    font-family: 'Cormorant Garamond', 'Noto Serif SC', serif;
    font-size: .78rem;
    font-style: italic;
    letter-spacing: .2em;
}

.section-kicker i {
    font-style: normal;
    font-size: .82rem;
    letter-spacing: 0;
    color: #c99ba8;
}

.section-heading h2 {
    margin: 14px 0 0;
    color: #3d2b31;
    font-family: 'Noto Serif SC', serif;
    font-size: clamp(1.55rem, 6vw, 2.1rem);
    font-weight: 600;
    letter-spacing: .06em;
    line-height: 1.35;
}

.section-heading p {
    margin: 8px 0 0;
    color: #9a838b;
    font-size: .74rem;
    line-height: 1.7;
}

.stream--headed > .post:first-child { padding-top: 22px; }

@media (max-width: 620px) {
    .section-heading { padding: 4px 14px 18px; }
    .section-kicker { font-size: .7rem; gap: 9px; }
    .section-heading h2 { margin-top: 11px; font-size: 1.5rem; }
}

/* 天气卡缩小并靠左，留出右侧留言快捷键 */
.weather-pop {
    left: max(12px, calc(50% - 330px));
    width: min(320px, calc(100vw - 88px));
    transform: none;
}

.weather-card { padding: 14px; border-radius: 20px; }
.weather-main { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 9px; padding-bottom: 12px; }
.weather-icon-big { width: 48px; height: 48px; border-radius: 15px; }
.weather-icon-big svg { width: 28px; height: 28px; }
.weather-main-text b { font-size: .98rem; }
.weather-place { font-size: .65rem; }
.weather-current { font-size: 1.85rem; }
.weather-grid { gap: 7px; }
.weather-metric { gap: 7px; padding: 8px 9px; border-radius: 13px; }
.weather-mi { width: 25px; height: 25px; padding: 4px; }
.weather-mv > span { font-size: .59rem; }
.weather-mv > b { font-size: .84rem; }
.weather-foot { margin-top: 10px; padding-top: 9px; }
.weather-foot > span { font-size: .6rem; }
.weather-refresh { padding: 5px 10px; font-size: .62rem; }

/* 留言快捷键：圆角方形 */
.cover-message {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(145deg, #ff8a9b 0%, #f2435f 75%);
    box-shadow: 0 16px 32px -14px rgba(239, 66, 93, .78), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.cover-message svg { width: 27px; height: 27px; }

/* 封面爱心与点击闪光 */
.cover-heart {
    position: relative;
    display: grid;
    place-items: center;
    align-self: center;
    width: 58px;
    height: 54px;
    margin-top: -8px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    overflow: visible;
    -webkit-tap-highlight-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(239, 47, 91, .45));
    z-index: 2;
}

.cover-heart::before {
    content: "";
    position: absolute;
    inset: 5px;
    border: 2px solid rgba(255, 185, 200, .85);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}

.cover-heart.is-popping::before { animation: heartRing .75s ease-out; }

.cover-heart svg { display: block; width: 100%; height: 100%; overflow: visible; transition: transform .18s ease; }
.cover-heart:active svg { transform: scale(.92); }
.cover-heart:focus-visible { outline: 2px solid rgba(255, 255, 255, .8); outline-offset: 4px; border-radius: 50%; }

.cover-heart.is-popping svg { animation: heartPop .68s cubic-bezier(.22, 1.4, .36, 1); }
.cover-heart.is-popping .heart-glow { animation: heartGlow .8s ease-out; }

.heart-glow {
    position: absolute;
    inset: -16px;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 127, 158, .55) 0%, rgba(255, 95, 126, .18) 38%, transparent 68%);
    opacity: .55;
    pointer-events: none;
}

.heart-spark {
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--size, 6px);
    height: var(--size, 6px);
    background: #fff3c4;
    clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%);
    box-shadow: 0 0 10px rgba(255, 226, 150, .95);
    pointer-events: none;
    animation: heartSpark 1.05s ease-out forwards;
    animation-delay: var(--delay, 0s);
    transform: translate(-50%, -50%);
}

@keyframes heartRing {
    0% { opacity: .9; transform: scale(.45); }
    100% { opacity: 0; transform: scale(1.8); }
}

@keyframes heartPop {
    0% { transform: scale(1); }
    28% { transform: scale(1.16); }
    55% { transform: scale(.97); }
    100% { transform: scale(1); }
}

@keyframes heartGlow {
    0% { opacity: .7; transform: scale(.8); }
    40% { opacity: 1; transform: scale(1.15); }
    100% { opacity: .55; transform: scale(1); }
}

@keyframes heartSpark {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(.45) rotate(0deg); }
    28% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(20deg); }
    100% {
        opacity: 0;
        transform: translate(calc(-50% + var(--tx, 0px)), calc(-50% + var(--ty, -26px))) scale(.55) rotate(140deg);
    }
}

@media (max-width: 620px) {
    .weather-pop { left: 12px; width: min(304px, calc(100vw - 86px)); }
    .weather-card { padding: 12px; }
    .cover-message { width: 48px; height: 48px; border-radius: 14px; }
    .cover-message svg { width: 24px; height: 24px; }
    .cover-heart { width: 48px; height: 45px; margin-top: -6px; }
}

.weather-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.weather-precise {
    padding: 5px 9px;
    border: 0;
    background: transparent;
    color: #7c8d7d;
    font-family: inherit;
    font-size: .6rem;
    cursor: pointer;
}
.weather-precise:disabled { opacity: .55; cursor: default; }

/* 首页头像与其它页保持一致 */
body.is-dashboard .cover-avatar {
    width: 94px;
    height: 94px;
    border-width: 3px;
}

@media (max-width: 620px) {
    body.is-dashboard .cover-avatar {
        width: 76px;
        height: 76px;
        border-width: 2.5px;
    }
}

/* 留言快捷键：参考图的纯红圆角方形 + 白色气泡 */
.cover-message {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: #ff5a68;
    box-shadow: 0 14px 28px -14px rgba(255, 90, 104, .8);
}

.cover-message svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

@media (max-width: 620px) {
    .cover-message {
        width: 50px;
        height: 50px;
        border-radius: 16px;
    }
    .cover-message svg { width: 27px; height: 27px; }
}

/* 图片圆角拼图 */
.post-imgs {
    gap: 6px;
    width: 100%;
    max-width: 520px;
    margin-top: 10px;
}

.post-imgs.n1 { width: 100%; max-width: 520px; }
.post-imgs.n2,
.post-imgs.n4 { width: 100%; max-width: 520px; }
.post-imgs.n9 { width: 100%; max-width: 520px; grid-template-columns: repeat(3, 1fr); }

.post-imgs .ph {
    border-radius: 16px;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f3efec;
}

.post-imgs.n1 .ph {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
}

.post-imgs.n3 {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: 1fr 1fr;
    aspect-ratio: 4 / 3;
    width: 100%;
    max-width: 520px;
    gap: 6px;
}

.post-imgs.n3 .ph { aspect-ratio: auto; height: 100%; }
.post-imgs.n3 .ph:first-child { grid-row: span 2; }

.album-media {
    gap: 6px;
    border-radius: 18px;
    overflow: visible;
}

.album-ph { border-radius: 14px; overflow: hidden; }
.album-media.one .album-ph { border-radius: 18px; }

.album-media.three {
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: 1fr 1fr;
    aspect-ratio: 4 / 3;
    max-width: 560px;
}

.album-media.three .album-ph { aspect-ratio: auto; height: 100%; }
.album-media.three .album-ph:first-child { grid-row: span 2; }

.music-card--link { text-decoration: none; color: inherit; }
.music-card--link .music-info { text-decoration: none; }
.music-open {
    display: grid;
    flex: none;
    place-items: center;
    width: 28px;
    height: 28px;
    color: #9b7d86;
    font-size: 18px;
    line-height: 1;
}

@media (max-width: 620px) {
    .post-imgs .ph { border-radius: 14px; }
    .album-ph { border-radius: 12px; }
    .album-media.three { max-width: 100%; }
}

/* 首页各栏目分成不同颜色的独立卡片 */
.hm-sec--moments { background: linear-gradient(160deg, #fff9f6 0%, #fffdfc 68%); }
.hm-sec--album { background: linear-gradient(160deg, #f5f9ff 0%, #fdfdff 68%); }
.hm-sec--wishes { background: linear-gradient(160deg, #fdf7f9 0%, #fffdfd 68%); }
.hm-sec--time { background: linear-gradient(160deg, #fffaf1 0%, #fffdf8 68%); }
.hm-sec--messages { background: linear-gradient(160deg, #f4faf6 0%, #fcfffd 68%); }

.hm-sec .hm-sec-head h3::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 7px;
    border-radius: 50%;
    vertical-align: 2px;
    background: #d8a0ad;
}

.hm-sec--moments .hm-sec-head h3::before { background: #e3a2b1; }
.hm-sec--album .hm-sec-head h3::before { background: #8db9e8; }
.hm-sec--wishes .hm-sec-head h3::before { background: #d89fbb; }
.hm-sec--time .hm-sec-head h3::before { background: #dbb07a; }
.hm-sec--messages .hm-sec-head h3::before { background: #94c0a8; }

/* 图片组合成一个整体圆角矩形，内部不再单独圆角 */
.post-imgs {
    gap: 3px;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.post-imgs .ph,
.post-imgs.n1 .ph,
.post-imgs.n3 .ph {
    border-radius: 0;
}

.post-imgs.n1 { border-radius: 18px; }

.album-media {
    gap: 3px;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
}

.album-media .album-ph,
.album-media.three .album-ph {
    border-radius: 0;
}

@media (max-width: 620px) {
    .post-imgs { border-radius: 14px; gap: 3px; }
    .album-media { border-radius: 15px; gap: 3px; }
}

/* 站内嵌音乐播放器 */
.music-card--embed { display: block; padding: 0; overflow: hidden; }
.music-main { display: flex; align-items: center; gap: 10px; padding: 9px 10px; }
.music-embed { border-top: 1px solid rgba(61, 43, 49, .08); background: #fbf9f8; }
.music-embed[hidden] { display: none; }
.music-embed iframe { display: block; width: 100%; height: 88px; border: 0; background: #fbf9f8; }

/* 回到顶部快捷键 */
.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 92px;
    z-index: 80;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 16px 34px -18px rgba(38, 45, 55, .5), 0 0 0 1px rgba(255, 255, 255, .7);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px) scale(.94);
    transition: opacity .22s ease, transform .22s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.back-top-inner {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #20a8ee;
    color: #fff;
    box-shadow: 0 8px 16px -8px rgba(32, 168, 238, .8);
}

.back-top-inner svg { width: 21px; height: 21px; }

@media (max-width: 980px) {
    .back-to-top { right: 14px; bottom: calc(82px + env(safe-area-inset-bottom, 0px)); width: 54px; height: 54px; }
    .back-top-inner { width: 34px; height: 34px; }
}

/* 回到顶部按钮缩小 */
.back-to-top {
    right: 16px;
    bottom: 88px;
    width: 46px;
    height: 46px;
}

.back-top-inner {
    width: 29px;
    height: 29px;
}

.back-top-inner svg { width: 17px; height: 17px; }

@media (max-width: 980px) {
    .back-to-top {
        right: 13px;
        bottom: calc(78px + env(safe-area-inset-bottom, 0px));
        width: 44px;
        height: 44px;
    }
    .back-top-inner { width: 28px; height: 28px; }
    .back-top-inner svg { width: 16px; height: 16px; }
}

/* 动态底部浏览/喜欢/图片数 */
.post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.post-stats {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-left: auto;
    color: #a09a9c;
    font-size: .68rem;
}

.post-stat {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.post-stat svg { width: 13px; height: 13px; }
.post-stat b { color: #8d8789; font-family: 'Inter', sans-serif; font-weight: 500; }
.post-pics { letter-spacing: .03em; }
.post-pics b { color: #5d5659; font-weight: 600; }

/* 动态姓名下方的日期与心情 */
.post-sub {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 1px 0 7px;
    color: #a39a9d;
    font-size: .68rem;
    letter-spacing: .02em;
}

.post-sub time { line-height: 1.4; }
.post-mood { font-size: .92rem; line-height: 1; }

@media (max-width: 620px) {
    .post-sub { font-size: .66rem; }
    .post-mood { font-size: .88rem; }
}

/* 相册底部统计 */
.album-foot {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 4px 2px;
    color: #a39da0;
    font-size: .78rem;
}

.album-loc-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 13px;
    border-radius: 999px;
    background: #f3f3f5;
    color: #aaa5a7;
    font-size: .78rem;
    white-space: nowrap;
    max-width: 48%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.album-loc-pill svg { width: 15px; height: 15px; flex: none; }

.album-foot-stats {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
}

.album-stat,
.album-like {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #a9a3a6;
    font: inherit;
    white-space: nowrap;
}

.album-stat svg,
.album-like svg { width: 17px; height: 17px; }

.album-like {
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    transition: color .18s ease;
}

.album-like.is-liked { color: #e35d84; }
.album-like:active { transform: scale(.94); }

.album-like-count,
.album-stat b {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.album-foot-divider {
    width: 1px;
    height: 26px;
    margin: 0 2px;
    background: #e8e5e6;
}

.album-pic-count {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    line-height: .9;
    color: #aaa5a7;
    font-size: .58rem;
    letter-spacing: .08em;
}

.album-pic-count b {
    color: #1d1d25;
    font-family: 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -.02em;
}

@media (max-width: 620px) {
    .album-foot { gap: 8px; font-size: .72rem; }
    .album-loc-pill { max-width: 42%; padding: 6px 10px; font-size: .7rem; }
    .album-foot-stats { gap: 10px; }
    .album-stat svg, .album-like svg { width: 15px; height: 15px; }
    .album-pic-count b { font-size: 1.18rem; }
}

/* 顶部点赞反馈 */
.like-toast {
    position: fixed;
    top: calc(64px + env(safe-area-inset-top, 0px));
    left: 50%;
    z-index: 500;
    display: flex;
    align-items: center;
    gap: 9px;
    max-width: min(92vw, 420px);
    padding: 12px 18px;
    border-radius: 999px;
    background: #191922;
    color: #fff;
    box-shadow: 0 14px 34px -16px rgba(0, 0, 0, .55);
    font-size: .82rem;
    line-height: 1.35;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -10px);
    transition: opacity .2s ease, transform .2s ease;
}

.like-toast.is-show {
    opacity: 1;
    transform: translate(-50%, 0);
}

.like-toast svg { width: 19px; height: 19px; flex: none; }

/* 动态点赞 / 评论操作条 */
.post-actions {
    display: none;
    align-items: center;
    gap: 0;
    margin: 9px 0 2px;
    padding: 8px 13px;
    border-radius: 10px;
    background: #2b2b33;
    color: #fff;
}

.post-actions.is-open { display: inline-flex; }

.post-more-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 26px;
    height: 24px;
    margin-left: 2px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #f1edef;
    color: #8d8589;
    cursor: pointer;
}

.post-more-trigger svg { width: 16px; height: 16px; fill: currentColor; }
.post-more-trigger[aria-expanded="true"] { background: #2b2b33; color: #fff; }

.post-action {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 2px;
    border: 0;
    background: none;
    color: #f5f5f7;
    font: inherit;
    font-size: .85rem;
    cursor: pointer;
}

.post-action svg { width: 21px; height: 21px; flex: none; }
.post-action-like.is-liked { color: #ff4f68; }
.post-action-like.is-liked svg path { fill: currentColor; stroke: currentColor; }

.post-action-divider {
    width: 1px;
    height: 22px;
    margin: 0 18px;
    background: rgba(255, 255, 255, .2);
}

/* 评论：头像 + 昵称 + 时间 + 删除 */
.comment-list .cmt {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(61, 43, 49, .055);
}

.comment-list .cmt:last-child { border-bottom: 0; }

.cmt-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 34px;
    height: 34px;
    overflow: hidden;
    border-radius: 8px;
    background: #f1edef;
    color: #a18d96;
    font-size: .78rem;
    font-style: normal;
}

.cmt-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cmt-main { flex: 1 1 auto; min-width: 0; }

.cmt-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 3px;
}

.cmt-head b { color: #70646a; font-weight: 500; font-size: .72rem; }
.cmt-head time { flex: none; color: #b5adb1; font-size: .61rem; }
.cmt-main p { margin: 0; color: #4d4347; font-size: .78rem; line-height: 1.55; word-break: break-word; }
.cmt-del {
    flex: none;
    padding: 0 2px;
    border: 0;
    background: none;
    color: #c5bcc0;
    font-size: .95rem;
    line-height: 1.2;
    cursor: pointer;
}
.cmt-del:hover { color: #c2607a; }

.cmt-qq-wrap { position: relative; flex: 0 0 94px; display: flex; align-items: center; }
.cmt-qq-wrap input { width: 100%; padding-right: 26px !important; }
.cmt-qq-preview {
    position: absolute;
    right: 3px;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #fff;
}

.cmt-form { flex-wrap: wrap; }
.cmt-form input[name="name"] { flex: 0 0 66px; }
.cmt-form .cmt-text { min-width: 110px; }

@media (max-width: 620px) {
    .post-actions { padding: 8px 11px; }
    .post-action-divider { margin: 0 12px; }
    .cmt-form input[name="name"] { flex: 0 0 58px; }
    .cmt-qq-wrap { flex: 0 0 82px; }
    .cmt-head time { font-size: .58rem; }
}

/* 留言快捷弹窗（按参考图重做） */
.bl-dialog.bl-write {
    width: min(94vw, 520px);
    max-height: min(90vh, 900px);
    overflow-y: auto;
    padding: 22px 20px 18px;
    border-radius: 26px;
    background: rgba(244, 241, 242, .98);
    box-shadow: 0 28px 80px -30px rgba(45, 31, 39, .55);
}

.bl-write-head { position: relative; padding-right: 52px; margin-bottom: 14px; }
.bl-write-head h3 {
    margin: 0; color: #1f1d22; font-family: 'Noto Serif SC', serif;
    font-size: 1.55rem; font-weight: 700; letter-spacing: .01em;
}
.bl-write-head p { margin: 5px 0 0; color: #a7a0a4; font-size: .78rem; }

.bl-close-round {
    position: absolute; top: -2px; right: 0; width: 38px; height: 38px; padding: 0;
    border: 0; border-radius: 50%; background: rgba(225, 221, 223, .8); color: #8c8388;
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}

.bl-write-avatar {
    position: absolute; right: 4px; top: 47px; display: inline-flex;
    align-items: center; justify-content: center; width: 48px; height: 48px;
    overflow: hidden; border-radius: 12px; background: #eee9eb; color: #c7b8bf; font-size: 1.1rem;
}
.bl-write-avatar img { width: 100%; height: 100%; object-fit: cover; }
.bl-write-avatar.has-img { background: #fff; }

.bl-tabs { display: flex; gap: 5px; padding: 5px; border-radius: 999px; background: rgba(226, 221, 224, .8); }
.bl-tab {
    flex: 1; padding: 10px 12px; border: 0; border-radius: 999px; background: transparent;
    color: #9c9398; font: inherit; font-size: .85rem; font-weight: 500; cursor: pointer;
    transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.bl-tab.is-active { background: #fff; color: #272329; box-shadow: 0 4px 12px -7px rgba(50, 35, 43, .4); }

.bl-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0; }
.bl-chip {
    display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px;
    border-radius: 999px; background: rgba(230, 225, 227, .72); color: #8e858a;
    font-size: .66rem; white-space: nowrap;
}
.bl-chip svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.bl-qq-row {
    display: flex; align-items: center; gap: 10px; padding: 9px 12px;
    border-radius: 13px; background: rgba(235, 231, 233, .84);
}
.bl-qq-badge {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 30px; height: 30px; border-radius: 9px; background: #35b6ea; color: #fff;
}
.bl-qq-badge svg { width: 21px; height: 21px; }
.bl-qq-row input {
    flex: 1; min-width: 0; border: 0; outline: none; background: none;
    color: #3f393d; font: inherit; font-size: .9rem;
}
.bl-qq-row input::placeholder { color: #9f979c; }

.bl-name-row {
    display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 10px 13px;
    border-radius: 13px; background: rgba(235, 231, 233, .84); color: #9a9297;
}
.bl-name-row svg { width: 21px; height: 21px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.bl-name-row input {
    flex: 1; min-width: 0; border: 0; outline: none; background: none;
    color: #3f393d; font: inherit; font-size: .9rem;
}
.bl-name-row input::placeholder { color: #9f979c; }

.bl-privacy {
    display: flex; align-items: center; gap: 5px; margin: 11px 2px 12px;
    color: #aaa1a6; font-size: .65rem; line-height: 1.45;
}
.bl-privacy svg { width: 13px; height: 13px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; }

.bl-composer { position: relative; padding: 14px 13px 12px; border-radius: 18px; background: rgba(255, 255, 255, .72); }
.bl-composer textarea {
    width: 100%; min-height: 92px; padding: 2px 2px 4px; border: 0; outline: none;
    resize: none; background: transparent; color: #3f393d; font: inherit;
    font-size: .86rem; line-height: 1.7;
}
.bl-composer textarea::placeholder { color: #aaa2a6; }

.bl-quick { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 10px; }
.bl-quick button {
    padding: 6px 10px; border: 0; border-radius: 999px; background: rgba(232, 226, 229, .8);
    color: #82787e; font: inherit; font-size: .68rem; cursor: pointer;
}

.bl-tools { display: flex; align-items: center; gap: 12px; padding: 8px 1px 0; border-top: 1px solid rgba(77, 65, 71, .06); }
.bl-emoji-btn { padding: 0; border: 0; background: none; color: #8e858a; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.bl-enter { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; color: #a49ba0; font-size: .63rem; cursor: pointer; }
.bl-enter input { width: 30px; height: 16px; margin: 0; accent-color: #222; }
.bl-count { color: #aaa2a6; font-size: .64rem; white-space: nowrap; }

.bl-send {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    width: auto; min-width: 132px; margin: 11px 0 0 auto; padding: 10px 18px;
    border: 0; border-radius: 999px; background: #17171d; color: #fff;
    font: inherit; font-size: .8rem; cursor: pointer;
}
.bl-send svg { width: 17px; height: 17px; }
.bl-send:disabled { opacity: .55; cursor: wait; }
.bl-error { margin: 8px 2px 0; color: #c2607a; font-size: .72rem; }
.bl-write.is-anon .bl-qq-row { display: none; }
.bl-write.is-anon .bl-privacy { display: none; }

@media (max-width: 520px) {
    .bl-dialog.bl-write { width: 94vw; padding: 18px 15px 14px; border-radius: 22px; }
    .bl-write-head h3 { font-size: 1.35rem; }
    .bl-write-avatar { width: 40px; height: 40px; top: 41px; }
    .bl-tab { padding: 9px 8px; }
    .bl-qq-row, .bl-name-row { padding: 8px 10px; }
    .bl-composer { padding: 12px 10px 10px; }
    .bl-send { min-width: 118px; }
}

.bl-kind {
    display: flex;
    gap: 7px;
    margin: 0 2px 10px;
}
.bl-kind label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(232, 226, 229, .78);
    color: #988e94;
    font-size: .68rem;
    cursor: pointer;
}
.bl-kind input { margin: 0; accent-color: #c2607a; }
.bl-kind label:has(input:checked) {
    background: #fff;
    color: #3b3439;
    box-shadow: 0 4px 12px -8px rgba(50, 35, 43, .4);
}

/* 留言表情快捷与表情面板 */
.bl-quick-emoji {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 3px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, .7) !important;
    overflow: hidden;
}
.bl-quick-emoji img { width: 100%; height: 100%; object-fit: contain; display: block; }

.bl-emoji-pop {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 58px;
    z-index: 8;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 18px 46px -18px rgba(47, 33, 41, .5);
    border: 1px solid rgba(255, 255, 255, .9);
}
.bl-emoji-pop[hidden] { display: none; }

.bl-emoji-pop-head {
    display: flex;
    align-items: center;
    gap: 5px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(81, 66, 74, .07);
}
.bl-emoji-pop-head button {
    padding: 5px 10px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #a0969c;
    font: inherit;
    font-size: .68rem;
    cursor: pointer;
}
.bl-emoji-pop-head button.is-active { background: #f0ecee; color: #4d4348; }
.bl-emoji-pop-head .bl-emoji-close {
    margin-left: auto;
    padding: 0 4px;
    font-size: 1.05rem;
    color: #aaa1a6;
}

.bl-emoji-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
    max-height: 190px;
    overflow-y: auto;
    padding-top: 8px;
}
.bl-emoji-grid button {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    padding: 3px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
}
.bl-emoji-grid button:hover { background: #f5f1f3; }
.bl-emoji-grid img { width: 100%; height: 100%; object-fit: contain; display: block; }

.bl-inline-emoji {
    display: inline-block;
    width: 1.55em;
    height: 1.55em;
    margin: 0 1px;
    vertical-align: -.35em;
    object-fit: contain;
}

/* 可视化留言编辑器 */
.bl-editor {
    width: 100%;
    min-height: 92px;
    padding: 2px 2px 4px;
    outline: none;
    color: #3f393d;
    font: inherit;
    font-size: .86rem;
    line-height: 1.85;
    word-break: break-word;
}
.bl-editor:empty::before {
    content: attr(data-placeholder);
    color: #aaa2a6;
    pointer-events: none;
}
.bl-editor-emoji {
    display: inline-block;
    width: 28px;
    height: 28px;
    margin: 0 1px;
    vertical-align: -.35em;
    object-fit: contain;
}
.bl-modal.is-anon .bl-qq-row { display: none; }
.bl-modal.is-anon .bl-privacy { display: none; }
.bl-qq-row[hidden] { display: none; }

/* 快捷表情：图片 + 文字，背景与留言板融合 */
.bl-quick-emoji {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: auto !important;
    height: auto !important;
    padding: 3px 8px 3px 3px !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #8d8489;
    font-size: .66rem;
    white-space: nowrap;
}
.bl-quick-emoji img {
    width: 31px;
    height: 31px;
    object-fit: contain;
    display: block;
    background: transparent;
}
.bl-quick-emoji span { line-height: 1; }
.bl-quick { gap: 3px; }

/* 三个点放在内容右下角 */
.post-more-row {
    display: flex;
    justify-content: flex-end;
    margin: 5px 0 1px;
}
.post-more-trigger { margin-left: 0; }
.post-actions.is-open { margin-left: auto; }
.post-actions.is-open { display: flex; width: max-content; margin-left: auto; }

.cover-message { border: 0; background: none; padding: 0; font: inherit; cursor: pointer; }
button.hm-card { font: inherit; color: inherit; text-align: left; }
.post-more-row { align-items: center; gap: 6px; }
.post-actions.is-open { display: flex; width: max-content; margin-left: 0; margin-right: 2px; }

/* 表情面板：表情门面 + 居中分类名 */
.bl-emoji-pop { position: absolute; }
.bl-emoji-close {
    position: absolute;
    top: 7px;
    right: 9px;
    z-index: 2;
    padding: 0;
    border: 0;
    background: transparent;
    color: #aaa1a6;
    font-size: 1rem;
    cursor: pointer;
}
.bl-emoji-showcase {
    display: flex;
    gap: 5px;
    padding: 10px 8px;
    border-radius: 14px;
    background: rgba(241, 237, 239, .9);
    overflow: hidden;
}
.bl-emoji-showcase span {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    opacity: .38;
}
.bl-emoji-showcase span.is-cover {
    background: rgba(255, 255, 255, .86);
    opacity: 1;
    box-shadow: 0 5px 14px -10px rgba(45, 32, 39, .35);
}
.bl-emoji-showcase img { width: 46px; height: 46px; object-fit: contain; display: block; }
.bl-emoji-showcase span.is-cover img { width: 52px; height: 52px; }

.bl-emoji-set-row {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 18px;
    margin: 10px 0 6px;
    padding: 2px 0;
}
.bl-emoji-set-row::before {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    top: 50%;
    height: 1px;
    background: rgba(86, 71, 78, .1);
}
.bl-emoji-set-row button {
    position: relative;
    z-index: 1;
    padding: 2px 8px;
    border: 0;
    border-radius: 6px;
    background: rgba(255, 255, 255, .9);
    color: #aaa1a6;
    font: inherit;
    font-size: .7rem;
    cursor: pointer;
}
.bl-emoji-set-row button.is-active { color: #4e4449; font-weight: 600; }

/* 快捷表情：单排横向滑动，一次露出四个 */
.bl-quick {
    display: flex;
    flex-wrap: nowrap;
    gap: 2px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1px 0 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.bl-quick::-webkit-scrollbar { display: none; }
.bl-quick-emoji {
    flex: 0 0 25%;
    max-width: 25%;
    overflow: hidden;
    padding: 3px 2px !important;
    gap: 3px !important;
}
.bl-quick-emoji img { width: 29px; height: 29px; flex: none; }
.bl-quick-emoji span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .62rem;
}

/* 三点与 PICS 同排，点赞/评论浮在三点左侧 */
.post-meta { position: relative; }
.post-actions {
    position: absolute;
    right: 30px;
    top: 50%;
    z-index: 8;
    margin: 0;
    transform: translateY(-50%);
}
.post-actions.is-open { display: flex; margin: 0; width: max-content; }

/* 每条动态的三个点固定在最右侧 */
.post-meta { padding-right: 32px; }
.post-more-trigger {
    position: absolute;
    right: 0;
    top: 50%;
    margin: 0;
    transform: translateY(-50%);
}

/* 留言快捷键：图三圆角方形，浅蓝色 */
.cover-message {
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(145deg, #b7e3f8 0%, #72c5ec 55%, #54b6e3 100%);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 16px 30px -14px rgba(74, 170, 214, .8), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.cover-message svg { width: 29px; height: 29px; fill: currentColor; stroke: none; }
.cover-message:hover { transform: scale(1.06); }

/* 首个表情作为分类按钮，分类名只作说明 */
.bl-emoji-showcase .bl-emoji-cover {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    opacity: .38;
    cursor: pointer;
    transition: opacity .18s ease, background .18s ease;
}
.bl-emoji-showcase .bl-emoji-cover.is-cover {
    background: rgba(255, 255, 255, .9);
    opacity: 1;
    box-shadow: 0 5px 14px -10px rgba(45, 32, 39, .35);
}
.bl-emoji-showcase .bl-emoji-cover img { width: 46px; height: 46px; object-fit: contain; display: block; }
.bl-emoji-showcase .bl-emoji-cover.is-cover img { width: 52px; height: 52px; }
.bl-emoji-set-row span {
    position: relative;
    z-index: 1;
    padding: 2px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .9);
    color: #6d6167;
    font-size: .72rem;
    font-weight: 600;
    text-align: center;
}

/* 栏目切换过渡：支持 View Transitions 的浏览器平滑淡入淡出 */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-fade-out .16s ease both; }
::view-transition-new(root) { animation: vt-fade-in .22s ease both; }
@keyframes vt-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes vt-fade-in { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
    ::view-transition-old(root),
    ::view-transition-new(root) { animation: none; }
}

/* 封面和正文连接处的动态涟漪 */
.cover-ripple {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    z-index: 3;
    width: 100%;
    height: 68px;
    pointer-events: none;
    overflow: hidden;
}
.cover-ripple svg {
    display: block;
    width: 200%;
    height: 100%;
    animation: cover-wave 18s linear infinite;
}
.cover-ripple use:nth-child(2) { animation-delay: -4s; }
.cover-ripple use:nth-child(3) { animation-delay: -8s; }
@keyframes cover-wave {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .cover-ripple svg { animation: none; }
}

/* 留言快捷键缩小 */
.cover-message {
    width: 48px;
    height: 48px;
    border-radius: 14px;
}
.cover-message svg { width: 24px; height: 24px; }

/* 页面切换进度条与淡出 */
.nav-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #90d3ee, #4fb3df);
    opacity: 0;
    transition: width .25s ease, opacity .2s ease;
}
.nav-progress.is-on { opacity: 1; }
body.is-leaving { opacity: .92; transition: opacity .12s ease; }

/* 用动态涟漪替代静态连接波浪 */
.cover-bridge-wave { opacity: 0; }
.cover-ripple { height: 82px; }

/* 留言快捷键再缩小 */
.cover-message {
    width: 42px;
    height: 42px;
    border-radius: 12px;
}
.cover-message svg { width: 21px; height: 21px; }

/* 三个点：长方形背景，放在最右侧 */
.post-meta { padding-right: 40px; }
.post-more-trigger {
    right: 0;
    width: 34px;
    height: 26px;
    border-radius: 7px;
    background: #f1edef;
}
.post-more-trigger svg { width: 16px; height: 16px; }

/* 表情分类只保留两个表情按钮，说明文字更淡更小 */
.bl-emoji-showcase {
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 12px;
}
.bl-emoji-showcase .bl-emoji-cover {
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
}
.bl-emoji-showcase .bl-emoji-cover img { width: 48px; height: 48px; }
.bl-emoji-showcase .bl-emoji-cover.is-cover img { width: 52px; height: 52px; }
.bl-emoji-set-row span {
    color: #b5adb1;
    font-size: .66rem;
    font-weight: 500;
    opacity: .9;
}
.post-actions { right: 40px; }

/* 让统计行占满整行，三个点才能真正贴到最右侧 */
.post-foot .post-meta {
    flex: 1 1 100%;
    width: 100%;
}
.post-more-trigger { border-radius: 4px; }

/* 涟漪真正逐层流动，像浪花一样 */
.cover-ripple svg {
    width: 200%;
    animation: none;
}
.cover-ripple use {
    transform-box: fill-box;
    transform-origin: 0 50%;
    will-change: transform;
    animation: cover-wave-layer 8s linear infinite;
}
.cover-ripple use:nth-child(1) { animation-duration: 10s; opacity: .72; }
.cover-ripple use:nth-child(2) { animation-duration: 8.5s; animation-direction: reverse; opacity: .55; }
.cover-ripple use:nth-child(3) { animation-duration: 7s; animation-delay: -2s; opacity: .38; }
.cover-ripple use:nth-child(4) { animation-duration: 6s; animation-delay: -1s; }
@keyframes cover-wave-layer {
    0%   { transform: translateX(0) translateY(0); }
    25%  { transform: translateX(-44px) translateY(-3px); }
    50%  { transform: translateX(-88px) translateY(0); }
    75%  { transform: translateX(-132px) translateY(3px); }
    100% { transform: translateX(-176px) translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .cover-ripple use { animation: none; }
}

/* 表情分类按钮缩小 + 分类平滑切换 */
.bl-emoji-showcase {
    gap: 7px;
    padding: 8px 10px;
}
.bl-emoji-showcase .bl-emoji-cover {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 9px;
}
.bl-emoji-showcase .bl-emoji-cover img { width: 34px; height: 34px; }
.bl-emoji-showcase .bl-emoji-cover.is-cover img { width: 38px; height: 38px; }
.bl-emoji-showcase,
.bl-emoji-grid {
    transition: opacity .16s ease, transform .16s ease;
}
.bl-emoji-pop.is-switching .bl-emoji-showcase,
.bl-emoji-pop.is-switching .bl-emoji-grid {
    opacity: 0;
    transform: translateY(3px);
}

/* 留言快捷键改回图三的珊瑚红 */
.cover-message {
    background: linear-gradient(145deg, #ff9a9e 0%, #ff5f6d 55%, #f8475e 100%);
    box-shadow: 0 14px 26px -13px rgba(244, 72, 94, .8), inset 0 1px 0 rgba(255, 255, 255, .5);
}

/* 评论整体缩小，超过五条折叠 */
.comment-list .cmt { gap: 7px; padding: 6px 0; }
.cmt-avatar { width: 28px; height: 28px; border-radius: 7px; font-size: .65rem; }
.cmt-head { margin-bottom: 2px; }
.cmt-head b { font-size: .66rem; }
.cmt-head time { font-size: .55rem; }
.cmt-main p { font-size: .72rem; line-height: 1.5; }
.cmt-del { font-size: .82rem; }
.cmt.is-collapsed { display: none; }
.cmt-more {
    display: block;
    margin: 8px 0 2px;
    padding: 0;
    border: 0;
    background: none;
    color: #9d7f8a;
    font: inherit;
    font-size: .68rem;
    cursor: pointer;
}
.cmt-more:hover { color: #c2607a; }

/* PC 顶部状态栏：首屏品牌居中，滑到正文后紧凑导航 */
.mn.mn-homebar .mn-links { display: none; }
@media (min-width: 981px), (orientation: landscape) and (min-width: 640px) {
    body .dock { display: none; }

    .mn.mn-homebar .mn-inner {
        position: relative;
        max-width: 1280px;
        padding: 0 26px;
    }

    .mn.mn-homebar .mn-links { display: none; }

    .mn.mn-homebar:not(.is-solid) .mn-inner { justify-content: center; }
    .mn.mn-homebar:not(.is-solid) .mn-left {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    .mn.mn-homebar:not(.is-solid) .mn-title {
        font-family: var(--serif, Georgia, serif);
        font-size: 1.05rem;
        letter-spacing: .14em;
    }
    .mn.mn-homebar:not(.is-solid) .mn-home { display: none; }

    .mn.mn-homebar.is-solid .mn-inner { justify-content: space-between; }
    .mn.mn-homebar.is-solid .mn-left { position: static; transform: none; }
    .mn.mn-homebar.is-solid .mn-title {
        font-size: .92rem;
        letter-spacing: .1em;
    }

    .mn.mn-homebar.is-solid .mn-links {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        gap: 3px;
        padding: 4px;
        border-radius: 999px;
        background: rgba(255, 255, 255, .6);
        border: 1px solid rgba(255, 255, 255, .9);
    }

    .mn.mn-homebar .mn-links a {
        padding: 7px 13px;
        border-radius: 999px;
        color: #887780;
        font-size: .7rem;
        text-decoration: none;
        opacity: 1;
        white-space: nowrap;
    }

    .mn.mn-homebar .mn-links a::after { display: none; }

    .mn.mn-homebar .mn-links a.is-active {
        background: #f06b72;
        color: #fff;
        box-shadow: 0 5px 14px -10px rgba(200, 60, 80, .65);
    }
}

/* PC 全宽封面与单栏正文，修复双栏过窄导致的错位 */
@media (min-width: 981px), (orientation: landscape) and (min-width: 640px) {
    body .dock { display: flex; }
    body.nav-solid .dock { display: none; }

    .layout,
    body.is-home .layout {
        display: block;
        max-width: none;
        margin: 0;
        padding: var(--nav-h, 52px) 0 0;
    }

    .layout--plain { padding-top: var(--nav-h, 52px); }

    .cover {
        position: relative;
        top: auto;
        height: clamp(460px, 68vh, 740px);
        margin: 0;
        border-radius: 0;
    }

    .cover-inner {
        max-width: 1140px;
        margin: 0 auto;
        padding: 42px 26px 30px;
    }

    .cover-avatars { gap: 18px; }
    .cv { width: 128px; height: 128px; }
    .cv + .cv { margin-left: -22px; }

    .layout-main {
        width: 100%;
        max-width: 1140px;
        margin: 0 auto;
        padding: 30px 20px 64px;
    }

    .layout-main .page { max-width: none; }
}

/* 右侧子账户回复：正文右对齐，但阅读方向仍为从左到右 */
.msg-reply--sub p {
    direction: ltr;
    text-align: right;
    unicode-bidi: plaintext;
}

/* PC 首屏：导航固定在封面底部，滚动到顶部后切换紧凑栏 */
@media (min-width: 981px), (orientation: landscape) and (min-width: 640px) {
    body .dock { display: none !important; }

    .mn.mn-homebar {
        position: absolute;
        top: 0;
        height: clamp(460px, 68vh, 740px);
        background: transparent;
        border: 0;
        box-shadow: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        pointer-events: none;
    }

    .mn.mn-homebar .mn-inner {
        display: block;
        position: relative;
        height: 100%;
        max-width: 1280px;
        padding: 0 26px;
    }

    .mn.mn-homebar .mn-left {
        position: absolute;
        top: 18px;
        left: 50%;
        transform: translateX(-50%);
        pointer-events: auto;
        padding: 7px 16px;
        border-radius: 999px;
        background: rgba(255, 255, 255, .62);
        border: 1px solid rgba(255, 255, 255, .82);
        box-shadow: 0 10px 24px -22px rgba(64, 40, 52, .5);
    }

    .mn.mn-homebar .mn-title {
        color: #3d2b31;
        font-family: var(--serif, Georgia, serif);
        font-size: .98rem;
        letter-spacing: .13em;
        text-shadow: none;
    }

    .mn.mn-homebar .mn-home { display: none; }

    .mn.mn-homebar .mn-links {
        display: flex;
        position: absolute;
        left: 50%;
        bottom: 26px;
        transform: translateX(-50%);
        align-items: center;
        gap: 3px;
        padding: 4px;
        border-radius: 999px;
        background: rgba(255, 255, 255, .62);
        border: 1px solid rgba(255, 255, 255, .9);
        pointer-events: auto;
    }

    .mn.mn-homebar.is-solid {
        position: fixed;
        height: var(--nav-h, 52px);
        background: rgba(255, 255, 255, .94);
        border-bottom: 1px solid rgba(255, 255, 255, .8);
        box-shadow: 0 1px 0 rgba(0, 0, 0, .05);
        -webkit-backdrop-filter: blur(16px) saturate(170%);
        backdrop-filter: blur(16px) saturate(170%);
        pointer-events: auto;
    }

    .mn.mn-homebar.is-solid .mn-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .mn.mn-homebar.is-solid .mn-left {
        position: static;
        transform: none;
        padding: 0;
        border: 0;
        background: none;
        box-shadow: none;
    }

    .mn.mn-homebar.is-solid .mn-title {
        font-size: .9rem;
        letter-spacing: .08em;
    }

    .mn.mn-homebar.is-solid .mn-links {
        top: 50%;
        bottom: auto;
        transform: translate(-50%, -50%);
    }

    .mn.mn-homebar.is-solid .mn-home { display: flex; }
}

/* PC 悬浮岛导航：首屏在封面底部，吸顶后收缩成单颗胶囊 */
@media (min-width: 981px), (orientation: landscape) and (min-width: 640px) {
    body.is-home .layout,
    .layout,
    .layout--plain {
        padding-top: 0;
    }

    .mn.mn-homebar {
        position: absolute;
        top: 0;
        height: clamp(460px, 68vh, 740px);
        background: transparent;
        border: 0;
        box-shadow: none;
        pointer-events: none;
    }

    .mn.mn-homebar .mn-inner {
        display: block;
        position: relative;
        height: 100%;
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 26px;
    }

    .mn.mn-homebar .mn-left {
        position: absolute;
        top: 18px;
        left: 50%;
        transform: translateX(-50%);
        padding: 7px 16px;
        border: 1px solid rgba(255, 255, 255, .82);
        border-radius: 999px;
        background: rgba(255, 255, 255, .62);
        box-shadow: 0 10px 24px -22px rgba(64, 40, 52, .5);
        pointer-events: auto;
    }

    .mn.mn-homebar .mn-title {
        color: #3d2b31;
        font-family: var(--serif, Georgia, serif);
        font-size: .98rem;
        letter-spacing: .13em;
        text-shadow: none;
    }

    .mn.mn-homebar .mn-home { display: none; }

    .mn.mn-homebar .mn-links {
        display: flex;
        position: absolute;
        left: 50%;
        bottom: 26px;
        transform: translateX(-50%);
        align-items: center;
        gap: 3px;
        padding: 5px;
        border: 1px solid rgba(255, 255, 255, .9);
        border-radius: 999px;
        background: rgba(255, 255, 255, .64);
        box-shadow: 0 10px 26px -24px rgba(64, 40, 52, .55);
        pointer-events: auto;
    }

    .mn.mn-homebar .mn-links a {
        padding: 8px 14px;
        border-radius: 999px;
        color: #786970;
        font-size: .7rem;
        text-decoration: none;
        opacity: 1;
    }

    .mn.mn-homebar .mn-links a::after { display: none; }

    .mn.mn-homebar .mn-links a.is-active {
        background: #f06b72;
        color: #fff;
        box-shadow: 0 5px 14px -10px rgba(200, 60, 80, .65);
    }

    .mn.mn-homebar.is-solid {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: auto;
        padding: 8px 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        pointer-events: none;
    }

    .mn.mn-homebar.is-solid .mn-inner {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: max-content;
        max-width: calc(100vw - 32px);
        height: 52px;
        margin: 0 auto;
        padding: 5px 8px;
        border: 1px solid rgba(255, 255, 255, .9);
        border-radius: 999px;
        background: rgba(248, 248, 248, .8);
        box-shadow: 0 8px 30px -22px rgba(60, 45, 50, .45);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        backdrop-filter: saturate(180%) blur(20px);
        pointer-events: auto;
        transition: padding .25s ease, background .25s ease, border-radius .25s ease;
    }

    .mn.mn-homebar.is-solid .mn-left {
        position: static;
        transform: none;
        flex: none;
        padding: 0 4px 0 8px;
        border: 0;
        background: none;
        box-shadow: none;
    }

    .mn.mn-homebar.is-solid .mn-title {
        max-width: 150px;
        overflow: hidden;
        color: #4f4148;
        font-size: .78rem;
        letter-spacing: .06em;
        text-overflow: ellipsis;
    }

    .mn.mn-homebar.is-solid .mn-links {
        position: static;
        flex: none;
        transform: none;
        gap: 1px;
        padding: 0;
        border: 0;
        background: none;
        box-shadow: none;
    }

    .mn.mn-homebar.is-solid .mn-links a {
        padding: 7px 11px;
        font-size: .68rem;
    }

    .mn.mn-homebar.is-solid .mn-home {
        display: flex;
        flex: none;
        gap: 4px;
        margin-left: 4px;
    }

    .mn.mn-homebar.is-solid .mn-pill {
        padding: 6px 9px;
        font-size: .65rem;
        box-shadow: none;
    }

    .mn.mn-homebar.is-solid .mn-pill b { font-size: .7rem; }
    .mn.mn-homebar.is-solid .mn-pill span { display: none; }
}
/* PC：页头与导航分离，仿参考站 */
.pc-nav-wrap { display: none; }

@media (min-width: 981px), (orientation: landscape) and (min-width: 640px) {
    body .dock { display: none !important; }

    .mn.mn-homebar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 64px;
        background: transparent;
        border: 0;
        box-shadow: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        pointer-events: none;
        z-index: 80;
    }

    .mn.mn-homebar .mn-inner {
        display: block;
        position: relative;
        height: 64px;
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 26px;
    }

    .mn.mn-homebar .mn-left {
        position: absolute;
        top: 17px;
        left: 50%;
        z-index: 2;
        transform: translateX(-50%);
        padding: 7px 16px;
        border: 1px solid rgba(255, 255, 255, .82);
        border-radius: 999px;
        background: rgba(255, 255, 255, .66);
        box-shadow: 0 10px 24px -22px rgba(64, 40, 52, .5);
        pointer-events: auto;
        transition: left .32s ease, transform .32s ease, top .32s ease, background .32s ease;
    }

    .mn.mn-homebar .mn-title {
        color: #3d2b31;
        font-family: var(--serif, Georgia, serif);
        font-size: .98rem;
        letter-spacing: .13em;
        text-shadow: none;
    }

    .mn.mn-homebar .mn-links { display: none !important; }

    .mn.mn-homebar .mn-home {
        display: none;
        position: absolute;
        top: 50%;
        right: 26px;
        z-index: 2;
        transform: translateY(-50%);
        margin: 0;
        pointer-events: auto;
    }

    .mn.mn-homebar.is-solid {
        height: 64px;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        pointer-events: none;
    }

    .mn.mn-homebar.is-solid .mn-inner {
        display: block;
        width: 100%;
        height: 64px;
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 26px;
        background: none;
        border: 0;
        box-shadow: none;
    }

    .mn.mn-homebar.is-solid .mn-left {
        top: 50%;
        left: 26px;
        transform: translateY(-50%);
        padding: 0;
        border: 0;
        background: none;
        box-shadow: none;
    }

    .mn.mn-homebar.is-solid .mn-title {
        max-width: 220px;
        overflow: hidden;
        color: #4f4148;
        font-size: .82rem;
        letter-spacing: .06em;
        text-overflow: ellipsis;
    }

    .mn.mn-homebar.is-solid .mn-home { display: flex; }
    .mn.mn-homebar.is-solid .mn-pill {
        padding: 6px 10px;
        background: rgba(255, 255, 255, .72);
        box-shadow: 0 5px 16px -16px rgba(64, 40, 52, .5);
    }
    .mn.mn-homebar.is-solid .mn-pill span { display: none; }

    .pc-nav-wrap {
        display: flex;
        position: sticky;
        top: 14px;
        z-index: 100;
        justify-content: center;
        margin: -38px 0 22px;
        pointer-events: none;
    }

    .pc-nav {
        display: flex;
        align-items: center;
        gap: 3px;
        padding: 5px;
        border: 1px solid rgba(255, 255, 255, .9);
        border-radius: 999px;
        background: rgba(255, 255, 255, .68);
        box-shadow: 0 10px 30px -26px rgba(64, 40, 52, .6);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        backdrop-filter: saturate(180%) blur(20px);
        pointer-events: auto;
        transition: padding .25s ease, transform .25s ease, background .25s ease;
    }

    .pc-nav.is-stuck {
        padding: 4px;
        transform: scale(.92);
        background: rgba(248, 248, 248, .7);
        box-shadow: none;
    }

    .pc-nav a {
        padding: 8px 14px;
        border-radius: 999px;
        color: #786970;
        font-size: .7rem;
        text-decoration: none;
        white-space: nowrap;
    }

    .pc-nav a.is-active {
        background: #f06b72;
        color: #fff;
        box-shadow: 0 5px 14px -10px rgba(200, 60, 80, .65);
    }
}

/* 修正吸顶后左侧站点名称被旧样式压成静态定位 */
@media (min-width: 981px), (orientation: landscape) and (min-width: 640px) {
    .mn.mn-homebar.is-solid .mn-left {
        position: absolute !important;
        top: 50% !important;
        left: 26px !important;
        transform: translateY(-50%) !important;
    }
    .mn.mn-homebar.is-solid .mn-title {
        display: block;
        color: #4f4148;
        text-shadow: none;
    }
}

/* PC 吸顶后的情侣标识与头像组 */
.pc-couple { display: none; }
.pc-avatars { display: none; }

@media (min-width: 981px), (orientation: landscape) and (min-width: 640px) {
    .mn.mn-homebar.is-solid .mn-left {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .pc-couple {
        display: none;
        position: absolute;
        top: 50%;
        left: 26px;
        transform: translateY(-50%);
        align-items: center;
        gap: 9px;
        color: #4f4148;
        font-family: var(--script), var(--serif), serif;
        font-size: .95rem;
        letter-spacing: .04em;
        text-decoration: none;
        white-space: nowrap;
        pointer-events: auto;
    }

    .mn.mn-homebar.is-solid .pc-couple { display: inline-flex; }

    .pc-couple::before,
    .pc-couple::after {
        content: "";
        width: 20px;
        height: 1px;
        background: linear-gradient(90deg, transparent, #b99aa2);
    }
    .pc-couple::after { background: linear-gradient(90deg, #b99aa2, transparent); }

    .pc-couple svg {
        width: 17px;
        height: 17px;
        color: #e25862;
        flex: none;
    }

    .pc-avatars {
        display: flex;
        align-items: center;
        margin-left: 4px;
        padding-left: 8px;
        border-left: 1px solid rgba(80, 60, 60, .1);
    }

    .pc-avatars img,
    .pc-avatars i {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 27px;
        height: 27px;
        border: 2px solid rgba(255, 255, 255, .95);
        border-radius: 50%;
        background: #f3ecef;
        color: #9a7b84;
        font-size: .65rem;
        font-style: normal;
        object-fit: cover;
        overflow: hidden;
    }

    .pc-avatars img + img,
    .pc-avatars i + i,
    .pc-avatars img + i,
    .pc-avatars i + img { margin-left: -8px; }

    .mn.mn-homebar.is-solid .pc-avatars { display: flex; }

    .pc-nav { width: max-content; }

    .pc-nav a {
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }

    .pc-nav a svg {
        width: 13px;
        height: 13px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .pc-nav a.is-active svg { stroke: currentColor; }
}

/* PC 首屏页头：白色顶部条 + 纯文字站点名，贴近参考站 */
@media (min-width: 981px), (orientation: landscape) and (min-width: 640px) {
    .mn.mn-homebar:not(.is-solid) {
        background: rgba(255, 255, 255, .62);
        border-bottom: 1px solid rgba(255, 255, 255, .7);
        -webkit-backdrop-filter: blur(16px) saturate(160%);
        backdrop-filter: blur(16px) saturate(160%);
        box-shadow: 0 10px 30px -30px rgba(60, 45, 50, .45);
    }

    .mn.mn-homebar:not(.is-solid) .mn-left {
        padding: 0;
        border: 0;
        background: none;
        box-shadow: none;
    }

    .mn.mn-homebar:not(.is-solid) .mn-title {
        font-size: 1rem;
        letter-spacing: .12em;
    }

    .pc-couple { max-width: 290px; overflow: hidden; }
    .pc-couple span { overflow: hidden; text-overflow: ellipsis; }
}

/* PC 大气尺度：更宽的正文、更大的栏目与胶囊 */
@media (min-width: 981px), (orientation: landscape) and (min-width: 640px) {
    .layout-main {
        max-width: 1200px;
        padding: 38px 24px 84px;
    }

    .hm-page,
    .hm-sections {
        width: calc(100% - 32px);
        max-width: 1160px;
        margin-left: auto;
        margin-right: auto;
    }

    .hm-page { margin-top: 22px; }
    .hm-sections { margin-top: 22px; gap: 18px; }

    .hm-heading { padding: 0 0 30px; }
    .hm-heading h2 {
        margin-top: 14px;
        font-size: clamp(1.9rem, 2.7vw, 2.35rem);
        letter-spacing: .06em;
    }
    .hm-kicker { font-size: .86rem; letter-spacing: .32em; }

    .hm-days {
        padding: 40px 44px 30px;
        border-radius: 28px;
    }
    .hm-quote { font-size: 1.2rem; line-height: 1.9; }
    .hm-big strong { font-size: clamp(5rem, 7vw, 6.4rem); }
    .hm-timer { gap: 44px; margin-top: 24px; padding-top: 20px; }
    .hm-timer b { font-size: 1.45rem; }

    .hm-grid { gap: 16px; margin-top: 18px; }
    .hm-card {
        min-height: 136px;
        padding: 21px 24px;
        border-radius: 22px;
    }
    .hm-card-top span { font-size: .82rem; }
    .hm-card-top em { font-size: .56rem; }
    .hm-card > b { margin-top: 17px; font-size: 2.35rem; }
    .hm-card > small { font-size: .7rem; }

    .hm-sec { padding: 24px 26px 22px; border-radius: 24px; }
    .hm-sec-head h3 { font-size: 1.12rem; }
    .hm-post { padding: 11px 0; }
    .hm-post-thumb { width: 60px; height: 60px; border-radius: 14px; }
    .hm-post-body b { font-size: .86rem; }

    .msg-grid { gap: 24px; }
    .msg-card { padding: 22px 24px 16px; border-radius: 18px; }
    .msg-body { font-size: 15px; }
    .msg-name { font-size: 19px; }

    .pc-nav { padding: 6px; gap: 4px; }
    .pc-nav a { padding: 9px 15px; font-size: .76rem; }
    .pc-nav a svg { width: 14px; height: 14px; }

    .mn.mn-homebar,
    .mn.mn-homebar .mn-inner,
    .mn.mn-homebar.is-solid,
    .mn.mn-homebar.is-solid .mn-inner { height: 70px; }
    .mn.mn-homebar .mn-left { top: 19px; }
    .mn.mn-homebar:not(.is-solid) .mn-title { font-size: 1.12rem; }
    .pc-couple { font-size: 1.02rem; }
    .pc-avatars img,
    .pc-avatars i { width: 30px; height: 30px; }

    .cover { height: clamp(560px, 76vh, 860px); }
}

/* PC 导航悬停：未吸附浅红反馈，吸附后白底反馈 */
@media (min-width: 981px), (orientation: landscape) and (min-width: 640px) {
    .pc-nav a {
        transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
    }

    .pc-nav a:not(.is-active):hover {
        background: rgba(248, 113, 113, .1);
        color: #ef6b72;
    }

    .pc-nav a.is-active:hover {
        background: #f06b72;
        color: #fff;
    }

    .pc-nav.is-stuck a:not(.is-active):hover {
        background: #fff;
        color: #5f5f5f;
        box-shadow: 0 3px 10px -8px rgba(0, 0, 0, .35);
    }

    .pc-nav.is-stuck a.is-active:hover {
        background: #f06b72;
        color: #fff;
        box-shadow: 0 5px 14px -10px rgba(200, 60, 80, .65);
    }
}

/* 留言弹窗必须盖住 PC 导航 */
.bl-modal { z-index: 1000 !important; }

@media (min-width: 981px), (orientation: landscape) and (min-width: 640px) {
    /* PC 留言弹窗：横向两列字段，贴近参考站 */
    .bl-dialog.bl-write {
        width: min(90vw, 860px);
        max-height: min(88vh, 760px);
        padding: 28px 30px 24px;
        border-radius: 26px;
    }

    .bl-write-head { padding-right: 58px; margin-bottom: 16px; }
    .bl-write-head h3 { font-size: 1.75rem; }
    .bl-write-head p { font-size: .78rem; }
    .bl-write-avatar { top: 48px; right: 12px; }
    .bl-tabs { margin-bottom: 13px; }

    .bl-dialog.bl-write form {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 13px;
        align-items: start;
    }

    .bl-qq-row { grid-column: 1; grid-row: 1; }
    .bl-name-row { grid-column: 2; grid-row: 1; margin-top: 0; }
    .bl-privacy { grid-column: 1 / -1; grid-row: 2; margin: 10px 2px 8px; }
    .bl-kind { grid-column: 1 / -1; grid-row: 3; }
    .bl-composer { grid-column: 1 / -1; grid-row: 4; }
    .bl-error { grid-column: 1 / -1; grid-row: 5; }

    .bl-editor { min-height: 125px; }
    .bl-composer { padding: 16px 16px 13px; border-radius: 18px; }
    .bl-send { margin-top: 12px; }

    /* PC 封面头像、距离与留言按钮 */
    .cover-inner { max-width: 1320px; padding: 54px 30px 32px; }
    .cover-hero { gap: clamp(40px, 9vw, 120px); align-items: flex-start; }
    .cover-avatar { width: 178px; height: 178px; border-width: 4px; }
    .cover-avatar i { font-size: 46px; }
    .cover-person-name { max-width: 200px; padding: 6px 20px; font-size: 15px; }
    .cover-heart { margin-top: 54px; font-size: 68px; }

    body.is-home .cover-distance {
        top: 34%;
        padding: 10px 18px;
        font-size: .82rem;
    }
    .cover-message { top: 24px; right: 34px; width: 56px; height: 56px; }
    .cover-message svg { width: 25px; height: 25px; }

    .cover { height: 80vh; }
    .mn.mn-homebar,
    .mn.mn-homebar .mn-inner,
    .mn.mn-homebar.is-solid,
    .mn.mn-homebar.is-solid .mn-inner { height: 70px; }
    .mn.mn-homebar:not(.is-solid) .mn-title { font-size: 1.25rem; }
}

/* 弹窗底部工具：表情、Enter、发送同一排 */
.bl-tools { gap: 10px; }
.bl-enter { margin-left: 0; }
.bl-send {
    margin: 0 0 0 auto;
    min-width: 116px;
    padding: 9px 16px;
    font-size: .78rem;
}

@media (min-width: 981px), (orientation: landscape) and (min-width: 640px) {
    .bl-dialog.bl-write {
        background: rgba(255, 255, 255, .56);
        border: 1px solid rgba(255, 255, 255, .72);
        -webkit-backdrop-filter: blur(28px) saturate(160%);
        backdrop-filter: blur(28px) saturate(160%);
    }

    .bl-qq-row,
    .bl-name-row,
    .bl-composer {
        background: rgba(255, 255, 255, .46);
        border: 1px solid rgba(255, 255, 255, .55);
    }

    .bl-tabs { background: rgba(225, 220, 223, .55); }

    .bl-quick {
        flex-wrap: wrap;
        gap: 9px;
        overflow: visible;
        padding-bottom: 6px;
    }
    .bl-quick-emoji {
        flex: 0 0 auto;
        max-width: none;
        padding: 2px 5px !important;
    }
    .bl-quick-emoji img { width: 26px; height: 26px; }

    .bl-tools { padding-top: 10px; }
    .bl-send { height: 36px; min-width: 128px; }

    /* 首页封面元素位置 */
    .cover-avatar { width: 190px; height: 190px; }
    .cover-person-name { font-size: 16px; padding: 7px 22px; }
    .cover-heart { font-size: 74px; margin-top: 58px; }

    body.is-home .cover-distance {
        top: 34% !important;
        font-size: .84rem;
        padding: 10px 18px;
    }
    .cover-message {
        top: 18% !important;
        right: 30px !important;
        width: 58px;
        height: 58px;
    }

    .mn.mn-homebar:not(.is-solid) .mn-title { font-size: 1.32rem; }
}

/* 表情面板：PC 固定尺寸与悬停预览 */
.bl-emoji-preview {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 12;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: 76px;
    padding: 7px 6px;
    border-radius: 13px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 10px 24px -14px rgba(45, 32, 39, .4);
    pointer-events: none;
}
.bl-emoji-preview[hidden] { display: none; }
.bl-emoji-preview img { width: 48px; height: 48px; object-fit: contain; display: block; }
.bl-emoji-preview span { color: #9a8e94; font-size: .58rem; white-space: nowrap; }

@media (min-width: 981px), (orientation: landscape) and (min-width: 640px) {
    .bl-emoji-pop {
        left: 0;
        right: auto;
        width: min(640px, 100%);
        padding: 14px;
        bottom: 52px;
    }
    .bl-emoji-grid {
        grid-template-columns: repeat(8, 46px);
        justify-content: start;
        gap: 7px;
        max-height: 218px;
    }
    .bl-emoji-grid button { width: 46px; height: 46px; aspect-ratio: auto; }
    .bl-emoji-showcase { padding: 8px 10px; }

    .bl-tools { position: relative; }
    .bl-count {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    .bl-send { margin-left: auto; }

    /* 相聚距离/留言键所有首页页面统一位置 */
    .cover-distance {
        top: 34% !important;
        padding: 10px 18px;
        font-size: .84rem;
    }
    .cover-message {
        top: 18% !important;
        right: 30px !important;
        width: 58px;
        height: 58px;
    }
}

/* Enter 发送改成开关样式 */
.bl-enter input {
    -webkit-appearance: none;
    appearance: none;
    width: 30px;
    height: 17px;
    border-radius: 999px;
    background: #c9c1c4;
    position: relative;
    cursor: pointer;
    transition: background .18s ease;
}
.bl-enter input::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #fff;
    transition: transform .18s ease;
}
.bl-enter input:checked { background: #252329; }
.bl-enter input:checked::after { transform: translateX(13px); }

/* 表情预览跟随鼠标所在的单个表情 */
.bl-emoji-preview {
    position: fixed !important;
    z-index: 1100;
    top: auto;
    right: auto;
    bottom: auto;
    transform: translateX(-50%);
}

/* 匿名模式：QQ 隐藏后昵称占满整行 */
.bl-write.is-anon .bl-name-row { grid-column: 1 / -1; }

/* 横屏手机也使用 PC 双列留言布局 */
@media (min-width: 981px), (orientation: landscape) and (min-width: 640px) {
    .msg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 窄横屏：压缩胶囊字号，避免导航挤出屏幕 */
@media (orientation: landscape) and (min-width: 640px) and (max-width: 980px) {
    .pc-nav a { padding: 7px 9px; font-size: .64rem; }
    .pc-nav a svg { width: 12px; height: 12px; }
    .pc-couple { font-size: .82rem; gap: 5px; max-width: 190px; }
    .pc-couple::before, .pc-couple::after { width: 10px; }
    .pc-avatars img, .pc-avatars i { width: 24px; height: 24px; }
    .mn.mn-homebar.is-solid .mn-title { font-size: .72rem; }
    .cover-avatar { width: 140px; height: 140px; }
    .cover-heart { font-size: 52px; margin-top: 38px; }
    .cover-person-name { font-size: 13px; padding: 5px 16px; }
}

/* PC 留言弹窗：短标签、等宽输入、匿名昵称整行 */
@media (min-width: 981px), (orientation: landscape) and (min-width: 640px) {
    .bl-tabs {
        width: fit-content;
        max-width: 100%;
        display: inline-flex;
        gap: 3px;
        padding: 4px;
        margin: 0 0 14px;
    }
    .bl-tab {
        flex: 0 0 auto;
        padding: 9px 24px;
        min-width: 0;
    }
    .bl-qq-row,
    .bl-name-row {
        width: 100%;
        min-width: 0;
        height: 46px;
        box-sizing: border-box;
    }
    .bl-modal.is-anon .bl-name-row { grid-column: 1 / -1; }
    .bl-modal.is-anon .bl-qq-row { display: none; }

    .bl-emoji-pop {
        width: min(620px, calc(100% - 12px));
        max-height: 400px;
        overflow: hidden;
    }
    .bl-emoji-grid {
        grid-template-columns: repeat(8, 46px);
        gap: 7px;
        max-height: 230px;
    }
    .bl-emoji-grid button { width: 46px; height: 46px; }
    .bl-emoji-grid img { width: 100%; height: 100%; }
}

/* 标签、昵称与留言/祝福之间留出呼吸空间 */
.bl-tabs { margin-bottom: 12px; }
.bl-kind { margin-top: 12px; }

/* 表情预览限定在表情面板内部，始终跟随所选表情 */
.bl-emoji-preview {
    position: absolute !important;
    z-index: 12;
    transform: translateX(-50%);
}

@media (min-width: 981px), (orientation: landscape) and (min-width: 640px) {
    .bl-emoji-pop {
        max-height: 360px;
        overflow: hidden;
    }
    .bl-emoji-grid {
        max-height: 190px;
        overflow-y: auto;
    }
    .bl-tab { min-width: 88px; padding: 9px 20px; }
}

/* 手机表情网格统一尺寸 */
@media (max-width: 980px) {
    .bl-emoji-grid { grid-template-columns: repeat(6, 1fr); gap: 4px; }
    .bl-emoji-grid button { height: 48px; aspect-ratio: auto; }
    .bl-emoji-grid img { width: 38px; height: 38px; object-fit: contain; }
    .bl-emoji-showcase .bl-emoji-cover img { width: 40px; height: 40px; }
    .bl-emoji-showcase .bl-emoji-cover.is-cover img { width: 44px; height: 44px; }
}

/* PC 表情面板宽度收到网格右侧，不留大块空白 */
@media (min-width: 981px), (orientation: landscape) and (min-width: 640px) {
    .bl-emoji-pop {
        width: min(500px, calc(100% - 12px));
    }
    .bl-emoji-grid {
        grid-template-columns: repeat(8, 46px);
        max-height: 188px;
    }
}
