/* 图生万物 · 在 detail-image-page.css 之上叠加紫系与效果宫格 */

.history-card--pending .history-card-inner {
    box-shadow: inset 0 0 0 2px rgba(37, 99, 235, 0.28);
}

.linghui-page {
    /* 统一深色 Logo 色系 */
    --linghui-gradient: linear-gradient(135deg, #1a2a33 0%, #0f172a 100%);
    --linghui-soft: var(--h5-canvas, #eff4f2);
}

html body.detail-page.linghui-page .detail-tabs .detail-tab.active {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%) !important;
    color: #fff !important;
    border: 1px solid rgba(79, 70, 229, 0.45) !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3) !important;
    font-weight: 700 !important;
}

.linghui-multi-previews {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    justify-content: flex-start;
    width: 100%;
}

.linghui-thumb-wrap {
    position: relative;
    width: min(29vw, 112px);
    height: min(29vw, 112px);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, 0.22);
    flex-shrink: 0;
}

.linghui-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 仅 1 张时：大图预览（对齐电商详情图上传区观感），勿再用 72px 小方块 */
.linghui-multi-previews:has(> .linghui-thumb-wrap:only-child) {
    justify-content: center;
}
.linghui-multi-previews:has(> .linghui-thumb-wrap:only-child) .linghui-thumb-wrap {
    width: 100%;
    max-width: min(100%, 320px);
    height: auto;
    min-height: 168px;
    max-height: min(48vh, 300px);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.04);
}
.linghui-multi-previews:has(> .linghui-thumb-wrap:only-child) .linghui-thumb-wrap img {
    width: 100%;
    height: auto;
    max-height: min(48vh, 300px);
    object-fit: contain;
}

.linghui-thumb-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 22px;
    height: 22px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 14px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
}

.linghui-effect-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 10px;
}

/* 效果分类：单行横滑，多分类时不换行 */
.linghui-page .scroll-row--linghui-category {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    margin: 0;
    padding: 6px 0 8px;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    justify-content: flex-start;
    scrollbar-width: none;
}

.linghui-page .scroll-row--linghui-category::-webkit-scrollbar {
    display: none;
}

.linghui-page .scroll-row--linghui-category .chip-btn {
    flex: 0 0 auto;
    min-width: 76px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    text-align: center;
    line-height: 1.2;
}

.linghui-page .scroll-row--linghui-category .chip-btn.active {
    font-weight: 600;
}

@media (max-width: 360px) {
    .linghui-page .scroll-row--linghui-category {
        gap: 4px;
    }
    .linghui-page .scroll-row--linghui-category .chip-btn {
        font-size: 11px;
        padding: 7px 4px;
    }
}

@media (max-width: 320px) {
    .linghui-page .scroll-row--linghui-category .chip-btn {
        font-size: 10px;
        padding: 7px 3px;
    }
}

.linghui-effect-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.linghui-effect-cell {
    min-height: 52px;
    padding: 8px 6px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #f4f4f5;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-primary, #111827);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.25;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.linghui-effect-cell:active {
    transform: scale(0.97);
}

.linghui-effect-cell.is-active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.18) 0%, rgba(168, 85, 247, 0.15) 100%);
    border-color: rgba(99, 102, 241, 0.45);
    color: #4f46e5;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.2);
}

.linghui-effect-cell--sentence {
    background: #faf5ff;
    border: 2px dashed rgba(99, 102, 241, 0.55);
    color: #4f46e5;
}

.linghui-effect-cell--sentence.is-active {
    background: linear-gradient(135deg, #eef2ff 0%, #fae8ff 100%);
    border-style: solid;
}

.linghui-sentence-wrap {
    margin-top: 10px;
    display: none;
}

.linghui-sentence-wrap.show {
    display: block;
}

.linghui-sentence-wrap textarea {
    width: 100%;
    min-height: 72px;
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.25);
    padding: 10px 12px;
    font-size: 14px;
    resize: vertical;
    box-sizing: border-box;
}

.linghui-sentence-wrap .hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
}

/* 生成详情弹层（对齐同行参考） */
.linghui-detail-overlay {
    position: fixed;
    inset: 0;
    z-index: 10050;
    background: rgba(15, 23, 42, 0.45);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.linghui-detail-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.linghui-detail-sheet {
    width: 100%;
    max-width: var(--h5-app-max-width, 430px);
    max-height: 88vh;
    overflow: auto;
    background: #fff;
    border-radius: 20px 20px 0 0;
    padding: 16px 16px 28px;
    transform: translateY(100%);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.12);
}

.linghui-detail-overlay.show .linghui-detail-sheet {
    transform: translateY(0);
}

.linghui-detail-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #f3f4f6;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: #374151;
}

.linghui-detail-title {
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 14px;
    padding-right: 28px;
}

.linghui-detail-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    font-size: 13px;
    margin-bottom: 14px;
}

.linghui-detail-meta span {
    color: #6b7280;
}

.linghui-detail-meta strong {
    color: #111827;
    font-weight: 600;
}

.linghui-detail-original {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 16px;
    padding: 10px;
    background: #f9fafb;
    border-radius: 12px;
}

.linghui-detail-original img,
.linghui-detail-original-img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
}

.linghui-result-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.linghui-result-head h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}

.linghui-save-all {
    border: none;
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    background: #00b06b;
    color: #fff;
    cursor: pointer;
}

.linghui-result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.linghui-result-cell {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f6;
    aspect-ratio: var(--result-aspect, 1);
}

.linghui-result-imglink {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 0;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    touch-action: manipulation;
}

.linghui-result-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.linghui-result-grid--all {
    max-height: min(70vh, 520px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.linghui-save-one {
    position: absolute;
    bottom: 8px;
    right: 8px;
    z-index: 2;
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.94);
    color: #334155;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.linghui-save-one i {
    pointer-events: none;
}

.linghui-detail-relative {
    position: relative;
}

/* 单图 · 画廊式展示 */
.linghui-detail-sheet--showcase {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
    background: linear-gradient(180deg, #fafbfc 0%, #fff 28%);
}

.linghui-detail-sheet--showcase .linghui-detail-title {
    padding-left: 16px;
    padding-right: 44px;
    margin-bottom: 10px;
}

.linghui-detail-showcase {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.linghui-showcase-header {
    padding: 0 16px;
}

.linghui-showcase-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.linghui-showcase-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.linghui-showcase-tag--muted {
    font-weight: 500;
    color: #64748b;
    background: rgba(255, 255, 255, 0.72);
}

.linghui-showcase-subline {
    margin-bottom: 0 !important;
    font-size: 12px;
}

.linghui-showcase-frame {
    position: relative;
    margin: 0 12px;
    padding: 10px;
    border-radius: 20px;
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 48%, #0f3460 100%);
    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.linghui-showcase-mainlink {
    display: block;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #0b0f19;
    aspect-ratio: var(--showcase-aspect, 3 / 4);
    max-height: min(62vh, 520px);
    margin: 0 auto;
}

.linghui-showcase-mainimg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: radial-gradient(ellipse at center, #1e293b 0%, #0b0f19 70%);
}

.linghui-showcase-zoom {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: none;
}

.linghui-showcase-ref {
    position: absolute;
    left: 18px;
    top: 18px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.linghui-showcase-ref img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    display: block;
}

.linghui-showcase-ref span {
    width: 100%;
    padding: 3px 0 5px;
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    background: rgba(0, 0, 0, 0.35);
}

.linghui-showcase-toolbar {
    padding: 0 16px;
}

.linghui-showcase-toolbar .linghui-result-actions {
    width: 100%;
    flex-direction: row;
    gap: 10px;
}

.linghui-showcase-toolbar .linghui-save-all {
    flex: 1;
    min-height: 46px;
    padding: 12px 16px !important;
    font-size: 14px !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 14px rgba(0, 176, 107, 0.28);
}

.linghui-showcase-toolbar .linghui-save-all--ghost {
    flex: 0 0 auto;
    min-width: 108px;
    box-shadow: none;
}

.linghui-result-grid[style*="--result-aspect"] .linghui-result-cell,
.linghui-result-cell[style*="--result-aspect"] {
    aspect-ratio: var(--result-aspect, 1);
}

.linghui-result-grid--few {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin: 0 auto;
}

.linghui-result-grid--few .linghui-result-cell img {
    object-fit: contain;
    background: #f8fafc;
}

/* 全屏看图（高于生成详情 sheet） */
.linghui-img-viewer {
    position: fixed;
    inset: 0;
    z-index: 10060;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.linghui-img-viewer.show {
    opacity: 1;
    pointer-events: auto;
}

.linghui-img-viewer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
}

.linghui-img-viewer-foreground {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 100%;
    width: 100%;
}

.linghui-img-viewer-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.linghui-img-viewer-foreground img {
    max-width: 100%;
    max-height: min(78vh, 720px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
}

.linghui-img-viewer-actions {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.linghui-img-viewer-btn {
    border: none;
    border-radius: 100px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.linghui-img-viewer-btn--ghost {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

/* —— 2026-04 图生万物：创作页与详情体验升级（对齐电商/自媒体使用习惯） —— */
.linghui-required {
    color: #dc2626;
    font-weight: 700;
    margin-left: 2px;
}

.linghui-ratio-row.scroll-row {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    gap: 8px;
}

.linghui-ratio-row .chip-btn {
    flex: 0 0 auto;
}

.linghui-effect-head {
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.linghui-cat-swipe-hint {
    font-size: 11px;
    color: #64748b;
    font-weight: 400;
    white-space: nowrap;
}

.linghui-page .scroll-row--linghui-category.linghui-category-scroll {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start !important;
    padding-bottom: 6px;
    gap: 8px;
}

.linghui-page .scroll-row--linghui-category.linghui-category-scroll .chip-btn {
    flex: 0 0 auto !important;
    min-width: 76px;
}

.linghui-submit-card {
    margin-top: 6px;
}

.linghui-submit-btn {
    width: 100%;
    border: none;
    border-radius: 13px;
    padding: 15px 18px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.22);
    letter-spacing: 0.02em;
    -webkit-tap-highlight-color: transparent;
    min-height: 46px;
}

.linghui-submit-btn:disabled {
    opacity: 1 !important;
    background: #E2E8F0 !important;
    color: #94A3B8 !important;
    box-shadow: none;
    cursor: not-allowed;
}

.linghui-usage-tips {
    margin-top: 4px;
}

.linghui-legal-fold {
    margin: 14px 0 8px;
    border-radius: 12px;
    border: 1px solid rgba(234, 179, 8, 0.5);
    background: rgba(254, 252, 232, 0.95);
    overflow: hidden;
}

.linghui-legal-fold summary {
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #92400e;
    cursor: pointer;
    list-style: none;
}

.linghui-legal-fold summary::-webkit-details-marker {
    display: none;
}

.linghui-legal-body {
    padding: 0 14px 12px;
    font-size: 12px;
    color: #78350f;
    line-height: 1.55;
}

.linghui-legal-body p {
    margin: 0 0 8px;
}

.linghui-history-duration {
    margin-top: 4px;
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

/** 历史卡/提交占位：预计耗时 + 可离页说明 */
.linghui-history-eta-hint {
    margin-top: 8px;
    padding: 8px 10px;
    font-size: 11px;
    line-height: 1.55;
    color: #475569;
    background: #f1f5f9;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.linghui-history-eta-hint strong {
    color: #334155;
    font-weight: 600;
}

.linghui-detail-meta--bar {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 10px;
}

.linghui-meta-cell {
    flex: 1;
    min-width: 0;
    text-align: center;
    padding: 8px 4px;
    background: #f9fafb;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.linghui-meta-k {
    display: block;
    font-size: 11px;
    color: #6b7280;
    margin-bottom: 2px;
}

.linghui-meta-cell strong {
    font-size: 13px;
    color: #111827;
    font-weight: 600;
    word-break: break-all;
}

.linghui-detail-type {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 10px;
    font-size: 12px;
    color: #475569;
}

.linghui-detail-type-label {
    font-weight: 600;
    color: #334155;
    line-height: 1.35;
}

.linghui-detail-dur {
    font-size: 11px;
    color: #64748b;
    font-variant-numeric: tabular-nums;
}

.linghui-original-hint {
    font-size: 13px;
    color: #6b7280;
}

.linghui-result-head {
    align-items: flex-start;
    gap: 10px;
}

.linghui-result-head h4 {
    flex: 1;
    min-width: 0;
    line-height: 1.35;
}

.linghui-result-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    width: 100%;
}

@media (min-width: 380px) {
    .linghui-result-actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-end;
        width: auto;
    }
}

.linghui-save-all--primary {
    padding: 9px 16px !important;
    font-size: 13px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.linghui-save-all--ghost {
    background: #fff !important;
    color: #4f46e5 !important;
    border: 1px solid rgba(99, 102, 241, 0.5) !important;
}

/* ═══ 进入「历史」全屏过渡（Tab / ?tab=history）═══ */
body.linghui-history-reveal-lock {
    overflow: hidden !important;
    touch-action: none;
}

@media (prefers-reduced-motion: reduce) {
    .linghui-history-reveal {
        display: none !important;
    }
}

.linghui-history-reveal {
    position: fixed;
    inset: 0;
    z-index: 10045;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    box-sizing: border-box;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0s linear 0.2s, filter 0s linear 0.2s;
}

.linghui-history-reveal--show {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.22s ease, visibility 0s linear 0s;
}

.linghui-history-reveal__vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 85% 70% at 50% 38%, rgba(30, 16, 52, 0.2) 0%, rgba(2, 6, 23, 0.94) 62%, #020617 100%);
}

.linghui-history-reveal__aurora {
    position: absolute;
    inset: -20%;
    background:
        conic-gradient(from 210deg at 50% 50%, rgba(251, 191, 36, 0.14), rgba(244, 114, 182, 0.12), rgba(99, 102, 241, 0.16), rgba(251, 191, 36, 0.14));
    animation: linghuiRevealAurora 4.5s linear infinite;
    opacity: 0.55;
    filter: blur(36px);
}

@keyframes linghuiRevealAurora {
    to {
        transform: rotate(360deg);
    }
}

.linghui-history-reveal__ring {
    position: absolute;
    left: 50%;
    top: 44%;
    border-radius: 50%;
    pointer-events: none;
    border: 2px solid transparent;
    background:
        linear-gradient(#0b1220, #0b1220) padding-box,
        conic-gradient(from 0deg, rgba(251, 191, 36, 0.95), rgba(244, 114, 182, 0.75), rgba(129, 140, 248, 0.85), rgba(251, 191, 36, 0.95)) border-box;
    opacity: 0.55;
    transform: translate(-50%, -50%) rotate(0deg);
}

.linghui-history-reveal__ring--a {
    width: min(118vw, 520px);
    height: min(118vw, 520px);
    animation: linghuiRevealRingSpinA 2.8s linear infinite;
}

.linghui-history-reveal__ring--b {
    width: min(92vw, 400px);
    height: min(92vw, 400px);
    animation: linghuiRevealRingSpinB 4.2s linear infinite;
    opacity: 0.35;
}

@keyframes linghuiRevealRingSpinA {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes linghuiRevealRingSpinB {
    to {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

.linghui-history-reveal__panel {
    position: relative;
    z-index: 2;
    width: min(88vw, 320px);
    padding: 26px 22px 24px;
    border-radius: 22px;
    text-align: center;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.35) inset,
        0 24px 60px rgba(0, 0, 0, 0.45),
        0 0 80px rgba(251, 191, 36, 0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transform: scale(0.9) translateY(12px);
    opacity: 0;
    filter: blur(6px);
    transition:
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.45s ease,
        filter 0.5s ease;
}

.linghui-history-reveal--enter .linghui-history-reveal__panel {
    transform: scale(1) translateY(0);
    opacity: 1;
    filter: blur(0);
}

.linghui-history-reveal__eyebrow {
    margin: 0 0 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.28em;
    color: rgba(253, 230, 138, 0.85);
}

.linghui-history-reveal__title {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 850;
    letter-spacing: 0.06em;
    color: #fff;
    text-shadow: 0 2px 24px rgba(251, 191, 36, 0.35);
}

.linghui-history-reveal__sub {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: rgba(226, 232, 240, 0.88);
    line-height: 1.5;
}

.linghui-history-reveal__bar {
    margin-top: 18px;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.linghui-history-reveal__bar span {
    display: block;
    height: 100%;
    width: 38%;
    border-radius: inherit;
    background: linear-gradient(90deg, #fbbf24, #fb7185, #a78bfa, #fbbf24);
    background-size: 200% 100%;
    animation: linghuiRevealBarShine 1.1s ease-in-out infinite;
}

@keyframes linghuiRevealBarShine {
    0% {
        transform: translateX(-100%);
        background-position: 0% 50%;
    }
    100% {
        transform: translateX(280%);
        background-position: 100% 50%;
    }
}

.linghui-history-reveal--out {
    opacity: 0 !important;
    filter: blur(16px) saturate(1.1) !important;
    transform: scale(1.06) !important;
    transition: opacity 0.48s ease, filter 0.48s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) !important;
    pointer-events: none !important;
}

.linghui-history-reveal--out .linghui-history-reveal__panel {
    transform: scale(1.04) translateY(-6px);
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.45s ease;
}

/* ═══ 创作 / 历史 · 高端分段 Tab（仅本页）═══ */
.linghui-page .detail-tabs {
    position: relative;
    gap: 5px !important;
    padding: 5px !important;
    margin-bottom: 18px !important;
    border-radius: 16px !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, #f4f4f5 100%) !important;
    border: 1px solid rgba(15, 23, 42, 0.07) !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 6px 22px rgba(15, 23, 42, 0.06) !important;
}

.linghui-page .detail-tab {
    position: relative;
    z-index: 1;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    transition: color 0.22s ease, box-shadow 0.22s ease, transform 0.15s ease !important;
}

/* 选中态与未选色：h5-songyun-tool-shell.css 全站统一（中性灰 pill） */

.linghui-page .detail-tab .h5-ico-tab {
    opacity: 0.55 !important;
}

html body.detail-page.linghui-page .detail-tabs .detail-tab.active .h5-ico-tab {
    opacity: 1 !important;
    color: #fff !important;
}

/* ═══ 历史区：电商级信息头 + 刷新 ═══ */
.linghui-page .history-section.show {
    animation: linghuiHistSectionIn 0.45s ease both;
}

@keyframes linghuiHistSectionIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .linghui-page .history-section.show {
        animation: none;
    }
}

.linghui-page .history-header-bar {
    padding: 12px 14px !important;
    margin-bottom: 10px !important;
    border-radius: 16px !important;
    background: #FFFFFF !important;
    border: 1px solid rgba(79, 70, 229, 0.18) !important;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05) !important;
}

.linghui-page .history-header-left {
    font-size: 15px !important;
    font-weight: 750 !important;
    letter-spacing: 0.02em !important;
    color: #1c1917 !important;
}

.linghui-page .history-header-left i {
    color: #4f46e5 !important;
    filter: drop-shadow(0 1px 2px rgba(79, 70, 229, 0.25));
}

.linghui-page .history-refresh-btn {
    padding: 9px 16px !important;
    min-height: 40px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
    background: linear-gradient(145deg, #4F46E5 0%, #7C3AED 100%) !important;
    color: #fff !important;
    border: 1px solid rgba(79, 70, 229, 0.45) !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        0 6px 18px rgba(79, 70, 229, 0.28) !important;
}

.linghui-page .history-refresh-btn i {
    color: #ffffff !important;
}

.linghui-page .history-notice-bar {
    margin-bottom: 14px !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
    color: #64748B !important;
    background: rgba(238, 242, 255, 0.7) !important;
    border: 1px solid rgba(79, 70, 229, 0.2) !important;
}

.linghui-page .history-scroll-container {
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.55) !important;
    border: 1px solid rgba(15, 23, 42, 0.06) !important;
    /* 图生万物历史：两列网格，纵向浏览（替代详情图页的横向滑卡） */
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scroll-snap-type: none !important;
    max-height: min(72vh, 640px);
    cursor: default !important;
    -webkit-overflow-scrolling: touch;
}

/* 两列瀑布式卡片，与灵涵页暖白壳层协调 */
.linghui-page .history-scroll-inner {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px 10px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 10px 8px 14px !important;
    box-sizing: border-box;
}

.linghui-page .history-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
    border-radius: 15px !important;
    scroll-snap-align: none !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.92) inset,
        0 4px 18px rgba(15, 23, 42, 0.07) !important;
    border: 1px solid rgba(15, 23, 42, 0.06) !important;
}

.linghui-page .history-card--pending {
    grid-column: 1 / -1;
}

.linghui-page .history-card-inner {
    aspect-ratio: 3 / 4;
}

.linghui-page .history-card-info {
    padding: 8px 9px 10px !important;
}

.linghui-page .history-card-meta {
    font-size: 11px !important;
    line-height: 1.35 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.linghui-page .history-card-time,
.linghui-page .history-card-duration {
    font-size: 10px !important;
}

.linghui-page .linghui-history-eta-hint {
    font-size: 10px !important;
    line-height: 1.4 !important;
}

.linghui-page .history-status-tag {
    top: 6px !important;
    right: 6px !important;
    padding: 3px 7px !important;
    font-size: 10px !important;
}

.linghui-page .history-platform-tag {
    bottom: 6px !important;
    left: 6px !important;
    padding: 3px 7px !important;
    font-size: 10px !important;
}

.linghui-page .history-generating-line {
    font-size: 12px !important;
    padding: 7px 11px !important;
}
.linghui-page .history-empty {
    border-radius: 16px !important;
    padding: 28px 16px !important;
    background: linear-gradient(165deg, #fafafa 0%, #f4f4f5 100%) !important;
    border: 1px dashed rgba(148, 163, 184, 0.45) !important;
}

.linghui-page .history-empty i {
    color: #cbd5e1 !important;
    font-size: 36px !important;
}

.linghui-page .history-empty p {
    color: #64748b !important;
    font-weight: 500 !important;
}

/* ═══ 图生万物 · 创作页质感升级（暖白底 + 紫粉点缀 + 电商级卡片）═══ */
.linghui-page .main-content {
    background:
        radial-gradient(120% 65% at 100% 0%, rgba(238, 242, 255, 0.6) 0%, transparent 50%),
        radial-gradient(90% 50% at 0% 8%, rgba(238, 242, 255, 0.55) 0%, transparent 46%),
        linear-gradient(185deg, #ffffff 0%, #f7f8fc 60%, #f1f3fb 100%) !important;
    padding-bottom: 48px !important;
}

.linghui-page.detail-page .app-container,
.linghui-page .app-container {
    background: transparent !important;
}

.linghui-page .nav-header {
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%) !important;
    border-bottom: 1px solid rgba(79, 70, 229, 0.18) !important;
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05) !important;
}

.linghui-page .nav-title {
    font-weight: 780 !important;
    letter-spacing: 0.03em !important;
    color: #1c1917 !important;
}

.linghui-page .section-card {
    background: #FFFFFF !important;
    border-radius: 16px !important;
    border: 1px solid #EEF0F5 !important;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06) !important;
    margin-bottom: 14px !important;
    padding: 16px 14px !important;
}

.linghui-page .section-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1A1A1A !important;
    margin-bottom: 12px !important;
}

.linghui-page .section-title .hint {
    background: rgba(79, 70, 229, 0.1) !important;
    border: 1px solid rgba(79, 70, 229, 0.25) !important;
    color: #4f46e5 !important;
    font-weight: 650 !important;
    border-radius: 999px !important;
}

.linghui-page .upload-zone {
    border: 2px dashed rgba(79, 70, 229, 0.4) !important;
    border-radius: 16px !important;
    background:
        radial-gradient(ellipse 85% 95% at 50% 0%, rgba(238, 242, 255, 0.9) 0%, transparent 52%),
        linear-gradient(180deg, #ffffff 0%, #f8faff 100%) !important;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.8) inset,
        0 1px 12px rgba(79, 70, 229, 0.06) inset !important;
    padding: 30px 16px !important;
}

.linghui-page .upload-zone:hover,
.linghui-page .upload-zone:active {
    border-color: rgba(79, 70, 229, 0.55) !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%) !important;
}

.linghui-page .upload-zone.has-image {
    border-style: solid !important;
    border-color: rgba(79, 70, 229, 0.4) !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%) !important;
    box-shadow: 0 6px 22px rgba(79, 70, 229, 0.1) !important;
    /* 覆盖上方通用 upload-zone 的 30px padding，避免只传 1～2 张时上下留白过大 */
    padding: 12px 12px 14px !important;
}

.linghui-page .upload-zone.has-image .upload-preview {
    gap: 6px;
}

.linghui-page .upload-zone.has-image .linghui-multi-previews {
    margin-top: 0;
}

.linghui-page .upload-zone.has-image .reselect-btn,
.linghui-page .upload-zone.has-image .action-btn.reselect-btn {
    margin-top: 4px;
}

.linghui-page .upload-icon-wrap {
    width: 72px !important;
    height: 72px !important;
    border-radius: 20px !important;
    background: linear-gradient(145deg, rgba(79, 70, 229, 0.16) 0%, rgba(124, 58, 237, 0.12) 100%) !important;
    border: 1px solid rgba(79, 70, 229, 0.25) !important;
    box-shadow: 0 10px 28px rgba(79, 70, 229, 0.18) !important;
}

.linghui-page .upload-text {
    font-weight: 680 !important;
    color: #1c1917 !important;
}

.linghui-page .upload-desc {
    color: #78716c !important;
}

/* 图片比例：白 pill + 选中紫渐变 */
.linghui-page .linghui-ratio-row .chip-btn {
    background: #fff !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04) !important;
    font-weight: 600 !important;
}

.linghui-page .linghui-ratio-row .chip-btn.active {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%) !important;
    color: #fff !important;
    border: 1px solid rgba(79, 70, 229, 0.45) !important;
    box-shadow: 0 2px 10px rgba(79, 70, 229, 0.25) !important;
    font-weight: 700 !important;
}

/* 效果分类：琥珀高亮选中 */
.linghui-page .scroll-row--linghui-category.linghui-category-scroll .chip-btn {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(15, 23, 42, 0.07) !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
}

.linghui-page .scroll-row--linghui-category.linghui-category-scroll .chip-btn.active {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%) !important;
    border: 1px solid rgba(79, 70, 229, 0.45) !important;
    color: #fff !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 10px rgba(79, 70, 229, 0.25) !important;
}

/* 效果宫格：白卡 + 选中霓虹边 */
.linghui-page .linghui-effect-cell {
    min-height: 54px !important;
    border-radius: 14px !important;
    background: linear-gradient(168deg, #ffffff 0%, #f8fafc 100%) !important;
    border: 1px solid rgba(15, 23, 42, 0.07) !important;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04) !important;
    font-weight: 580 !important;
}

.linghui-page .linghui-effect-cell.is-active {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%) !important;
    border: 1px solid rgba(79, 70, 229, 0.45) !important;
    color: #fff !important;
    font-weight: 750 !important;
    box-shadow: 0 2px 10px rgba(79, 70, 229, 0.25) !important;
}

.linghui-page .linghui-effect-cell--sentence {
    background: linear-gradient(165deg, #faf5ff 0%, #f5f3ff 100%) !important;
}

.linghui-page .reselect-btn,
.linghui-page .action-btn.reselect-btn {
    background: #fff !important;
    color: #4f46e5 !important;
    border: 1px solid rgba(99, 102, 241, 0.38) !important;
    border-radius: 999px !important;
    font-weight: 650 !important;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.08) !important;
}

.linghui-page .linghui-submit-card.section-card {
    border: 1px solid rgba(129, 140, 248, 0.2) !important;
    background: linear-gradient(175deg, #ffffff 0%, #faf5ff 100%) !important;
}

.linghui-page .linghui-usage-tips {
    padding: 12px 14px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.65) !important;
    border: 1px solid rgba(15, 23, 42, 0.06) !important;
}

.linghui-page .linghui-usage-tips .usage-tips-title {
    display: block !important;
    margin: 0 0 8px !important;
    font-size: 13px !important;
    font-weight: 750 !important;
    color: #57534e !important;
    letter-spacing: 0.02em !important;
}

.linghui-page .linghui-usage-tips ul {
    display: block !important;
    text-align: left !important;
    padding-left: 1.1em !important;
    list-style: disc !important;
    color: #78716c !important;
    font-size: 12.5px !important;
    line-height: 1.65 !important;
}

.linghui-page .linghui-usage-tips li {
    display: list-item !important;
    margin-bottom: 6px !important;
}

.linghui-page .linghui-usage-tips li::after {
    content: none !important;
}

/* 合规提醒：与常见「种草/生图」页信息架构一致，供同类页面对照（主列表 + 次级警示列表） */
.linghui-page .linghui-usage-tips-warn {
    margin: 10px 0 0 !important;
    padding: 10px 0 0 1.15em !important;
    border-top: 1px dashed rgba(120, 113, 108, 0.35) !important;
    list-style: none !important;
}

.linghui-page .linghui-usage-tips-warn li {
    position: relative !important;
    list-style: none !important;
    margin-bottom: 6px !important;
    padding-left: 1.35em !important;
    color: #92400e !important;
    font-size: 12.5px !important;
    line-height: 1.6 !important;
}

.linghui-page .linghui-usage-tips-warn li::before {
    content: '!' !important;
    position: absolute !important;
    left: 0.05em !important;
    top: 0.1em !important;
    width: 1em !important;
    height: 1em !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    line-height: 1em !important;
    text-align: center !important;
    color: #fff !important;
    background: #f59e0b !important;
    border-radius: 3px !important;
}

.linghui-page .linghui-legal-fold {
    border-radius: 14px !important;
    border-color: rgba(251, 191, 36, 0.4) !important;
}

.linghui-page .linghui-ai-disclaimer {
    margin: 10px 0 0 !important;
    font-size: 11.5px !important;
    line-height: 1.55 !important;
    color: #94a3b8 !important;
    text-align: center !important;
}

/*
 * 上传控件：detail-image-page.css 将 #fileInput 设为 width/height 0 + pointer-events:none，
 * 在微信 / iOS WebView 等环境中，「继续添加」通过 JS 调用 input.click() 时可能无法唤起相册。
 * 使用固定定位的 1×1 最小可激活区域（视觉上不可见），保留 programmatic click 兼容性。
 */
.linghui-page .upload-zone #fileInput {
    position: fixed !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0.02 !important;
    pointer-events: none !important;
    z-index: -1 !important;
    overflow: hidden !important;
}

/* ── 图生万物：效果分类单行横滑（压过 detail-page 三列 grid / chip width:100%）── */
html body.detail-page.linghui-page .linghui-category-strip {
    display: block !important;
    overflow: visible !important;
}

html body.detail-page.linghui-page .section-card #categoryRow.scroll-row,
html body.detail-page.linghui-page #categoryRow {
    display: flex !important;
    flex-flow: row nowrap !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    grid-auto-flow: unset !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 8px !important;
    padding: 2px 0 10px !important;
    margin: 0 0 10px !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    width: 100% !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

html body.detail-page.linghui-page #categoryRow::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

html body.detail-page.linghui-page #categoryRow > .chip-btn {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 76px !important;
    max-width: none !important;
    white-space: nowrap !important;
    padding: 8px 14px !important;
    border-radius: 999px !important;
}

html body.detail-page.linghui-page #effectGrid.linghui-effect-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
}

/* ── 图生万物：分类区 / 具体效果区 视觉分层 ── */
.linghui-page .linghui-effect-zone {
    margin-bottom: 12px;
}

.linghui-page .linghui-effect-zone--category {
    margin-bottom: 14px;
    padding-bottom: 2px;
}

.linghui-page .linghui-effect-zone--detail {
    margin-bottom: 0;
    padding-top: 4px;
    border-top: 1px dashed rgba(15, 23, 42, 0.1);
}

.linghui-page .linghui-effect-zone-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.02em;
}

.linghui-page .linghui-effect-zone-cat {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: #0f172a;
    background: rgba(26, 42, 51, 0.08);
    border: 1px solid rgba(26, 42, 51, 0.12);
}

.linghui-page .linghui-effect-zone--category .linghui-category-strip {
    padding: 10px 10px 8px;
    border-radius: 14px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

html body.detail-page.linghui-page .linghui-effect-zone--category #categoryRow {
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: none !important;
}

html body.detail-page.linghui-page .linghui-effect-zone--category #categoryRow > .chip-btn {
    border-radius: 999px !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    color: #64748b !important;
    font-weight: 600 !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}

html body.detail-page.linghui-page .scroll-row--linghui-category.linghui-category-scroll#categoryRow .chip-btn.active {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%) !important;
    border-color: rgba(79, 70, 229, 0.45) !important;
    color: #fff !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 10px rgba(79, 70, 229, 0.25) !important;
}

.linghui-page .linghui-effect-zone--detail .linghui-effect-cell {
    border-radius: 12px;
}

/* 强制覆盖 global neutral-chrome / layout-unify 的中性 active 态 */
html body.detail-page.linghui-page .detail-tabs .detail-tab {
    background: #F1F5F9 !important;
    border-radius: 12px !important;
    color: #64748B !important;
    font-weight: 600 !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
}

html body.detail-page.linghui-page .detail-tabs .detail-tab.active {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%) !important;
    color: #fff !important;
    border: 1px solid rgba(79, 70, 229, 0.45) !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3) !important;
    font-weight: 700 !important;
}

html body.detail-page.linghui-page .detail-tabs .detail-tab.active .h5-ico-tab {
    color: #fff !important;
    opacity: 1 !important;
}

html body.detail-page.linghui-page .linghui-ratio-row .chip-btn.active {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%) !important;
    color: #fff !important;
    border: 1px solid rgba(79, 70, 229, 0.45) !important;
    box-shadow: 0 2px 10px rgba(79, 70, 229, 0.25) !important;
    font-weight: 700 !important;
}

html body.detail-page.linghui-page .linghui-scene-chip.active {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%) !important;
    border-color: rgba(79, 70, 229, 0.45) !important;
    color: #fff !important;
}
