        * { margin: 0; padding: 0; box-sizing: border-box; }
        html.page-liuyin, html.page-liuyin body { width: 100%; }
        /* 与 .ly-tabbar 可用高度一致；色板与底栏渐变首档共用，长条底缘与导航顶缘一致、减轻断层感 */
        html.page-liuyin,
        .uni-embed-liuyin.page-liuyin {
            --ly-tabbar-elev: calc(55px + env(safe-area-inset-bottom, 0px));
            --ly-nav-g0: rgba(30, 18, 45, 0.97);
            --ly-nav-g1: #100818;
            --ly-nav-g2: #0c0710;
            --ly-dm-below-cat: calc(env(safe-area-inset-top, 0px) + 10px + 12px + 50px + 8px);
            --ly-hall-below-compose: calc(10px + 12px + 40px + 20px);
        }
        /* 全屏底图；仅独立页作用在根 html，避免污染单页壳 */
        html.page-liuyin {
            min-height: 100%;
            background: #1a0f2a;
        }
        /* 全屏底图与滚动解耦：fixed 层始终铺满视口，比 body 上 background-attachment:fixed 更稳（尤其 iOS） */
        .ly-bg {
            position: fixed;
            left: 0;
            right: 0;
            top: 0;
            bottom: 0;
            z-index: 0;
            background-color: #1a0f2a;
            background-image: url('/img/bj.webp');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            pointer-events: none;
            transform: translateZ(0);
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
        }
        html.page-liuyin body {
            min-height: 100%;
            min-height: 100dvh;
            position: relative;
            color: #f0e8ff;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
            -webkit-tap-highlight-color: transparent;
            background-color: #1a0f2a;
        }
        .ly-app {
            position: relative;
            z-index: 1;
            min-height: 100vh;
            min-height: 100dvh;
            padding-bottom: var(--ly-tabbar-elev);
        }
        .ly-top {
            position: fixed;
            left: 0;
            right: 0;
            top: 0;
            z-index: 100;
            padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 12px;
            background: linear-gradient(180deg, rgba(20, 8, 34, 0.5) 0%, rgba(12, 4, 22, 0.15) 85%, transparent 100%);
        }
        /* 顶部分类：与 dsph .dsp-cat-tabs 同款（毛玻璃、上亮膜、内阴影、选中态水珠） */
        .page-liuyin .dsp-cat-tabs {
            position: relative;
            margin: 0 auto;
            z-index: 1;
            max-width: calc(100vw - 20px);
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            align-items: center;
            gap: 0;
            box-sizing: border-box;
            border-radius: 999px;
            padding: 6px 5px;
            isolation: isolate;
            border: 1px solid rgba(255, 255, 255, 0.38);
            background: linear-gradient(
                165deg,
                rgba(255, 255, 255, 0.38) 0%,
                rgba(255, 255, 255, 0.14) 38%,
                rgba(255, 255, 255, 0.08) 58%,
                rgba(18, 14, 32, 0.2) 100%
            );
            box-shadow:
                0 1px 0 rgba(255, 255, 255, 0.55) inset,
                0 -1px 0 rgba(0, 0, 0, 0.05) inset,
                0 0 0 0.5px rgba(255, 255, 255, 0.12),
                0 14px 36px rgba(0, 0, 0, 0.1),
                0 6px 16px rgba(0, 0, 0, 0.06);
            backdrop-filter: blur(26px) saturate(190%);
            -webkit-backdrop-filter: blur(26px) saturate(190%);
        }
        .page-liuyin .dsp-cat-tabs::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: inherit;
            pointer-events: none;
            z-index: 0;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.04) 42%, transparent 72%);
        }
        @supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
            .page-liuyin .dsp-cat-tabs {
                background: linear-gradient(165deg, rgba(72, 64, 96, 0.55) 0%, rgba(36, 32, 52, 0.62) 100%);
                border-color: rgba(255, 255, 255, 0.28);
            }
            .page-liuyin .dsp-cat-tabs::before {
                background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, transparent 55%);
            }
        }
        .page-liuyin .dsp-cat-tabs__btn {
            position: relative;
            z-index: 1;
            flex: 1;
            min-width: 0;
            text-align: center;
            border: 1px solid transparent;
            background: transparent;
            color: rgba(255, 255, 255, 0.98);
            font-size: 15px;
            font-weight: 600;
            padding: 8px 10px;
            border-radius: 999px;
            cursor: pointer;
            white-space: nowrap;
            -webkit-tap-highlight-color: transparent;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.72), 0 0 14px rgba(0, 0, 0, 0.22);
            transition: color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, text-shadow 0.22s ease, border-color 0.22s ease,
                transform 0.22s cubic-bezier(0.34, 1.02, 0.32, 1);
        }
        .ly-msg-tab-badge {
            display: inline-block;
            min-width: 18px;
            height: 18px;
            margin-left: 6px;
            padding: 0 5px;
            border-radius: 999px;
            background: linear-gradient(180deg, #ff6b6b, #e02828);
            color: #fff;
            font-size: 11px;
            font-weight: 800;
            line-height: 18px;
            text-align: center;
            vertical-align: middle;
            box-shadow: 0 2px 8px rgba(224, 40, 40, 0.45);
        }
        .ly-msg-tab-badge[hidden] { display: none !important; }
        .page-liuyin .dsp-cat-tabs__btn.is-active {
            z-index: 3;
            color: #ffffff;
            font-weight: 700;
            font-size: 14px;
            letter-spacing: 0.01em;
            transform: scale(1.02);
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8), 0 0 14px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.52);
            background:
                radial-gradient(ellipse 118% 98% at 28% 15%, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.14) 26%, transparent 55%),
                radial-gradient(ellipse 150% 118% at 50% 112%, rgba(255, 255, 255, 0.14) 0%, transparent 46%);
            background-origin: border-box;
            background-clip: padding-box;
            box-shadow:
                0 10px 22px rgba(0, 0, 0, 0.14),
                0 4px 10px rgba(0, 0, 0, 0.08),
                0 2px 0 rgba(255, 255, 255, 0.2),
                0 0 12px rgba(255, 255, 255, 0.06),
                inset 0 2px 14px rgba(255, 255, 255, 0.3),
                inset 0 -7px 20px rgba(0, 0, 0, 0.16),
                inset 0 1px 0 rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(18px) saturate(188%);
            -webkit-backdrop-filter: blur(18px) saturate(188%);
        }
        @supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
            .page-liuyin .dsp-cat-tabs__btn.is-active {
                background:
                    radial-gradient(ellipse 118% 98% at 28% 15%, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.1) 28%, transparent 56%),
                    radial-gradient(ellipse 150% 118% at 50% 112%, rgba(255, 255, 255, 0.1) 0%, transparent 46%);
            }
        }
        .ly-body {
            padding-top: calc(66px + env(safe-area-inset-top, 0px));
            padding-left: 12px;
            padding-right: 12px;
        }
        .ly-panel { display: none; }
        .ly-panel.is-on { display: block; }
        #panelHall.is-on {
            padding-bottom: var(--ly-hall-below-compose);
        }
        /* 与 dsph .dsp-vip-gate__panel 同配方：background / border / box-shadow / backdrop-filter + fallback */
        .page-liuyin .ly-card {
            position: relative;
            z-index: 1;
            display: flex;
            gap: 12px;
            align-items: flex-start;
            margin-bottom: 12px;
            padding: 14px 16px;
            border-radius: 20px;
            box-sizing: border-box;
            color: #fff;
            background: rgba(18, 12, 32, 0.38);
            border: 1px solid rgba(255, 255, 255, 0.22);
            box-shadow:
                0 20px 48px rgba(0, 0, 0, 0.28),
                inset 0 1px 0 rgba(255, 255, 255, 0.12);
            -webkit-backdrop-filter: blur(22px) saturate(1.35);
            backdrop-filter: blur(22px) saturate(1.35);
        }
        @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
            .page-liuyin .ly-card,
            .page-liuyin .ly-msg-item {
                background: rgba(22, 14, 38, 0.88);
            }
        }
        .ly-card__avatar {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            object-fit: cover;
            flex-shrink: 0;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        .ly-card__main { flex: 1; min-width: 0; }
        .ly-card__name {
            font-size: 14px;
            font-weight: 700;
            color: #c77dff;
            margin-bottom: 6px;
        }
        .ly-card__name a { color: inherit; text-decoration: none; }
        .ly-card__text { font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, 0.9); word-break: break-word; white-space: pre-wrap; }
        .ly-card__meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 10px;
            gap: 8px;
        }
        .ly-card__meta-left { flex: 1; min-width: 0; }
        .ly-card__meta-right { flex-shrink: 0; }
        /* 后期再显示发表时间 .ly-card__time { font-size: 11px; color: rgba(255, 255, 255, 0.45); } */
        .ly-card__mine { font-size: 12px; color: rgba(199, 125, 255, 0.9); font-weight: 600; }
        .ly-card--reply {
            cursor: pointer;
        }
        /* 回复私信弹层：居中、略方、毛玻璃比留言卡更实 */
        .ly-reply-sheet {
            position: fixed;
            inset: 0;
            z-index: 1005;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px 16px;
            box-sizing: border-box;
        }
        .ly-reply-sheet[hidden] {
            display: none !important;
        }
        .ly-reply-backdrop {
            position: absolute;
            inset: 0;
            background: rgba(6, 2, 14, 0.52);
            -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
        }
        .ly-reply-card {
            position: relative;
            z-index: 1;
            width: min(90vw, 400px);
            max-width: 400px;
            max-height: min(90vh, 420px);
            display: flex;
            flex-direction: column;
            padding: 18px 16px 16px;
            border-radius: 22px;
            box-sizing: border-box;
            color: #f0e8ff;
            border: 1px solid rgba(255, 255, 255, 0.22);
            background: rgba(18, 12, 32, 0.72);
            box-shadow:
                0 24px 64px rgba(0, 0, 0, 0.45),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
            -webkit-backdrop-filter: blur(28px) saturate(1.4);
            backdrop-filter: blur(28px) saturate(1.4);
            overflow: hidden;
        }
        @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
            .ly-reply-card {
                background: linear-gradient(165deg, rgba(34, 24, 52, 0.96) 0%, rgba(20, 14, 36, 0.98) 100%);
            }
        }
        .ly-reply-close {
            position: absolute;
            top: 10px;
            right: 10px;
            width: 36px;
            height: 36px;
            border: none;
            border-radius: 50%;
            background: rgba(0, 0, 0, 0.22);
            color: rgba(255, 255, 255, 0.7);
            font-size: 22px;
            line-height: 1;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
        }
        .ly-reply-close:active { background: rgba(0, 0, 0, 0.35); }
        .ly-reply-peer {
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 12px;
            margin-bottom: 10px;
            padding-right: 40px;
        }
        .ly-reply-peer img {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            object-fit: cover;
            flex-shrink: 0;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        .ly-reply-nick {
            font-size: 16px;
            font-weight: 700;
            color: #e8d4ff;
            line-height: 1.3;
            word-break: break-word;
        }
        .ly-reply-quote {
            flex: 1;
            min-height: 0;
            max-height: 40vh;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
            margin-bottom: 14px;
            padding: 10px 12px;
            font-size: 14px;
            line-height: 1.5;
            color: rgba(255, 255, 255, 0.88);
            white-space: pre-wrap;
            word-break: break-word;
            border-radius: 14px;
            background: rgba(0, 0, 0, 0.22);
            border: 1px solid rgba(255, 255, 255, 0.08);
        }
        .ly-reply-input {
            display: block;
            width: 100%;
            min-height: calc(1.5em * 3 + 18px);
            max-height: 200px;
            padding: 10px 12px;
            font-size: 15px;
            line-height: 1.5;
            border-radius: 14px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            background: rgba(0, 0, 0, 0.28);
            color: #fff;
            resize: vertical;
            box-sizing: border-box;
            font-family: inherit;
        }
        .ly-reply-input::placeholder { color: rgba(255, 255, 255, 0.4); }
        .ly-reply-input:focus {
            outline: none;
            border-color: rgba(199, 125, 255, 0.5);
            box-shadow: 0 0 0 2px rgba(199, 125, 255, 0.15);
        }
        .ly-reply-actions {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: flex-end;
            gap: 10px;
            margin-top: 14px;
            flex-shrink: 0;
        }
        .ly-reply-btn {
            min-width: 88px;
            padding: 10px 18px;
            border-radius: 12px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            border: 1px solid transparent;
        }
        .ly-reply-btn--ghost {
            background: rgba(255, 255, 255, 0.08);
            color: rgba(255, 255, 255, 0.85);
            border-color: rgba(255, 255, 255, 0.2);
        }
        .ly-reply-btn--send {
            color: #1a1028;
            background: linear-gradient(145deg, #ffe8b8 0%, #e8c066 45%, #c9a227 100%);
            border: none;
        }
        .ly-reply-btn:disabled { opacity: 0.5; cursor: default; }
        body.ly-reply-open { overflow: hidden; }
        .ly-hint { text-align: center; color: rgba(255, 255, 255, 0.45); font-size: 14px; padding: 28px 12px; }
        .ly-compose {
            position: fixed;
            left: 0;
            right: 0;
            bottom: var(--ly-tabbar-elev);
            z-index: 90;
            padding: 10px 10px 12px;
            /* 极细灰线，弱化存在感；0.3px 在部分屏上会亚像素合成为更淡一线 */
            border-top: 0.3px solid rgba(200, 198, 208, 0.42);
            /* 底端与 .ly-tabbar 顶色一致，向上再略紫、略淡，与当前透明度感觉衔接 */
            background: linear-gradient(
                0deg,
                var(--ly-nav-g0) 0%,
                rgba(22, 14, 36, 0.44) 30%,
                rgba(36, 22, 62, 0.34) 58%,
                rgba(12, 8, 24, 0.1) 100%
            );
            box-shadow: 0 -8px 36px rgba(0, 0, 0, 0.22);
            -webkit-backdrop-filter: blur(22px) saturate(1.5);
            backdrop-filter: blur(22px) saturate(1.5);
        }
        @supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
            .ly-compose {
                background: linear-gradient(
                    0deg,
                    var(--ly-nav-g0) 0%,
                    var(--ly-nav-g1) 28%,
                    rgba(36, 24, 56, 0.92) 55%,
                    rgba(24, 16, 40, 0.88) 100%
                );
            }
        }
        .ly-compose__row {
            display: flex;
            flex-direction: row;
            align-items: flex-start;
            gap: 8px;
        }
        .ly-compose__input-wrap {
            flex: 1;
            min-width: 0;
            display: flex;
        }
        .ly-compose textarea {
            width: 100%;
            min-height: 36px;
            height: 36px;
            max-height: 100px;
            padding: 7px 10px;
            line-height: 1.35;
            border-radius: 10px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            background: rgba(0, 0, 0, 0.28);
            color: #fff;
            font-size: 14px;
            resize: none;
        }
        .ly-compose button {
            flex-shrink: 0;
            width: auto;
            min-width: 64px;
            min-height: 36px;
            height: 36px;
            margin-top: 0;
            padding: 0 16px;
            border: none;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 700;
            line-height: 1;
            color: #1a1028;
            background: linear-gradient(145deg, #ffe8b8 0%, #e8c066 45%, #c9a227 100%);
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        .page-liuyin .ly-msg-item {
            position: relative;
            z-index: 1;
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            margin-bottom: 10px;
            border-radius: 20px;
            box-sizing: border-box;
            text-decoration: none;
            color: inherit;
            background: rgba(18, 12, 32, 0.38);
            border: 1px solid rgba(255, 255, 255, 0.22);
            box-shadow:
                0 20px 48px rgba(0, 0, 0, 0.28),
                inset 0 1px 0 rgba(255, 255, 255, 0.12);
            -webkit-backdrop-filter: blur(22px) saturate(1.35);
            backdrop-filter: blur(22px) saturate(1.35);
        }
        .ly-msg-item img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
        .ly-msg-item__info { flex: 1; min-width: 0; }
        .ly-msg-item__title { font-size: 15px; font-weight: 700; color: #e8d4ff; }
        .ly-msg-item__desc {
            font-size: 13px;
            color: rgba(255, 255, 255, 0.55);
            margin-top: 4px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .ly-msg-item__right {
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            justify-content: center;
            gap: 4px;
            min-width: 0;
        }
        .ly-msg-item__unread {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 20px;
            height: 20px;
            padding: 0 6px;
            border-radius: 999px;
            font-size: 12px;
            font-weight: 800;
            line-height: 1;
            color: #fff;
            background: linear-gradient(180deg, #ff6b6b, #d42020);
            box-shadow: 0 2px 8px rgba(224, 40, 40, 0.4);
        }
        .ly-msg-item__time { font-size: 12px; color: rgba(255, 255, 255, 0.4); }
        .ly-tabbar {
            position: fixed;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 999;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: space-around;
            min-height: calc(55px + env(safe-area-inset-bottom, 0px));
            padding-bottom: env(safe-area-inset-bottom, 0px);
            background: linear-gradient(180deg, var(--ly-nav-g0) 0%, var(--ly-nav-g1) 55%, var(--ly-nav-g2) 100%);
            border-top: 1px solid rgba(148, 0, 211, 0.42);
            box-shadow: 0 -10px 40px rgba(148, 0, 211, 0.12);
        }
        .ly-tabbar a {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: #8a8794;
            text-decoration: none;
            font-size: 10px;
            flex: 1;
            min-width: 0;
        }
        .ly-tabbar a .tab-icon-svg svg { width: 20px; height: 20px; display: block; fill: currentColor; }
        .ly-tabbar a.is-here { color: #e8d4ff; text-shadow: 0 0 14px rgba(199, 125, 255, 0.35); }
        .ly-tabbar a.is-here .tab-icon-svg { color: #c77dff; }
        /* 我的消息列表：用按钮打开私信大卡，不再整页跳转 */
        button.ly-msg-item {
            width: 100%;
            font: inherit;
            cursor: pointer;
            text-align: left;
        }
        /* 私信大卡：不盖住顶部分类；遮罩自分类条下缘起；卡片水平约 70%、高度约 70% 视口、四周留白 */
        .ly-dm[hidden] { display: none !important; }
        .ly-dm {
            position: fixed;
            inset: 0;
            z-index: 1005;
        }
        .ly-dm__dim {
            position: absolute;
            left: 0;
            right: 0;
            top: var(--ly-dm-below-cat);
            bottom: 0;
            background: rgba(4, 2, 10, 0.48);
            -webkit-backdrop-filter: blur(5px);
            backdrop-filter: blur(5px);
        }
        .ly-dm__card {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            top: var(--ly-dm-below-cat);
            width: min(70vw, 520px);
            height: 70vh;
            max-height: calc(100dvh - var(--ly-dm-below-cat) - 15vh);
            min-height: 220px;
            display: flex;
            flex-direction: column;
            border-radius: 22px;
            overflow: hidden;
            box-sizing: border-box;
            border: 1px solid rgba(255, 255, 255, 0.2);
            background: rgba(16, 10, 28, 0.78);
            box-shadow: 0 20px 56px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
            -webkit-backdrop-filter: blur(24px) saturate(1.35);
            backdrop-filter: blur(24px) saturate(1.35);
        }
        @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
            .ly-dm__card {
                background: linear-gradient(160deg, rgba(36, 24, 56, 0.97) 0%, rgba(20, 12, 32, 0.99) 100%);
            }
        }
        .ly-dm__head {
            position: relative;
            z-index: 4;
            flex-shrink: 0;
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 8px;
            padding: 10px 10px 10px 6px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            background: rgba(0, 0, 0, 0.2);
        }
        .ly-dm__back {
            position: relative;
            z-index: 5;
            flex-shrink: 0;
            width: 40px;
            height: 40px;
            border: none;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.1);
            color: #e8d4ff;
            font-size: 20px;
            line-height: 1;
            cursor: pointer;
            touch-action: manipulation;
            -webkit-tap-highlight-color: transparent;
        }
        .ly-dm__title {
            flex: 1;
            min-width: 0;
            font-size: 16px;
            font-weight: 700;
            color: #f0e8ff;
            text-align: center;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            padding: 0 4px;
        }
        .ly-dm__head-spacer {
            flex-shrink: 0;
            width: 40px;
            height: 40px;
            pointer-events: none;
        }
        .ly-dm__scroll {
            position: relative;
            z-index: 1;
            flex: 1;
            min-height: 0;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
            padding: 10px 10px 12px;
        }
        .ly-dm__list { list-style: none; margin: 0; padding: 0; }
        .ly-dm__row {
            display: flex;
            flex-direction: row;
            align-items: flex-start;
            gap: 6px;
            margin-bottom: 10px;
        }
        .ly-dm__row--me { justify-content: flex-end; }
        .ly-dm__row--them { justify-content: flex-start; }
        /* 占满「头像外」的剩余宽，避免 % max-width 与未定型父宽循环 → 行宽被算成 1 个字 */
        .ly-dm__col {
            flex: 1 1 0;
            min-width: 0;
            max-width: min(100%, 320px);
            display: flex;
            flex-direction: column;
        }
        .ly-dm__row--me .ly-dm__col { align-items: flex-end; }
        .ly-dm__row--them .ly-dm__col { align-items: flex-start; }
        .ly-dm__av {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            object-fit: cover;
            flex-shrink: 0;
            border: 1px solid rgba(255, 255, 255, 0.15);
            background: rgba(255, 255, 255, 0.08);
        }
        .ly-dm__bubble {
            display: block;
            width: max-content;
            max-width: 100%;
            min-width: 0;
            padding: 8px 11px;
            border-radius: 14px;
            font-size: 14px;
            line-height: 1.45;
            word-break: normal;
            overflow-wrap: anywhere;
        }
        .ly-dm__row--them .ly-dm__bubble {
            background: rgba(36, 26, 52, 0.85);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.92);
        }
        .ly-dm__row--me .ly-dm__bubble {
            background: linear-gradient(145deg, rgba(88, 48, 130, 0.85) 0%, rgba(48, 30, 78, 0.92) 100%);
            border: 1px solid rgba(199, 125, 255, 0.22);
            color: #fff;
        }
        .ly-dm__bubble a { color: #b8a0ff; }
        .ly-dm__time { font-size: 10px; color: rgba(255, 255, 255, 0.35); margin-top: 3px; padding: 0 2px; }
        .ly-dm__row--me .ly-dm__time { text-align: right; }
        .ly-dm__img-hint { font-size: 12px; color: rgba(255, 255, 255, 0.5); font-style: italic; }
        .ly-dm__foot {
            flex-shrink: 0;
            display: flex;
            flex-direction: row;
            align-items: flex-end;
            gap: 8px;
            padding: 8px 10px;
            padding-bottom: max(8px, env(safe-area-inset-bottom, 0px));
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            background: rgba(0, 0, 0, 0.25);
        }
        .ly-dm__foot textarea {
            flex: 1;
            min-width: 0;
            min-height: 40px;
            max-height: 100px;
            padding: 8px 10px;
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.18);
            background: rgba(0, 0, 0, 0.35);
            color: #fff;
            font-size: 14px;
            line-height: 1.4;
            resize: none;
            font-family: inherit;
        }
        .ly-dm__foot textarea:focus { outline: none; border-color: rgba(199, 125, 255, 0.4); }
        .ly-dm__send {
            flex-shrink: 0;
            min-width: 64px;
            min-height: 40px;
            padding: 0 12px;
            border: none;
            border-radius: 12px;
            font-size: 14px;
            font-weight: 700;
            color: #1a1028;
            cursor: pointer;
            background: linear-gradient(145deg, #ffe8b8 0%, #e8c066 45%, #c9a227 100%);
        }
        .ly-dm__send:disabled { opacity: 0.5; cursor: default; }
        /* 私信大卡打开时背景滚动用 JS 固定 body+top 负值，避免只用 overflow:hidden 在部分机型上关层后列表「飘走」 */
