@font-face{font-family:remixicon;src:url("remixicon.woff2") format("woff2");font-display:swap}
[class*=" ri-"],[class^=ri-]{font-family:remixicon!important;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.ri-arrow-right-s-line:before{content:"\ea6e"}.ri-article-line:before{content:"\ea7e"}.ri-check-line:before{content:"\eb7b"}.ri-checkbox-circle-fill:before{content:"\eb80"}.ri-download-2-line:before{content:"\ec54"}.ri-eye-line:before{content:"\ecb5"}.ri-file-copy-line:before{content:"\ecd5"}.ri-file-download-line:before{content:"\ecd9"}.ri-file-list-3-line:before{content:"\ecef"}.ri-file-text-line:before{content:"\ed0f"}.ri-git-merge-line:before{content:"\edc1"}.ri-heart-3-line:before{content:"\ee0b"}.ri-home-5-line:before{content:"\ee1f"}.ri-image-2-line:before{content:"\ee45"}.ri-link:before{content:"\eeb2"}.ri-login-box-line:before{content:"\eed4"}.ri-magic-line:before{content:"\eeea"}.ri-palette-line:before{content:"\efc5"}.ri-percent-line:before{content:"\efe6"}.ri-qr-code-line:before{content:"\f03d"}.ri-refresh-line:before{content:"\f064"}.ri-shield-check-line:before{content:"\f100"}.ri-time-line:before{content:"\f20f"}.ri-user-3-line:before{content:"\f256"}.ri-user-add-line:before{content:"\f25e"}
/* 推广中心共用件（pc/js/promotion-kit.js、promotion-poster.js）：图表、二维码、推广海报与海报弹窗。
   内置推广中心与各推广主题模块共用，类名一律 ls-pk- 开头。 */

:root {
    --ls-pk-num: "DIN Alternate", "Bahnschrift", "SF Pro Display", -apple-system, "Segoe UI", sans-serif;
}

.ls-pk-av {
    display: inline-block;
    flex: none;
    border-radius: 50%;
    overflow: hidden;
    background: #e5e7eb;
    vertical-align: middle;
}

.ls-pk-av > img { display: block; width: 100%; height: 100%; object-fit: cover; }

.ls-pk-qr { display: block; }

.ls-pk-growth { display: inline-flex; align-items: center; gap: 1px; font-size: 12.5px; font-weight: 600; font-family: var(--ls-pk-num); white-space: nowrap; }
.ls-pk-growth.is-up { color: #16a34a; }
.ls-pk-growth.is-down { color: #dc2626; }
.ls-pk-growth.is-flat { color: var(--ls-text-muted); font-weight: 400; font-family: inherit; }

/* ---------- 图表 ---------- */
.ls-pk-chart { position: relative; }
.ls-pk-chart svg { display: block; overflow: visible; }
.ls-pk-chart text { font-family: var(--ls-pk-num); }

.ls-pk-tip {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    z-index: 5;
    min-width: 128px;
    padding: 9px 11px;
    border-radius: 10px;
    background: rgba(17, 24, 39, .94);
    color: #fff;
    font-size: 12px;
    line-height: 1.5;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity .12s;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

.ls-pk-tip.is-show { opacity: 1; }
.ls-pk-tip-t { margin-bottom: 4px; font-weight: 600; color: rgba(255, 255, 255, .72); }
.ls-pk-tip-r { display: flex; align-items: center; gap: 8px; }
.ls-pk-tip-r i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.ls-pk-tip-r span { flex: 1; color: rgba(255, 255, 255, .78); }
.ls-pk-tip-r b { font-family: var(--ls-pk-num); font-weight: 600; }
.ls-pk-tip[data-theme="light"] { background: #fff; color: #111827; border: 1px solid #eef0f3; box-shadow: 0 10px 28px rgba(17, 24, 39, .12); }
.ls-pk-tip[data-theme="light"] .ls-pk-tip-t, .ls-pk-tip[data-theme="light"] .ls-pk-tip-r span { color: #6b7280; }
.ls-pk-tip[data-theme="dark"] { background: #262932; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }

.ls-pk-empty {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    color: #9ca3af;
    text-align: center;
    pointer-events: none;
}

.ls-pk-empty i { font-size: 28px; color: #cbd5e1; }
.ls-pk-empty b { font-size: 14px; font-weight: 600; color: #6b7280; }

.ls-pk-donut { position: relative; flex: none; }
.ls-pk-donut svg { display: block; }

.ls-pk-donut-c {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
}

/* ---------- 推广海报：底稿 360 宽，竖版 640 高、3:4 480 高 ---------- */
.ls-pk-pp-fit { position: relative; flex: none; overflow: hidden; border-radius: 14px; }
.ls-pk-pp-scale { position: absolute; inset-inline-start: 0; top: 0; transform-origin: 0 0; }

.ls-pk-pp {
    position: relative;
    width: 360px;
    height: 640px;
    overflow: hidden;
    color: #0f172a;
    background: #fff;
    font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
    text-align: start;
}

.ls-pk-pp.ls-pk-pp-r34 { height: 480px; }
.ls-pk-pp h3, .ls-pk-pp p { margin: 0; }
.ls-pk-pp .ls-pk-av { box-shadow: 0 0 0 2px #fff; }

.ls-pk-pp-logo {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    background: var(--pp-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.ls-pk-pp-site { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.ls-pk-pp-qrbox { flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ls-pk-pp-qr { display: block; border-radius: 8px; overflow: hidden; background: #fff; }
.ls-pk-pp-qrbox > span:last-child { font-size: 10px; color: #64748b; }
.ls-pk-pp-user { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ls-pk-pp-user > div { min-width: 0; }
.ls-pk-pp-user b { display: block; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ls-pk-pp-user span { display: block; margin-top: 3px; font-size: 11px; color: #64748b; white-space: nowrap; }
.ls-pk-pp-user em { font-style: normal; }

/* 晨光：上图下文 */
.ls-pk-pp-photo { position: absolute; inset-inline-start: 16px; inset-inline-end: 16px; top: 16px; height: 340px; border-radius: 16px; overflow: hidden; background: #e2e8f0; }
.ls-pk-pp-photo > img { display: block; width: 100%; height: 100%; object-fit: cover; }

.ls-pk-pp-photo .ls-pk-pp-site {
    position: absolute;
    inset-inline-start: 12px;
    top: 12px;
    padding-block: 5px;
    padding-inline: 5px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .9);
    font-size: 13px;
}

.ls-pk-pp-body { position: absolute; inset-inline-start: 28px; inset-inline-end: 28px; top: 378px; }
.ls-pk-pp-dawn .ls-pk-pp-kicker { font-size: 12px; font-weight: 600; color: var(--pp-primary); letter-spacing: 1px; line-height: 17px; }
.ls-pk-pp-dawn h3 { margin-top: 8px; font-size: 25px; line-height: 1.3; font-weight: 800; }
.ls-pk-pp-dawn p { margin-top: 8px; font-size: 13px; line-height: 1.7; color: #64748b; }

.ls-pk-pp-foot {
    position: absolute;
    inset-inline-start: 16px;
    inset-inline-end: 16px;
    bottom: 16px;
    height: 104px;
    padding-block: 0;
    padding-inline: 16px 14px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #edf1f6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ls-pk-pp-dawn.ls-pk-pp-r34 .ls-pk-pp-photo { height: 196px; }
.ls-pk-pp-dawn.ls-pk-pp-r34 .ls-pk-pp-body { top: 230px; }
.ls-pk-pp-dawn.ls-pk-pp-r34 h3 { margin-top: 6px; font-size: 22px; }
.ls-pk-pp-dawn.ls-pk-pp-r34 .ls-pk-pp-foot { height: 96px; }

/* 墨夜：深色渐变 + 内容剪影 + 玻璃卡 */
.ls-pk-pp-ink {
    color: #fff;
    background:
        radial-gradient(260px 220px at 92% 6%, rgba(var(--pp-primary-rgb), .55), transparent 70%),
        radial-gradient(240px 240px at 0% 78%, rgba(139, 92, 246, .32), transparent 70%),
        linear-gradient(165deg, #0b1020 0%, #121a2e 55%, #0a0f1d 100%);
}

.ls-pk-pp-ink > .ls-pk-pp-site { position: absolute; inset-inline-start: 26px; top: 26px; }
.ls-pk-pp-hero { position: absolute; inset-inline-start: 26px; inset-inline-end: 26px; top: 86px; }

.ls-pk-pp-ink .ls-pk-pp-kicker {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
    font-size: 11.5px;
    line-height: 13px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, .86);
}

.ls-pk-pp-ink h3 { margin-top: 16px; font-size: 30px; line-height: 1.25; font-weight: 800; }
.ls-pk-pp-ink h3 em { font-style: normal; background: linear-gradient(90deg, #fff, #c7d2fe 60%, #a5b4fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ls-pk-pp-ink p { margin-top: 12px; font-size: 13px; line-height: 1.7; color: rgba(255, 255, 255, .66); }
.ls-pk-pp-strip { position: absolute; inset-inline-start: 26px; inset-inline-end: 26px; top: 296px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ls-pk-pp-strip > span { display: block; height: 112px; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, .08); }
.ls-pk-pp-strip img { display: block; width: 100%; height: 100%; object-fit: cover; }

.ls-pk-pp-ink .ls-pk-pp-card {
    position: absolute;
    inset-inline-start: 16px;
    inset-inline-end: 16px;
    bottom: 16px;
    height: 112px;
    padding-block: 0;
    padding-inline: 16px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ls-pk-pp-ink .ls-pk-pp-user span, .ls-pk-pp-ink .ls-pk-pp-qrbox > span:last-child { color: rgba(255, 255, 255, .6); }
.ls-pk-pp-ink .ls-pk-pp-qr { box-shadow: 0 0 0 3px #fff; }
.ls-pk-pp-ink.ls-pk-pp-r34 .ls-pk-pp-hero { top: 74px; }
.ls-pk-pp-ink.ls-pk-pp-r34 h3 { margin-top: 12px; font-size: 27px; }
.ls-pk-pp-ink.ls-pk-pp-r34 .ls-pk-pp-strip { display: none; }
.ls-pk-pp-ink.ls-pk-pp-r34 .ls-pk-pp-card { height: 104px; }

/* 纸笺：满版照片 + 白色卡片 */
.ls-pk-pp-paper { background: #1f2937; }
.ls-pk-pp-full { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.ls-pk-pp-paper::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .28), rgba(0, 0, 0, 0) 26%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, .3)); }
.ls-pk-pp-paper > .ls-pk-pp-site { position: absolute; inset-inline-start: 18px; top: 18px; z-index: 1; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }

.ls-pk-pp-paper .ls-pk-pp-card {
    position: absolute;
    inset-inline-start: 16px;
    inset-inline-end: 16px;
    bottom: 16px;
    z-index: 1;
    padding: 20px 18px 16px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}

.ls-pk-pp-paper h3 { font-size: 22px; line-height: 1.3; font-weight: 800; }
.ls-pk-pp-paper p { margin-top: 6px; font-size: 12.5px; line-height: 1.7; color: #64748b; }
.ls-pk-pp-row { margin-top: 14px; padding-top: 14px; border-top: 1px dashed #e2e8f0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ls-pk-pp-paper.ls-pk-pp-r34 .ls-pk-pp-card { padding: 16px 16px 14px; }
.ls-pk-pp-paper.ls-pk-pp-r34 h3 { font-size: 20px; }
.ls-pk-pp-paper.ls-pk-pp-r34 .ls-pk-pp-row { margin-top: 10px; padding-top: 10px; }

/* ---------- 海报弹窗（挂在 LS.ui.modal 里） ---------- */
#ls-pk-poster-dialog .ls-modal-content { border-radius: 18px; overflow: hidden; }
#ls-pk-poster-dialog .ls-modal-body { padding: 0; }
.ls-pk-pd { position: relative; display: flex; }

.ls-pk-pd-x {
    position: absolute;
    inset-inline-end: 14px;
    top: 14px;
    z-index: 2;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.ls-pk-pd-x:hover { background: #e5e7eb; color: #111827; }

.ls-pk-pd-stage {
    flex: none;
    width: 380px;
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 1px 1px, rgba(15, 23, 42, .08) 1px, transparent 0) 0 0 / 14px 14px, #f3f5f8;
}

.ls-pk-pd-poster .ls-pk-pp-fit { box-shadow: 0 18px 40px rgba(15, 23, 42, .18); }
.ls-pk-pd-side { flex: 1; min-width: 0; padding: 30px 26px 26px; display: flex; flex-direction: column; }
.ls-pk-pd-side h3 { margin: 0; font-size: 18px; font-weight: 700; color: #111827; }
.ls-pk-pd-side > p { margin: 8px 0 0; font-size: 13px; line-height: 1.7; color: #6b7280; text-wrap: pretty; }
.ls-pk-pd-label { margin: 20px 0 10px; font-size: 13px; font-weight: 600; color: #374151; }
.ls-pk-pd-tpls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }

.ls-pk-pd-tpl {
    padding: 8px 6px 9px;
    border-radius: 12px;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s;
}

.ls-pk-pd-tpl:hover { border-color: #cbd5e1; }
.ls-pk-pd-tpl.is-on { border-color: var(--ls-primary); box-shadow: 0 0 0 3px rgba(var(--ls-primary-rgb), .14); }
.ls-pk-pd-thumb { display: block; }
.ls-pk-pd-thumb .ls-pk-pp-fit { border-radius: 6px; box-shadow: 0 0 0 1px rgba(15, 23, 42, .06); }
.ls-pk-pd-tpl b { font-size: 12.5px; font-weight: 600; color: #111827; }
.ls-pk-pd-seg { display: flex; padding: 3px; border-radius: 10px; background: #f3f4f6; }
.ls-pk-pd-seg button { flex: 1; height: 32px; border: 0; border-radius: 8px; background: transparent; font-size: 13px; color: #4b5563; cursor: pointer; }
.ls-pk-pd-seg button.is-on { background: #fff; color: #111827; font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.ls-pk-pd-acts { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }

.ls-pk-pd-acts button {
    height: 42px;
    border-radius: 11px;
    border: 1px solid #e5e7eb;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}

.ls-pk-pd-acts button i { font-size: 17px; }
.ls-pk-pd-acts button:hover { border-color: #cbd5e1; }
.ls-pk-pd-acts button.is-primary { background: var(--ls-primary); border-color: var(--ls-primary); color: #fff; }
.ls-pk-pd-acts button.is-primary:hover { filter: brightness(.94); }
/* 推广中心 · 物料工坊。沿用站点主题色，类名一律 lsps- 开头；图表、二维码、海报的样式在宿主的 promotion-kit.css。 */

.lsps {
    --ink: #111827;
    --sub: #6b7280;
    --mute: #9ca3af;
    --line: #eceef2;
    --soft: rgba(var(--ls-primary-rgb), .07);
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    padding: 28px 0 72px;
    color: var(--ink);
    font-size: 14px;
}

.lsps h2, .lsps h3, .lsps p, .lsps ul { margin: 0; padding: 0; }
.lsps-wait { padding: 120px 0; }
.lsps-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }

.lsps-btn {
    height: 38px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid #e3e6eb;
    background: #fff;
    color: #374151;
    font-size: 13.5px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    transition: border-color .15s, color .15s, background .15s;
}

.lsps-btn i { font-size: 16px; }
.lsps-btn:hover { border-color: #cfd5de; color: var(--ink); }
.lsps-btn.is-primary { background: var(--ls-primary); border-color: var(--ls-primary); color: #fff; font-weight: 600; }
.lsps-btn.is-primary:hover { background: var(--ls-primary-hover); border-color: var(--ls-primary-hover); color: #fff; }

/* 顶部概览条 */
.lsps-bar { padding: 18px 22px; display: flex; align-items: center; gap: 20px; }
.lsps-me { display: flex; align-items: center; gap: 12px; min-width: 0; }
.lsps-me-t { min-width: 0; }
.lsps-me-n { display: block; font-size: 16px; font-weight: 700; }
.lsps-me-c { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12px; color: var(--sub); }
.lsps-me-c em { font-style: normal; font-family: var(--ls-pk-num); color: #374151; letter-spacing: .4px; }
.lsps-me-c button { width: 20px; height: 20px; border: 0; border-radius: 5px; background: transparent; color: var(--mute); display: flex; align-items: center; justify-content: center; font-size: 13px; cursor: pointer; }
.lsps-me-c button:hover { background: #eef1f5; color: var(--ls-primary); }
.lsps-stats { margin-inline-start: auto; display: flex; align-items: center; }
.lsps-stat { padding: 0 22px; }
.lsps-stat + .lsps-stat { border-inline-start: 1px solid var(--line); }
.lsps-stat-k { display: block; font-size: 12px; color: var(--mute); white-space: nowrap; }
.lsps-stat-v { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; font-family: var(--ls-pk-num); font-size: 19px; font-weight: 700; white-space: nowrap; }
.lsps-stat-v small { font-size: 12px; font-weight: 500; color: var(--sub); }
.lsps-stat-v small.is-pre { margin-inline-end: -4px; color: var(--ink); font-size: 13px; }
.lsps-more { display: block; margin-top: 3px; font-size: 12px; color: var(--mute); white-space: nowrap; }
.lsps-bar .lsps-btn { flex: none; }

/* 工作台 */
.lsps-desk { margin-top: 16px; display: grid; grid-template-columns: 232px minmax(0, 1fr) 300px; min-height: 740px; overflow: hidden; }
.lsps-rail { padding: 18px 14px; border-inline-end: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; background: #fbfbfc; }
.lsps-rail-h { padding: 4px 8px 10px; font-size: 12px; font-weight: 600; color: var(--mute); letter-spacing: 1px; }
.lsps-tool { width: 100%; padding: 11px 12px; border: 1px solid transparent; border-radius: 13px; background: transparent; text-align: start; display: flex; align-items: center; gap: 12px; color: var(--ink); cursor: pointer; transition: background .15s, border-color .15s; }
.lsps-tool:hover { background: #f1f3f6; }
.lsps-tool.is-on { background: #fff; border-color: var(--line); box-shadow: 0 2px 8px rgba(16, 24, 40, .06); }
.lsps-tool-ic { width: 36px; height: 36px; border-radius: 11px; flex: none; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--sub); background: #eef0f4; }
.lsps-tool.is-on .lsps-tool-ic { color: #fff; background: var(--ls-primary); }
.lsps-tool-t { min-width: 0; }
.lsps-tool-n { display: block; font-size: 14px; font-weight: 600; }
.lsps-tool-d { display: block; margin-top: 2px; font-size: 12px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lsps-tip { margin-top: auto; padding: 14px; border-radius: 14px; background: var(--soft); font-size: 12px; line-height: 1.7; color: #4b5563; }
.lsps-tip b { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; font-size: 13px; color: var(--ink); }
.lsps-tip b i { color: var(--ls-primary); font-size: 15px; }
.lsps-stage { position: relative; min-width: 0; background: radial-gradient(circle at 1px 1px, rgba(15, 23, 42, .075) 1px, transparent 0) 0 0 / 16px 16px, #f4f6f9; display: flex; flex-direction: column; }
.lsps-stage-h { height: 52px; padding: 0 20px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .7); font-size: 13px; color: var(--sub); }
.lsps-stage-h b { color: var(--ink); font-weight: 600; }
.lsps-stage-h .lsps-fill { flex: 1; }
.lsps-stage-h em { font-style: normal; font-family: var(--ls-pk-num); font-size: 12px; padding: 3px 8px; border-radius: 6px; background: #fff; border: 1px solid var(--line); color: var(--sub); }
.lsps-stage-b { flex: 1; min-height: 0; padding: 28px; display: flex; align-items: center; justify-content: center; }
.lsps-stage-b.is-top { align-items: stretch; justify-content: flex-start; }
.lsps-stage-b .ls-pk-pp-fit { box-shadow: 0 22px 48px rgba(15, 23, 42, .18), 0 0 0 1px rgba(15, 23, 42, .04); }
.lsps-insp { border-inline-start: 1px solid var(--line); padding: 20px 20px 22px; display: flex; flex-direction: column; }
.lsps-insp h3 { font-size: 15px; font-weight: 700; }
.lsps-insp-d { margin-top: 4px; font-size: 12.5px; line-height: 1.6; color: var(--mute); text-wrap: pretty; }
.lsps-lab { margin: 20px 0 10px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; color: #374151; }
.lsps-lab span { font-weight: 400; font-size: 12px; color: var(--mute); }
.lsps-tpls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lsps-tpl { padding: 7px 6px 8px; border-radius: 12px; border: 1.5px solid #e5e7eb; background: #fff; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; }
.lsps-tpl:hover { border-color: #cbd5e1; }
.lsps-tpl.is-on { border-color: var(--ls-primary); box-shadow: 0 0 0 3px rgba(var(--ls-primary-rgb), .14); }
.lsps-tpl .ls-pk-pp-fit { border-radius: 6px; box-shadow: 0 0 0 1px rgba(15, 23, 42, .06); }
.lsps-tpl b { font-size: 12.5px; font-weight: 600; }
.lsps-bgs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.lsps-bg { position: relative; padding: 0; height: 38px; border-radius: 8px; border: 0; overflow: hidden; background: #e5e7eb; box-shadow: 0 0 0 1px rgba(15, 23, 42, .06); cursor: pointer; }
.lsps-bg img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lsps-bg.is-on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ls-primary); }
.lsps-bg-ck { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 17px; background: rgba(15, 23, 42, .32); }
.lsps-seg { display: flex; padding: 3px; border-radius: 10px; background: #f3f4f6; }
.lsps-seg button { flex: 1; height: 30px; border: 0; border-radius: 8px; background: transparent; font-size: 12.5px; color: var(--sub); white-space: nowrap; cursor: pointer; }
.lsps-seg button.is-on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.lsps-sw { display: flex; align-items: center; justify-content: space-between; height: 38px; font-size: 13px; color: #374151; }
.lsps-sw + .lsps-sw { border-top: 1px solid #f3f4f6; }
.lsps-sw button { position: relative; width: 36px; height: 20px; border: 0; border-radius: 999px; background: #d1d5db; cursor: pointer; transition: background .15s; }
.lsps-sw button::after { content: ""; position: absolute; top: 2px; inset-inline-start: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .15s; }
.lsps-sw button.is-on { background: var(--ls-primary); }
.lsps-sw button.is-on::after { transform: translateX(16px); }
.lsps-insp-acts { margin-top: auto; padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.lsps-insp-acts .lsps-btn { height: 42px; }
.lsps-colors { display: flex; gap: 10px; }
.lsps-color { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); cursor: pointer; }
.lsps-color.is-on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--c); }
.lsps-kv { list-style: none; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.lsps-kv li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; font-size: 13px; }
.lsps-kv li + li { border-top: 1px solid var(--line); }
.lsps-kv-k { color: var(--sub); white-space: nowrap; }
.lsps-kv-v { font-weight: 600; text-align: end; font-family: var(--ls-pk-num); }

/* 推广链接工具 */
.lsps-links { width: 100%; display: flex; flex-direction: column; gap: 16px; }
.lsps-panel { padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.lsps-panel-h { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.lsps-panel-h span { font-weight: 400; font-size: 12px; color: var(--mute); }
.lsps-mylink { margin-top: 12px; display: flex; gap: 10px; }
.lsps-url { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: 11px; background: #f8f9fb; border: 1px solid var(--line); display: flex; align-items: center; gap: 8px; font-family: var(--ls-pk-num); font-size: 14px; }
.lsps-url i { color: var(--mute); font-size: 16px; flex: none; }
.lsps-url-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lsps-url mark { background: none; color: var(--ls-primary); font-weight: 600; }
.lsps-mylink .lsps-btn { height: 44px; }
.lsps-gen-i { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: 11px; border: 1px solid #e3e6eb; font-size: 13.5px; color: var(--ink); outline: none; }
.lsps-gen-i::placeholder { color: #b6bcc6; }
.lsps-gen-i:focus { border-color: var(--ls-primary); box-shadow: 0 0 0 3px rgba(var(--ls-primary-rgb), .12); }
.lsps-made { list-style: none; margin-top: 12px; }
.lsps-made li { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 12px; border-radius: 10px; background: #f8f9fb; font-size: 13px; }
.lsps-made li + li { margin-top: 6px; }
.lsps-made li > i { color: var(--ls-success); font-size: 16px; flex: none; }
.lsps-made-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--ls-pk-num); color: #374151; }
.lsps-made-c { font-size: 12.5px; color: var(--ls-primary); cursor: pointer; white-space: nowrap; }
.lsps-made-empty { margin-top: 12px; padding: 14px; border-radius: 10px; border: 1px dashed #e3e6eb; text-align: center; font-size: 12.5px; color: var(--mute); }
.lsps-pages { margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lsps-page { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); display: flex; align-items: center; gap: 12px; min-width: 0; }
.lsps-page-ic { width: 34px; height: 34px; border-radius: 10px; flex: none; background: #f1f3f6; color: #4b5563; display: flex; align-items: center; justify-content: center; font-size: 17px; }
.lsps-page-ic i { font-size: 17px; }
.lsps-page-t { flex: 1; min-width: 0; }
.lsps-page-n { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lsps-page-p { display: block; margin-top: 2px; font-size: 12px; color: var(--mute); font-family: var(--ls-pk-num); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lsps-page .lsps-btn { height: 30px; padding: 0 10px; font-size: 12.5px; }

/* 二维码工具 */
.lsps-qrframe { padding: 26px 26px 20px; border-radius: 22px; background: #fff; box-shadow: 0 22px 48px rgba(15, 23, 42, .14); text-align: center; }
.lsps-qrframe-img { width: 260px; height: 260px; margin: 0 auto; }
.lsps-qrframe b { display: block; margin-top: 14px; font-size: 16px; font-weight: 700; }
.lsps-qrframe > span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--mute); }

/* 内容推广工具 */
.lsps-posts { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.lsps-post { padding: 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: flex; gap: 14px; align-items: center; }
.lsps-post-cv { position: relative; width: 128px; height: 80px; border-radius: 10px; overflow: hidden; flex: none; background: #e5e7eb; }
.lsps-post-cv img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lsps-post-cv em { position: absolute; inset-inline-start: 6px; top: 6px; font-style: normal; font-size: 11px; padding: 2px 6px; border-radius: 5px; background: rgba(15, 23, 42, .6); color: #fff; }
.lsps-post-t { flex: 1; min-width: 0; }
.lsps-post-n { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--ink); }
.lsps-post-n:hover { color: var(--ls-primary); }
.lsps-post-m { display: flex; align-items: center; gap: 12px; margin-top: 8px; font-size: 12px; color: var(--mute); }
.lsps-post-m span { display: inline-flex; align-items: center; gap: 3px; }
.lsps-post-acts { flex: none; display: flex; flex-direction: column; gap: 6px; }
.lsps-post-acts .lsps-btn { height: 32px; padding: 0 12px; font-size: 12.5px; }
.lsps-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lsps-chip { height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid #e5e7eb; background: #fff; font-size: 12.5px; color: var(--sub); cursor: pointer; }
.lsps-chip.is-on { border-color: transparent; background: var(--soft); color: var(--ls-primary); font-weight: 600; }

/* 推广成效 */
.lsps-sec { margin: 32px 0 14px; display: flex; align-items: baseline; gap: 10px; }
.lsps-sec h2 { font-size: 19px; font-weight: 800; }
.lsps-sec p { font-size: 13px; color: var(--mute); }
.lsps-res { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.lsps-res .lsps-card { padding: 20px 22px; display: flex; flex-direction: column; }
.lsps-res-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lsps-res-h b { font-size: 15px; font-weight: 700; }
.lsps-res-h a { font-size: 12.5px; color: var(--ls-primary); display: inline-flex; align-items: center; cursor: pointer; }
.lsps-res-v { margin-top: 12px; display: flex; align-items: baseline; gap: 10px; }
.lsps-res-v strong { font-family: var(--ls-pk-num); font-size: 26px; font-weight: 700; }
.lsps-res-v strong small { font-size: 15px; margin-inline-end: 1px; }
.lsps-res-v > span { font-size: 12.5px; color: var(--mute); }
.lsps-res-chart { height: 150px; margin-top: 10px; }
.lsps-tiers { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.lsps-tier { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #f8f9fb; }
.lsps-tier-n { width: 28px; height: 28px; border-radius: 8px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-family: var(--ls-pk-num); font-weight: 700; color: var(--ls-primary); flex: none; }
.lsps-tier-k { flex: 1; font-size: 13px; color: #374151; }
.lsps-tier-v { font-family: var(--ls-pk-num); font-size: 17px; font-weight: 700; }
.lsps-tier-v small { font-family: inherit; font-size: 12px; font-weight: 400; color: var(--mute); margin-inline-start: 2px; }
.lsps-faces { margin-top: auto; padding-top: 14px; display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--sub); }
.lsps-faces-s { display: flex; }
.lsps-faces-s .ls-pk-av { box-shadow: 0 0 0 2px #fff; }
.lsps-faces-s .ls-pk-av + .ls-pk-av { margin-inline-start: -8px; }
.lsps-feed { list-style: none; margin-top: 10px; }
.lsps-feed li { display: flex; align-items: center; gap: 10px; padding: 9px 0; }
.lsps-feed li + li { border-top: 1px solid #f3f4f6; }
.lsps-feed-ic { width: 32px; height: 32px; border-radius: 9px; flex: none; display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--c); background: color-mix(in srgb, var(--c) 11%, #fff); }
.lsps-feed-t { flex: 1; min-width: 0; }
.lsps-feed-n { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lsps-feed-s { display: block; margin-top: 2px; font-size: 11.5px; color: var(--mute); font-family: var(--ls-pk-num); }
.lsps-feed-v { font-family: var(--ls-pk-num); font-size: 13px; font-weight: 700; color: #16a34a; white-space: nowrap; }
.lsps-blank { margin: auto 0; padding: 26px 0; text-align: center; font-size: 12.5px; color: var(--mute); }
.lsps-blank i { display: block; font-size: 26px; color: #d1d5db; margin-bottom: 6px; }
.lsps-rulebar { margin-top: 16px; padding: 16px 22px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; font-size: 13px; color: var(--sub); }
.lsps-rulebar > b { color: var(--ink); }
.lsps-rule-i { display: inline-flex; align-items: center; gap: 6px; }
.lsps-rule-i i { color: var(--ls-primary); font-size: 16px; }
.lsps-rulebar .lsps-btn { margin-inline-start: auto; height: 34px; font-size: 13px; }

/* 推广规则弹窗（LS.ui.modal 的正文） */
.lsps-rm-t { width: 100%; border-collapse: collapse; font-size: 13px; }
.lsps-rm-t th { padding: 9px 12px; background: #f8f9fb; color: var(--sub); font-weight: 500; text-align: start; }
.lsps-rm-t td { padding: 11px 12px; border-top: 1px solid var(--line); }
.lsps-rm-t td:first-child { color: var(--ls-primary); font-weight: 600; white-space: nowrap; }
.lsps-rm-s { margin: 16px 0 0; padding-inline-start: 18px; font-size: 13px; line-height: 1.8; color: #4b5563; }
.lsps-rm-s li + li { margin-top: 6px; }

.lsps-off { padding: 100px 20px 110px; text-align: center; }
.lsps-off-ic { width: 76px; height: 76px; margin: 0 auto; border-radius: 24px; background: #f3f5f8; color: #9aa3b2; font-size: 34px; display: flex; align-items: center; justify-content: center; }
.lsps-off h2 { margin-top: 18px; font-size: 18px; font-weight: 700; }
.lsps-off p { margin: 8px auto 0; max-width: 420px; font-size: 13.5px; line-height: 1.75; color: var(--sub); }
.lsps-off .lsps-btn { margin-top: 20px; }

/* ===== 站内集成（插件）===== */
.muooy-promo-page {
  --ls-primary: #1e50a8;
  --ls-primary-rgb: 30, 80, 168;
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 16px 56px;
}
.muooy-promo-page .lsps { width: 100%; max-width: none; margin: 0; padding: 0; }
.muooy-promo-page .lsps-card { margin-bottom: 18px; }
.muooy-promo-page .lsps-desk { align-items: stretch; grid-template-columns: 220px minmax(0, 1fr) 400px; }
.muooy-promo-page .lsps-lab { display: flex; align-items: center; justify-content: space-between; }
.muooy-promo-page .lsps-lab-link {
color: var(--ls-primary);
cursor: pointer;
font-weight: 100;
font-size: 12px;
}
.muooy-promo-page .lsps-lab-link:hover { text-decoration: underline; }
.muooy-promo-page .lsps-bgs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.muooy-promo-page .lsps-kv-k { color: var(--sub); }
.muooy-promo-page .lsps-kv-v { color: var(--ink); }
.muooy-promo-page .lsps-res .lsps-kv-v { color: #1e50a8; }
@media (max-width: 900px) {
  .muooy-promo-page .lsps-desk { grid-template-columns: 1fr; }
  .muooy-promo-page .lsps-rail { flex-direction: row; overflow-x: auto; }
}

/* 变量补全：hover 色 / 数字字体 / 语义色（未定义会导致按钮 hover 隐形） */
.muooy-promo-page {
  --ls-primary-hover: #143f8f;
  --ls-pk-num: "DIN Alternate", "Bahnschrift", "Segoe UI", "Microsoft YaHei", sans-serif;
  --ls-text-muted: #94a3b8;
  --ls-success: #16a34a;
}
