/* =====================================================================
 * 全局美化 · 现代组件适配层
 * ---------------------------------------------------------------------
 * 生成式图标升级：冷淡蓝（蓝色系 INS 韩式）/ 香草青（日系治愈淡青）/
 * 奶油黄（暖纸张手绘猫图标）。
 *
 * 这里只接管主屏幕与三张桌面子屏的视觉层：颜色、表面、描边、阴影、
 * 图标表现和交互态。组件 DOM、事件、导航、存储与业务逻辑均保持原样。
 * 自定义上传图标继续使用用户原图，不会被预设线性图标替换。
 * ===================================================================== */

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] {
    --lmg-modern-panel: rgba(247, 251, 255, 0.9);
    --lmg-modern-panel-strong: rgba(250, 252, 255, 0.96);
    --lmg-modern-panel-soft: rgba(224, 236, 255, 0.78);
    --lmg-modern-ink: #243d5e;
    --lmg-modern-muted: #657994;
    --lmg-modern-accent: #527fba;
    --lmg-modern-accent-strong: #355f97;
    --lmg-modern-accent-soft: rgba(82, 127, 186, 0.16);
    --lmg-modern-edge: rgba(70, 106, 155, 0.22);
    --lmg-modern-hairline: rgba(70, 106, 155, 0.13);
    --lmg-modern-icon-bg: transparent;
    --lmg-modern-icon-color: #416fa9;
    --lmg-modern-card-shadow: 0 8px 24px rgba(48, 79, 121, 0.12), 0 1px 4px rgba(48, 79, 121, 0.06);
    --lmg-modern-icon-shadow: 0 5px 14px rgba(52, 86, 133, 0.13);
    --lmg-modern-icon-radius: 17px;
    --lmg-modern-focus: rgba(53, 95, 151, 0.72);
}

html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] {
    --lmg-modern-panel: rgba(255, 255, 249, 0.76);
    --lmg-modern-panel-strong: rgba(255, 255, 250, 0.9);
    --lmg-modern-panel-soft: rgba(222, 246, 237, 0.62);
    --lmg-modern-ink: #244b44;
    --lmg-modern-muted: #63837c;
    --lmg-modern-accent: #4e988b;
    --lmg-modern-accent-strong: #2f7469;
    --lmg-modern-accent-soft: rgba(67, 145, 131, 0.11);
    --lmg-modern-edge: rgba(52, 125, 113, 0.22);
    --lmg-modern-hairline: rgba(52, 125, 113, 0.14);
    --lmg-modern-icon-bg: transparent;
    --lmg-modern-icon-color: #367f73;
    --lmg-modern-card-shadow: 0 6px 18px rgba(43, 105, 94, 0.065);
    --lmg-modern-icon-shadow: 0 3px 12px rgba(43, 105, 94, 0.06);
    --lmg-modern-icon-radius: 18px;
    --lmg-modern-focus: rgba(47, 116, 105, 0.7);
}

html[data-global-beautify="1"][data-global-beautify-preset="cream-yellow"] {
    --lmg-modern-icon-bg: transparent;
    --lmg-modern-icon-shadow: 3px 3px 0 rgba(31, 125, 147, 0.2), 0 5px 10px rgba(87, 67, 38, 0.12);
    --lmg-modern-icon-radius: 14px;
    --lmg-modern-focus: rgba(31, 125, 147, 0.78);
}

html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] {
    --lmg-modern-icon-bg: transparent;
    --lmg-modern-icon-shadow: 0 9px 22px rgba(138, 95, 230, 0.13), 0 3px 10px rgba(201, 129, 158, 0.16);
    --lmg-modern-icon-radius: 19px;
    --lmg-modern-focus: rgba(168, 111, 140, 0.78);
}

/* ---------- 两套现代预设的桌面公共文字 / 交互 ---------- */
html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-desktop-pager,
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-desktop-pager {
    color: var(--lmg-modern-ink);
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-screen > .status-bar,
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-screen > .status-bar {
    color: var(--lmg-modern-ink);
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-desktop-pager :is(
    .function-name,
    .nav-name,
    .sub-screen-action-label,
    .ss2sc-label,
    .ss2mm-label
),
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-desktop-pager :is(
    .function-name,
    .nav-name,
    .sub-screen-action-label,
    .ss2sc-label,
    .ss2mm-label
) {
    color: var(--lmg-modern-ink);
    text-shadow: none;
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-desktop-pager :is(
    .function-item,
    .nav-item,
    .sub-screen-action--light,
    .ss2sc-tile:not(.ss2sc-tile--placeholder),
    .ss2mm-tile:not(.ss2mm-tile--placeholder)
),
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-desktop-pager :is(
    .function-item,
    .nav-item,
    .sub-screen-action--light,
    .ss2sc-tile:not(.ss2sc-tile--placeholder),
    .ss2mm-tile:not(.ss2mm-tile--placeholder)
) {
    background: transparent;
    border: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-desktop-pager :is(
    .function-item,
    .nav-item,
    .sub-screen-action,
    .ss2sc-tile,
    .ss2mm-tile,
    .ss3sf-photo-button,
    .mre-widget
):focus-visible,
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-desktop-pager :is(
    .function-item,
    .nav-item,
    .sub-screen-action,
    .ss2sc-tile,
    .ss2mm-tile,
    .ss3sf-photo-button,
    .mre-widget
):focus-visible {
    outline: 2px solid var(--lmg-modern-focus);
    outline-offset: 3px;
}

html[data-global-beautify="1"][data-global-beautify-preset="cream-yellow"] #home-desktop-pager :is(
    .function-item,
    .nav-item,
    .sub-screen-action,
    .ss2sc-tile,
    .ss2mm-tile,
    .ss3sf-photo-button,
    .mre-widget
):focus-visible {
    outline: 2px solid var(--lmg-modern-focus);
    outline-offset: 3px;
}

html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] #home-desktop-pager :is(
    .function-item,
    .nav-item,
    .sub-screen-action,
    .ss2sc-tile,
    .ss2mm-tile,
    .ss3sf-photo-button,
    .mre-widget
):focus-visible {
    outline: 2px solid var(--lmg-modern-focus);
    outline-offset: 3px;
}

/* ---------- 预设猫系插画图标：覆盖整个主屏（含 pager 外的底栏），保留自定义上传图标 ---------- */
html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-screen .lovemi-preset-icon-wrap:not(.theme-icon-wrap--custom),
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-screen .lovemi-preset-icon-wrap:not(.theme-icon-wrap--custom),
html[data-global-beautify="1"][data-global-beautify-preset="cream-yellow"] #home-screen .lovemi-preset-icon-wrap:not(.theme-icon-wrap--custom),
html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] #home-screen .lovemi-preset-icon-wrap:not(.theme-icon-wrap--custom) {
    position: relative !important;
    isolation: isolate;
    overflow: hidden !important;
    background: var(--lmg-modern-icon-bg) !important;
    border: 0 !important;
    border-radius: var(--lmg-modern-icon-radius) !important;
    box-shadow: var(--lmg-modern-icon-shadow) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-screen .lovemi-preset-icon-wrap:not(.theme-icon-wrap--custom)::before,
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-screen .lovemi-preset-icon-wrap:not(.theme-icon-wrap--custom)::before,
html[data-global-beautify="1"][data-global-beautify-preset="cream-yellow"] #home-screen .lovemi-preset-icon-wrap:not(.theme-icon-wrap--custom)::before,
html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] #home-screen .lovemi-preset-icon-wrap:not(.theme-icon-wrap--custom)::before {
    content: '';
    position: absolute;
    z-index: 2;
    inset: 0;
    border-radius: inherit;
    background-color: transparent;
    background-image: var(--lmg-modern-icon-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: translateZ(0);
    pointer-events: none;
}

/* 新图层覆盖在原猫图之上；资源失败时原图仍在底下，老 WebView 不会显示空白。 */
html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-screen .lovemi-preset-icon-wrap:not(.theme-icon-wrap--custom) .lovemi-preset-icon-img,
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-screen .lovemi-preset-icon-wrap:not(.theme-icon-wrap--custom) .lovemi-preset-icon-img,
html[data-global-beautify="1"][data-global-beautify-preset="cream-yellow"] #home-screen .lovemi-preset-icon-wrap:not(.theme-icon-wrap--custom) .lovemi-preset-icon-img,
html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] #home-screen .lovemi-preset-icon-wrap:not(.theme-icon-wrap--custom) .lovemi-preset-icon-img {
    opacity: 1 !important;
    visibility: visible !important;
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-screen :is(.function-item, .nav-item, .sub-screen-action, .ss2sc-tile, .ss2mm-tile):active .lovemi-preset-icon-wrap:not(.theme-icon-wrap--custom)::before,
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-screen :is(.function-item, .nav-item, .sub-screen-action, .ss2sc-tile, .ss2mm-tile):active .lovemi-preset-icon-wrap:not(.theme-icon-wrap--custom)::before,
html[data-global-beautify="1"][data-global-beautify-preset="cream-yellow"] #home-screen :is(.function-item, .nav-item, .sub-screen-action, .ss2sc-tile, .ss2mm-tile):active .lovemi-preset-icon-wrap:not(.theme-icon-wrap--custom)::before,
html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] #home-screen :is(.function-item, .nav-item, .sub-screen-action, .ss2sc-tile, .ss2mm-tile):active .lovemi-preset-icon-wrap:not(.theme-icon-wrap--custom)::before {
    transform: scale(0.965) translateZ(0);
}

/* 图标资源映射。变量挂在点击项上，由图标包裹层继承。 */
html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-screen .function-item[data-page="shopping"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cool-blue/shopping.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-screen .function-item[data-page="books"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cool-blue/books.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-screen .function-item[data-page="theme"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cool-blue/theme.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-screen .function-item[data-page="settings"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cool-blue/settings.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-screen .nav-item[data-page="phone"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cool-blue/phone.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-screen .nav-item[data-page="twitter"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cool-blue/twitter.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-screen .nav-item[data-page="wechat"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cool-blue/wechat.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-screen .nav-item[data-page="social-circle"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cool-blue/social-circle.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-screen [data-theme-icon-key="couple-space"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cool-blue/couple-space.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-screen [data-theme-icon-key="if-line"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cool-blue/if-line.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-screen [data-theme-icon-key="ao3"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cool-blue/ao3.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-screen [data-theme-icon-key="game"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cool-blue/game.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-screen [data-theme-icon-key="idle-market"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cool-blue/idle-market.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-screen [data-theme-icon-key="takeaway"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cool-blue/takeaway.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-screen [data-theme-icon-key="current-world"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cool-blue/current-world.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-screen [data-theme-icon-key="sleep-radio"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cool-blue/sleep-radio.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-screen [data-theme-icon-key="memory-manage"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cool-blue/memory-manage.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-screen [data-theme-icon-key="char-schedule"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cool-blue/char-schedule.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-screen [data-theme-icon-key="tiny-home"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cool-blue/tiny-home.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-screen [data-theme-icon-key="anon-live"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cool-blue/anon-live.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-screen [data-theme-icon-key="desktop-pet-factory"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cool-blue/desktop-pet-factory.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-screen [data-theme-icon-key="black-white-mi-top"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cool-blue/black-white-mi-top.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-screen [data-theme-icon-key="date-battle"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cool-blue/date-battle.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-screen [data-theme-icon-key="love-tv"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cool-blue/love-tv.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-screen [data-theme-icon-key="custom-theater"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cool-blue/custom-theater.webp?v=2.0.1"); }

html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-screen .function-item[data-page="shopping"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/vanilla-cyan/shopping.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-screen .function-item[data-page="books"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/vanilla-cyan/books.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-screen .function-item[data-page="theme"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/vanilla-cyan/theme.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-screen .function-item[data-page="settings"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/vanilla-cyan/settings.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-screen .nav-item[data-page="phone"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/vanilla-cyan/phone.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-screen .nav-item[data-page="twitter"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/vanilla-cyan/twitter.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-screen .nav-item[data-page="wechat"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/vanilla-cyan/wechat.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-screen .nav-item[data-page="social-circle"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/vanilla-cyan/social-circle.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-screen [data-theme-icon-key="couple-space"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/vanilla-cyan/couple-space.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-screen [data-theme-icon-key="if-line"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/vanilla-cyan/if-line.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-screen [data-theme-icon-key="ao3"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/vanilla-cyan/ao3.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-screen [data-theme-icon-key="game"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/vanilla-cyan/game.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-screen [data-theme-icon-key="idle-market"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/vanilla-cyan/idle-market.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-screen [data-theme-icon-key="takeaway"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/vanilla-cyan/takeaway.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-screen [data-theme-icon-key="current-world"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/vanilla-cyan/current-world.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-screen [data-theme-icon-key="sleep-radio"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/vanilla-cyan/sleep-radio.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-screen [data-theme-icon-key="memory-manage"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/vanilla-cyan/memory-manage.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-screen [data-theme-icon-key="char-schedule"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/vanilla-cyan/char-schedule.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-screen [data-theme-icon-key="tiny-home"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/vanilla-cyan/tiny-home.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-screen [data-theme-icon-key="anon-live"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/vanilla-cyan/anon-live.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-screen [data-theme-icon-key="desktop-pet-factory"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/vanilla-cyan/desktop-pet-factory.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-screen [data-theme-icon-key="black-white-mi-top"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/vanilla-cyan/black-white-mi-top.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-screen [data-theme-icon-key="date-battle"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/vanilla-cyan/date-battle.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-screen [data-theme-icon-key="love-tv"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/vanilla-cyan/love-tv.webp?v=2.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-screen [data-theme-icon-key="custom-theater"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/vanilla-cyan/custom-theater.webp?v=2.0.1"); }

html[data-global-beautify="1"][data-global-beautify-preset="cream-yellow"] #home-screen .function-item[data-page="shopping"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cream-yellow/shopping.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cream-yellow"] #home-screen .function-item[data-page="books"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cream-yellow/books.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cream-yellow"] #home-screen .function-item[data-page="theme"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cream-yellow/theme.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cream-yellow"] #home-screen .function-item[data-page="settings"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cream-yellow/settings.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cream-yellow"] #home-screen .nav-item[data-page="phone"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cream-yellow/phone.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cream-yellow"] #home-screen .nav-item[data-page="twitter"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cream-yellow/twitter.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cream-yellow"] #home-screen .nav-item[data-page="wechat"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cream-yellow/wechat.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cream-yellow"] #home-screen .nav-item[data-page="social-circle"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cream-yellow/social-circle.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cream-yellow"] #home-screen [data-theme-icon-key="couple-space"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cream-yellow/couple-space.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cream-yellow"] #home-screen [data-theme-icon-key="if-line"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cream-yellow/if-line.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cream-yellow"] #home-screen [data-theme-icon-key="ao3"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cream-yellow/ao3.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cream-yellow"] #home-screen [data-theme-icon-key="game"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cream-yellow/game.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cream-yellow"] #home-screen [data-theme-icon-key="idle-market"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cream-yellow/idle-market.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cream-yellow"] #home-screen [data-theme-icon-key="takeaway"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cream-yellow/takeaway.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cream-yellow"] #home-screen [data-theme-icon-key="current-world"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cream-yellow/current-world.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cream-yellow"] #home-screen [data-theme-icon-key="sleep-radio"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cream-yellow/sleep-radio.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cream-yellow"] #home-screen [data-theme-icon-key="memory-manage"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cream-yellow/memory-manage.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cream-yellow"] #home-screen [data-theme-icon-key="char-schedule"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cream-yellow/char-schedule.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cream-yellow"] #home-screen [data-theme-icon-key="tiny-home"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cream-yellow/tiny-home.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cream-yellow"] #home-screen [data-theme-icon-key="anon-live"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cream-yellow/anon-live.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cream-yellow"] #home-screen [data-theme-icon-key="desktop-pet-factory"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cream-yellow/desktop-pet-factory.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cream-yellow"] #home-screen [data-theme-icon-key="black-white-mi-top"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cream-yellow/black-white-mi-top.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cream-yellow"] #home-screen [data-theme-icon-key="date-battle"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cream-yellow/date-battle.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cream-yellow"] #home-screen [data-theme-icon-key="love-tv"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cream-yellow/love-tv.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="cream-yellow"] #home-screen [data-theme-icon-key="custom-theater"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/cream-yellow/custom-theater.webp?v=1.0.1"); }

html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] #home-screen .function-item[data-page="shopping"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/gentle-pink/shopping.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] #home-screen .function-item[data-page="books"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/gentle-pink/books.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] #home-screen .function-item[data-page="theme"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/gentle-pink/theme.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] #home-screen .function-item[data-page="settings"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/gentle-pink/settings.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] #home-screen .nav-item[data-page="phone"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/gentle-pink/phone.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] #home-screen .nav-item[data-page="twitter"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/gentle-pink/twitter.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] #home-screen .nav-item[data-page="wechat"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/gentle-pink/wechat.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] #home-screen .nav-item[data-page="social-circle"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/gentle-pink/social-circle.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] #home-screen [data-theme-icon-key="couple-space"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/gentle-pink/couple-space.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] #home-screen [data-theme-icon-key="if-line"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/gentle-pink/if-line.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] #home-screen [data-theme-icon-key="ao3"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/gentle-pink/ao3.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] #home-screen [data-theme-icon-key="game"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/gentle-pink/game.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] #home-screen [data-theme-icon-key="idle-market"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/gentle-pink/idle-market.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] #home-screen [data-theme-icon-key="takeaway"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/gentle-pink/takeaway.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] #home-screen [data-theme-icon-key="current-world"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/gentle-pink/current-world.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] #home-screen [data-theme-icon-key="sleep-radio"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/gentle-pink/sleep-radio.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] #home-screen [data-theme-icon-key="memory-manage"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/gentle-pink/memory-manage.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] #home-screen [data-theme-icon-key="char-schedule"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/gentle-pink/char-schedule.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] #home-screen [data-theme-icon-key="tiny-home"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/gentle-pink/tiny-home.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] #home-screen [data-theme-icon-key="anon-live"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/gentle-pink/anon-live.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] #home-screen [data-theme-icon-key="desktop-pet-factory"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/gentle-pink/desktop-pet-factory.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] #home-screen [data-theme-icon-key="black-white-mi-top"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/gentle-pink/black-white-mi-top.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] #home-screen [data-theme-icon-key="date-battle"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/gentle-pink/date-battle.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] #home-screen [data-theme-icon-key="love-tv"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/gentle-pink/love-tv.webp?v=1.0.0"); }
html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] #home-screen [data-theme-icon-key="custom-theater"] { --lmg-modern-icon-image: url("assets/preset-cat-icons/gentle-pink/custom-theater.webp?v=1.0.1"); }

/* ---------- 主屏：资料卡 / 快捷区 / 星座 / 音乐 / 底栏 ---------- */
html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-desktop-page-main .main-card,
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-desktop-page-main .main-card {
    border-color: var(--lmg-modern-edge);
    box-shadow: var(--lmg-modern-card-shadow);
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-desktop-page-main .main-card .card-content,
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-desktop-page-main .main-card .card-content {
    color: var(--lmg-modern-ink);
    background: var(--lmg-modern-panel);
    -webkit-backdrop-filter: blur(16px) saturate(118%);
    backdrop-filter: blur(16px) saturate(118%);
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-desktop-page-main .avatar-frame,
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-desktop-page-main .avatar-frame {
    background: var(--lmg-modern-panel-soft);
    border-color: var(--lmg-modern-panel-strong);
    box-shadow: 0 7px 18px var(--lmg-shadow);
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-desktop-page-main :is(.decorative-icon, .card-signature-line, .card-location span),
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-desktop-page-main :is(.decorative-icon, .card-signature-line, .card-location span) {
    color: var(--lmg-modern-ink);
    text-shadow: none;
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-desktop-page-main .horoscope-card,
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-desktop-page-main .horoscope-card {
    --horoscope-ink: var(--lmg-modern-ink);
    --horoscope-muted: var(--lmg-modern-muted);
    --horoscope-body: var(--lmg-modern-ink);
    --horoscope-faint: var(--lmg-modern-hairline);
    --horoscope-track: var(--lmg-modern-accent-soft);
    --horoscope-fill: var(--lmg-modern-accent-strong);
    --horoscope-glass: var(--lmg-modern-panel);
    --horoscope-glass-fallback: var(--lmg-modern-panel-strong);
    --horoscope-edge: var(--lmg-modern-edge);
    --horoscope-icon-bg: var(--lmg-modern-icon-bg);
    --horoscope-icon-edge: var(--lmg-modern-edge);
    --horoscope-shadow: var(--lmg-modern-card-shadow);
    --horoscope-shadow-hover: var(--lmg-modern-card-shadow);
    --horoscope-text-shadow: none;
    color: var(--lmg-modern-ink);
    background: var(--lmg-modern-panel);
    border-color: var(--lmg-modern-edge);
    box-shadow: var(--lmg-modern-card-shadow);
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-desktop-page-main .horoscope-zodiac-icon {
    color: #f8fbff;
    background: linear-gradient(145deg, #6f98cf, #456fa8);
    border-color: rgba(255, 255, 255, 0.62);
    box-shadow: 0 5px 12px rgba(53, 95, 151, 0.22);
}

html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-desktop-page-main .horoscope-card {
    border-width: 1px;
    border-radius: 16px;
    box-shadow: var(--lmg-modern-card-shadow);
    -webkit-backdrop-filter: blur(11px) saturate(106%);
    backdrop-filter: blur(11px) saturate(106%);
}

html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-desktop-page-main .horoscope-zodiac-icon {
    color: var(--lmg-modern-accent-strong);
    background: transparent;
    border-color: var(--lmg-modern-edge);
    box-shadow: none;
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-desktop-page-main .music-player-card,
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-desktop-page-main .music-player-card,
html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-screen > .bottom-nav,
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-screen > .bottom-nav {
    color: var(--lmg-modern-ink);
    background: var(--lmg-modern-panel);
    border: 1px solid var(--lmg-modern-edge);
    box-shadow: var(--lmg-modern-card-shadow);
    -webkit-backdrop-filter: blur(18px) saturate(118%);
    backdrop-filter: blur(18px) saturate(118%);
    opacity: 1;
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-screen > .bottom-nav {
    gap: clamp(8px, 2.6vw, 14px);
    padding: 8px 10px;
    border-radius: 22px;
    background: rgba(247, 251, 255, 0.88);
    border-color: rgba(78, 116, 168, 0.18);
    box-shadow: 0 8px 24px rgba(54, 86, 132, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-screen > .bottom-nav .nav-item {
    padding: 6px 5px 5px;
    border: 1px solid rgba(86, 126, 181, 0.16);
    border-radius: 16px;
    background: rgba(239, 246, 255, 0.66);
    box-shadow: none;
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-screen > .bottom-nav .nav-name {
    color: #29476d;
    font-weight: 650;
    letter-spacing: 0.04em;
}

html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-desktop-page-main .music-player-card,
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-screen > .bottom-nav {
    border-radius: 18px;
    -webkit-backdrop-filter: blur(11px) saturate(106%);
    backdrop-filter: blur(11px) saturate(106%);
}

html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-screen > .bottom-nav {
    gap: clamp(8px, 2.8vw, 15px);
    padding: 8px 10px;
    border-radius: 22px;
    background: rgba(255, 255, 250, 0.68);
    border-color: rgba(75, 143, 131, 0.16);
    box-shadow: 0 5px 18px rgba(50, 112, 100, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-screen > .bottom-nav .nav-item {
    padding: 6px 5px 5px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    box-shadow: none;
}

html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-screen > .bottom-nav .nav-name {
    color: #315f57;
    font-weight: 600;
    letter-spacing: 0.035em;
}

html[data-global-beautify="1"][data-global-beautify-preset="cream-yellow"] #home-screen > .bottom-nav {
    gap: clamp(7px, 2.5vw, 13px);
    padding: 8px 9px;
    color: #574326;
    background:
        repeating-linear-gradient(0deg, transparent, transparent 4px, rgba(31, 125, 147, 0.026) 4px, rgba(31, 125, 147, 0.026) 8px),
        rgba(255, 248, 222, 0.94);
    border: 2px solid #d1b979;
    border-radius: 16px;
    box-shadow: 4px 4px 0 rgba(31, 125, 147, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    opacity: 1;
}

html[data-global-beautify="1"][data-global-beautify-preset="cream-yellow"] #home-screen > .bottom-nav .nav-item {
    padding: 5px 5px 6px;
    border: 2px solid rgba(122, 90, 44, 0.58);
    border-radius: 14px;
    background: rgba(255, 252, 235, 0.92);
    box-shadow: 2px 3px 0 rgba(31, 125, 147, 0.16);
}

html[data-global-beautify="1"][data-global-beautify-preset="cream-yellow"] #home-screen > .bottom-nav .nav-name {
    color: #574326;
    font-weight: 700;
    letter-spacing: 0.055em;
}

html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] #home-desktop-pager :is(
    .function-item,
    .sub-screen-action--light,
    .ss2sc-tile:not(.ss2sc-tile--placeholder),
    .ss2mm-tile:not(.ss2mm-tile--placeholder)
) {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(249, 212, 227, 0.38));
    border-color: rgba(255, 255, 255, 0.82);
    box-shadow: 0 9px 22px rgba(138, 95, 230, 0.11), 0 3px 10px rgba(201, 129, 158, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

/* ③号屏五枚快捷按钮与②号屏记忆快捷区统一为 70×70 磁贴、52×52 图标框。 */
html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] .home-sub-screen-3-page .ss3sf-shortcut.sub-screen-action {
    box-sizing: border-box;
    width: var(--home-quick-btn-size, 70px);
    height: var(--home-quick-btn-size, 70px);
    min-width: var(--home-quick-btn-size, 70px);
    padding: 0;
    border: 1px solid var(--lmg-border);
    border-radius: 18px;
    gap: 4px;
    justify-self: center;
    align-items: center;
    justify-content: flex-start;
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    backdrop-filter: blur(16px) saturate(140%);
}

html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] .home-sub-screen-3-page .ss3sf-shortcut .ss3sf-shortcut-icon.sub-screen-action-icon {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    min-height: 0;
    max-height: 52px;
    border-radius: 999px;
    background-color: var(--lmg-icon-bg);
    background-image: none;
    border: 1px solid var(--lmg-border);
    box-shadow: 0 6px 16px var(--lmg-shadow);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] .home-sub-screen-3-page .ss3sf-shortcut .ss3sf-shortcut-label.sub-screen-action-label {
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.06em;
}

html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] #home-screen > .bottom-nav {
    gap: clamp(7px, 2.5vw, 13px);
    padding: 8px 9px;
    color: #5c3144;
    background: linear-gradient(135deg, rgba(255, 247, 250, 0.84), rgba(238, 241, 255, 0.72));
    border: 1px solid rgba(255, 255, 255, 0.84);
    border-radius: 25px;
    box-shadow: 0 13px 32px rgba(138, 95, 230, 0.14), 0 4px 14px rgba(201, 129, 158, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.86);
    -webkit-backdrop-filter: blur(18px) saturate(132%);
    backdrop-filter: blur(18px) saturate(132%);
    opacity: 1;
}

html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] #home-screen > .bottom-nav .nav-item {
    padding: 6px 5px 5px;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 19px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(249, 212, 227, 0.4));
    box-shadow: 0 7px 18px rgba(138, 95, 230, 0.1), 0 2px 8px rgba(201, 129, 158, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] #home-screen > .bottom-nav .nav-name {
    color: #5c3144;
    font-weight: 650;
    letter-spacing: 0.04em;
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-desktop-page-main :is(.music-title, .music-time),
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-desktop-page-main :is(.music-title, .music-time) {
    color: var(--lmg-modern-ink);
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-desktop-page-main :is(.music-artist, .music-upload-hint),
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-desktop-page-main :is(.music-artist, .music-upload-hint) {
    color: var(--lmg-modern-muted);
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-desktop-page-main :is(.music-album-art, .music-more-btn, .music-controls-main .music-skip-btn),
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-desktop-page-main :is(.music-album-art, .music-more-btn, .music-controls-main .music-skip-btn) {
    color: var(--lmg-modern-accent-strong);
    background: var(--lmg-modern-panel-soft);
    border-color: var(--lmg-modern-edge);
    box-shadow: none;
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-desktop-page-main .music-controls-main .music-play-btn {
    color: #ffffff;
    background: linear-gradient(145deg, #6f98cf, #456fa8);
    border-color: rgba(255, 255, 255, 0.56);
    box-shadow: 0 7px 16px rgba(53, 95, 151, 0.24);
}

html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-desktop-page-main .music-controls-main .music-play-btn {
    color: var(--lmg-modern-accent-strong);
    background: transparent;
    border: 1px solid var(--lmg-modern-accent);
    box-shadow: none;
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-desktop-page-main .music-progress-bg,
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-desktop-page-main .music-progress-bg {
    background: var(--lmg-modern-accent-soft);
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-desktop-page-main :is(.music-progress-fill, .music-progress-thumb),
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-desktop-page-main :is(.music-progress-fill, .music-progress-thumb) {
    background: var(--lmg-modern-accent-strong);
}

/* ---------- ①号子屏：时钟 / 日历 / 相册 / 四格 / 三联照片 ---------- */
html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-sub-screen-page :is(.sub-screen-clock-block, .sub-screen-week-line, .sub-screen-lunar),
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-sub-screen-page :is(.sub-screen-clock-block, .sub-screen-week-line, .sub-screen-lunar) {
    color: var(--lmg-modern-ink);
    text-shadow: none;
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-sub-screen-page .sub-screen-flip {
    color: var(--lmg-modern-accent-strong);
    background: var(--lmg-modern-panel-strong);
    border: 1px solid var(--lmg-modern-edge);
    border-radius: 14px;
    box-shadow: var(--lmg-modern-icon-shadow);
}

html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-sub-screen-page .sub-screen-flip {
    color: var(--lmg-modern-accent-strong);
    background: transparent;
    border: 0;
    border-bottom: 2px solid var(--lmg-modern-accent);
    border-radius: 0;
    box-shadow: none;
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-sub-screen-page :is(.sub-screen-divider, .sub-screen-cal-wrap),
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-sub-screen-page :is(.sub-screen-divider, .sub-screen-cal-wrap) {
    border-color: var(--lmg-modern-edge);
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-sub-screen-page .sub-screen-cal-wrap,
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-sub-screen-page .sub-screen-cal-wrap {
    color: var(--lmg-modern-ink);
    background: var(--lmg-modern-panel);
    box-shadow: var(--lmg-modern-card-shadow);
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-sub-screen-page .sub-screen-cal-today {
    color: #ffffff;
    background: var(--lmg-modern-accent-strong);
    box-shadow: 0 4px 10px rgba(53, 95, 151, 0.2);
}

html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-sub-screen-page .sub-screen-cal-wrap {
    border-radius: 14px;
    box-shadow: var(--lmg-modern-card-shadow);
}

html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-sub-screen-page .sub-screen-cal-today {
    color: var(--lmg-modern-accent-strong);
    background: var(--lmg-modern-accent-soft);
    box-shadow: inset 0 0 0 1px var(--lmg-modern-edge);
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-sub-screen-page .sub-screen-trio-frame,
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-sub-screen-page .sub-screen-trio-frame {
    color: var(--lmg-modern-ink);
    background: var(--lmg-modern-panel);
    border-color: var(--lmg-modern-edge);
    box-shadow: var(--lmg-modern-card-shadow);
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-sub-screen-page .sub-screen-trio-photo,
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-sub-screen-page .sub-screen-trio-photo {
    background: var(--lmg-modern-panel-soft);
    box-shadow: inset 0 0 0 1px var(--lmg-modern-hairline);
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-sub-screen-page .sub-screen-trio-frame .sub-screen-slot-hint,
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-sub-screen-page .sub-screen-trio-frame .sub-screen-slot-hint {
    color: var(--lmg-modern-muted);
    text-shadow: none;
}

html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-sub-screen-page .sub-screen-trio-frame {
    border-radius: 3px;
    box-shadow: 0 6px 16px rgba(43, 105, 94, 0.07);
}

/* ---------- ②号子屏：情侣卡 / 相册 / 两组四格 / 精神领域 ---------- */
html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-sub-screen-2-page,
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-sub-screen-2-page {
    --ss2-card-bg: var(--lmg-modern-panel);
    --ss2-card-border: var(--lmg-modern-edge);
    --ss2-card-shadow: var(--lmg-shadow);
    --ss2-text: var(--lmg-modern-ink);
    --ss2-text-dim: var(--lmg-modern-muted);
    --ss2-accent: var(--lmg-modern-accent-strong);
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-sub-screen-2-page :is(.ss2cn-card, .ss2ab-sleeve),
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-sub-screen-2-page :is(.ss2cn-card, .ss2ab-sleeve) {
    color: var(--lmg-modern-ink);
    background: var(--lmg-modern-panel);
    border-color: var(--lmg-modern-edge);
    box-shadow: var(--lmg-modern-card-shadow);
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-sub-screen-2-page :is(.ss2cn-avatar-media, .ss2ab-window),
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-sub-screen-2-page :is(.ss2cn-avatar-media, .ss2ab-window) {
    color: var(--lmg-modern-accent-strong);
    background-color: var(--lmg-modern-panel-soft);
    border-color: var(--lmg-modern-edge);
    box-shadow: var(--lmg-modern-icon-shadow);
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-sub-screen-2-page :is(.ss2cn-days b, .ss2cn-heart-line, .ss2ab-deco, .ss2ab-window-empty),
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-sub-screen-2-page :is(.ss2cn-days b, .ss2cn-heart-line, .ss2ab-deco, .ss2ab-window-empty) {
    color: var(--lmg-modern-accent-strong);
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-sub-screen-2-page .ss2cn-meta,
html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-sub-screen-2-page .ss2cn-note:empty::before,
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-sub-screen-2-page .ss2cn-meta,
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-sub-screen-2-page .ss2cn-note:empty::before {
    color: var(--lmg-modern-muted);
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-sub-screen-2-page :is(.ss2sc-icon, .ss2mm-icon),
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-sub-screen-2-page :is(.ss2sc-icon, .ss2mm-icon) {
    background-image: none;
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-sub-screen-2-page :is(.ss2sc-tile, .ss2mm-tile):active .lovemi-preset-icon-wrap:not(.theme-icon-wrap--custom),
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-sub-screen-2-page :is(.ss2sc-tile, .ss2mm-tile):active .lovemi-preset-icon-wrap:not(.theme-icon-wrap--custom) {
    background: var(--lmg-modern-accent-soft) !important;
}

html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-sub-screen-2-page :is(.ss2cn-card, .ss2ab-sleeve) {
    border-radius: 14px;
    box-shadow: var(--lmg-modern-card-shadow);
    -webkit-backdrop-filter: blur(10px) saturate(106%);
    backdrop-filter: blur(10px) saturate(106%);
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-sub-screen-2-page .mre-bar,
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-sub-screen-2-page .mre-bar {
    border-color: var(--lmg-modern-edge);
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-sub-screen-2-page .mre-bar--top {
    background: rgba(246, 250, 255, 0.94);
    box-shadow: 0 8px 20px rgba(48, 79, 121, 0.14);
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-sub-screen-2-page .mre-bar--bottom {
    background: rgba(211, 227, 252, 0.68);
    opacity: 1;
    box-shadow: 0 6px 16px rgba(48, 79, 121, 0.1);
}

html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-sub-screen-2-page .mre-bar--top {
    background: rgba(255, 255, 249, 0.72);
    box-shadow: none;
}

html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-sub-screen-2-page .mre-bar--bottom {
    background: rgba(225, 246, 237, 0.36);
    opacity: 1;
    box-shadow: none;
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-sub-screen-2-page .mre-bar .mre-bar-text,
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-sub-screen-2-page .mre-bar .mre-bar-text,
html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-sub-screen-2-page .mre-widget.mre-adapt-light .mre-bar--bottom .mre-bar-text,
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-sub-screen-2-page .mre-widget.mre-adapt-light .mre-bar--bottom .mre-bar-text {
    color: var(--lmg-modern-accent-strong);
    text-shadow: none;
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-sub-screen-2-page .mre-planet {
    box-shadow: 0 7px 22px rgba(42, 73, 116, 0.35), 0 0 24px rgba(105, 151, 211, 0.32);
}

html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-sub-screen-2-page .mre-planet {
    box-shadow: 0 7px 20px rgba(35, 88, 79, 0.22), 0 0 20px rgba(109, 181, 166, 0.2);
}

/* ---------- ③号子屏：社交照片卡 / 四个新快捷入口 / 选图弹层 ---------- */
html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-sub-screen-3-page,
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-sub-screen-3-page {
    --ss3-card-bg: var(--lmg-modern-panel);
    --ss3-card-border: var(--lmg-modern-edge);
    --ss3-card-shadow: var(--lmg-shadow);
    --ss3-text: var(--lmg-modern-ink);
    --ss3-muted: var(--lmg-modern-muted);
    --ss3-accent: var(--lmg-modern-accent-strong);
    --ss3-accent-2: var(--lmg-modern-accent);
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-sub-screen-3-page .ss3sf-card,
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-sub-screen-3-page .ss3sf-card {
    color: var(--lmg-modern-ink);
    background: var(--lmg-modern-panel);
    border-color: var(--lmg-modern-edge);
    box-shadow: var(--lmg-modern-card-shadow);
}

html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-sub-screen-3-page .ss3sf-card {
    border-radius: 16px;
    -webkit-backdrop-filter: blur(10px) saturate(106%);
    backdrop-filter: blur(10px) saturate(106%);
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-sub-screen-3-page .ss3sf-stories,
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-sub-screen-3-page .ss3sf-stories {
    border-bottom-color: var(--lmg-modern-hairline);
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-sub-screen-3-page :is(.ss3sf-story-avatar, .ss3sf-author-avatar),
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-sub-screen-3-page :is(.ss3sf-story-avatar, .ss3sf-author-avatar) {
    background: var(--lmg-modern-panel-soft);
    border-color: var(--lmg-modern-accent);
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-sub-screen-3-page .ss3sf-avatar-fallback,
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-sub-screen-3-page .ss3sf-avatar-fallback {
    color: var(--lmg-modern-accent-strong);
    background: var(--lmg-modern-panel-strong);
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-sub-screen-3-page .ss3sf-photo-button,
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-sub-screen-3-page .ss3sf-photo-button {
    color: var(--lmg-modern-muted);
    background: var(--lmg-modern-panel-soft);
    border: 1px solid var(--lmg-modern-edge);
}

html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-sub-screen-3-page .ss3sf-photo-button {
    border-radius: 10px;
    background: rgba(229, 247, 240, 0.48);
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-sub-screen-3-page .ss3sf-photo-plus,
html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-sub-screen-3-page .ss3sf-song::before,
html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-sub-screen-3-page .ss3sf-actions,
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-sub-screen-3-page .ss3sf-photo-plus,
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-sub-screen-3-page .ss3sf-song::before,
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-sub-screen-3-page .ss3sf-actions {
    color: var(--lmg-modern-accent-strong);
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #app .ss3sf-picker-sheet,
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #app .ss3sf-picker-sheet {
    color: var(--lmg-modern-ink);
    background: var(--lmg-modern-panel-strong);
    border: 1px solid var(--lmg-modern-edge);
    box-shadow: var(--lmg-modern-card-shadow);
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #app :is(.ss3sf-source-button, .ss3sf-picker-close),
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #app :is(.ss3sf-source-button, .ss3sf-picker-close) {
    color: var(--lmg-modern-ink);
    background: var(--lmg-modern-panel-soft);
    border-color: var(--lmg-modern-edge);
}

/* ---------- 桌面分页指示器 ---------- */
html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-desktop-page-indicator,
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-desktop-page-indicator {
    background: var(--lmg-modern-panel);
    border: 1px solid var(--lmg-modern-edge);
    box-shadow: 0 5px 14px var(--lmg-shadow);
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-desktop-page-dot,
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-desktop-page-dot {
    background: var(--lmg-modern-hairline);
}

html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] .home-desktop-page-dot.is-active,
html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-desktop-page-dot.is-active {
    background: var(--lmg-modern-accent-strong);
}

html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] .home-desktop-page-indicator {
    border-radius: 12px;
    box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
    html[data-global-beautify="1"][data-global-beautify-preset="cool-blue"] #home-screen .lovemi-preset-icon-wrap,
    html[data-global-beautify="1"][data-global-beautify-preset="vanilla-cyan"] #home-screen .lovemi-preset-icon-wrap,
    html[data-global-beautify="1"][data-global-beautify-preset="cream-yellow"] #home-screen .lovemi-preset-icon-wrap,
    html[data-global-beautify="1"][data-global-beautify-preset="gentle-pink"] #home-screen .lovemi-preset-icon-wrap {
        transition: none;
    }
}
