/**
 * 创作 / 智能体 · 三列宫格图标：清爽玻璃（低饱和、高明度、渐变不过深）
 * 容器需带 .cd-appstore-shelf--grid3-glass（与 .cd-appstore-shelf--grid3 同用）
 */

html body.page-tab-create.lh-home-shelf .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__art.cd-poster__art--list-icon,
html body.page-tab-agent.h5-shelf-mirror .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__art.cd-poster__art--list-icon {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    border: 0.5px solid rgba(255, 255, 255, 0.42) !important;
    box-shadow:
        0 3px 12px rgba(15, 23, 42, 0.07),
        0 1px 3px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
    transition: transform 0.22s ease, box-shadow 0.22s ease !important;
}

/* 磨砂高光层：略弱，避免发糊发脏 */
html body.page-tab-create.lh-home-shelf .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__art.cd-poster__art--list-icon::before,
html body.page-tab-agent.h5-shelf-mirror .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__art.cd-poster__art--list-icon::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    border-radius: inherit !important;
    z-index: 1 !important;
    pointer-events: none !important;
    background: linear-gradient(
        155deg,
        rgba(255, 255, 255, 0.42) 0%,
        rgba(255, 255, 255, 0.1) 40%,
        rgba(255, 255, 255, 0) 55%,
        rgba(255, 255, 255, 0) 100%
    ) !important;
    opacity: 0.85 !important;
}

/* 顶缘亮线 + 轻底影（不做重色沉底） */
html body.page-tab-create.lh-home-shelf .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__art.cd-poster__art--list-icon::after,
html body.page-tab-agent.h5-shelf-mirror .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__art.cd-poster__art--list-icon::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    border-radius: inherit !important;
    z-index: 2 !important;
    pointer-events: none !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        inset 0 -6px 12px rgba(15, 23, 42, 0.06) !important;
}

html body.page-tab-create.lh-home-shelf .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__ico--list,
html body.page-tab-agent.h5-shelf-mirror .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__ico--list {
    z-index: 3 !important;
    filter: drop-shadow(0 1px 1px rgba(15, 23, 42, 0.12)) !important;
}

/* 松韵浅色壳：去掉图标 drop-shadow，减轻线标/小字发糊（尤其 Windows/WebKit） */
html body.lh-create-songyun .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__ico--list {
    filter: none !important;
}

/* 各 tone：统一「淡→中」两档色，避免深褐/深红收边 */
html body.page-tab-create.lh-home-shelf .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-appstore-cell.cd-poster-tone-cyan .cd-poster__art.cd-poster__art--list-icon,
html body.page-tab-create.lh-home-shelf .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .card--poster--grid3.cd-poster-tone-cyan .cd-poster__art,
html body.page-tab-agent.h5-shelf-mirror .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-appstore-cell.cd-poster-tone-cyan .cd-poster__art.cd-poster__art--list-icon,
html body.page-tab-agent.h5-shelf-mirror .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .card--poster--grid3.cd-poster-tone-cyan .cd-poster__art {
    background: linear-gradient(155deg, #dbeafe 0%, #bfdbfe 48%, #93c5fd 100%) !important;
}

html body.page-tab-create.lh-home-shelf .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-appstore-cell.cd-poster-tone-mint .cd-poster__art.cd-poster__art--list-icon,
html body.page-tab-create.lh-home-shelf .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .card--poster--grid3.cd-poster-tone-mint .cd-poster__art,
html body.page-tab-agent.h5-shelf-mirror .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-appstore-cell.cd-poster-tone-mint .cd-poster__art.cd-poster__art--list-icon,
html body.page-tab-agent.h5-shelf-mirror .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .card--poster--grid3.cd-poster-tone-mint .cd-poster__art {
    background: linear-gradient(155deg, #d8f5e8 0%, #b8e8d2 48%, #86d4b8 100%) !important;
}

html body.page-tab-create.lh-home-shelf .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-appstore-cell.cd-poster-tone-violet .cd-poster__art.cd-poster__art--list-icon,
html body.page-tab-create.lh-home-shelf .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .card--poster--grid3.cd-poster-tone-violet .cd-poster__art,
html body.page-tab-agent.h5-shelf-mirror .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-appstore-cell.cd-poster-tone-violet .cd-poster__art.cd-poster__art--list-icon,
html body.page-tab-agent.h5-shelf-mirror .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .card--poster--grid3.cd-poster-tone-violet .cd-poster__art {
    background: linear-gradient(155deg, #ede9fe 0%, #ddd6fe 45%, #c4b5fd 100%) !important;
}

html body.page-tab-create.lh-home-shelf .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-appstore-cell.cd-poster-tone-amber .cd-poster__art.cd-poster__art--list-icon,
html body.page-tab-create.lh-home-shelf .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .card--poster--grid3.cd-poster-tone-amber .cd-poster__art,
html body.page-tab-agent.h5-shelf-mirror .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-appstore-cell.cd-poster-tone-amber .cd-poster__art.cd-poster__art--list-icon,
html body.page-tab-agent.h5-shelf-mirror .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .card--poster--grid3.cd-poster-tone-amber .cd-poster__art {
    background: linear-gradient(155deg, #fef9e8 0%, #fdecc8 48%, #f5d78a 100%) !important;
}

html body.page-tab-create.lh-home-shelf .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-appstore-cell.cd-poster-tone-rose .cd-poster__art.cd-poster__art--list-icon,
html body.page-tab-create.lh-home-shelf .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .card--poster--grid3.cd-poster-tone-rose .cd-poster__art,
html body.page-tab-agent.h5-shelf-mirror .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-appstore-cell.cd-poster-tone-rose .cd-poster__art.cd-poster__art--list-icon,
html body.page-tab-agent.h5-shelf-mirror .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .card--poster--grid3.cd-poster-tone-rose .cd-poster__art {
    background: linear-gradient(155deg, #ffe8ec 0%, #fecdd6 48%, #f9a8b8 100%) !important;
}

html body.page-tab-create.lh-home-shelf .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-appstore-cell.cd-poster-tone-slate .cd-poster__art.cd-poster__art--list-icon,
html body.page-tab-create.lh-home-shelf .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .card--poster--grid3.cd-poster-tone-slate .cd-poster__art,
html body.page-tab-agent.h5-shelf-mirror .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-appstore-cell.cd-poster-tone-slate .cd-poster__art.cd-poster__art--list-icon,
html body.page-tab-agent.h5-shelf-mirror .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .card--poster--grid3.cd-poster-tone-slate .cd-poster__art {
    background: linear-gradient(155deg, #eef2f6 0%, #d8dee9 48%, #b8c4d4 100%) !important;
}

/* 「即将上线」：略深的灰玻璃，白图标与其它宫格同尺寸层次 */
html body.page-tab-create.lh-home-shelf .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__art.cd-poster__art--coming,
html body.page-tab-agent.h5-shelf-mirror .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__art.cd-poster__art--coming {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    border: 0.5px solid rgba(255, 255, 255, 0.22) !important;
    background: linear-gradient(155deg, #cbd5e1 0%, #94a3b8 42%, #64748b 100%) !important;
    box-shadow:
        0 6px 18px rgba(15, 23, 42, 0.1),
        0 1px 4px rgba(15, 23, 42, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

html body.page-tab-create.lh-home-shelf .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__art.cd-poster__art--coming::before,
html body.page-tab-agent.h5-shelf-mirror .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__art.cd-poster__art--coming::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    border-radius: inherit !important;
    z-index: 1 !important;
    pointer-events: none !important;
    background: linear-gradient(
        155deg,
        rgba(255, 255, 255, 0.45) 0%,
        rgba(255, 255, 255, 0.08) 45%,
        rgba(255, 255, 255, 0) 55%
    ) !important;
}

html body.page-tab-create.lh-home-shelf .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__art.cd-poster__art--coming::after,
html body.page-tab-agent.h5-shelf-mirror .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__art.cd-poster__art--coming::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    border-radius: inherit !important;
    z-index: 2 !important;
    pointer-events: none !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -8px 14px rgba(0, 0, 0, 0.1) !important;
}

html body.page-tab-create.lh-home-shelf .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__art.cd-poster__art--coming i,
html body.page-tab-agent.h5-shelf-mirror .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__art.cd-poster__art--coming i,
html body.page-tab-create.lh-home-shelf .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__ico--coming,
html body.page-tab-agent.h5-shelf-mirror .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__ico--coming {
    position: relative !important;
    z-index: 3 !important;
    color: rgba(255, 255, 255, 0.96) !important;
    opacity: 1 !important;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18)) !important;
}

/* 深色模式：略收阴影，避免糊成一团 */
html[data-h5-appearance='dark'] body.page-tab-create.lh-home-shelf .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__art.cd-poster__art--list-icon,
html[data-h5-appearance='dark'] body.page-tab-agent.h5-shelf-mirror .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__art.cd-poster__art--list-icon {
    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.35),
        0 1px 4px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
}

html[data-h5-appearance='dark'] body.page-tab-create.lh-home-shelf .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__art.cd-poster__art--list-icon::before,
html[data-h5-appearance='dark'] body.page-tab-agent.h5-shelf-mirror .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__art.cd-poster__art--list-icon::before {
    opacity: 0.65 !important;
}

@media (prefers-reduced-motion: reduce) {
    html body.page-tab-create.lh-home-shelf .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__art.cd-poster__art--list-icon,
    html body.page-tab-agent.h5-shelf-mirror .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__art.cd-poster__art--list-icon {
        transition: none !important;
    }
}

/* 位图切图（pack）：不要 tone 渐变、玻璃外圈与阴影，底透明 */
html body.page-tab-create.lh-home-shelf .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__art.cd-poster__art--list-icon.cd-poster__art--pack-icon,
html body.page-tab-agent.h5-shelf-mirror .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__art.cd-poster__art--list-icon.cd-poster__art--pack-icon {
    background: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

html body.page-tab-create.lh-home-shelf .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__art.cd-poster__art--list-icon.cd-poster__art--pack-icon::before,
html body.page-tab-create.lh-home-shelf .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__art.cd-poster__art--list-icon.cd-poster__art--pack-icon::after,
html body.page-tab-agent.h5-shelf-mirror .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__art.cd-poster__art--list-icon.cd-poster__art--pack-icon::before,
html body.page-tab-agent.h5-shelf-mirror .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__art.cd-poster__art--list-icon.cd-poster__art--pack-icon::after {
    content: none !important;
    display: none !important;
    box-shadow: none !important;
    background: none !important;
}

/* 「即将上线」若也为 pack 切图：同上，透明底 */
html body.page-tab-create.lh-home-shelf .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__art.cd-poster__art--coming.cd-poster__art--pack-icon,
html body.page-tab-agent.h5-shelf-mirror .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__art.cd-poster__art--coming.cd-poster__art--pack-icon {
    background: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

html body.page-tab-create.lh-home-shelf .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__art.cd-poster__art--coming.cd-poster__art--pack-icon::before,
html body.page-tab-create.lh-home-shelf .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__art.cd-poster__art--coming.cd-poster__art--pack-icon::after,
html body.page-tab-agent.h5-shelf-mirror .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__art.cd-poster__art--coming.cd-poster__art--pack-icon::before,
html body.page-tab-agent.h5-shelf-mirror .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__art.cd-poster__art--coming.cd-poster__art--pack-icon::after {
    content: none !important;
    display: none !important;
    box-shadow: none !important;
    background: none !important;
}

html[data-h5-appearance='dark'] body.page-tab-create.lh-home-shelf .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__art.cd-poster__art--list-icon.cd-poster__art--pack-icon,
html[data-h5-appearance='dark'] body.page-tab-agent.h5-shelf-mirror .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__art.cd-poster__art--list-icon.cd-poster__art--pack-icon,
html[data-h5-appearance='dark'] body.page-tab-create.lh-home-shelf .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__art.cd-poster__art--coming.cd-poster__art--pack-icon,
html[data-h5-appearance='dark'] body.page-tab-agent.h5-shelf-mirror .create-dash .cd-appstore-shelf--grid3.cd-appstore-shelf--grid3-glass .cd-poster__art.cd-poster__art--coming.cd-poster__art--pack-icon {
    background: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* ========== 智能体 Tab：浅色 Soft UI（与创作主壳一致；不依赖 body.lh-create-songyun） ========== */
html body.page-tab-agent.h5-shelf-mirror,
html body.page-tab-agent.h5-shelf-mirror #agentToolsRoot {
    background: var(--as-page-bg, #eff4f2) !important;
    background-image: none !important;
}

html body.page-tab-agent.h5-shelf-mirror .app-container,
html body.page-tab-agent.h5-shelf-mirror #mainContent.main-content,
html body.page-tab-agent.h5-shelf-mirror .main-content,
html body.page-tab-agent.h5-shelf-mirror #agentToolsRoot .lh2-root,
html body.page-tab-agent.h5-shelf-mirror #agentToolsRoot .lh2-page,
html body.page-tab-agent.h5-shelf-mirror #agentToolsRoot .create-dash,
html body.page-tab-agent.h5-shelf-mirror #agentToolsRoot .create-dash__inner {
    background: var(--as-page-bg, #eff4f2) !important;
    background-color: var(--as-page-bg, #eff4f2) !important;
    background-image: none !important;
}

html body.page-tab-agent.h5-shelf-mirror .create-dash .cd-hero-banner--palace {
    border-radius: 16px !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    background: #ffffff !important;
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.06) !important;
    margin-bottom: 6px !important;
}

html body.page-tab-agent.h5-shelf-mirror .create-dash .cd-hero-banner--palace:has(.cd-hero-banner__content--brand-mast) {
    min-height: clamp(96px, 18vw, 140px) !important;
}

html body.page-tab-agent.h5-shelf-mirror .create-dash .cd-hero-banner--palace .cd-hero-banner__content--brand-mast {
    padding: max(10px, env(safe-area-inset-top, 0px)) 14px 14px 16px !important;
}

html body.page-tab-agent.h5-shelf-mirror .create-dash .cd-hero-mast__logo.logo--hero .logo__img {
    width: 40px !important;
    height: 40px !important;
}

html body.page-tab-agent.h5-shelf-mirror .create-dash .cd-hero-banner__base .cd-hero-banner__bg--gradient {
    background:
        radial-gradient(ellipse 88% 62% at 16% 0%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
        linear-gradient(165deg, #ffffff 0%, #f8fafc 52%, #f1f5f9 100%) !important;
}

html body.page-tab-agent.h5-shelf-mirror .create-dash .cd-hero-banner__base > .cd-hero-banner__veil {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(248, 250, 252, 0.35) 52%, rgba(241, 245, 249, 0.55) 100%) !important;
}

html body.page-tab-agent.h5-shelf-mirror #agentToolsRoot .cd-live-ticker--agent {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    border-radius: 10px !important;
    margin-top: 6px !important;
    margin-bottom: 10px !important;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
    box-shadow: 0 1px 8px rgba(15, 23, 42, 0.04) !important;
}

html body.page-tab-agent.h5-shelf-mirror #agentToolsRoot .cd-live-ticker--agent .cd-live-ticker__item {
    color: #334155 !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
}

html body.page-tab-agent.h5-shelf-mirror #agentToolsRoot .cd-live-ticker--agent .cd-live-ticker__user {
    color: #334155 !important;
}

html body.page-tab-agent.h5-shelf-mirror #agentToolsRoot .cd-live-ticker--agent .cd-live-ticker__dot {
    background: radial-gradient(circle at 30% 30%, #6ee7b7, #34d399) !important;
    box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.2);
}

html body.page-tab-agent.h5-shelf-mirror #agentToolsRoot .cd-search-section {
    padding: 10px 0 6px !important;
}

html body.page-tab-agent.h5-shelf-mirror #agentToolsRoot .cd-search-box {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    box-shadow: 0 1px 6px rgba(15, 23, 42, 0.04) !important;
    height: 44px !important;
    border-radius: 12px !important;
}

html body.page-tab-agent.h5-shelf-mirror #agentToolsRoot .cd-search-box:focus-within {
    border-color: rgba(59, 130, 246, 0.45) !important;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.12) !important;
}

html body.page-tab-agent.h5-shelf-mirror #agentToolsRoot .cd-search-icon {
    color: #64748b !important;
}

html body.page-tab-agent.h5-shelf-mirror #agentToolsRoot .cd-search-input {
    color: #0f172a !important;
    font-size: 15px !important;
    font-weight: 500 !important;
}

html body.page-tab-agent.h5-shelf-mirror #agentToolsRoot .cd-search-input::placeholder {
    color: #64748b !important;
}

html body.page-tab-agent.h5-shelf-mirror #agentToolsRoot .cd-search-clear {
    color: #64748b !important;
}

html body.page-tab-agent.h5-shelf-mirror #agentToolsRoot .cd-appstore-shelf--grid3 .cd-appstore-group--grid3 {
    gap: 10px 8px !important;
}

/*
 * 智能体宫格：与创作工作台同款 .cd-bench-ico（尺寸由 home-create-shelf #agentToolsRoot 约束）
 */
html body.page-tab-agent.h5-shelf-mirror #agentToolsRoot .cd-appstore-shelf--grid3 .cd-agent-shelf-bench-wrap .cd-bench-ico {
    flex: 0 0 auto !important;
}

/* 工具宫格：白卡片 + 圆角图标位（与创作工作台宫格一致） */
html body.page-tab-agent.h5-shelf-mirror #agentToolsRoot .cd-appstore-shelf--grid3 .cd-appstore-cell {
    padding: 12px 8px 10px !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05) !important;
    will-change: auto !important;
}

html body.page-tab-agent.h5-shelf-mirror #agentToolsRoot .cd-appstore-shelf--grid3 .cd-appstore-cell:hover {
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08) !important;
}

html body.page-tab-agent.h5-shelf-mirror #agentToolsRoot .cd-appstore-shelf--grid3 .cd-appstore-cell:active {
    transform: scale(0.98);
    opacity: 0.96;
}

html body.page-tab-agent.h5-shelf-mirror #agentToolsRoot .cd-appstore-shelf--grid3 .cd-poster__head--grid3 .cd-poster__title {
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.02em !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    background: transparent !important;
    -webkit-line-clamp: 2 !important;
    -webkit-font-smoothing: subpixel-antialiased !important;
}

html body.page-tab-agent.h5-shelf-mirror #agentToolsRoot .cd-appstore-shelf--grid3 .cd-poster__title--coming {
    color: #475569 !important;
    font-size: clamp(12px, 3.1vw, 13px) !important;
    font-weight: 600 !important;
}

html body.page-tab-agent.h5-shelf-mirror #agentToolsRoot .cd-appstore-shelf--grid3 .agent-shelf-new {
    top: 4px !important;
    right: 4px !important;
    padding: 0 3px !important;
    font-size: 8px !important;
    border-radius: 3px !important;
    opacity: 0.92;
}

/* 底栏：白底 Dock（与创作一致） */
html body.page-tab-agent.h5-shelf-mirror .tab-bar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-top: 0.5px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.06) !important;
}

html body.page-tab-agent.h5-shelf-mirror .tab-item {
    color: #94a3b8 !important;
}

html body.page-tab-agent.h5-shelf-mirror .tab-item .tab-icon {
    color: #94a3b8 !important;
}

html body.page-tab-agent.h5-shelf-mirror .tab-item.active,
html body.page-tab-agent.h5-shelf-mirror .tab-item.active .tab-label,
html body.page-tab-agent.h5-shelf-mirror .tab-item.active .tab-icon {
    color: var(--as-blue, #1e3a5f) !important;
}

/* 灵涵主壳：后加载时仍用暖实底 + 靛青高亮 */
html body.page-tab-agent.h5-shelf-mirror.lh-create-songyun .tab-bar {
    background: #f4f9f6 !important;
    box-shadow: 0 -6px 24px rgba(15, 23, 42, 0.07) !important;
}

/* 智能体动态条：与创作页一致，去掉边缘 mask + 避免滚动层发虚 */
html body.page-tab-agent.h5-shelf-mirror #agentToolsRoot .cd-live-ticker--agent .cd-live-ticker__track {
    mask-image: none !important;
    -webkit-mask-image: none !important;
}

html body.page-tab-agent.h5-shelf-mirror #agentToolsRoot .cd-live-ticker--agent .cd-live-ticker__inner,
html body.page-tab-agent.h5-shelf-mirror #agentToolsRoot .cd-live-ticker--agent .cd-live-ticker__inner--long {
    will-change: auto !important;
}

/* 压过 h5-appstore-shell 的 60px / 外阴影（外链可能晚于 home-create-shelf 加载），与创作 #cdWorkbench 54px 方标一致 */
html body.page-tab-agent.h5-shelf-mirror #agentToolsRoot .cd-appstore-shelf--grid3 a.cd-appstore-cell .cd-poster__art.cd-poster__art--list-icon:not(.cd-poster__art--pack-icon):not(.cd-poster__art--sprite-sheet),
html body.page-tab-agent.h5-shelf-mirror #agentToolsRoot .cd-appstore-shelf--grid3 .cd-poster__art.cd-poster__art--coming:not(.cd-poster__art--pack-icon) {
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    min-height: 54px !important;
    max-width: 54px !important;
    max-height: 54px !important;
    border-radius: 14px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
    margin: 0 0 8px !important;
}

html body.page-tab-agent.h5-shelf-mirror #agentToolsRoot .cd-appstore-shelf--grid3 a.cd-appstore-cell .cd-poster__ico--list .lh-lucide svg.lucide,
html body.page-tab-agent.h5-shelf-mirror #agentToolsRoot .cd-appstore-shelf--grid3 a.cd-appstore-cell .cd-poster__ico--list svg.lucide {
    width: 22px !important;
    height: 22px !important;
    shape-rendering: geometricPrecision !important;
}

/* 莫兰迪底色：晚于 h5-appstore-shell 加载，用 #agentToolsRoot + a 提高优先级压过 var(--icon-bg) */
html body.page-tab-agent.h5-shelf-mirror #agentToolsRoot .cd-appstore-shelf--grid3 a.cd-appstore-cell.cd-poster-tone-cyan .cd-poster__art.cd-poster__art--list-icon:not(.cd-poster__art--pack-icon):not(.cd-poster__art--sprite-sheet) {
    background: linear-gradient(155deg, #5a9aa8, #3d7a86) !important;
}

html body.page-tab-agent.h5-shelf-mirror #agentToolsRoot .cd-appstore-shelf--grid3 a.cd-appstore-cell.cd-poster-tone-mint .cd-poster__art.cd-poster__art--list-icon:not(.cd-poster__art--pack-icon):not(.cd-poster__art--sprite-sheet) {
    background: linear-gradient(155deg, #6d9b86, #4a7a63) !important;
}

html body.page-tab-agent.h5-shelf-mirror #agentToolsRoot .cd-appstore-shelf--grid3 a.cd-appstore-cell.cd-poster-tone-violet .cd-poster__art.cd-poster__art--list-icon:not(.cd-poster__art--pack-icon):not(.cd-poster__art--sprite-sheet) {
    background: linear-gradient(155deg, #8b87ad, #6a5f8f) !important;
}

html body.page-tab-agent.h5-shelf-mirror #agentToolsRoot .cd-appstore-shelf--grid3 a.cd-appstore-cell.cd-poster-tone-amber .cd-poster__art.cd-poster__art--list-icon:not(.cd-poster__art--pack-icon):not(.cd-poster__art--sprite-sheet) {
    background: linear-gradient(155deg, #c9a06d, #8f7351) !important;
}

html body.page-tab-agent.h5-shelf-mirror #agentToolsRoot .cd-appstore-shelf--grid3 a.cd-appstore-cell.cd-poster-tone-rose .cd-poster__art.cd-poster__art--list-icon:not(.cd-poster__art--pack-icon):not(.cd-poster__art--sprite-sheet) {
    background: linear-gradient(155deg, #c4706a, #a84855) !important;
}

html body.page-tab-agent.h5-shelf-mirror #agentToolsRoot .cd-appstore-shelf--grid3 a.cd-appstore-cell.cd-poster-tone-slate .cd-poster__art.cd-poster__art--list-icon:not(.cd-poster__art--pack-icon):not(.cd-poster__art--sprite-sheet) {
    background: linear-gradient(155deg, #5c6d6a, #3d4f4c) !important;
}

html body.page-tab-agent.h5-shelf-mirror #agentToolsRoot .cd-appstore-shelf--grid3 a.cd-appstore-cell .cd-poster__ico--list {
    color: #fff !important;
    opacity: 1 !important;
    filter: none !important;
}
