/* === 首页：深蓝金色主题提亮预览 (home-brighten) === */
/* 仅改颜色；不改字体、字号、字重、行距、布局、间距、图片、图标、功能 */

/* 变量提亮（首页作用域） */
html #app uni-page[data-page="pages/index/index"],
html #app uni-page[data-page="pages/index/index"] .content {
    --site-bg: #0F1826;
    --site-panel: #20364D;
    --site-raised: #27415C;
    --site-input: #27415C;
    --site-line: #304A63;
    --site-text: #F2F5F8;
    --site-muted: #AEBED2;
    --site-gold: #E0B866;
    --site-gold-light: #E0B866;
    --ui89-bg: #0F1826;
    --ui89-panel: #20364D;
    --ui89-line: #304A63;
    --ui89-text: #F2F5F8;
    --ui89-muted: #AEBED2;
    --ui89-gold: #E0B866;
    --home-canvas: #0F1826;
    --home-chrome: #172B41;
    --home-tile: #20364D;
    --home-card: #20364D;
    --home-line: #304A63;
    --home-text: #F2F5F8;
    --home-muted: #AEBED2;
    --home-gold: #E0B866;
    --home-card-title-ink: #F2F5F8;
    --home-card-meta-ink: #AEBED2;
}

/* 页面背景 + 主文字 */
html:has(uni-page[data-page="pages/index/index"]) html,
html:has(uni-page[data-page="pages/index/index"]) body,
html:has(uni-page[data-page="pages/index/index"]) #app,
html #app uni-page[data-page="pages/index/index"],
html #app uni-page[data-page="pages/index/index"] .content,
html #app uni-page[data-page="pages/index/index"] .center {
    background: #0F1826 !important;
    color: #F2F5F8 !important;
}

/* 顶栏 / 公告条 / 底栏：#172B41 */
html #app uni-page[data-page="pages/index/index"] .head > .header[data-v-19ec4d18],
html #app uni-page[data-page="pages/index/index"] .header[data-v-19ec4d18],
html #app uni-page[data-page="pages/index/index"] .uni-noticebar,
html #app uni-page[data-page="pages/index/index"] .uni-noticebar[data-v-19ec4d18],
html:has(uni-page[data-page="pages/index/index"]) .custom-tabbar,
html:has(uni-page[data-page="pages/index/index"]) .tabbar-content,
html[data-site-palette] #app .custom-tabbar[data-v-f6b1133f] {
    background: #172B41 !important;
    border-color: #304A63 !important;
}

/* 公告条文字 */
html #app uni-page[data-page="pages/index/index"] .uni-noticebar .uni-noticebar__content-text,
html #app uni-page[data-page="pages/index/index"] .uni-noticebar uni-text {
    color: #F2F5F8 !important;
}

/* 卡片：#20364D，边框 #304A63 */
html #app uni-page[data-page="pages/index/index"] .mvbox,
html #app uni-page[data-page="pages/index/index"] .h5-cards64 > .mvbox {
    background: #20364D !important;
    border-color: #304A63 !important;
}
html #app uni-page[data-page="pages/index/index"] .mvname,
html #app uni-page[data-page="pages/index/index"] .mvname *,
html #app uni-page[data-page="pages/index/index"] .section-heading40,
html #app uni-page[data-page="pages/index/index"] .section-heading40 * {
    color: #F2F5F8 !important;
}
html #app uni-page[data-page="pages/index/index"] .h5-count64,
html #app uni-page[data-page="pages/index/index"] .gnname,
html #app uni-page[data-page="pages/index/index"] .mvtips {
    color: #AEBED2 !important;
}

/* 内部控件：#27415C */
html #app uni-page[data-page="pages/index/index"] .home-keyword-field,
html #app uni-page[data-page="pages/index/index"] .home-keyword-search > button,
html #app uni-page[data-page="pages/index/index"] .morebox .more,
html #app uni-page[data-page="pages/index/index"] .morebox .reflash {
    background: #27415C !important;
    border-color: #304A63 !important;
}
html #app uni-page[data-page="pages/index/index"] .home-keyword-field input,
html #app uni-page[data-page="pages/index/index"] .home-keyword-field input::placeholder {
    color: #AEBED2 !important;
}

/* 金色强调 #E0B866：VIP 标签 / 查看更多 / 选中图标（保留深色底） */
html #app uni-page[data-page="pages/index/index"] .viptips,
html #app uni-page[data-page="pages/index/index"] .viptips[data-v-236020b3],
html #app uni-page[data-page="pages/index/index"] .spark,
html #app uni-page[data-page="pages/index/index"] .morebox .more,
html #app uni-page[data-page="pages/index/index"] .morebox .more * {
    color: #E0B866 !important;
}
html #app uni-page[data-page="pages/index/index"] .tabItemTitleActive::after,
html #app uni-page[data-page="pages/index/index"] .tabItemActive::after,
html #app uni-page[data-page="pages/index/index"] .tabItemTitleActive > span::after {
    background: #E0B866 !important;
}

/* === 提亮最终覆盖：仅颜色，压过旧 !important 与内联变量 === */
html #app uni-page[data-page="pages/index/index"] .center[data-v-19ec4d18] .uni-noticebar,
html #app uni-page[data-page="pages/index/index"] .center[data-v-19ec4d18] > .uni-noticebar {
    background: #172B41 !important;
}
html #app uni-page[data-page="pages/index/index"] .h5-cards64 > .mvbox[data-v-236020b3] .mvname,
html #app uni-page[data-page="pages/index/index"] .mvname[data-v-19ec4d18],
html #app uni-page[data-page="pages/index/index"] .mvname[data-v-236020b3] {
    color: #F2F5F8 !important;
}
html #app uni-page[data-page="pages/index/index"] .mvimg > .h5-count64.h5-count64,
html #app uni-page[data-page="pages/index/index"] .h5-count64[data-v-236020b3],
html #app uni-page[data-page="pages/index/index"] .center .mvbox .h5-count64 {
    color: #AEBED2 !important;
}
html #app uni-page[data-page="pages/index/index"] .center[data-v-19ec4d18] .morebox[data-v-19ec4d18] > .more[data-v-19ec4d18],
html #app uni-page[data-page="pages/index/index"] .morebox .more {
    background: #27415C !important;
    color: #E0B866 !important;
    border-color: #304A63 !important;
}
html #app uni-page[data-page="pages/index/index"] .h5-cards64 > .mvbox[data-v-236020b3] .mvimg .viptips,
html #app uni-page[data-page="pages/index/index"] .viptips[data-v-236020b3],
html #app uni-page[data-page="pages/index/index"] .viptips > span {
    color: #E0B866 !important;
}
html #app .custom-tabbar:has(.tabbar-item:first-child.active),
html #app .custom-tabbar,
html[data-site-palette] #app .custom-tabbar[data-v-f6b1133f],
html:has(uni-page[data-page="pages/index/index"]) .tabbar-content {
    background: #172B41 !important;
}

/* === 首页底部导航文字：仅文字样式，不动布局/图标 === */
html[data-site-palette="midnight"] body:has(uni-page[data-page="pages/index/index"]) #app uni-view.custom-tabbar[data-v-f6b1133f] .tabbar-item .text,
html[data-site-palette="midnight"] body:has(uni-page[data-page="pages/index/index"]) #app uni-view.custom-tabbar[data-v-f6b1133f] .tabbar-item .text span,
html[data-site-palette="midnight"] body:has(uni-page[data-page="pages/index/index"]) #app uni-view.custom-tabbar[data-v-f6b1133f] .h5-semantic-nav .text,
html[data-site-palette="midnight"] body:has(uni-page[data-page="pages/index/index"]) #app uni-view.custom-tabbar[data-v-f6b1133f] .h5-semantic-nav > span,
html[data-site-palette="midnight"] body:has(uni-page[data-page="pages/index/index"]) #app uni-view.custom-tabbar[data-v-f6b1133f] .h5-ui-label62 {
    font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    color: #AEBED2 !important;
}
html[data-site-palette="midnight"] body:has(uni-page[data-page="pages/index/index"]) #app uni-view.custom-tabbar[data-v-f6b1133f] .tabbar-item.active .text,
html[data-site-palette="midnight"] body:has(uni-page[data-page="pages/index/index"]) #app uni-view.custom-tabbar[data-v-f6b1133f] .tabbar-item.active .text span,
html[data-site-palette="midnight"] body:has(uni-page[data-page="pages/index/index"]) #app uni-view.custom-tabbar[data-v-f6b1133f] .tabbar-item.active .h5-ui-label62,
html[data-site-palette="midnight"] body:has(uni-page[data-page="pages/index/index"]) #app uni-view.custom-tabbar[data-v-f6b1133f] .h5-semantic-nav.active .text {
    color: #E0B866 !important;
}
