/* ==========================================================================
   hh（创富网）预测玩法模块统一主题
   2026-10-21
   范围：仅 hh 前台 #home-remote-content 内注入的 49 个玩法模块。
   原则：
     - 只改颜色、背景、描边、阴影、圆角；
     - 不改 font-size / line-height / margin / padding / width / height /
       display / flex / grid / 定位，避免任何布局位移；
     - 所有选择器限定 #home-remote-content，优先级高于模块自带样式。
   色板：米 #dbd1c7 / 暖白 #fffdf9 / 浅米 #f7efe5 / 米棕 #f1e7da /
         描边 #d5c3ae / 主棕 #a97a4e / 深棕 #8f6238 / 次级棕 #7e5130 /
         正文 #4a382a / 命中底 #f0d7a8 / 命中字 #9c3418 / 强调红 #a63c22
   ========================================================================== */

/* ---------- 1. 通用外框：卡片 / 标题条 / 内容区 ---------- */

/* 卡片：用 box-shadow 画 1px 描边，避免真实 border 改变盒模型尺寸 */
#home-remote-content .open-log {
    background: #fffdf9;
    box-shadow: 0 0 0 1px #d5c3ae, 0 .06rem .18rem rgba(91, 74, 60, .10);
    border-radius: .16rem;
}

/* 标题条：深棕渐变，暖白字；破图用 opacity:0 隐藏但保留原 1rem 高度 */
#home-remote-content .biaoti {
    background: linear-gradient(180deg, #8f6238 0%, #a97a4e 100%);
    border-radius: .12rem .12rem 0 0;
    overflow: hidden;
}

#home-remote-content .biaoti img {
    opacity: 0;
}

#home-remote-content .biaoti .text1,
#home-remote-content .biaoti .text2 {
    color: #fffdf9;
}

/* 内容区 */
#home-remote-content .open-log > .content,
#home-remote-content .bg-fff {
    background: #fffdf9;
    color: #4a382a;
}

/* 内容区行分隔线：保留原 2px 宽度，只换颜色 */
#home-remote-content .open-log > .shangxuxian-000 .text:not(:first-child) {
    border-top-color: #d5c3ae;
}

/* 外框（2px 描边只换色，不动宽度） */
#home-remote-content .waibiankuang {
    border-color: #d5c3ae;
}

/* 少数模块仍使用 .open-log > .title 的绿色标题条 */
#home-remote-content .open-log > .title {
    background: linear-gradient(180deg, #8f6238 0%, #a97a4e 100%);
    color: #fffdf9;
}

/* ---------- 2. 三列表格模板（.jingxuan-wubuzhong） ---------- */

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

/* 表头：深棕渐变 + 暖白字 */
#home-remote-content .jingxuan-wubuzhong .item:first-child {
    background: linear-gradient(180deg, #8f6238 0%, #a97a4e 100%);
}

#home-remote-content .jingxuan-wubuzhong .item:first-child div {
    color: #fffdf9;
    border-color: rgba(255, 253, 249, .28);
}

/* 数据行：边框由黑色改为浅棕，保留 1px */
#home-remote-content .jingxuan-wubuzhong .item div {
    border-color: #d5c3ae;
}

/* 斑马纹 */
#home-remote-content .jingxuan-wubuzhong .item:nth-child(even) {
    background: #f7efe5;
}

#home-remote-content .jingxuan-wubuzhong .qishu {
    color: #7e5130;
}

/* ---------- 3. wdx 自包含表格（13 个模块） ---------- */

#home-remote-content .wdx-table-wrap {
    background: #fffdf9;
    border-color: #d5c3ae;
    box-shadow: 0 .06rem .18rem rgba(91, 74, 60, .10);
}

#home-remote-content .wdx-table-head {
    background: linear-gradient(180deg, #8f6238 0%, #a97a4e 100%);
    color: #fffdf9;
    text-shadow: none;
}

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

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

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

#home-remote-content .wdx-td-issue,
#home-remote-content .wdx-td-res {
    background: #f1e7da;
    color: #7e5130;
}

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

/* ---------- 4. 命中高亮：全部归并为金米底 + 暖红棕字 ---------- */

#home-remote-content .bg-ffeb3b,
#home-remote-content .selected,
#home-remote-content .wdx-chunk--hit,
#home-remote-content .highlight {
    background: #f0d7a8;
    color: #9c3418;
    border-color: #d9b17a;
    border-radius: .06rem;
    box-shadow: none;
    text-shadow: none;
}

/* ---------- 5. 特殊模块 ---------- */

/* 禁特区 */
#home-remote-content .jintequ .title {
    background: linear-gradient(90deg, #8f6238 0%, #a97a4e 100%);
    color: #fffdf9;
}

#home-remote-content .jintequ .item {
    background: #fffdf9;
    color: #5b4a3c;
}

/* 禁特区 6 处行内 style="color:#ff0000" */
#home-remote-content .jintequ [style*="color:#ff0000"] {
    color: #a63c22 !important;
}

/* 开奖布局优化 4004 */
#home-remote-content .wanfa-ys2-optimized-4004::after {
    background: linear-gradient(180deg, #a97a4e 0%, #8f6238 100%);
}

#home-remote-content .wanfa-ys2-optimized-4004.odd-row {
    background: linear-gradient(135deg, #fffdf9 0%, #f7efe5 100%);
    border-left-color: #a97a4e;
    border-bottom-color: #d5c3ae;
}

#home-remote-content .wanfa-ys2-optimized-4004.even-row {
    background: linear-gradient(135deg, #f7efe5 0%, #f1e7da 100%);
    border-left-color: #8f6238;
    border-bottom-color: #d5c3ae;
}

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

#home-remote-content .wanfa-ys2-optimized-4004 .period-text {
    color: #7e5130;
    text-shadow: none;
}

#home-remote-content .wanfa-ys2-optimized-4004 .result-text {
    color: #a63c22;
    text-shadow: none;
}

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

/* 普通开奖布局（.wanfa-ys2） */
#home-remote-content .wanfa-ys2 {
    color: #4a382a;
}

#home-remote-content .wanfa-ys2 .kai-log span {
    color: #a63c22;
}

/* 必中 10 码 Tab */
#home-remote-content .wanfa_24_stage_box {
    background: #f1e7da;
    color: #7e5130;
}

#home-remote-content .wanfa_24_stage_box .active {
    background: #a97a4e;
    color: #fffdf9;
}

#home-remote-content .wanfa_24_stage_content {
    background: #fffdf9;
    color: #4a382a;
}

/* 必中 10 码每行之间的深绿分隔线改为浅棕 */
#home-remote-content .wanfa_24_stage_content .item:not(:first-child) {
    border-top-color: #d5c3ae;
}

/* 精选状态列（jxzt-box） */
#home-remote-content .jxzt-box .text1,
#home-remote-content .jxzt-box .text2,
#home-remote-content .jxzt-box .text3 {
    background: #fffdf9;
    border-bottom-color: #d5c3ae;
}

#home-remote-content .jxzt-box .text1,
#home-remote-content .jxzt-box .text3 {
    color: #7e5130;
}

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

/* 提示 / 图例 */
#home-remote-content .sanguo-tip,
#home-remote-content .qqsh-tip,
#home-remote-content .ybsx-tip,
#home-remote-content .jmxc-tip {
    color: #7e5130;
}

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

/* 其余零散模块 */
#home-remote-content .liuxiao-shierma .item {
    color: #7e5130;
}

#home-remote-content .liuxiao-shierma .item:not(:first-child) {
    border-top-color: #d5c3ae;
}

#home-remote-content .tema-shujinguang .texts {
    color: #7e5130;
}

/* ---------- 6. 全局颜色类收敛（模块正文/期号/预测值/结果） ---------- */

#home-remote-content .red,
#home-remote-content .color-red,
#home-remote-content .color-de0000,
#home-remote-content .color-anhong,
#home-remote-content .color-anhongse {
    color: #a63c22;
}

#home-remote-content .green,
#home-remote-content .color-green,
#home-remote-content .color-07c160,
#home-remote-content .color-00a707,
#home-remote-content .color-lvse,
#home-remote-content .blue,
#home-remote-content .color-0000ff,
#home-remote-content .color-1e90ff,
#home-remote-content .color-lanse {
    color: #7e5130;
}

#home-remote-content .purple,
#home-remote-content .color-zise,
#home-remote-content .color-673ab7,
#home-remote-content .deeppink,
#home-remote-content .huangse {
    color: #8f6238;
}

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

/* 公式④头等模块在白色卡片上使用 .color-fff，实为不可见的白字，改为深棕 */
#home-remote-content .color-fff {
    color: #4a382a;
}

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