/* =========================================================
   ee（东方红）玩法模块统一主题
   作用域：仅 #home-remote-content 内的预测玩法模块
   约束：只改颜色 / 背景 / 边框颜色 / 阴影 / 圆角，
         不改字号、行高、内外边距、宽高、列宽、display 等布局属性。
   分层：L1 深红框架 → L2 金色强调 → L3 浅金高亮
         → L4 暖白内容 → L5 深棕正文
   ========================================================= */

/* ---------- 1. 模块外框与标题条 ---------- */

/* 外框：暖白渐变 + 金色内描边 + 红色轻阴影（用内阴影，不占布局） */
#home-remote-content .open-log {
    background: linear-gradient(180deg, #fffdf8 0%, #fff6e8 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 179, 0, 0.5),
        0 0.06rem 0.2rem rgba(120, 0, 0, 0.12);
}

/* 标题条：隐藏 ee 缺失的 title-bg.jpg，用红金渐变替代；高度与原子图一致 */
#home-remote-content .open-log > .biaoti {
    height: 1rem;
    background: linear-gradient(135deg, #7a0000 0%, #ae0202 55%, #c40000 100%);
    border-radius: 0.12rem;
    box-shadow:
        inset 0 0 0 1px rgba(255, 209, 102, 0.55),
        inset 0 -2px 0 rgba(255, 179, 0, 0.55);
}

#home-remote-content .open-log > .biaoti img {
    display: none;
}

#home-remote-content .open-log > .biaoti .text1,
#home-remote-content .open-log > .biaoti .text2 {
    color: #ffe28a;
    text-shadow: 0 1px 2px rgba(60, 0, 0, 0.7);
}

/* 内容区透出外框的暖白渐变，避免纯白与米白两块割裂 */
#home-remote-content .open-log > .content,
#home-remote-content .open-log > .content.bg-fff {
    background: transparent;
}

/* 行分隔线：黑色 → 浅金；2px 宽度保持不变 */
#home-remote-content .open-log > .shangxuxian-000 .text:not(:first-child),
#home-remote-content .open-log > .bg-000 .text:not(:first-child) {
    border-top-color: #efd7a6;
}

/* 行卡片：黑框 → 金棕描边，暖白底，轻阴影；2px 边框宽度不变 */
#home-remote-content .waibiankuang {
    border-color: #e3bd7a;
    background: #fffdf8;
    box-shadow: 0 1px 3px rgba(120, 0, 0, 0.06);
}

/* ---------- 2. 通用文字颜色（只换色，不改字号） ---------- */

#home-remote-content .color-000 {
    color: #4a2114;
}

#home-remote-content .color-red,
#home-remote-content .red,
#home-remote-content .color-de0000 {
    color: #c40000;
}

/* 原蓝色系 → 深酒红，保留与主红的层次差 */
#home-remote-content .blue,
#home-remote-content .color-lanse,
#home-remote-content .color-1e90ff,
#home-remote-content .color-0000ff,
#home-remote-content .color-ff00ff {
    color: #8a1c00;
}

/* 原绿色系 → 金棕 */
#home-remote-content .green,
#home-remote-content .color-07c160,
#home-remote-content .color-00a707 {
    color: #b8860b;
}

/* 原紫/粉系 → 橙棕 */
#home-remote-content .purple,
#home-remote-content .deeppink,
#home-remote-content .color-zise,
#home-remote-content .color-673ab7 {
    color: #b45309;
}

#home-remote-content .color-666 {
    color: #8a6a55;
}

/* 修正“公式一头”白底白字不可见 */
#home-remote-content .color-fff {
    color: #4a2114;
}

#home-remote-content .paiqi1 {
    color: #b45309;
}

/* 原未定义类，补上主题色，避免落到浏览器默认黑 */
#home-remote-content .huangse {
    color: #8a5a00;
}

/* ---------- 3. 命中高亮（局部最亮层） ---------- */

#home-remote-content .bg-ffeb3b,
#home-remote-content .selected {
    background: #ffe28a;
    color: #ae0202;
    border-radius: 0.04rem;
}

#home-remote-content .bg-red {
    background: #ae0202;
}

#home-remote-content .color-ffeb3b {
    color: #ffe28a;
}

/* ---------- 4. 通用三列表格（renderTableSectionHtml） ---------- */

#home-remote-content .jingxuan-wubuzhong {
    background: transparent;
}

/* 表头：金色底 + 深红字，与模块深红标题条形成第二层 */
#home-remote-content .jingxuan-wubuzhong .item:first-child {
    background: linear-gradient(90deg, #ffd166 0%, #ffb300 100%);
}

#home-remote-content .jingxuan-wubuzhong .item:first-child div {
    color: #7a0000;
}

/* 单元格黑框 → 金棕，1px 宽度不变 */
#home-remote-content .jingxuan-wubuzhong .item div {
    border-color: #e6c382;
}

/* 数据行斑马纹（只改背景，不改行高） */
#home-remote-content .jingxuan-wubuzhong .item:nth-child(even) {
    background: #fff7ec;
}

#home-remote-content .jingxuan-wubuzhong .item:nth-child(odd):not(:first-child) {
    background: #fffdf8;
}

/* 三列文字分层：期号红、预测深棕、结果酒红 */
#home-remote-content .jingxuan-wubuzhong .item:not(:first-child) .qishu {
    color: #ae0202;
}

#home-remote-content .jingxuan-wubuzhong .item:not(:first-child) .box {
    color: #4a2114;
}

#home-remote-content .jingxuan-wubuzhong .item:not(:first-child) .box2 {
    color: #8a1c00;
}

/* ---------- 5. wdx 三列资料表（12 个模块的内联样式） ---------- */

#home-remote-content .wdx-table-wrap {
    border-color: #e3bd7a;
    background: #fffdf8;
    box-shadow: 0 2px 8px rgba(120, 0, 0, 0.08);
}

#home-remote-content .wdx-table-head {
    background: linear-gradient(135deg, #7a0000 0%, #ae0202 60%, #c40000 100%);
    color: #ffe28a;
    text-shadow: 0 1px 2px rgba(60, 0, 0, 0.65);
}

#home-remote-content .wdx-rows {
    color: #4a2114;
}

#home-remote-content .wdx-tr {
    border-top-color: #efd7a6;
}

#home-remote-content .wdx-tr--alt {
    background: #fff7ec;
}

#home-remote-content .wdx-td {
    border-right-color: #efd7a6;
}

#home-remote-content .wdx-td-issue,
#home-remote-content .wdx-td-res {
    background: #ffeccc;
    color: #ae0202;
}

#home-remote-content .wdx-td-data {
    color: #8a1c00;
}

#home-remote-content .wdx-chunk--hit {
    background: #ffe28a;
    color: #ae0202;
}

/* ---------- 6. 必中10码 Tab ---------- */

#home-remote-content .wanfa_24_stage_box {
    background: linear-gradient(90deg, #7a0000 0%, #ae0202 55%, #c40000 100%);
    color: #ffe28a;
}

#home-remote-content .wanfa_24_stage_box .active {
    background: #ffb300;
    color: #4a2114;
}

#home-remote-content .wanfa_24_stage_content {
    background: #fffdf8;
    color: #4a2114;
}

#home-remote-content .wanfa_24_stage_content .item:not(:first-child) {
    border-top-color: #efd7a6;
}

/* ---------- 7. 4004 行卡片 ---------- */

#home-remote-content .wanfa-ys2-optimized-4004::after {
    background: linear-gradient(180deg, #ae0202 0%, #ffb300 100%);
}

#home-remote-content .wanfa-ys2-optimized-4004.odd-row {
    background: linear-gradient(135deg, #fffdf8 0%, #fff3e0 100%);
    border-left-color: #ae0202;
    border-bottom-color: #efd7a6;
}

#home-remote-content .wanfa-ys2-optimized-4004.even-row {
    background: linear-gradient(135deg, #fff7ec 0%, #fffdf8 100%);
    border-left-color: #ffb300;
    border-bottom-color: #efd7a6;
}

#home-remote-content .wanfa-ys2-optimized-4004 p {
    color: #4a2114;
}

#home-remote-content .wanfa-ys2-optimized-4004 .period-text {
    color: #ae0202;
}

#home-remote-content .wanfa-ys2-optimized-4004 .result-text {
    color: #8a5a00;
}

#home-remote-content .wanfa-ys2-optimized-4004 .status-text {
    color: #8a6a55;
}

#home-remote-content .wanfa-ys2-optimized-4004 .highlight {
    background: #ffe28a;
    color: #ae0202;
    border-color: #ffb300;
    box-shadow: 0 2px 4px rgba(174, 2, 2, 0.15);
}

/* 绝杀十码等 .wanfa-ys2 容器 */
#home-remote-content .wanfa-ys2 {
    color: #4a2114;
}

/* ---------- 8. 九肖金字塔 ---------- */

#home-remote-content .jxzt-box .text1,
#home-remote-content .jxzt-box .text2,
#home-remote-content .jxzt-box .text3 {
    background: #fffdf8;
    border-bottom-color: #efd7a6;
}

#home-remote-content .jxzt-box .text1 {
    color: #ae0202;
}

#home-remote-content .jxzt-box .text2 {
    color: #4a2114;
}

#home-remote-content .jxzt-box .text3 {
    color: #8a1c00;
}

/* ---------- 9. 提示区（三国 / 吉美 / 欲钱等） ---------- */

#home-remote-content .sanguo-tip,
#home-remote-content .jmxc-tip,
#home-remote-content .qqsh-tip,
#home-remote-content .ybsx-tip {
    color: #4a2114;
}

#home-remote-content .qqsh-tip,
#home-remote-content .ybsx-tip {
    border-bottom-color: #efd7a6;
}

/* ---------- 10. 精准五行（保留分组辨识度，降低饱和度） ---------- */

#home-remote-content .wuxing_list.wuxing_金 {
    color: #b8860b;
}

#home-remote-content .wuxing_list.wuxing_木 {
    color: #6b7f2a;
}

#home-remote-content .wuxing_list.wuxing_水 {
    color: #2f6f6a;
}

#home-remote-content .wuxing_list.wuxing_火 {
    color: #c40000;
}

#home-remote-content .wuxing_list.wuxing_土 {
    color: #8a5a00;
}

/* ---------- 11. 六肖12码 / 12码 / 15码 / 四肖八码 ---------- */

#home-remote-content .p_baxiaoshiliuma .item {
    color: #4a2114;
}

#home-remote-content .p_baxiaoshiliuma .item.bg-ffeb3b {
    color: #ae0202;
}
