/**
 * 7 种资讯模块版式 + 语义主题色
 */

/* ── 共用 shell ── */
.home-page .home-nav-module[class*="home-mod-layout-"]:not(.home-mod-layout-jdt_classic) {
    margin: 0 10px 14px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .08);
}

.home-page .home-nav-module[class*="home-mod-layout-"]:not(.home-mod-layout-jdt_classic) .home-insider-title {
    padding: 12px 10px;
    font-size: clamp(14px, 4vw, 19px);
    font-weight: 700;
    text-align: center;
    border: none;
    margin: 0;
}

.home-page .mod-panel-foot {
    padding: 10px 8px;
    text-align: center;
    font-size: clamp(11px, 3.2vw, 14px);
    font-weight: 700;
    line-height: 1.35;
    animation: home-mod-slogan-blink 1.4s step-end infinite;
}

/* ── 主题变量 ── */
.home-page .home-mod-theme-pink-forum {
    --mod-h-bg: linear-gradient(135deg, #ff8fab, #ffc2d1);
    --mod-h-color: #880e4f;
    --mod-border: #ff4081;
    --mod-foot-bg: #ffc2d1;
    --mod-foot-color: #880e4f;
}

.home-page .home-mod-theme-gold-vip {
    --mod-h-bg: linear-gradient(135deg, #3e2723, #5d4037);
    --mod-h-color: #ffd54f;
    --mod-border: #ffd700;
    --mod-foot-bg: #ffe082;
    --mod-foot-color: #3e2723;
}

.home-page .home-mod-theme-amber-inline {
    --mod-h-bg: linear-gradient(135deg, #ff8f00, #ffb300);
    --mod-h-color: #fff;
    --mod-border: #ff8f00;
    --mod-foot-bg: #ffe082;
    --mod-foot-color: #e65100;
}

.home-page .home-mod-theme-lime-bulletin {
    --mod-h-bg: #00c853;
    --mod-h-color: #1b5e20;
    --mod-border: #00a844;
    --mod-foot-bg: #69f0ae;
    --mod-foot-color: #1b5e20;
}

.home-page .home-mod-theme-orange-kill {
    --mod-h-bg: linear-gradient(135deg, #e65100, #ff9800);
    --mod-h-color: #fff;
    --mod-border: #ff9800;
    --mod-foot-bg: #ffcc80;
    --mod-foot-color: #bf360c;
}

.home-page .home-mod-theme-brown-stats {
    --mod-h-bg: linear-gradient(135deg, #4e342e, #6d4c41);
    --mod-h-color: #ffcc80;
    --mod-border: #8d6e63;
    --mod-foot-bg: #bcaaa4;
    --mod-foot-color: #3e2723;
}

.home-page .home-mod-theme-jade {
    --mod-h-bg: linear-gradient(135deg, #004d40, #00897b);
    --mod-h-color: #ffd54f;
    --mod-border: #00897b;
    --mod-foot-bg: #004d40;
    --mod-foot-color: #ffd54f;
}

.home-page .home-nav-module[class*="home-mod-theme-"] {
    border: 2px solid var(--mod-border, #07c160);
}

.home-page .home-nav-module[class*="home-mod-theme-"] .home-insider-title {
    background: var(--mod-h-bg);
    color: var(--mod-h-color, #222);
    border-bottom: 2px solid var(--mod-border);
}

.home-page .home-nav-module[class*="home-mod-theme-"] .mod-panel-foot {
    background: var(--mod-foot-bg, #b8e6c8);
    color: var(--mod-foot-color, #222);
    border-top: 1px solid var(--mod-border);
}

/* ═══ 1. forum_pills 王中王卡片行 ═══ */
.home-page .home-mod-layout-forum_pills .mod-forum-list {
    list-style: none;
    margin: 0;
    padding: 8px;
    background: #fff;
}

.home-page .home-mod-layout-forum_pills .mod-forum-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    padding: 8px 8px;
    margin-bottom: 4px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
    font-size: clamp(13px, 3.5vw, 16px);
    line-height: 1.35;
}

.home-page .home-mod-layout-forum_pills .pf-period {
    font-weight: 700;
    color: #333;
    white-space: nowrap;
    flex: 0 0 auto;
}

.home-page .home-mod-layout-forum_pills .pf-bracket {
    color: #e60012;
    font-weight: 800;
    white-space: nowrap;
    flex: 0 0 auto;
}

.home-page .home-mod-layout-forum_pills .pf-value {
    flex: 1 1 auto;
    color: #1565c0;
    font-weight: 700;
    min-width: 0;
    word-break: break-all;
    line-height: 1.35;
}

.home-page .home-mod-layout-forum_pills .pf-result {
    color: #e60012;
    font-weight: 700;
    white-space: nowrap;
    flex: 0 0 auto;
    margin-left: auto;
}

.home-page .home-mod-layout-forum_pills .pf-value .hi {
    background: #ffeb3b;
    color: #e60012;
    padding: 0 2px;
    border-radius: 2px;
}

.home-page .home-mod-layout-forum_pills .pf-value .ft-tail {
    font-weight: 700;
}

.home-page .home-mod-layout-forum_pills .pf-value .ft-nums {
    color: #e60012;
    font-size: inherit;
    line-height: inherit;
}

.home-page .home-mod-layout-forum_pills .pf-value .ft-tail,
.home-page .home-mod-layout-forum_pills .pf-value .ft-nums {
    display: inline;
    margin-bottom: 0;
}

.home-page .home-mod-layout-forum_pills .pf-value .ft-tail::after {
    content: ' ';
}

/* ═══ 2. inline_hit_stream 四季一行式 ═══ */
.home-page .home-mod-layout-inline_hit_stream .mod-inline-list {
    padding: 6px 8px 10px;
    background: #fff;
}

.home-page .home-mod-layout-inline_hit_stream .mod-inline-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 10px;
    margin: 0;
    padding: 8px 6px;
    border-bottom: 1px dashed #e0e0e0;
    font-size: clamp(13px, 3.5vw, 16px);
    line-height: 1.35;
    text-align: center;
}

.home-page .home-mod-layout-inline_hit_stream .il-value {
    color: #e60012;
    font-weight: 700;
    word-break: break-all;
    flex: 0 1 auto;
    min-width: 0;
}

.home-page .home-mod-layout-inline_hit_stream .mod-inline-item:last-child {
    border-bottom: none;
}

.home-page .home-mod-layout-inline_hit_stream .il-period {
    font-weight: 700;
    color: #333;
    white-space: nowrap;
    flex: 0 0 auto;
}

.home-page .home-mod-layout-inline_hit_stream .il-value .hi {
    background: #ffeb3b;
    color: #e60012;
    padding: 0 2px;
}

.home-page .home-mod-layout-inline_hit_stream .il-result {
    color: #0277bd;
    font-weight: 700;
    white-space: nowrap;
    flex: 0 0 auto;
}

/* ═══ 3. vip_dual_grid 金框：短单行 / 长两行，禁止横向滚动 ═══ */
.home-page .home-mod-layout-vip_dual_grid.home-mod-theme-gold-vip {
    border: 3px solid #ffd700;
    box-shadow: 0 0 0 1px #3e2723, 0 4px 16px rgba(0, 0, 0, .12);
}

.home-page .home-mod-layout-vip_dual_grid .mod-vip-grid {
    padding: 6px 8px;
    background: #fafafa;
}

/* 短内容：194期  大数  开鼠43错 */
.home-page .home-mod-layout-vip_dual_grid .mod-vip-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 4px;
    padding: 7px 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
    font-size: clamp(12px, 3.2vw, 15px);
    line-height: 1.35;
}

.home-page .home-mod-layout-vip_dual_grid .mod-vip-row:last-child {
    margin-bottom: 0;
}

.home-page .home-mod-layout-vip_dual_grid .mod-vip-row .vip-period {
    flex: 0 0 auto;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
}

.home-page .home-mod-layout-vip_dual_grid .mod-vip-row .vip-value {
    flex: 1 1 auto;
    min-width: 0;
    color: #e60012;
    font-weight: 700;
    word-break: break-all;
}

.home-page .home-mod-layout-vip_dual_grid .mod-vip-row .vip-result {
    flex: 0 0 auto;
    color: #0277bd;
    font-weight: 700;
    white-space: nowrap;
    margin-left: auto;
}

.home-page .home-mod-layout-vip_dual_grid .mod-vip-row .vip-value .hi {
    background: #ffeb3b;
    color: #e60012;
}

/* 长内容（30码等）：第1行 期数+结果，第2行 号码自动换行 */
.home-page .home-mod-layout-vip_dual_grid .mod-vip-row-long {
    display: block;
    padding: 7px 8px;
}

.home-page .home-mod-layout-vip_dual_grid .mod-vip-row-long .vip-line1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.home-page .home-mod-layout-vip_dual_grid .mod-vip-row-long .vip-period {
    font-weight: 700;
    color: #333;
    white-space: nowrap;
}

.home-page .home-mod-layout-vip_dual_grid .mod-vip-row-long .vip-result {
    color: #0277bd;
    font-weight: 700;
    white-space: nowrap;
    flex: 0 0 auto;
}

.home-page .home-mod-layout-vip_dual_grid .mod-vip-row-long .vip-value {
    color: #e60012;
    font-weight: 700;
    font-size: clamp(11px, 3vw, 14px);
    line-height: 1.4;
    word-break: break-all;
}

.home-page .home-mod-layout-vip_dual_grid .mod-vip-row-long .vip-value .hi {
    background: #ffeb3b;
    color: #e60012;
}

/* ═══ 4. green_bulletin 通天绿块 ═══ */
.home-page .home-mod-layout-green_bulletin .mod-bulletin-list {
    background: #00e676;
    padding: 10px 8px;
}

.home-page .home-mod-layout-green_bulletin .mod-bulletin-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 10px;
    text-align: center;
    padding: 7px 4px;
    border-bottom: 1px dashed rgba(0, 0, 0, .12);
    font-size: clamp(13px, 3.6vw, 16px);
    line-height: 1.35;
    color: #1b5e20;
}

.home-page .home-mod-layout-green_bulletin .mod-bulletin-line:last-child {
    border-bottom: none;
}

.home-page .home-mod-layout-green_bulletin .bl-period {
    font-weight: 800;
    white-space: nowrap;
    flex: 0 0 auto;
}

.home-page .home-mod-layout-green_bulletin .bl-value {
    color: #b71c1c;
    font-weight: 700;
    word-break: break-all;
    flex: 0 1 auto;
    min-width: 0;
}

.home-page .home-mod-layout-green_bulletin .bl-value .hi {
    background: #ffeb3b;
    color: #c62828;
}

.home-page .home-mod-layout-green_bulletin .bl-result {
    color: #0d47a1;
    font-weight: 700;
    white-space: nowrap;
    flex: 0 0 auto;
}

/* ═══ 5. kill_matrix 绝杀多列 ═══ */
.home-page .home-mod-layout-kill_matrix .mod-kill-matrix {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: clamp(12px, 3.2vw, 15px);
    background: #fff;
}

.home-page .home-mod-layout-kill_matrix .mod-kill-matrix th {
    background: #ffb300;
    color: #5d4037;
    font-weight: 800;
    padding: 9px 4px;
    border: 1px solid #ff8f00;
    text-align: center;
}

.home-page .home-mod-layout-kill_matrix .mod-kill-matrix td {
    border: 1px solid #ffcc80;
    padding: 8px 4px;
    text-align: center;
    vertical-align: middle;
    line-height: 1.3;
}

.home-page .home-mod-layout-kill_matrix .km-period {
    font-weight: 700;
    color: #333;
}

.home-page .home-mod-layout-kill_matrix .km-cell {
    color: #c62828;
    font-weight: 700;
}

.home-page .home-mod-layout-kill_matrix .km-result {
    color: #0277bd;
    font-weight: 700;
}

/* ═══ 6. stats_ledger 统计块 ═══ */
.home-page .home-mod-layout-stats_ledger .mod-stats-ledger {
    padding: 10px;
    background: #fafafa;
}

.home-page .home-mod-layout-stats_ledger .mod-stat-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    padding: 8px;
    background: #fff;
    border: 1px solid #d7ccc8;
    border-radius: 6px;
    margin-bottom: 4px;
    font-size: clamp(12px, 3.2vw, 15px);
    line-height: 1.35;
}

.home-page .home-mod-layout-stats_ledger .st-label {
    flex: 0 0 auto;
    font-weight: 800;
    color: #5d4037;
    white-space: nowrap;
    padding-right: 8px;
    border-right: 2px solid #bcaaa4;
}

.home-page .home-mod-layout-stats_ledger .st-value {
    flex: 1 1 auto;
    min-width: 0;
    color: #e65100;
    font-weight: 700;
    word-break: break-all;
}

.home-page .home-mod-layout-stats_ledger .st-result {
    flex: 0 0 auto;
    color: #0277bd;
    font-weight: 700;
    white-space: nowrap;
}

/* ═══ 7. source_zodiac 源码源肖（沿用 jade） ═══ */
.home-page .home-mod-layout-source_zodiac.home-source-zodiac .tsz-period {
    margin: 8px;
    border: 1px solid var(--mod-border, #00897b);
    background: #fff;
    border-radius: 6px;
}

.home-page .home-mod-layout-source_zodiac .tsz-period-head {
    background: linear-gradient(90deg, #00695c, #00897b);
    color: #fff;
}

.home-page .home-mod-layout-source_zodiac .tsz-vline {
    background: #00897b;
}

/* ═══ 8. table_3col 兜底三列表 ═══ */
.home-page .home-mod-layout-table_3col .home-insider-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 18px;
    background: #fff;
}

.home-page .home-mod-layout-table_3col .home-insider-table td {
    border: 1px solid #07c160;
    padding: 8px 6px;
    text-align: center;
    vertical-align: middle;
}

.home-page .home-mod-layout-table_3col .col-value {
    color: #e60012;
    font-weight: 700;
}

.home-page .home-mod-layout-table_3col .col-value .hi {
    background: #ffeb3b;
    color: #e60012;
}

.home-page [class*="home-mod-layout-"] .hi-result {
    background: #ffeb3b;
    color: #222;
    padding: 0 2px;
    border-radius: 2px;
}

/* ── 金吊桶风格：绿色 #006300 + 金属渐变标题 ── */
.home-page .home-mod-layout-jdt_classic,
.home-page .home-nav-module.home-mod-theme-jdt-bucket {
    --jdt-fs: 23px;
    --jdt-fs-tight: 20px;
    --jdt-teal: #006300;
    --jdt-teal-deep: #004a00;
    --jdt-teal-border: #006300;
    --jdt-pending-bg: #e8f5e8;
    --jdt-cuo-bg: #009966;
}

.home-page .home-mod-layout-jdt_classic .is-jdt-tight,
.home-page .home-nav-module.home-mod-theme-jdt-bucket .is-jdt-tight {
    font-size: var(--jdt-fs-tight) !important;
}

.home-page .home-mod-layout-jdt_classic .is-jdt-wrap2,
.home-page .home-nav-module.home-mod-theme-jdt-bucket .is-jdt-wrap2 {
    font-size: var(--jdt-fs) !important;
    line-height: 1.35 !important;
    word-break: break-all;
    white-space: normal;
}

.home-page .home-nav-module.home-mod-layout-jdt_classic.home-mod-theme-jdt-bucket,
.home-page .home-nav-module.jdt-bucket-box.home-mod-layout-jdt_classic {
    margin: 5px 4px !important;
    padding: 0 !important;
    border: 2px solid var(--jdt-teal-border, #006300) !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    background: #fff !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    max-width: 100%;
    box-sizing: border-box;
    width: auto;
}

.home-page .home-nav-module.home-mod-theme-jdt-bucket {
    --mod-h-bg: #006300;
    --mod-border: #006300;
    --mod-body-bg: #fff;
}

/* 资讯标题：#006300 金属渐变（中间稍亮、两边更深） */
.home-page .home-nav-module.home-mod-layout-jdt_classic .home-insider-title,
.home-page .home-nav-module.home-mod-layout-jdt_classic .home-insider-title.list-title,
.home-page .home-nav-module.home-mod-theme-jdt-bucket .home-insider-title.list-title {
    height: auto !important;
    min-height: 34px !important;
    max-height: none !important;
    line-height: 1.25 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-align: center !important;
    background: linear-gradient(
        90deg,
        #003d00 0%,
        #004f00 18%,
        #006300 40%,
        #008a00 50%,
        #006300 60%,
        #004f00 82%,
        #003d00 100%
    ) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .45) !important;
    border: 1px solid #4caf50 !important;
    border-bottom: 1px solid #004a00 !important;
    border-radius: 6px 6px 0 0 !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .28),
        inset 0 -1px 0 rgba(0, 0, 0, .2) !important;
    padding: 7px 6px !important;
    margin: 0 !important;
    letter-spacing: 0;
    display: block;
    overflow: hidden !important;
    overflow-wrap: anywhere;
    word-break: break-word;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    content-visibility: visible !important;
}

.home-page .home-mod-layout-jdt_classic .jdt-title-brand,
.home-page .home-nav-module.home-mod-theme-jdt-bucket .jdt-title-brand {
    color: #ffff00 !important;
    font-weight: 700 !important;
    font-size: inherit !important;
    background: transparent !important;
    padding: 0 !important;
    white-space: normal;
    border-radius: 0;
}

.home-page .home-mod-layout-jdt_classic .jdt-title-tag,
.home-page .home-nav-module.home-mod-theme-jdt-bucket .jdt-title-tag {
    color: #fff !important;
    font-weight: 700 !important;
    font-size: inherit !important;
    background: transparent !important;
    padding: 0 !important;
    white-space: normal;
    border-radius: 0;
}

.home-page .home-mod-layout-jdt_classic .jdt-table.duilianpt1 {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    text-align: center;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    color: #f00;
    box-sizing: border-box;
}

.home-page .home-mod-layout-jdt_classic .jdt-table.duilianpt1 td,
.home-page .home-mod-layout-jdt_classic .jdt-table.duilianpt1 th {
    font-weight: 700;
    border: 1px solid var(--jdt-teal-border, #006300) !important;
    font-size: var(--jdt-fs) !important;
    padding: 3px 2px !important;
    color: #000;
    vertical-align: middle;
    text-align: center;
    line-height: 1.3 !important;
    background: #fff !important;
}

.home-page .home-mod-layout-jdt_classic .jdt-table.duilianpt1 tr.is-pending td {
    background: var(--jdt-pending-bg, #e8f8e8) !important;
}

.home-page .home-mod-layout-jdt_classic .jdt-table.duilianpt1 tr {
    min-height: 0;
}

.home-page .home-mod-layout-jdt_classic .jdt-table.duilianpt1 td br {
    display: none;
}

.home-page .home-mod-layout-jdt_classic .jdt-category-row {
    line-height: 1.3;
}

.home-page .home-mod-layout-jdt_classic .jdt-category-row .jdt-result-line {
    display: block;
    margin: 0 0 2px;
}

.home-page .home-mod-layout-jdt_classic .jdt-zl {
    font-size: var(--jdt-fs) !important;
    line-height: 1.3;
    display: inline-block;
}

.home-page .home-mod-layout-jdt_classic .jdt-result-line {
    color: #000;
    font-size: var(--jdt-fs) !important;
    font-weight: 700;
    display: inline;
}

.home-page .home-mod-layout-jdt_classic .jdt-label,
.home-page .home-mod-layout-jdt_classic .jdt-pick-blue {
    color: #006300 !important;
    font-weight: 700;
}

.home-page .home-mod-layout-jdt_classic .jdt-main-word {
    color: #000;
    font-weight: 700;
}

.home-page .home-mod-layout-jdt_classic .jdt-hi,
.home-page .home-nav-module.home-mod-theme-jdt-bucket .jdt-hi {
    background-color: #ffff00 !important;
    color: #006300 !important;
    padding: 0;
    border-radius: 0;
    font-weight: 700;
    font-size: inherit !important;
}

.home-page .home-mod-layout-jdt_classic .jdt-zhun,
.home-page .home-nav-module.home-mod-theme-jdt-bucket .jdt-zhun {
    background-color: #ffff00 !important;
    color: #e60012 !important;
    font-weight: 700 !important;
    padding: 0 1px;
}

.home-page .home-mod-layout-jdt_classic .jdt-cuo,
.home-page .home-nav-module.home-mod-theme-jdt-bucket .jdt-cuo {
    background-color: var(--jdt-cuo-bg, #009966) !important;
    color: #fff !important;
    font-weight: 700 !important;
    padding: 0 2px;
}

.home-page .home-mod-layout-jdt_classic .jdt-kill-line {
    color: #000;
    font-size: var(--jdt-fs) !important;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    padding: 0;
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
    max-width: 100%;
    box-sizing: border-box;
}

.home-page .home-mod-layout-jdt_classic .jdt-triple-periods,
.home-page .home-mod-layout-jdt_classic .jdt-triple-results {
    width: 22%;
    min-width: 54px;
    color: #000;
    font-size: var(--jdt-fs) !important;
    font-weight: 700;
    vertical-align: middle;
    word-break: keep-all;
    line-height: 1.3;
    padding: 3px 2px;
}

.home-page .home-mod-layout-jdt_classic .jdt-triple-table {
    width: 100%;
    table-layout: fixed;
    margin: 0;
}

.home-page .home-mod-layout-jdt_classic .jdt-triple-table + .jdt-triple-table {
    margin-top: 0;
}

.home-page .home-mod-layout-jdt_classic .jdt-triple-pick {
    width: 56%;
    color: #ff0000;
    vertical-align: middle;
    padding: 4px 3px;
    overflow: hidden;
}

.home-page .home-mod-layout-jdt_classic .jdt-triple-pick.is-zodiac .jdt-zl {
    color: #ff0000;
    font-size: var(--jdt-fs) !important;
    font-weight: 700;
    line-height: 1.3;
    word-break: keep-all;
}

.home-page .home-mod-layout-jdt_classic .jdt-triple-pick.is-nums .jdt-zl,
.home-page .home-mod-layout-jdt_classic .jdt-triple-table-nums .jdt-triple-pick .jdt-zl {
    color: #ff0000;
    font-size: var(--jdt-fs) !important;
    font-weight: 700;
    line-height: 1.35;
    word-break: break-all;
    white-space: normal;
    display: block;
    max-width: 100%;
}

.home-page .home-mod-layout-jdt_classic .jdt-pick-blue {
    word-break: break-all;
    white-space: normal;
    display: inline-block;
    max-width: 100%;
}

.home-page .home-mod-layout-jdt_classic .jdt-zl .jdt-pick-blue {
    max-width: 100%;
}

.home-page .home-mod-layout-jdt_classic .jdt-pick-blue.is-long-nums,
.home-page .home-mod-layout-jdt_classic .jdt-zl.is-long-nums .jdt-pick-blue,
.home-page .home-mod-layout-jdt_classic .jdt-zl.is-jdt-wrap2 .jdt-pick-blue,
.home-page .home-mod-layout-jdt_classic .jdt-pick-blue.is-jdt-wrap2 {
    font-size: var(--jdt-fs) !important;
    line-height: 1.35;
    word-break: break-all;
    white-space: normal;
}

/* 单双中特 / 大小中特：号码不可从中间断开，优先收进一行 */
.home-page .home-mod-layout-jdt_classic .jdt-zl.is-jdt-nums,
.home-page .home-nav-module.home-mod-theme-jdt-bucket .jdt-zl.is-jdt-nums {
    display: block;
    max-width: 100%;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

.home-page .home-mod-layout-jdt_classic .jdt-pick-blue.is-jdt-nums,
.home-page .home-nav-module.home-mod-theme-jdt-bucket .jdt-pick-blue.is-jdt-nums {
    display: inline;
    max-width: 100%;
    font-size: var(--jdt-fs-tight) !important;
    line-height: 1.3 !important;
    letter-spacing: -0.35px;
    word-break: normal !important;
    overflow-wrap: normal !important;
    white-space: normal !important;
}

.home-page .home-mod-layout-jdt_classic .jdt-pick-blue.is-jdt-nums .jdt-num,
.home-page .home-nav-module.home-mod-theme-jdt-bucket .jdt-pick-blue.is-jdt-nums .jdt-num {
    white-space: nowrap;
}

.home-page .home-mod-layout-jdt_classic .jdt-table.duilianpt1 td {
    word-break: break-word;
    overflow-wrap: anywhere;
    max-width: 0;
}

.home-page .home-mod-layout-jdt_classic .jdt-triple-line {
    font-size: var(--jdt-fs) !important;
    font-weight: 700;
    line-height: 1.35;
}

.home-page .home-mod-layout-jdt_classic .jdt-periods {
    color: #000;
    margin-right: 4px;
}

.home-page .home-mod-layout-jdt_classic .jdt-pick-plain {
    color: #ff0000 !important;
    font-weight: 700;
    margin: 0 6px;
    font-size: var(--jdt-fs) !important;
}

.home-page .home-mod-layout-jdt_classic .jdt-triple-results {
    color: #000;
    font-weight: 700;
}

.home-page .home-mod-layout-jdt_classic .jdt-sub-line {
    color: #006300;
    font-size: var(--jdt-fs) !important;
    font-weight: 700;
    padding-left: 0;
    line-height: 1.3;
}

.home-page .home-mod-layout-jdt_classic .jdt-footnote {
    color: #000;
    font-size: var(--jdt-fs) !important;
    font-weight: 700;
    text-align: center;
    padding: 3px 2px;
}

.home-page .home-mod-layout-jdt_classic .mod-panel-foot,
.home-page .home-mod-layout-jdt_classic .jdt-slogan-foot {
    background: antiquewhite !important;
    color: #000 !important;
    font-size: var(--jdt-fs) !important;
    font-weight: 700;
    animation: none !important;
    border-top: 1px solid var(--jdt-teal-border, #006300) !important;
    padding: 6px 4px;
    text-align: center;
}

/* 底部标语单独压间距（覆盖上面 6px padding） */
.home-page .home-mod-layout-jdt_classic .mod-panel-foot.jdt-slogan-foot,
.home-page .home-mod-layout-jdt_classic .jdt-slogan-foot {
    font-size: 20px !important;
    line-height: 1.05 !important;
    padding: 4px 4px !important;
    margin: 0 !important;
    background: antiquewhite !important;
}

/* 台彩有外链：底部改为「更多资讯请点击」按钮 */
.home-page .jdt-more-info-btn {
    display: inline-block;
    padding: 6px 18px;
    margin: 2px 0;
    border: 1px solid var(--jdt-teal-border, #006300);
    border-radius: 4px;
    background: linear-gradient(180deg, #fff8e7 0%, #f3d9a8 100%);
    color: #8b1a1a !important;
    font-size: 18px !important;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.home-page .jdt-more-info-btn:active {
    background: linear-gradient(180deg, #f3d9a8 0%, #e8c48a 100%);
}

.home-page .home-nav-module .mod-panel-foot.jdt-slogan-foot:has(.jdt-more-info-btn),
.home-page .jdt-slogan-foot:has(.jdt-more-info-btn) {
    animation: none !important;
}

.home-page .home-mod-layout-jdt_classic tr.is-pending .jdt-result-line {
    color: #000;
}

@keyframes home-mod-slogan-blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0.85; }
}

/* ── 台彩 78 套模块 · 统一青绿导航皮肤（table/forum/vip 等） ── */
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) {
    margin: 5px 4px !important;
    padding: 0 !important;
    border: 2px solid var(--jdt-teal-border, #006300) !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    background: #fff !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    font-size: var(--jdt-fs);
    max-width: 100%;
    box-sizing: border-box;
}

.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .home-insider-title.list-title {
    height: auto !important;
    min-height: 34px !important;
    max-height: none !important;
    line-height: 1.25 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-align: center !important;
    background: linear-gradient(
        90deg,
        #003d00 0%,
        #004f00 18%,
        #006300 40%,
        #008a00 50%,
        #006300 60%,
        #004f00 82%,
        #003d00 100%
    ) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .45) !important;
    border: 1px solid #4caf50 !important;
    border-bottom: 1px solid #004a00 !important;
    border-radius: 6px 6px 0 0 !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .28),
        inset 0 -1px 0 rgba(0, 0, 0, .2) !important;
    padding: 7px 6px !important;
    margin: 0 !important;
    overflow: hidden !important;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .jdt-title-brand {
    font-size: inherit !important;
    color: #ffff00 !important;
    font-weight: 700 !important;
    background: transparent !important;
    padding: 0 !important;
    white-space: normal;
    border-radius: 0;
}

.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .jdt-title-tag {
    font-size: inherit !important;
    color: #fff !important;
    font-weight: 700 !important;
    background: transparent !important;
    padding: 0 !important;
    white-space: normal;
    border-radius: 0;
}

.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .home-insider-table,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .mod-forum-list,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .mod-inline-list,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .mod-vip-grid,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .mod-bulletin-list,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .mod-kill-matrix,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .mod-stats-ledger {
    background: #fffefb;
    border: 1px solid var(--jdt-teal-border, #006300);
    border-radius: 5px;
    font-size: var(--jdt-fs) !important;
}

.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .home-insider-table td,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .home-insider-table th,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .mod-forum-item,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .mod-inline-item,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .mod-vip-row,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .mod-bulletin-line,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .mod-kill-matrix td,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .mod-kill-matrix th,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .mod-stat-row,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .pf-period,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .pf-bracket,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .pf-value,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .pf-result,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .il-period,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .il-value,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .il-result,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .vip-period,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .vip-value,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .vip-result,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .bl-period,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .bl-value,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .bl-result,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .col-label,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .col-value,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .col-result {
    font-weight: 700 !important;
    font-size: var(--jdt-fs) !important;
    line-height: 1.3 !important;
    color: #000 !important;
    border-color: var(--jdt-teal-border, #006300) !important;
}

.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .mod-forum-item,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .mod-inline-item,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .mod-vip-row,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .mod-bulletin-line,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .home-insider-table td {
    padding: 3px 2px !important;
}

.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .mod-forum-item {
    justify-content: center;
    text-align: center;
    border-color: var(--jdt-teal-border, #006300) !important;
    border-radius: 5px;
}

.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .pf-result {
    margin-left: 0 !important;
    flex: 0 0 auto;
}

.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .mod-inline-item,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .mod-bulletin-line {
    text-align: center;
}

.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .col-value,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .pf-value,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .il-value,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .vip-value,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .bl-value,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .km-cell {
    color: #006300 !important;
}

.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .pf-bracket,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .pf-result,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .il-result,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .vip-result,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .bl-result,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .km-result {
    color: #000 !important;
}

.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .col-value .hi,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .pf-value .hi,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .il-value .hi,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .vip-value .hi,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .bl-value .hi,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .jdt-hi,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .hi-result {
    background-color: #ffff00 !important;
    color: #006300 !important;
    font-weight: 700 !important;
    font-size: inherit !important;
}

.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .col-value .ft-nums,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .pf-value .ft-nums,
.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .vip-value .ft-nums {
    font-size: var(--jdt-fs) !important;
    line-height: 1.35 !important;
}

.home-page .home-nav-module.home-mod-theme-jdt-bucket:not(.home-mod-layout-jdt_classic) .mod-panel-foot.jdt-slogan-foot {
    color: #000;
    background: antiquewhite !important;
    font-size: 20px !important;
    font-weight: 700;
    line-height: 1.05 !important;
    animation: none !important;
    border-top: 1px solid var(--jdt-teal-border, #006300) !important;
    padding: 4px 4px !important;
    margin: 0 !important;
    text-align: center;
}

.home-page [data-lottery-type="3"] .home-source-zodiac.home-mod-theme-jdt-bucket {
    font-size: var(--jdt-fs);
    overflow-x: hidden !important;
    max-width: 100%;
}

.home-page [data-lottery-type="3"] .home-source-zodiac.home-mod-theme-jdt-bucket .tsz-period-head {
    font-size: clamp(13px, 3.6vw, 16px) !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

/* 源码源肖号码列很长：允许换行，字号略小，禁止撑出页面 */
.home-page [data-lottery-type="3"] .home-source-zodiac.home-mod-theme-jdt-bucket .tsz-z-row,
.home-page [data-lottery-type="3"] .home-source-zodiac.home-mod-theme-jdt-bucket .tsz-n-row {
    font-size: clamp(12px, 3.2vw, 15px) !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
    max-width: 100% !important;
}

.home-page [data-lottery-type="3"] .home-source-zodiac.home-mod-theme-jdt-bucket .tsz-z-row .hi,
.home-page [data-lottery-type="3"] .home-source-zodiac.home-mod-theme-jdt-bucket .tsz-n-row .hi {
    background-color: #ffff00 !important;
    color: #006300 !important;
    font-size: inherit !important;
}

/* ── 三彩种资讯区 · 禁止横向滚动 ── */
.home-page #homeInsiderBlock {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100%;
    box-sizing: border-box;
}

.home-page .home-nav-module.home-mod-theme-jdt-bucket .jdt-table.taiwan-bucket-table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background: #fff;
    border-radius: 5px;
    margin: 0;
    box-sizing: border-box;
}

.home-page .home-nav-module.home-mod-theme-jdt-bucket .jdt-table.taiwan-bucket-table td {
    font-weight: 700 !important;
    border: 1px solid var(--jdt-teal-border, #006300) !important;
    font-size: var(--jdt-fs) !important;
    padding: 3px 2px !important;
    color: #000 !important;
    text-align: center !important;
    vertical-align: middle;
    line-height: 1.3 !important;
    background: #fff !important;
    word-break: break-word;
    overflow-wrap: anywhere;
    box-sizing: border-box;
    max-width: 0;
}

.home-page .home-nav-module.home-mod-theme-jdt-bucket .jdt-table.taiwan-bucket-table tr.is-pending td {
    background: var(--jdt-pending-bg, #e8f8e8) !important;
}

.home-page .home-nav-module.home-mod-theme-jdt-bucket .jdt-kill-line {
    font-size: var(--jdt-fs) !important;
    font-weight: 700 !important;
    color: #000 !important;
    text-align: center;
    line-height: 1.3 !important;
    margin: 0;
    padding: 0;
    word-break: break-word;
    overflow-wrap: anywhere;
    max-width: 100%;
}

.home-page .home-nav-module.home-mod-theme-jdt-bucket .taiwan-bucket-oneline {
    white-space: normal;
    overflow: hidden;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.home-page .home-nav-module.home-mod-theme-jdt-bucket .jdt-label {
    color: #006300 !important;
}

.home-page .home-nav-module.home-mod-theme-jdt-bucket .jdt-pick-blue {
    color: #006300 !important;
    font-weight: 700 !important;
}

.home-page .home-nav-module.home-mod-theme-jdt-bucket .jdt-bucket-row-long .jdt-bucket-head,
.home-page .home-nav-module.home-mod-theme-jdt-bucket .jdt-bucket-row-long .jdt-bucket-pick {
    font-size: var(--jdt-fs) !important;
    line-height: 1.3 !important;
    margin-bottom: 2px;
    word-break: break-all;
}

.home-page .home-nav-module.home-mod-theme-jdt-bucket .jdt-bucket-row-long .jdt-bucket-pick .jdt-pick-blue {
    display: inline;
    word-break: break-all;
}

.home-page .home-nav-module.home-mod-theme-jdt-bucket .mod-kill-matrix {
    font-size: var(--jdt-fs) !important;
}

.home-page .home-nav-module.home-mod-theme-jdt-bucket .mod-kill-matrix td,
.home-page .home-nav-module.home-mod-theme-jdt-bucket .mod-kill-matrix th {
    font-size: var(--jdt-fs) !important;
    padding: 3px 2px !important;
}

.home-page .home-nav-module.home-mod-theme-jdt-bucket .mod-stats-ledger,
.home-page .home-nav-module.home-mod-theme-jdt-bucket .mod-stat-row {
    font-size: var(--jdt-fs) !important;
    line-height: 1.3 !important;
}

/* 离屏模块少算布局/绘制 */
.home-page #homeInsiderBlock > .home-nav-module {
    content-visibility: visible;
    contain-intrinsic-size: auto 320px;
}

/* 仅金吊桶底部标语：antiquewhite 底 + 20px */
.home-page .home-nav-module .mod-panel-foot.jdt-slogan-foot {
    font-size: 20px !important;
    line-height: 1.05 !important;
    padding: 4px 4px !important;
    margin: 0 !important;
    min-height: 0 !important;
    background: antiquewhite !important;
    color: #000 !important;
    text-align: center;
}

/* 标语下方到下一块标题的空隙再收一点 */
.home-page #homeInsiderBlock > .home-nav-module.jdt-bucket-box {
    margin-bottom: 2px !important;
}
