@charset "utf-8";

/* ===================================================
   澳门彩 - 国彩红金白主题 v5.0
   =================================================== */

/* ---- 全局基础 ---- */
body {
    background: transparent;
    color: #333;
    padding: 0 8px 80px;
    min-height: 100vh;
}

/* ---- 顶部 Banner ---- */
.bank {
    width: 100%;
    overflow: hidden;
    border-radius: 0;
    margin-bottom: 0;
    box-shadow: 0 3px 16px rgba(139, 0, 0, 0.28);
}

.bank img {
    width: 100%;
    height: auto;
    display: block;
}

/* ---- 栏目导航（吸顶） ---- */
.lanmu-container {
    margin: 8px 0;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 0;
    padding: 8px;
    box-shadow: 0 2px 12px rgba(139, 0, 0, 0.1);
    border-bottom: 2px solid #cc1a1a;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* 收起/展开按钮 */
.lanmu-toggle {
    align-self: center;
    background: rgba(139, 0, 0, 0.07);
    border: 1px solid rgba(139, 0, 0, 0.25);
    color: #8b0000;
    border-radius: 12px;
    padding: 2px 18px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: 1px;
    transition: background 0.2s ease;
    line-height: 1.8;
}
.lanmu-toggle:hover,
.lanmu-toggle:active {
    background: rgba(139, 0, 0, 0.15);
}

/* 收起状态：隐藏导航格 */
.lanmu-container.nav-collapsed {
    padding: 5px 8px;
    gap: 0;
}
.lanmu-container.nav-collapsed .lanmu {
    display: none;
}
.lanmu-container.nav-collapsed .lanmu-toggle {
    align-self: center;
}

.lanmu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.lanmu a {
    display: block;
    padding: 9px 4px;
    background: rgba(204, 26, 26, 0.05);
    color: #8b0000;
    text-decoration: none;
    text-align: center;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid rgba(204, 26, 26, 0.15);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.5px;
}

.lanmu a:hover,
.lanmu a:active {
    background: rgba(204, 26, 26, 0.12);
    border-color: rgba(204, 26, 26, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(139, 0, 0, 0.15);
    text-decoration: none;
    color: #8b0000;
}

/* ---- 新闻跑马灯 ---- */
.news-box {
    background: #fff4f4;
    border: 1px solid rgba(204, 26, 26, 0.18);
    border-radius: 4px;
    padding: 0 12px;
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    box-shadow: 0 1px 6px rgba(139, 0, 0, 0.06);
    overflow: hidden;
}

.news-title {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    color: #cc1a1a;
    white-space: nowrap;
    flex-shrink: 0;
    float: none;
    height: auto;
    line-height: normal;
    padding-left: 0;
    border-radius: 0;
}

.news-icon {
    width: 20px !important;
    height: 20px !important;
    margin-right: 6px;
    vertical-align: middle;
}

.txtMarquee-left {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    height: 44px;
    line-height: 44px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.marquee-wrapper {
    height: 44px;
    line-height: 44px;
    overflow: hidden;
    position: relative;
}

#marqueeText {
    display: inline-block;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    padding-left: 100%;
    animation: marqueeScroll 18s linear infinite;
}

.txtMarquee-left:hover #marqueeText {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ---- 通用卡片盒子 ---- */
.box {
    margin: 10px 0;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(204, 26, 26, 0.1);
    box-shadow: 0 2px 12px rgba(139, 0, 0, 0.07);
}

/* ---- th 品牌前缀标签 ---- */
.th-brand {
    display: inline-block;
    font-size: 0.78em;
    font-weight: 600;
    color: rgba(255, 240, 200, 1.0);
    letter-spacing: 0.5px;
    margin-right: 4px;
    vertical-align: middle;
}

/* ---- list-title 内的品牌前缀 ---- */
.lt-brand {
    display: block;
    font-size: 0.62em;
    font-weight: 400;
    color: rgba(255, 220, 180, 0.8);
    letter-spacing: 1px;
    line-height: 1;
    margin-bottom: 3px;
}

/* ---- Section 标题 ---- */
.list-title {
    background: linear-gradient(135deg, #8b0000 0%, #cc1a1a 60%, #a00000 100%);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    height: 52px;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    margin: 0 0 10px 0;
    border-bottom: 3px solid #c9a84c;
}

/* 空数据提示统一样式 */
#emptyMsg, #jingxuanEmptyMsg, #ptsxEmptyMsg,
#jsewEmptyMsg, #jxjmEmptyMsg, #yxymEmptyMsg,
#xjjsEmptyMsg, #allEmptyMsg, #newTenEmptyMsg,
#pingteYixiaoEmptyMsg, #jqysEmptyMsg, #bzdsEmptyMsg {
    text-align: center;
    padding: 16px;
    color: #999;
    font-size: 13px;
}

/* ---- 主表格：qxtable ---- */
.qxtable {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    color: #333;
    background: transparent;
    font-weight: normal;
    word-wrap: break-word;
    word-break: break-all;
    text-align: center;
}

.qxtable tr {
    height: auto;
}

.qxtable th,
.qxtable td {
    border: none;
    border-bottom: 1px solid rgba(204, 26, 26, 0.1);
}

.qxtable th {
    background: linear-gradient(135deg, #8b0000 0%, #cc1a1a 100%);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 11px 8px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.qxtable td {
    padding: 10px 8px;
    text-align: center;
    font-size: 13px;
    vertical-align: middle;
    text-overflow: ellipsis;
}

.qxtable tr:last-child td {
    border-bottom: none;
}

.qxtable tbody tr:nth-child(odd) td {
    background: #fff;
}

.qxtable tbody tr:nth-child(even) td {
    background: #fff8f8;
}

.qxtable tbody tr:hover td {
    background: rgba(204, 26, 26, 0.06);
    transition: background 0.2s;
}

.qxtable td:nth-child(2) {
    color: #555;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0;
}

.qxtable td:last-child {
    color: #cc1a1a;
    font-weight: 700;
    font-size: 13px;
}

/* qxtable.yxym */
.qxtable.yxym {
    table-layout: auto;
    word-wrap: break-word;
    word-break: break-all;
}

.qxtable.yxym td {
    font-size: 13px;
    color: #333;
}

.qxtable.yxym tr td:nth-child(2) {
    width: 40%;
    font-size: 13px;
}

/* ---- 精选24码 ---- */
.box.pad.compact-table-section {
    padding-left: 0;
    padding-right: 0;
}

.jingxuan-table th {
    font-size: 15px;
    padding: 13px 4px;
}

.jingxuan-table .th-brand {
    display: block;
    margin-bottom: 3px;
}

.jingxuan-table td {
    font-size: 18px;
    padding: 14px 4px;
    line-height: 1.38;
}

.jingxuan-table td:nth-child(1) {
    width: 22%;
    font-size: 19px;
    color: #333;
    white-space: nowrap;
}

.jingxuan-table td:nth-child(2) {
    width: 56%;
    font-size: 19px;
    font-weight: 700;
    color: #555;
    line-height: 1.42;
}

.jingxuan-table td:last-child {
    width: 22%;
    font-size: 18px;
    color: #cc1a1a;
    white-space: nowrap;
}

.jingxuan-recommend td {
    padding: 14px 4px 12px;
    font-size: 17px;
    font-weight: 900;
    color: #333;
    background: #fff !important;
    border-bottom: 1px solid rgba(204, 26, 26, 0.1);
}

.jingxuan-recommend b {
    color: #f00;
}

.jingxuan-lines {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}

.jingxuan-lines span {
    display: block;
    white-space: nowrap;
}

/* ---- 推荐七肖 ---- */
.qixiao-table {
    table-layout: fixed;
}

.qixiao-table th {
    font-size: 15px;
    padding: 13px 4px;
}

.qixiao-table th:nth-child(1) {
    width: 26% !important;
}

.qixiao-table th:nth-child(2) {
    width: 42% !important;
}

.qixiao-table th:nth-child(3) {
    width: 32% !important;
}

.qixiao-table td {
    font-size: 19px;
    font-weight: 700;
    padding: 14px 4px;
    line-height: 1.45;
}

.qixiao-table td:nth-child(1) {
    width: 26%;
    color: #333;
    white-space: nowrap;
}

.qixiao-table td:nth-child(2) {
    width: 42%;
    color: #555;
}

.qixiao-table td:last-child {
    width: 32%;
    color: #cc1a1a;
    font-size: 18px;
    white-space: nowrap;
    overflow: hidden;
}

.qixiao-table td:last-child .badge-zun,
.qixiao-table td:last-child .badge-cuo {
    font-size: 10px;
    padding: 1px 5px;
    margin-left: 2px;
}

.qixiao-zodiacs {
    display: inline-block;
    max-width: 5em;
    line-height: 1.55;
    word-break: keep-all;
}

.qixiao-recommend td {
    padding: 14px 4px 12px;
    font-size: 17px;
    font-weight: 900;
    color: #333;
    background: #fff !important;
}

.qixiao-recommend b {
    color: #f00;
}

/* ---- 绝杀两尾 ---- */
.jsew-title {
    background: linear-gradient(135deg, #8b0000 0%, #cc1a1a 100%);
    color: #fff;
    text-align: center;
    font-size: 20px;
    font-weight: 900;
    padding: 15px 4px;
    border-bottom: 4px solid #c9a84c;
}

.jsew-title span {
    margin-right: 8px;
}

.jsew-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

.jsew-table td {
    padding: 13px 4px;
    border-bottom: 1px solid rgba(204, 26, 26, 0.1);
    background: #fff;
    font-size: 19px;
    line-height: 1.7;
    color: #333;
    font-weight: 700;
}

.jsew-table tr:nth-child(even) td {
    background: #fff8f8;
}

.jsew-issue,
.jsew-open {
    color: #166534;
    font-weight: 900;
}

.jsew-tails,
.jsew-open {
    color: #d71920;
}

.jsew-recommend td {
    font-size: 17px;
    color: #333;
    background: #fff !important;
}

.jsew-recommend b {
    color: #f00;
}

/* ---- 平特一肖 ---- */
.ptyx-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    text-align: center;
}

.ptyx-table th {
    background: linear-gradient(135deg, #8b0000 0%, #cc1a1a 100%);
    color: #fff;
    padding: 16px 4px;
    font-size: 17px;
    font-weight: 900;
}

.ptyx-table .th-brand {
    margin-right: 8px;
}

.ptyx-legend td {
    padding: 13px 4px;
    color: #666;
    font-size: 16px;
    font-weight: 700;
    border-left: 4px solid #d71920;
    background: #fff;
}

.ptyx-table tbody td {
    padding: 14px 4px;
    border: 1px solid rgba(204, 26, 26, 0.1);
    font-size: 16px;
    font-weight: 700;
    color: #333;
    line-height: 1.75;
}

.ptyx-table tbody td:nth-child(1) {
    width: 22%;
    color: #8b0000;
    white-space: nowrap;
}

.ptyx-table tbody td:nth-child(2) {
    width: 26%;
}

.ptyx-table tbody td:nth-child(3) {
    width: 52%;
    color: #d71920;
    word-break: break-all;
}

.ptyx-recommend td {
    font-size: 17px !important;
    color: #333 !important;
    background: #fff !important;
}

.ptyx-recommend b {
    color: #f00;
}

/* ---- ptsxtable ---- */
.ptsxtable {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    color: #333;
    background: transparent;
    text-align: center;
}

.ptsxtable th {
    background: linear-gradient(135deg, #8b0000 0%, #cc1a1a 100%);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 11px 8px;
    text-align: center;
    border: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.ptsxtable td {
    padding: 10px 8px;
    text-align: center;
    border-bottom: 1px solid rgba(204, 26, 26, 0.08);
    color: #333;
    vertical-align: middle;
}

.ptsxtable tr:last-child td {
    border-bottom: none;
}

.ptsxtable tbody tr:nth-child(odd) td  { background: #fff; }
.ptsxtable tbody tr:nth-child(even) td { background: #fff8f8; }
.ptsxtable tbody tr:hover td           { background: rgba(204, 26, 26, 0.06); }

/* ---- 资料轮播 (bizhong) ---- */
.white-box {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 4px;
    overflow: hidden;
}

.white-box img { width: 20px; height: 20px; }

.bizhong {
    width: 100%;
    margin: 0 auto;
}

.bizhong-box {
    float: left;
    width: 100%;
    display: none;
}

.action-bz {
    display: block;
}

.bizhong-page {
    height: 46px;
    padding-top: 6px;
    display: flex;
    gap: 8px;
}

.bizhong-btn {
    flex: 1;
    height: 40px;
    line-height: 40px;
    text-align: center;
    display: inline-block;
    background: rgba(204, 26, 26, 0.06);
    border: 1px solid rgba(204, 26, 26, 0.2);
    border-radius: 4px;
    cursor: pointer;
    color: #8b0000;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
    width: auto;
    margin-right: 0;
}

.bizhong-btn:hover {
    background: rgba(204, 26, 26, 0.12);
    border-color: rgba(204, 26, 26, 0.4);
}

.bizhong table {
    border-collapse: collapse;
    font-weight: bold;
    width: 100%;
}

.bizhong table th {
    padding: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 15px;
    border: 1px solid rgba(204, 26, 26, 0.12);
}

.bizhong table thead th {
    background: linear-gradient(135deg, #8b0000 0%, #cc1a1a 100%);
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.bizhong table tfoot th {
    background: linear-gradient(135deg, #8b0000 0%, #cc1a1a 100%);
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

/* tfoot 内黄色 font 标签还原为金色 */
.bizhong table tfoot th font {
    color: #f0c040;
}

.bizhong table td {
    padding: 14px 10px;
    color: #333;
    border: 1px solid rgba(204, 26, 26, 0.08);
    background: #fff;
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
}

.bizhong-recommend {
    border: 1px solid #f0caca;
    background: linear-gradient(180deg, #fffafa 0%, #fff 100%);
    overflow: hidden;
}

.bizhong-recommend-head {
    padding: 15px 12px 13px;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, #930000 0%, #d71920 100%);
    border-bottom: 4px solid #c9a84c;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.bizhong-recommend-head span,
.bizhong-recommend-head em {
    display: block;
    font-style: normal;
    font-size: 13px;
    line-height: 1.4;
}

.bizhong-recommend-head span {
    color: #ffe5a6;
    font-weight: 700;
}

.bizhong-recommend-head strong {
    display: block;
    margin-top: 2px;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.25;
}

.bizhong-recommend-head em {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.86);
}

.bizhong-card-grid,
.bizhong-media-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
}

.bizhong-feature-card,
.bizhong-media-card {
    display: block;
    min-height: 110px;
    padding: 12px 10px;
    border: 1px solid #f0caca;
    border-radius: 6px;
    background: #fff;
    color: #333;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 3px 12px rgba(139, 0, 0, 0.06);
    transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}

.bizhong-feature-card:hover,
.bizhong-media-card:hover {
    transform: translateY(-2px);
    border-color: #d71920;
    box-shadow: 0 6px 18px rgba(139, 0, 0, 0.14);
}

.bizhong-feature-card span {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    border-radius: 50%;
    color: #8b0000;
    background: #fff3d0;
    border: 1px solid #d8b65a;
    font-size: 13px;
    font-weight: 900;
}

.bizhong-feature-card strong,
.bizhong-media-card b {
    display: block;
    color: #d71920;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.35;
}

.bizhong-feature-card em,
.bizhong-media-card span {
    display: block;
    margin-top: 6px;
    color: #777;
    font-style: normal;
    font-size: 12px;
    line-height: 1.5;
}

.bizhong-media-card {
    min-height: 0;
}

.bizhong-media-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 8px;
}

.bizhong-link-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 0 12px 14px;
}

.bizhong-link-row a {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    border: 1px solid #f0caca;
    background: #fff8f8;
    color: #8b0000;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.bizhong-link-row a:hover {
    color: #fff;
    background: #d71920;
}

/* ---- box 内部通用图文 ---- */
div.box img {
    width: 100%;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

div.box div.table {
    width: 100%;
}

div.box div.table table {
    width: 100%;
    border-collapse: collapse;
    word-wrap: break-word;
}

div.box div.table table tr {
    text-align: center;
    padding: 0 5px;
    line-height: 18px;
}

div.box div.table ul li {
    border-bottom: 1px dashed rgba(204, 26, 26, 0.12);
    padding: 8px 0;
    text-align: center;
    font-size: 1.1rem;
    color: #333;
}

div.box div.table ul li font { color: #1e5a9a; }
div.box div.table ul li span { color: #cc1a1a; }

div.box div.table div.title {
    text-align: center;
    padding: 8px 0;
    border-radius: 0;
    background: linear-gradient(135deg, #8b0000 0%, #cc1a1a 100%);
    color: #fff;
    border: none;
}

div.box div.table div.title h3 {
    font-size: 1.2rem;
    color: #fff;
}

div.box div.sxsm ul li span {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
}

div.box div.sxsm ul li u {
    background: rgba(201, 168, 76, 0.15);
    color: #7a4a00;
    text-decoration: none;
    padding: 1px 4px;
    border-radius: 3px;
}

div.box div.yxym table { table-layout: auto; }

div.box div.yxym table tr.title th {
    background: rgba(204, 26, 26, 0.07);
    color: #333;
    text-align: center;
    height: 38px;
    line-height: 38px;
    font-size: 1.1rem;
}

div.box div.yxym table tr.title th font { color: #cc1a1a; font-size: 1.2rem; }

div.box div.yxym table td {
    border-bottom: 1px solid rgba(204, 26, 26, 0.08);
    padding: 8px 0;
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
}

div.box div.yxym table td span { color: #1e5a9a; }

/* ---- ten-table (栏目通用三列表格) ---- */
.ten-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
}

.ten-table .ten-head th {
    background: linear-gradient(135deg, #8b0000 0%, #cc1a1a 100%);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    padding: 11px 8px;
    color: #fff;
    letter-spacing: 0.5px;
    border: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

/* ---- 四肖玄机 ---- */
.box.sxyx-box {
    background: linear-gradient(160deg, #1c0406 0%, #2e0b0a 55%, #1c0406 100%) !important;
    border: 1px solid #6b4a00 !important;
}

.sxyx-header {
    text-align: center;
    padding: 14px 10px 12px;
    font-size: 18px;
    font-weight: bold;
    color: #f5c518;
    letter-spacing: 3px;
    border-bottom: 1px solid #6b4a00;
    font-family: SimSun, STSong, FangSong, serif;
    text-shadow: 0 1px 6px rgba(200, 140, 0, .5);
    background: transparent;
}

.sxyx-animals {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    padding: 14px 6px 10px;
    gap: 4px;
    background: transparent;
}

.sxyx-animal {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    gap: 6px;
    min-width: 0;
    padding: 8px 4px;
    background: rgba(0, 0, 0, .45);
    border-radius: 8px;
}

.sxyx-ball-svg {
    width: 100%;
    max-width: 74px;
    height: auto;
    display: block;
    opacity: 0;
    animation: sxyx-enter .55s ease-out forwards, sxyx-float 3s ease-in-out .55s infinite;
}

.sxyx-animal:nth-child(1) .sxyx-ball-svg { animation-delay: .05s, .60s; }
.sxyx-animal:nth-child(2) .sxyx-ball-svg { animation-delay: .22s, .77s; }
.sxyx-animal:nth-child(3) .sxyx-ball-svg { animation-delay: .39s, .94s; }
.sxyx-animal:nth-child(4) .sxyx-ball-svg { animation-delay: .56s, 1.11s; }

@keyframes sxyx-enter {
    from { opacity: 0; transform: scale(.3) translateY(16px); filter: none; }
    to { opacity: 1; transform: scale(1) translateY(0); filter: drop-shadow(0 3px 8px rgba(255, 190, 0, .5)); }
}

@keyframes sxyx-float {
    0%, 100% { transform: translateY(0); filter: drop-shadow(0 3px 8px rgba(255, 190, 0, .35)); }
    50% { transform: translateY(-9px); filter: drop-shadow(0 10px 20px rgba(255, 210, 0, .75)); }
}

.sxyx-meaning {
    font-size: 13px;
    font-weight: bold;
    color: #ffe066;
    letter-spacing: 1px;
    text-align: center;
    background: transparent;
}

.sxyx-poem {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 4px;
    padding: 10px 10px 8px;
    border-top: 1px solid rgba(180, 130, 20, .4);
    background: transparent;
}

.sxyx-poem-line {
    font-size: 13px;
    color: #f0d060;
    text-align: center;
    letter-spacing: .5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: transparent;
}

@media (max-width: 380px) {
    .sxyx-poem { grid-template-columns: 1fr; }
    .sxyx-poem-line { font-size: 12px; }
}

.ten-table .ten-legend-row td {
    padding: 0;
    border: none;
}

.section-legend {
    font-size: 12px;
    color: #666;
    padding: 8px 14px;
    text-align: center;
    line-height: 2.1;
    word-break: break-all;
    border-bottom: 1px solid rgba(204, 26, 26, 0.08);
    background: #fff8f8;
    border-left: 3px solid #cc1a1a;
}

.ten-table .ten-qi {
    text-align: center;
    font-weight: bold;
    font-size: 12px;
    padding: 8px 4px;
    border: 1px solid rgba(204, 26, 26, 0.08);
    white-space: nowrap;
    width: 13%;
    background: rgba(204, 26, 26, 0.04);
    color: #8b0000;
}

.ten-table .ten-content {
    padding: 8px 6px;
    font-size: 13px;
    border: 1px solid rgba(204, 26, 26, 0.08);
    line-height: 2;
    text-align: center;
    word-break: break-all;
    overflow-wrap: anywhere;
    color: #333;
}

.ten-table .ten-result {
    text-align: center;
    font-weight: bold;
    font-size: 12px;
    padding: 8px 4px;
    border: 1px solid rgba(204, 26, 26, 0.08);
    width: 20%;
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 1.8;
    color: #cc1a1a;
    background: rgba(204, 26, 26, 0.04);
}

/* 命中高亮 */
.hit-mark {
    outline: 2px solid #c9a84c;
    background: rgba(201, 168, 76, 0.12) !important;
    color: #7a4a00 !important;
    border-color: rgba(201, 168, 76, 0.3) !important;
}

/* 准/错徽标 */
.badge-zun {
    display: inline-block;
    padding: 1px 6px;
    background: #16a34a;
    color: #fff !important;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    vertical-align: middle;
}

.badge-cuo {
    display: inline-block;
    padding: 1px 6px;
    background: #dc2626;
    color: #fff !important;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    vertical-align: middle;
}

.no-result {
    color: #aaa;
    font-size: 12px;
}

/* 分时发布等待提示 */
.pending-msg {
    text-align: center;
    padding: 14px 12px;
    color: #888;
    font-size: 13px;
    background: #fff8f8;
    border-radius: 4px;
}

.pending-msg b { color: #333; font-weight: 600; }
.pending-msg .pending-time { color: #cc1a1a; font-weight: bold; }
.pending-clock { font-style: normal; }

/* 每日黄历 */
.huangli-box {
    background: #fbf7ef;
    border-color: #b06a38;
}

.huangli-list {
    display: grid;
    gap: 14px;
}

.huangli-card {
    color: #8b4a2b;
    background: #fffdf6;
    border: 2px solid #b06a38;
    box-shadow: inset 0 0 0 1px rgba(176, 106, 56, 0.22);
    padding: 14px;
    font-family: "Songti SC", SimSun, "Microsoft YaHei", serif;
}

.huangli-date-head {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    color: #8b4a2b;
    font-size: 22px;
    font-weight: 900;
}

.huangli-date-head span:last-child {
    text-align: right;
}

.huangli-date-head strong {
    font-family: Arial, sans-serif;
    font-size: 24px;
}

.huangli-day {
    text-align: center;
    color: #a44f1c;
    font-family: Arial Black, Impact, sans-serif;
    font-size: 120px;
    line-height: 1;
    font-weight: 900;
    margin: 4px 0 14px;
}

.huangli-lunar-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    border-top: 2px solid #b06a38;
    border-bottom: 2px solid #b06a38;
    padding: 8px 0;
}

.huangli-lunar-row div:last-child {
    text-align: right;
}

.huangli-lunar-row b,
.huangli-lunar-row span,
.huangli-lunar-row em {
    display: block;
    font-style: normal;
    font-size: 18px;
    font-weight: 900;
}

.huangli-lunar-row em {
    padding: 7px 18px;
    color: #fff7df;
    background: #a44f1c;
    border-radius: 999px;
    white-space: nowrap;
}

.huangli-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr 1fr 1fr 1.05fr;
    border-left: 1px solid rgba(176, 106, 56, 0.45);
    border-top: 1px solid rgba(176, 106, 56, 0.45);
    margin-top: 12px;
}

.huangli-grid section {
    min-height: 92px;
    padding: 12px 10px;
    border-right: 1px solid rgba(176, 106, 56, 0.45);
    border-bottom: 1px solid rgba(176, 106, 56, 0.45);
    text-align: center;
    font-size: 17px;
    line-height: 1.7;
    font-weight: 800;
}

.huangli-grid h4 {
    margin: 0 0 4px;
    color: #8b3214;
    font-size: 20px;
    line-height: 1.3;
}

.huangli-grid p {
    margin: 0;
}

.huangli-side {
    grid-row: span 2;
}

.huangli-side b {
    display: block;
    color: #8b3214;
    font-size: 28px;
    line-height: 1.3;
}

.huangli-side span {
    display: block;
}

.huangli-side.good span {
    color: #8b4a2b;
}

.huangli-side.bad span {
    color: #7d5b4d;
}

.huangli-hours,
.huangli-warning {
    grid-column: span 3;
}

.huangli-wave {
    color: #d71920;
}

@media screen and (max-width: 640px) {
    .huangli-card {
        padding: 10px;
    }

    .huangli-date-head {
        gap: 6px;
        font-size: 16px;
    }

    .huangli-date-head strong {
        font-size: 18px;
    }

    .huangli-day {
        font-size: 86px;
        margin-bottom: 10px;
    }

    .huangli-lunar-row {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .huangli-lunar-row div:last-child {
        text-align: center;
    }

    .huangli-lunar-row b,
    .huangli-lunar-row span,
    .huangli-lunar-row em {
        font-size: 15px;
    }

    .huangli-grid {
        grid-template-columns: 1fr 1fr;
    }

    .huangli-grid section {
        min-height: 76px;
        padding: 9px 7px;
        font-size: 14px;
    }

    .huangli-grid h4 {
        font-size: 16px;
    }

    .huangli-side,
    .huangli-hours,
    .huangli-warning {
        grid-column: span 2;
        grid-row: auto;
    }

    .huangli-side span {
        display: inline-block;
        margin: 0 4px;
    }
}

/* ---- 通用标签芯片 ---- */
.wx-chip, .bs-chip, .ww-chip,
.sj-chip, .yy-chip, .lf-chip,
.td-chip, .hs-chip, .sf-chip {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    margin: 0 2px 2px 0;
    line-height: 1.6;
}

/* 五行配色（语义色保持） */
.wx-火 { background: rgba(185, 28, 28, 0.1); color: #8b1a1a; border: 1px solid rgba(185, 28, 28, 0.3); }
.wx-金 { background: rgba(180, 83,  9, 0.1); color: #7a4a00; border: 1px solid rgba(180, 83,  9, 0.3); }
.wx-木 { background: rgba(21, 128, 61, 0.1); color: #1a6b30; border: 1px solid rgba(21, 128, 61, 0.3); }
.wx-水 { background: rgba(29,  78,216, 0.1); color: #1e3c9a; border: 1px solid rgba(29,  78,216, 0.3); }
.wx-土 { background: rgba(146, 64, 14, 0.1); color: #6b3a08; border: 1px solid rgba(146, 64, 14, 0.3); }

/* 波色 */
.bs-red   { background: rgba(185, 28, 28, 0.1); color: #8b1a1a; border: 1px solid rgba(185, 28, 28, 0.3); }
.bs-blue  { background: rgba(29,  78,216, 0.1); color: #1e3c9a; border: 1px solid rgba(29,  78,216, 0.3); }
.bs-green { background: rgba(21, 128, 61, 0.1); color: #1a6b30; border: 1px solid rgba(21, 128, 61, 0.3); }

/* 文武双全 */
.ww-wen { background: rgba(55,  48,163, 0.1); color: #2d2880; border: 1px solid rgba(55,  48,163, 0.3); }
.ww-wu  { background: rgba(159, 18, 57, 0.1); color: #7a0a28; border: 1px solid rgba(159, 18, 57, 0.3); }

/* 四季轮转 */
.sj-春 { background: rgba(22, 101, 52, 0.1); color: #1a5a28; border: 1px solid rgba(22, 101, 52, 0.3); }
.sj-夏 { background: rgba(194, 65, 12, 0.1); color: #8b3008; border: 1px solid rgba(194, 65, 12, 0.3); }
.sj-秋 { background: rgba(161, 98,  7, 0.1); color: #7a5000; border: 1px solid rgba(161, 98,  7, 0.3); }
.sj-冬 { background: rgba(7,  89, 133, 0.1); color: #0a4870; border: 1px solid rgba(7,  89, 133, 0.3); }

/* 阴阳互补 */
.yy-yang { background: rgba(161, 98,  7, 0.1); color: #7a5000; border: 1px solid rgba(161,  98,  7, 0.3); }
.yy-yin  { background: rgba(76,  29,149, 0.1); color: #3a1070; border: 1px solid rgba(76,  29,149, 0.3); }

/* 龙凤呈祥 */
.lf-long { background: rgba(20,  83, 45, 0.1); color: #1a4a28; border: 1px solid rgba(20,  83, 45, 0.3); }
.lf-feng { background: rgba(131, 24, 67, 0.1); color: #6b0a30; border: 1px solid rgba(131, 24, 67, 0.3); }

/* 天地玄黄 */
.td-tian {
    display: inline-block; padding: 2px 7px; border-radius: 4px;
    background: rgba(30, 58, 138, 0.1); color: #1e3a7a;
    border: 1px solid rgba(30, 58, 138, 0.3);
    font-size: 12px; font-weight: bold; margin: 0 2px 2px 0;
}
.td-di {
    display: inline-block; padding: 2px 7px; border-radius: 4px;
    background: rgba(120, 53, 15, 0.1); color: #6b3008;
    border: 1px solid rgba(120, 53, 15, 0.3);
    font-size: 12px; font-weight: bold; margin: 0 2px 2px 0;
}

/* 合数精推 */
.hs-chip { background: rgba(107, 33,168, 0.1); color: #4a1080; border: 1px solid rgba(107, 33,168, 0.3); }

/* 三分天下 */
.sf-甲 { background: rgba(20,  83, 45, 0.1); color: #1a4a28; border: 1px solid rgba(20,  83, 45, 0.3); }
.sf-乙 { background: rgba(194, 65, 12, 0.1); color: #8b3008; border: 1px solid rgba(194, 65, 12, 0.3); }
.sf-丙 { background: rgba(159, 18, 57, 0.1); color: #7a0a28; border: 1px solid rgba(159, 18, 57, 0.3); }

/* 主推结果高亮 */
.rec-main { color: #cc1a1a; font-weight: bold; }

/* ---- 各栏目表头统一红色 ---- */
#sec-wxjs .ten-head th,
#sec-wxss .ten-head th,
#sec-wxke .ten-head th,
#sec-wxbq .ten-head th,
#sec-wxlw .ten-head th,
#sec-wxgs .ten-head th,
#sec-bose .ten-head th,
#sec-ww .ten-head th,
#sec-sj .ten-head th,
#sec-yy .ten-head th,
#sec-lf .ten-head th,
#sec-qiwei .ten-head th,
#sec-td .ten-head th,
#sec-hsds .ten-head th,
#sec-sxyw .ten-head th,
#sec-ptyx .ten-head th,
#sec-jsex .ten-head th,
#sec-danshuang .ten-head th,
#sec-jsyt .ten-head th,
#sec-santou .ten-head th,
#sec-wuwei .ten-head th,
#sec-jsyx .ten-head th,
#sec-dxzt .ten-head th,
#sec-shixiao .ten-head th,
#sec-ptyw .ten-head th,
#sec-jysx .ten-head th,
#sec-liangbo .ten-head th,
#sec-jusha7 .ten-head th,
#sec-sanbandan .ten-head th,
#sec-pter .ten-head th,
#sec-dsnb .ten-head th,
#sec-shajiyiji .ten-head th {
    background: linear-gradient(135deg, #8b0000 0%, #cc1a1a 100%);
}

/* 各栏目 section-legend / ten-qi / ten-result / ten-content 统一风格 */
#sec-wxjs .section-legend, #sec-wxss .section-legend, #sec-wxke .section-legend,
#sec-wxbq .section-legend, #sec-wxlw .section-legend, #sec-wxgs .section-legend, #sec-bose .section-legend, #sec-ww .section-legend,
#sec-sj .section-legend,   #sec-yy .section-legend,   #sec-lf .section-legend,
#sec-qiwei .section-legend,#sec-td .section-legend,   #sec-hsds .section-legend,
#sec-sxyw .section-legend, #sec-ptyx .section-legend, #sec-jsex .section-legend,
#sec-danshuang .section-legend, #sec-jsyt .section-legend,
#sec-santou .section-legend, #sec-wuwei .section-legend,
#sec-jsyx .section-legend,
#sec-dxzt .section-legend,
#sec-shixiao .section-legend,
#sec-ptyw .section-legend,
#sec-jysx .section-legend,
#sec-liangbo .section-legend,
#sec-jusha7 .section-legend,
#sec-sanbandan .section-legend,
#sec-pter .section-legend {
    background: #fff8f8;
    border-left: 3px solid #cc1a1a;
}

#sec-wxjs .ten-qi, #sec-wxss .ten-qi, #sec-wxke .ten-qi,
#sec-wxbq .ten-qi, #sec-wxlw .ten-qi, #sec-wxgs .ten-qi, #sec-bose .ten-qi, #sec-ww .ten-qi,
#sec-sj .ten-qi,   #sec-yy .ten-qi,   #sec-lf .ten-qi,
#sec-qiwei .ten-qi,#sec-td .ten-qi,   #sec-hsds .ten-qi,
#sec-sxyw .ten-qi, #sec-ptyx .ten-qi, #sec-jsex .ten-qi,
#sec-danshuang .ten-qi, #sec-jsyt .ten-qi,
#sec-santou .ten-qi, #sec-wuwei .ten-qi,
#sec-jsyx .ten-qi,
#sec-dxzt .ten-qi,
#sec-shixiao .ten-qi,
#sec-ptyw .ten-qi,
#sec-jysx .ten-qi,
#sec-liangbo .ten-qi,
#sec-jusha7 .ten-qi,
#sec-sanbandan .ten-qi,
#sec-pter .ten-qi {
    background: rgba(204, 26, 26, 0.04);
    color: #8b0000;
}

#sec-wxjs .ten-result, #sec-wxss .ten-result, #sec-wxke .ten-result,
#sec-wxbq .ten-result, #sec-wxlw .ten-result, #sec-wxgs .ten-result, #sec-bose .ten-result, #sec-ww .ten-result,
#sec-sj .ten-result,   #sec-yy .ten-result,   #sec-lf .ten-result,
#sec-qiwei .ten-result,#sec-td .ten-result,   #sec-hsds .ten-result,
#sec-sxyw .ten-result, #sec-ptyx .ten-result, #sec-jsex .ten-result,
#sec-danshuang .ten-result, #sec-jsyt .ten-result,
#sec-santou .ten-result, #sec-wuwei .ten-result,
#sec-jsyx .ten-result,
#sec-dxzt .ten-result,
#sec-shixiao .ten-result,
#sec-ptyw .ten-result,
#sec-jysx .ten-result,
#sec-liangbo .ten-result,
#sec-jusha7 .ten-result,
#sec-sanbandan .ten-result,
#sec-pter .ten-result {
    background: rgba(204, 26, 26, 0.04);
    color: #cc1a1a;
}

#sec-ptyw .ten-result,
#sec-ptyx .ten-result,
#sec-pter .ten-result { font-size: 12px; }

#sec-wxjs .ten-content, #sec-wxss .ten-content, #sec-wxke .ten-content,
#sec-wxbq .ten-content, #sec-wxlw .ten-content, #sec-wxgs .ten-content, #sec-bose .ten-content, #sec-ww .ten-content,
#sec-sj .ten-content,   #sec-yy .ten-content,   #sec-lf .ten-content,
#sec-qiwei .ten-content,#sec-td .ten-content,   #sec-hsds .ten-content,
#sec-sxyw .ten-content, #sec-ptyx .ten-content, #sec-jsex .ten-content,
#sec-danshuang .ten-content, #sec-jsyt .ten-content,
#sec-santou .ten-content, #sec-wuwei .ten-content,
#sec-jsyx .ten-content,
#sec-dxzt .ten-content,
#sec-shixiao .ten-content,
#sec-ptyw .ten-content,
#sec-jysx .ten-content,
#sec-liangbo .ten-content,
#sec-jusha7 .ten-content,
#sec-sanbandan .ten-content {
    color: #333;
}

#sec-ptyx .ten-content    { font-size: 13px; line-height: 1.8; }
#sec-danshuang .ten-content { font-size: 13px; line-height: 1.8; }

/* ---- 参考原站的普通预测栏目样式 ---- */
#sec-sxyw .ten-head th,
#sec-dxzt .ten-head th,
#sec-shixiao .ten-head th,
#sec-jysx .ten-head th,
#sec-liangbo .ten-head th,
#sec-jusha7 .ten-head th,
#sec-sanbandan .ten-head th,
#sec-dsnb .ten-head th,
#sec-shajiyiji .ten-head th,
#sec-shuijinguang .ten-head th {
    padding: 12px 6px;
    font-size: 15px;
}

#sec-sxyw .ten-head th:nth-child(1),
#sec-dxzt .ten-head th:nth-child(1),
#sec-shixiao .ten-head th:nth-child(1),
#sec-jysx .ten-head th:nth-child(1),
#sec-liangbo .ten-head th:nth-child(1),
#sec-jusha7 .ten-head th:nth-child(1),
#sec-sanbandan .ten-head th:nth-child(1),
#sec-dsnb .ten-head th:nth-child(1),
#sec-shajiyiji .ten-head th:nth-child(1),
#sec-shuijinguang .ten-head th:nth-child(1) {
    width: 13% !important;
}

#sec-sxyw .ten-head th:nth-child(3),
#sec-dxzt .ten-head th:nth-child(3),
#sec-shixiao .ten-head th:nth-child(3),
#sec-jysx .ten-head th:nth-child(3),
#sec-liangbo .ten-head th:nth-child(3),
#sec-jusha7 .ten-head th:nth-child(3),
#sec-sanbandan .ten-head th:nth-child(3),
#sec-dsnb .ten-head th:nth-child(3),
#sec-shajiyiji .ten-head th:nth-child(3),
#sec-shuijinguang .ten-head th:nth-child(3) {
    width: 20% !important;
}

#sec-sxyw .section-legend,
#sec-dxzt .section-legend,
#sec-jysx .section-legend,
#sec-liangbo .section-legend,
#sec-sanbandan .section-legend,
#sec-dsnb .section-legend,
#sec-shajiyiji .section-legend {
    padding: 12px 10px;
    color: #666;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.85;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

#sec-liangbo .section-legend,
#sec-sanbandan .section-legend {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: left;
}

#sec-liangbo .wave-legend-group,
#sec-sanbandan .legend-group {
    display: block;
    width: min(640px, 100%);
}

#sec-sxyw .ten-content,
#sec-dxzt .ten-content,
#sec-shixiao .ten-content,
#sec-jysx .ten-content,
#sec-liangbo .ten-content,
#sec-jusha7 .ten-content,
#sec-sanbandan .ten-content,
#sec-dsnb .ten-content,
#sec-shajiyiji .ten-content {
    font-size: 16px;
    font-weight: 800;
    line-height: 2;
}

#sec-sxyw .ten-content span,
#sec-dxzt .ten-content span,
#sec-shixiao .ten-content span,
#sec-dsnb .ten-content span,
#sec-shajiyiji .ten-content span {
    color: #d71920;
    font-weight: 900;
}

#sec-shixiao .ten-content {
    color: #333;
    font-size: 19px;
    line-height: 1.9;
}

#sec-jysx .ten-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
    font-size: 15px;
    line-height: 1.6;
}

#sec-jysx .ten-content span {
    color: #d71920;
    font-weight: 900;
}

.jy-pill {
    display: inline-flex;
    min-width: 150px;
    min-height: 36px;
    padding: 5px 12px;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    border-radius: 14px;
    white-space: nowrap;
}

.jy-pill span {
    color: inherit !important;
}

.jy-home {
    color: #8b3a08 !important;
    background: #fffaf4;
    border-color: #d54b1a;
}

.jy-wild {
    color: #14532d !important;
    background: #f2fff7;
    border-color: #15803d;
}

#sec-liangbo .ten-content {
    font-size: 15px;
    line-height: 1.8;
}

#sec-liangbo .ten-content span {
    display: inline-block;
    min-width: 50px;
    padding: 3px 8px;
    border: 1px solid currentColor;
    border-radius: 6px;
    font-weight: 900;
}

#sec-jusha7 .ten-content {
    font-size: 15px;
    line-height: 1.9;
    color: #333;
}

#sec-sanbandan .ten-content {
    font-size: 15px;
    line-height: 1.9;
}

#sec-dsnb .ten-content,
#sec-shajiyiji .ten-content {
    font-size: 18px;
    line-height: 1.9;
}

#sec-sxyw .ten-result,
#sec-dxzt .ten-result,
#sec-shixiao .ten-result,
#sec-jysx .ten-result,
#sec-liangbo .ten-result,
#sec-jusha7 .ten-result,
#sec-sanbandan .ten-result,
#sec-dsnb .ten-result,
#sec-shajiyiji .ten-result,
#sec-shuijinguang .ten-result {
    font-size: 15px;
    line-height: 1.6;
    overflow: visible;
}

#sec-shuijinguang .ten-content {
    padding: 14px 6px;
    color: #333;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.95;
    text-align: center;
}

#sec-shuijinguang .ten-content span {
    color: #7a4a00;
    font-weight: 900;
}

#sec-shuijinguang .ten-result {
    font-size: 16px;
}

/* 五行相生/相克/补缺/连旺/归宿 内容行 */
.wxss-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 4px; }
.wxss-prev { flex-shrink: 0; white-space: nowrap; }
.wxss-arrow { flex-shrink: 0; color: #bbb; }
.wxss-pred { flex-shrink: 0; white-space: nowrap; }

/* 家野四肖 — 家禽/野兽 chip 标签 */
.jy-chip { display: inline-block; padding: 2px 8px; border-radius: 12px; font-size: 12px; font-weight: bold; margin: 1px 3px; }
.jy-jia  { background: #fff8f0; color: #7c2d00; border: 1px solid #c2410c; }
.jy-ye   { background: #f0f9f4; color: #14532d; border: 1px solid #15803d; }

/* ---- 九肖九码 特殊布局 ---- */
#jxjm .title {
    background: linear-gradient(135deg, #8b0000 0%, #cc1a1a 100%);
    padding: 12px 15px;
    text-align: center;
    margin: -10px -10px 10px -10px;
    border-radius: 0;
    border-bottom: 3px solid #c9a84c;
}

#jxjm .title h3 {
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}


/* ---- 九肖稳中 / 黄大仙解诗 ---- */
#yxym .list-title,
#xjjs .list-title {
    background: linear-gradient(135deg, #8b0000 0%, #cc1a1a 100%);
    color: #fff;
    border-bottom-color: #c9a84c;
}

/* ---- 绝杀两尾 (table32) ---- */
#table32 {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

#table32 td {
    padding: 10px 8px;
    text-align: center;
    border-bottom: 1px solid rgba(204, 26, 26, 0.08);
    color: #333;
    vertical-align: middle;
}

#table32 tr:first-child td {
    background: linear-gradient(135deg, #8b0000 0%, #cc1a1a 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    border-bottom: 3px solid #c9a84c;
    letter-spacing: 0.5px;
}

#table32 tr:not(:first-child) td                 { background: #fff; line-height: 1.6; }
#table32 tr:not(:first-child):nth-child(even) td { background: #fff8f8; }

#table32 font[color="#008000"],
#table32 font[color="#00FF00"],
#table32 font[color="#00ff00"] { color: #1a6b30; font-weight: bold; }

/* ---- 绝杀两尾 标题/分隔行（CSS类，覆盖默认蓝色） ---- */
.jsew-title-td {
    background: linear-gradient(135deg, #8b0000 0%, #cc1a1a 100%);
    color: #fff;
    font-size: 17px;
    font-weight: bold;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    border-bottom: 3px solid #c9a84c;
}
.jsew-divider-td { height: 2px; background: #c9a84c; padding: 0; }

/* ---- 关注，重要分享 标题行 ---- */
.gzfx-title-td {
    background: linear-gradient(135deg, #8b0000 0%, #cc1a1a 100%);
    padding: 10px;
    text-align: center;
    border-bottom: 2px solid #c9a84c;
}
.gzfx-title-text {
    color: #fff !important;
    font-weight: bold;
    font-size: 15px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.gzfx-title-td, .gzfx-title-td * { color: #fff !important; }

/* ---- 平特三肖 ---- */
#ptsx .ptsxtable th {
    background: linear-gradient(135deg, #8b0000 0%, #cc1a1a 100%);
}

#ptsx .ptsxtable th {
    font-size: 15px;
    padding: 13px 4px;
}

#ptsx .ptsxtable th:nth-child(1) {
    width: 20% !important;
}

#ptsx .ptsxtable th:nth-child(2) {
    width: 52% !important;
}

#ptsx .ptsxtable th:nth-child(3) {
    width: 28% !important;
}

#ptsx .ptsxtable .th-brand {
    display: block;
    margin-bottom: 3px;
}

#ptsx .ptsxtable {
    table-layout: fixed;
}

#ptsx .ptsxtable td {
    font-size: 20px;
    font-weight: 700;
    padding: 13px 3px;
    line-height: 1.55;
}

#ptsx .ptsxtable td:nth-child(1) {
    width: 20%;
    color: #333;
    white-space: nowrap;
}

#ptsx .ptsxtable td:nth-child(2) {
    width: 52%;
    color: #333;
}

#ptsx .ptsxtable td:last-child {
    width: 28%;
    color: #333;
    font-size: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
}

#ptsx .ptsxtable td:last-child .badge-zun,
#ptsx .ptsxtable td:last-child .badge-cuo {
    font-size: 10px;
    padding: 1px 5px;
    margin-left: 2px;
}

#ptsx .ptsx-recommend td {
    padding: 14px 4px 12px;
    font-size: 17px;
    color: #333;
    background: #fff !important;
}

#ptsx .ptsx-recommend b {
    color: #f00;
}

/* ---- 预测顶部：显示期数/结果的三列表头 ---- */
.prediction-head-cols th,
.qxtable .prediction-head-cols th,
.ptsxtable .prediction-head-cols th,
.ten-table .prediction-head-cols th {
    background: linear-gradient(135deg, #970000 0%, #d51f1f 62%, #a40000 100%);
    color: #fff;
    height: 68px;
    padding: 8px 4px;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.25;
    text-align: center;
    vertical-align: middle;
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.22);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    letter-spacing: 0;
}

.prediction-head-cols th:last-child {
    border-right: none;
}

.prediction-head-cols .th-brand {
    display: block;
    margin: 0 0 5px 0;
    font-size: 0.72em;
    font-weight: 700;
    line-height: 1.1;
    color: #fff7cc;
    white-space: nowrap;
}

/* ---- 预测顶部：不显示期数/结果的纯标题条 ---- */
.prediction-title-bar,
.prediction-title-cell {
    background: linear-gradient(135deg, #970000 0%, #d51f1f 62%, #a40000 100%) !important;
    color: #fff !important;
    min-height: 68px;
    padding: 10px 4px !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    line-height: 1.25;
    text-align: center;
    border-bottom: 4px solid #c9a84c !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    letter-spacing: 0;
}

.prediction-title-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.prediction-title-cell .th-brand,
.prediction-title-bar .lt-brand,
.prediction-title-bar span {
    display: block;
    margin: 0 0 5px 0;
    font-size: 0.62em;
    font-weight: 700;
    line-height: 1.1;
    color: #fff7cc;
    white-space: nowrap;
}

.prediction-note {
    padding: 14px 8px;
    color: #666;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.7;
    text-align: center;
    border-left: 4px solid #d71920;
    border-bottom: 1px solid rgba(204, 26, 26, 0.1);
    background: #fff8f8;
}

.prediction-body-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    text-align: center;
}

.prediction-body-table td {
    border: 1px solid rgba(204, 26, 26, 0.1);
    padding: 14px 4px;
    color: #333;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.75;
    vertical-align: middle;
}

.prediction-body-table tr:nth-child(odd) td,
.styled-prediction-table tbody tr:nth-child(odd) td {
    background: #fff8f8;
}

.prediction-body-table tr:nth-child(even) td,
.styled-prediction-table tbody tr:nth-child(even) td {
    background: #fff;
}

.prediction-recommend td {
    padding: 14px 4px 12px !important;
    color: #333 !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    line-height: 1.3 !important;
    text-align: center !important;
    background: #fff !important;
    border-bottom: 1px solid rgba(204, 26, 26, 0.1) !important;
}

.prediction-recommend b {
    color: #f00;
}

.prediction-legend-row td {
    padding: 0 !important;
    border: none !important;
}

.legend-green { color: #059669; }
.legend-purple { color: #6d4cff; }
.legend-red { color: #d71920; }
.legend-orange { color: #c75b00; }
.legend-darkred { color: #8b0000; }

.pter-table td:nth-child(1),
.xjjs-table td:nth-child(1) {
    width: 22%;
    color: #8b0000;
    white-space: nowrap;
}

.pter-table td:nth-child(2),
.xjjs-table td:nth-child(2) {
    width: 34%;
}

.pter-table td:nth-child(3),
.xjjs-table td:nth-child(3) {
    width: 44%;
    color: #d71920;
    word-break: break-all;
}

.pter-table td:nth-child(2) {
    font-size: 17px;
}

.pter-table td:nth-child(3) {
    font-size: 15px;
    line-height: 1.9;
}

.xjjs-table td {
    padding-top: 18px;
    padding-bottom: 18px;
}

.xjjs-table td:nth-child(1) {
    color: #000;
    font-size: 15px;
}

.xjjs-table td:nth-child(2) {
    width: 58%;
    color: #a40000;
    font-size: 17px;
    line-height: 1.55;
}

.xjjs-table td:nth-child(3) {
    width: 20%;
    font-size: 18px;
    color: #d71920;
    white-space: nowrap;
}

.xjjs-poem {
    color: #d71920;
    font-weight: 900;
}

.xjjs-line {
    color: #8b0000;
    font-weight: 900;
}

.sanshier-table td:nth-child(1) {
    width: 22%;
}

.sanshier-table td:nth-child(2) {
    width: 52%;
}

.sanshier-table td:last-child {
    width: 26%;
}

.styled-prediction-table {
    table-layout: fixed;
}

.styled-prediction-table th:nth-child(1),
.styled-prediction-table td:nth-child(1) {
    width: 24%;
}

.styled-prediction-table th:nth-child(2),
.styled-prediction-table td:nth-child(2) {
    width: 44%;
}

.styled-prediction-table th:nth-child(3),
.styled-prediction-table td:nth-child(3) {
    width: 32%;
}

.styled-prediction-table td {
    padding: 13px 4px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.55;
    vertical-align: middle;
}

.styled-prediction-table td:nth-child(1) {
    color: #333;
    white-space: nowrap;
}

.styled-prediction-table td:nth-child(2) {
    color: #555;
}

.styled-prediction-table td:nth-child(3) {
    color: #333;
    font-size: 18px;
    white-space: nowrap;
    overflow: hidden;
}

.styled-prediction-content span {
    color: #d71920;
    font-weight: 900;
}

.jqys-table .section-legend,
.jmxc-table .section-legend,
.sanguozhi-table .section-legend {
    padding: 10px 6px;
    background: #f3fff6;
    border-left: 0;
    font-size: 17px;
    font-weight: 900;
    color: #333;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 12px;
    line-height: 1.6;
    overflow: visible;
    word-break: keep-all;
}

.jmxc-table .section-legend {
    background: #fffdf1;
}

.sanguozhi-table .section-legend {
    background: #fff8f8;
}

.legend-group {
    display: inline-block;
    white-space: nowrap;
}

.legend-sep {
    color: #333;
    font-weight: 900;
}

.bzds-table .styled-prediction-content {
    display: inline-block;
    color: #333;
    font-size: 19px;
}

.baxi-table td,
.liuxiao-table td {
    font-size: 20px;
}

.baxi-table td:nth-child(2),
.liuxiao-table td:nth-child(2) {
    color: #555;
    font-weight: 900;
    word-break: keep-all;
}

.kill-table th:nth-child(1),
.kill-table td:nth-child(1) {
    width: 18%;
}

.kill-table th:nth-child(2),
.kill-table td:nth-child(2) {
    width: 62%;
}

.kill-table th:nth-child(3),
.kill-table td:nth-child(3) {
    width: 20%;
}

.kill-table td {
    font-size: 17px;
    line-height: 1.55;
}

.kill-table td:nth-child(1) {
    color: #8b0000;
    font-size: 16px;
    font-weight: 900;
}

.kill-table td:nth-child(2) {
    color: #333;
    font-weight: 700;
}

.kill-table td:nth-child(3) {
    color: #d71920;
    font-size: 17px;
}

.kill-table .styled-prediction-content span {
    color: #d71920;
}

.santou-table th:nth-child(1),
.santou-table td:nth-child(1) {
    width: 18%;
}

.santou-table th:nth-child(2),
.santou-table td:nth-child(2) {
    width: 62%;
}

.santou-table th:nth-child(3),
.santou-table td:nth-child(3) {
    width: 20%;
}

.santou-table td {
    font-size: 17px;
    line-height: 1.55;
}

.santou-table td:nth-child(1) {
    color: #8b0000;
    font-size: 16px;
    font-weight: 900;
}

.santou-table td:nth-child(2) {
    color: #333;
    font-weight: 700;
}

.santou-table td:nth-child(3) {
    color: #d71920;
    font-size: 17px;
}

.santou-table .styled-prediction-content span {
    color: #d71920;
}

.wxjs-table th:nth-child(1),
.wxjs-table td:nth-child(1) {
    width: 18%;
}

.wxjs-table th:nth-child(2),
.wxjs-table td:nth-child(2) {
    width: 62%;
}

.wxjs-table th:nth-child(3),
.wxjs-table td:nth-child(3) {
    width: 20%;
}

.wxjs-number-map-row td {
    padding: 12px 10px !important;
    background: #fff8f8 !important;
    border-left: 4px solid #d71920;
    border-bottom: 1px solid rgba(204, 26, 26, 0.12);
}

.wxjs-number-map {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 18px;
    color: #666;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.8;
}

.wxjs-map-group {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.element-chip {
    display: inline-flex;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    border-radius: 6px;
    font-weight: 900;
    line-height: 1;
    background: #fff;
}

.element-metal {
    color: #7a4a00;
    background: #fff2e8;
    border-color: #e7b998;
}

.element-wood {
    color: #0b7a34;
    background: #ecfff2;
    border-color: #9fd5ad;
}

.element-water {
    color: #1744a4;
    background: #edf4ff;
    border-color: #9fb7ff;
}

.element-fire {
    color: #c5161d;
    background: #fff0f0;
    border-color: #efa6a6;
}

.element-earth {
    color: #7b3f00;
    background: #fff5ed;
    border-color: #ddbba6;
}

.wxjs-table td {
    padding: 12px 4px;
    font-size: 16px;
    line-height: 1.5;
}

.wxjs-table td:nth-child(1) {
    color: #8b0000;
    font-size: 16px;
    font-weight: 900;
}

.wxjs-table td:nth-child(3) {
    color: #d71920;
    font-size: 16px;
    font-weight: 900;
    overflow: visible;
}

.wxjs-energy-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px 6px;
    max-width: 240px;
    margin: 0 auto 6px;
}

.wxjs-energy-chip {
    display: inline-flex;
    min-height: 29px;
    padding: 3px 9px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5c0ad;
    border-radius: 6px;
    background: #fff4ed;
    color: #7b3f00;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
}

.wxjs-energy-chip:nth-child(2n) {
    border-color: #a8d6b4;
    background: #effff4;
    color: #0b7a34;
}

.wxjs-energy-chip:nth-child(3n) {
    border-color: #9fb7ff;
    background: #f0f5ff;
    color: #1744a4;
}

.wxjs-energy-chip.element-metal {
    border-color: #e7b998;
    background: #fff2e8;
    color: #7a4a00;
}

.wxjs-energy-chip.element-wood {
    border-color: #9fd5ad;
    background: #ecfff2;
    color: #0b7a34;
}

.wxjs-energy-chip.element-water {
    border-color: #9fb7ff;
    background: #edf4ff;
    color: #1744a4;
}

.wxjs-energy-chip.element-fire {
    border-color: #efa6a6;
    background: #fff0f0;
    color: #c5161d;
}

.wxjs-energy-chip.element-earth {
    border-color: #ddbba6;
    background: #fff5ed;
    color: #7b3f00;
}

.wxjs-energy-chip.is-strong {
    border-width: 2px;
    box-shadow: inset 0 0 0 1px rgba(201, 168, 76, 0.45);
}

.wxjs-wang {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #333;
    font-size: 15px;
    font-weight: 800;
}

.wxjs-wang .element-chip {
    min-width: 30px;
    height: 30px;
    padding: 0 7px;
}

.wxjs-result-number {
    color: #d71920;
    font-weight: 900;
}

.wxjs-table td:nth-child(3) .element-chip {
    min-width: 34px;
    height: 34px;
    margin-right: 2px;
    vertical-align: middle;
}

.wxke-table th:nth-child(1),
.wxke-table td:nth-child(1) {
    width: 18%;
}

.wxke-table th:nth-child(2),
.wxke-table td:nth-child(2) {
    width: 62%;
}

.wxke-table th:nth-child(3),
.wxke-table td:nth-child(3) {
    width: 20%;
}

.wxke-rule-row td {
    padding: 10px 12px 14px !important;
    background: #fff8f8 !important;
    border-left: 4px solid #d71920;
    border-bottom: 1px solid rgba(204, 26, 26, 0.12);
}

.wxke-rule {
    color: #666;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.85;
    text-align: center;
}

.wxke-cycle {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 8px;
}

.wxke-cycle em,
.wxke-content em {
    color: #777;
    font-style: normal;
}

.wxke-cycle b {
    color: #666;
    font-weight: 800;
}

.wxke-rule p {
    margin: 0 auto;
    max-width: 720px;
    color: #666;
}

.wxke-table .wxke-number-map-row td {
    border-left: 4px solid #d71920;
}

.wxke-table td {
    padding: 12px 4px;
    color: #333;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.55;
}

.wxke-table td:nth-child(1) {
    color: #8b0000;
    font-size: 16px;
    font-weight: 900;
}

.wxke-table td:nth-child(3) {
    color: #d71920;
    font-size: 16px;
    font-weight: 900;
    overflow: visible;
}

.wxke-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.wxke-content .element-chip,
.wxke-table td:nth-child(3) .element-chip {
    min-width: 34px;
    height: 34px;
    vertical-align: middle;
}

.wxlw-table th:nth-child(1),
.wxlw-table td:nth-child(1) {
    width: 18%;
}

.wxlw-table th:nth-child(2),
.wxlw-table td:nth-child(2) {
    width: 62%;
}

.wxlw-table th:nth-child(3),
.wxlw-table td:nth-child(3) {
    width: 20%;
}

.wxlw-rule-row td {
    padding: 13px 12px 14px !important;
    background: #fff8f8 !important;
    border-left: 4px solid #d71920;
    border-bottom: 1px solid rgba(204, 26, 26, 0.12);
}

.wxlw-rule {
    color: #666;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.85;
    text-align: center;
}

.wxlw-rule p {
    margin: 0;
}

.wxlw-table .wxlw-number-map-row td {
    border-left: 4px solid #d71920;
}

.wxlw-table td {
    padding: 13px 4px;
    color: #333;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.55;
}

.wxlw-table td:nth-child(1) {
    color: #8b0000;
    font-size: 16px;
    font-weight: 900;
}

.wxlw-table td:nth-child(3) {
    color: #d71920;
    font-size: 16px;
    font-weight: 900;
    overflow: visible;
}

.wxlw-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.wxlw-content em {
    color: #999;
    font-style: normal;
}

.wxlw-content .element-chip,
.wxlw-table td:nth-child(3) .element-chip {
    min-width: 34px;
    height: 34px;
    vertical-align: middle;
}

.simple-note-row td,
.td-legend-row td {
    padding: 12px 10px !important;
    color: #666 !important;
    background: #fff8f8 !important;
    border-left: 4px solid #d71920;
    border-bottom: 1px solid rgba(204, 26, 26, 0.12);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.8;
    text-align: center;
}

.simple-note-row td span {
    display: block;
}

.hsds-table .simple-note-row td {
    padding: 12px 16px !important;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.qiwei-table th:nth-child(1),
.qiwei-table td:nth-child(1),
.td-table th:nth-child(1),
.td-table td:nth-child(1),
.hsds-table th:nth-child(1),
.hsds-table td:nth-child(1) {
    width: 18%;
}

.qiwei-table th:nth-child(2),
.qiwei-table td:nth-child(2),
.td-table th:nth-child(2),
.td-table td:nth-child(2),
.hsds-table th:nth-child(2),
.hsds-table td:nth-child(2) {
    width: 62%;
}

.qiwei-table th:nth-child(3),
.qiwei-table td:nth-child(3),
.td-table th:nth-child(3),
.td-table td:nth-child(3),
.hsds-table th:nth-child(3),
.hsds-table td:nth-child(3) {
    width: 20%;
}

.qiwei-table td,
.td-table td,
.hsds-table td {
    padding: 12px 4px;
    color: #333;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.55;
}

.qiwei-table td:nth-child(1),
.td-table td:nth-child(1),
.hsds-table td:nth-child(1) {
    color: #8b0000;
    font-size: 16px;
    font-weight: 900;
}

.qiwei-table td:nth-child(3),
.td-table td:nth-child(3),
.hsds-table td:nth-child(3) {
    color: #d71920;
    font-size: 16px;
    font-weight: 900;
    overflow: visible;
    white-space: normal;
}

.tail-chip-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.tail-chip {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid #c9a84c;
    border-radius: 6px;
    color: #4b177e;
    background: #f5edff;
    box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.12);
    font-size: 18px;
    font-weight: 900;
}

.tail-chip.is-hit {
    color: #7a4a00;
    background: #fffbea;
    border-color: #c9a84c;
    box-shadow: inset 0 0 0 2px #c9a84c;
}

.td-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.td-legend span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.td-legend em {
    color: #666;
    font-style: normal;
}

.td-chip {
    display: inline-flex;
    min-width: 38px;
    height: 34px;
    padding: 0 9px;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    border-radius: 6px;
    font-weight: 900;
    line-height: 1;
    background: #fff;
    white-space: nowrap;
}

.td-sky {
    color: #1e3a8a;
    background: #eef3ff;
    border-color: #a8b6df;
}

.td-earth {
    color: #7c3a12;
    background: #fff6ef;
    border-color: #d7b9a8;
}

.td-energy-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 10px;
    margin: 0 auto 8px;
}

.td-energy-chip {
    display: inline-flex;
    min-height: 30px;
    padding: 3px 10px;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
}

.td-energy-chip.is-strong {
    border-width: 2px;
    box-shadow: inset 0 0 0 1px rgba(201, 168, 76, 0.45);
}

.td-main {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    color: #333;
    font-size: 15px;
    font-weight: 800;
}

.td-main b,
.hsds-content {
    color: #d71920;
    font-weight: 900;
}

.hsds-content {
    font-size: 18px;
}

.wave-table th:nth-child(1),
.wave-table td:nth-child(1) {
    width: 18%;
}

.wave-table th:nth-child(2),
.wave-table td:nth-child(2) {
    width: 62%;
}

.wave-table th:nth-child(3),
.wave-table td:nth-child(3) {
    width: 20%;
}

.wave-map-row td {
    padding: 11px 12px 13px !important;
    background: #fff8f8 !important;
    border-left: 4px solid #d71920;
    border-bottom: 1px solid rgba(204, 26, 26, 0.12);
}

.wave-number-map {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    color: #666;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.65;
}

.wave-map-group {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    width: min(650px, 100%);
}

.wave-chip {
    display: inline-flex;
    min-width: 54px;
    height: 32px;
    padding: 0 9px;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    border-radius: 6px;
    font-weight: 900;
    line-height: 1;
    background: #fff;
    white-space: nowrap;
}

.wave-red {
    color: #a10d13;
    background: #fff0f0;
    border-color: #efa6a6;
}

.wave-blue {
    color: #1744a4;
    background: #edf4ff;
    border-color: #9fb7ff;
}

.wave-green {
    color: #0b7a34;
    background: #ecfff2;
    border-color: #9fd5ad;
}

.wave-table td {
    padding: 12px 4px;
    color: #333;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.55;
}

.wave-table td:nth-child(1) {
    color: #8b0000;
    font-size: 16px;
    font-weight: 900;
}

.wave-table td:nth-child(3) {
    color: #d71920;
    font-size: 16px;
    font-weight: 900;
    overflow: visible;
    white-space: normal;
}

.wave-energy-grid {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    max-width: 180px;
    margin: 0 auto 6px;
}

.wave-energy-chip {
    display: inline-flex;
    min-height: 30px;
    padding: 3px 10px;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
}

.wave-energy-chip.is-strong {
    border-width: 2px;
    box-shadow: inset 0 0 0 1px rgba(201, 168, 76, 0.45);
}

.wave-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #333;
    font-size: 15px;
    font-weight: 800;
}

.wave-main .wave-chip,
.wave-table td:nth-child(3) .wave-chip {
    min-width: 58px;
    height: 34px;
    vertical-align: middle;
}

.ww-table th:nth-child(1),
.ww-table td:nth-child(1) {
    width: 18%;
}

.ww-table th:nth-child(2),
.ww-table td:nth-child(2) {
    width: 62%;
}

.ww-table th:nth-child(3),
.ww-table td:nth-child(3) {
    width: 20%;
}

.ww-legend-row td {
    padding: 12px 12px 14px !important;
    background: #fff8f8 !important;
    border-left: 4px solid #d71920;
    border-bottom: 1px solid rgba(204, 26, 26, 0.12);
}

.ww-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 7px 14px;
    color: #666;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.8;
}

.ww-legend span {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.ww-legend em {
    color: #777;
    font-style: normal;
}

.ww-legend b {
    color: #555;
}

.ww-chip {
    display: inline-flex;
    min-width: 36px;
    height: 34px;
    padding: 0 9px;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    border-radius: 6px;
    font-weight: 900;
    line-height: 1;
    background: #fff;
    white-space: nowrap;
}

.ww-civil {
    color: #2d2b91;
    background: #f3f2ff;
    border-color: #b9b4ef;
}

.ww-military {
    color: #9f163c;
    background: #fff1f5;
    border-color: #eba9ba;
}

.ww-table td {
    padding: 13px 4px;
    color: #333;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.55;
}

.ww-table td:nth-child(1) {
    color: #8b0000;
    font-size: 16px;
    font-weight: 900;
}

.ww-table td:nth-child(3) {
    color: #d71920;
    font-size: 16px;
    font-weight: 900;
    overflow: visible;
    white-space: normal;
}

.ww-energy-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 10px;
    margin: 0 auto 6px;
}

.ww-energy-chip {
    display: inline-flex;
    min-height: 32px;
    padding: 3px 12px;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 900;
    white-space: nowrap;
}

.ww-energy-chip.is-strong {
    border-width: 2px;
    box-shadow: inset 0 0 0 1px rgba(201, 168, 76, 0.5);
}

.ww-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #333;
    font-size: 15px;
    font-weight: 800;
}

.ww-main b {
    color: #d71920;
    font-weight: 900;
}

.ww-table td:nth-child(3) .ww-chip {
    min-width: 34px;
    height: 34px;
    margin-right: 2px;
    vertical-align: middle;
}

.category-module-table th:nth-child(1),
.category-module-table td:nth-child(1) {
    width: 18%;
}

.category-module-table th:nth-child(2),
.category-module-table td:nth-child(2) {
    width: 62%;
}

.category-module-table th:nth-child(3),
.category-module-table td:nth-child(3) {
    width: 20%;
}

.category-legend-row td {
    padding: 12px 12px 14px !important;
    background: #fff8f8 !important;
    border-left: 4px solid #d71920;
    border-bottom: 1px solid rgba(204, 26, 26, 0.12);
}

.category-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 7px 14px;
    color: #666;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.8;
}

.category-legend span {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.category-legend em {
    color: #777;
    font-style: normal;
}

.category-legend b {
    color: #555;
}

.category-chip {
    display: inline-flex;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    border-radius: 6px;
    font-weight: 900;
    line-height: 1;
    background: #fff;
    white-space: nowrap;
}

.cat-spring,
.cat-dragon {
    color: #14532d;
    background: #effaf2;
    border-color: #a6cbb2;
}

.cat-summer {
    color: #a33a13;
    background: #fff3ed;
    border-color: #edb69e;
}

.cat-autumn,
.cat-yang {
    color: #845100;
    background: #fff6e9;
    border-color: #dfbf90;
}

.cat-winter {
    color: #075985;
    background: #eef8ff;
    border-color: #9dc4dc;
}

.cat-yin {
    color: #4c1d95;
    background: #f6f0ff;
    border-color: #c7a9ec;
}

.cat-phoenix {
    color: #8a164b;
    background: #fff0f6;
    border-color: #d9a1ba;
}

.category-module-table td {
    padding: 12px 4px;
    color: #333;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.55;
}

.category-module-table td:nth-child(1) {
    color: #8b0000;
    font-size: 16px;
    font-weight: 900;
}

.category-module-table td:nth-child(3) {
    color: #d71920;
    font-size: 16px;
    font-weight: 900;
    overflow: visible;
    white-space: normal;
}

.category-energy-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 9px;
    margin: 0 auto 6px;
}

.category-energy-chip {
    display: inline-flex;
    min-height: 31px;
    padding: 3px 11px;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 900;
    white-space: nowrap;
}

.category-energy-chip.is-strong {
    border-width: 2px;
    box-shadow: inset 0 0 0 1px rgba(201, 168, 76, 0.5);
}

.category-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #333;
    font-size: 15px;
    font-weight: 800;
}

.category-main b {
    color: #d71920;
    font-weight: 900;
}

.category-module-table td:nth-child(3) .category-chip {
    min-width: 32px;
    height: 34px;
    margin-right: 2px;
    vertical-align: middle;
}

.jxjm-table {
    table-layout: fixed;
}

.jxjm-table td {
    padding: 9px 4px;
    border-bottom: 1px solid rgba(204, 26, 26, 0.1);
    color: #333;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.45;
    vertical-align: middle;
}

.jxjm-table tr.jxjm-issue-start td {
    border-top: 3px solid rgba(204, 26, 26, 0.16);
}

.jxjm-table tr:first-child td {
    border-top: none;
}

.jxjm-table td:nth-child(1) {
    width: 26%;
    color: #333;
    white-space: nowrap;
}

.jxjm-table td:nth-child(2) {
    width: 48%;
    color: #333;
    word-break: keep-all;
}

.jxjm-table td:nth-child(2) span {
    color: #333;
}

.jxjm-table td:nth-child(3) {
    width: 26%;
    color: #333;
    white-space: nowrap;
}

/* 疼信三国志 标题沿用红色主题统一样式，无需单独覆盖 */

/* ---- 返回顶部 ---- */
#btnTop {
    display: none;
    position: fixed;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    z-index: 99;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    background: transparent;
}

#btnTop img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 3px 16px rgba(139, 0, 0, 0.3);
    display: block;
}

#btnTop:hover img {
    opacity: 0.85;
    transform: scale(1.08);
    transition: all 0.2s;
}

/* ---- 刷新按钮 ---- */
.refresh {
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 50%;
    box-sizing: border-box;
    border: 2px solid rgba(255, 200, 200, 0.6);
    background: rgba(139, 0, 0, 0.9);
    backdrop-filter: blur(4px);
    position: fixed;
    right: 12px;
    bottom: 60px;
    z-index: 99;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(139, 0, 0, 0.4);
    transition: all 0.2s;
}

.refresh:hover {
    transform: scale(1.1);
    background: rgba(139, 0, 0, 1);
}

/* ---- 悬浮快捷操作 ---- */
.float-tools {
    position: fixed;
    right: 12px;
    bottom: 70px;
    z-index: 120;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.float-btn {
    width: 52px;
    height: 52px;
    padding: 0;
    border: 2px solid rgba(255, 215, 215, 0.72);
    border-radius: 50%;
    color: #fff;
    background: radial-gradient(circle at 34% 24%, #d94c4c 0%, #a71919 58%, #7a0000 100%);
    box-shadow: 0 4px 18px rgba(139, 0, 0, 0.34);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.05;
    text-align: center;
    transition: transform 0.18s, opacity 0.18s;
}

.float-btn:hover {
    transform: scale(1.07);
}

.float-top {
    display: flex;
    border: none;
    background: transparent;
    box-shadow: none;
}

.float-top.is-visible {
    display: flex;
}

.float-top img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

/* ---- 弹层 ---- */
.tango { display: none; }

/* ---- 页脚 ---- */
div.foot {
    background: #f5f5f5;
    color: #888;
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
    border-top: 3px solid #cc1a1a;
    font-size: 13px;
    height: auto;
    line-height: 1.8;
}

div.foot a { color: #cc1a1a !important; font-weight: 600; }
div.foot a:hover { color: #8b0000 !important; }

/* ---- font 标签兼容覆盖 ---- */
font[color="#FFFFFF"] { color: #333; }
font[color="#FF0000"], font[color="#ff0000"] { color: #cc1a1a; }
font[color="#00FF00"], font[color="#00ff00"] { color: #1a6b30; }
font[color="#0000FF"], font[color="#0000ff"] { color: #1e3c9a; }
font[color="#FFFF00"], font[color="#ffff00"] { color: #c9a84c; }

/* ---- 滚动条美化 ---- */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: rgba(204, 26, 26, 0.06); }
::-webkit-scrollbar-thumb { background: rgba(139, 0, 0, 0.35); border-radius: 2px; }

/* ============================================
   手机端响应式
   ============================================ */
@media screen and (max-width: 640px) {
    body {
        padding: 0 4px 80px;
    }

    .lanmu {
        grid-template-columns: repeat(4, 1fr);
        gap: 5px;
    }

    .lanmu a {
        font-size: 12px;
        padding: 8px 2px;
    }

    .lanmu-container {
        padding: 6px;
    }

    .box,
    .box.pad {
        margin: 6px 0;
        border-radius: 2px;
    }

    .list-title {
        font-size: 15px;
        height: 44px;
    }

    .qxtable th {
        font-size: 13px;
        padding: 8px 4px;
    }

    .qxtable td {
        font-size: 12px;
        padding: 8px 4px;
    }

    .qxtable.yxym td                  { font-size: 11px; }
    .qxtable.yxym tr td:nth-child(2)  { font-size: 12px; }

    .ptsxtable th { font-size: 13px; padding: 9px 4px; }
    .ptsxtable td { font-size: 12px; padding: 8px 4px; }

    .ten-table .ten-head th {
        font-size: 13px;
        padding: 9px 4px;
    }

    .prediction-head-cols th,
    .qxtable .prediction-head-cols th,
    .ptsxtable .prediction-head-cols th,
    .ten-table .prediction-head-cols th {
        height: 58px;
        padding: 7px 3px;
        font-size: 15px;
        line-height: 1.2;
    }

    .prediction-head-cols .th-brand {
        font-size: 0.68em;
        margin-bottom: 4px;
    }

    .prediction-title-bar,
    .prediction-title-cell {
        min-height: 58px;
        padding: 8px 3px !important;
        font-size: 18px !important;
    }

    .prediction-note {
        font-size: 14px;
        padding: 10px 6px;
    }

    .prediction-body-table td {
        font-size: 13px;
        padding: 10px 3px;
    }

    .pter-table td:nth-child(1),
    .xjjs-table td:nth-child(1) {
        width: 22%;
        font-size: 12px;
    }

    .pter-table td:nth-child(2) {
        width: 34%;
        font-size: 14px;
    }

    .pter-table td:nth-child(3) {
        width: 44%;
        font-size: 12px;
    }

    .xjjs-table td:nth-child(2) {
        width: 58%;
        font-size: 14px;
    }

    .xjjs-table td:nth-child(3) {
        width: 20%;
        font-size: 14px;
    }

    .styled-prediction-table td {
        font-size: 15px;
        padding: 10px 3px;
    }

    .styled-prediction-table td:nth-child(3) {
        font-size: 14px;
    }

    .wxjs-number-map-row td {
        padding: 9px 5px !important;
        border-left-width: 3px;
    }

    .wxjs-number-map {
        gap: 5px 9px;
        font-size: 12px;
        line-height: 1.7;
    }

    .element-chip {
        min-width: 26px;
        height: 26px;
        padding: 0 6px;
        border-radius: 5px;
    }

    .wxjs-table td {
        padding: 10px 2px;
        font-size: 13px;
    }

    .wxjs-table td:nth-child(1) {
        width: 16%;
        font-size: 13px;
    }

    .wxjs-table td:nth-child(2) {
        width: 64%;
    }

    .wxjs-table td:nth-child(3) {
        width: 20%;
        font-size: 13px;
    }

    .wxjs-energy-grid {
        max-width: 190px;
        gap: 4px;
    }

    .wxjs-energy-chip {
        min-height: 25px;
        padding: 2px 6px;
        font-size: 12px;
    }

    .wxjs-wang {
        gap: 4px;
        font-size: 12px;
    }

    .wxjs-wang .element-chip,
    .wxjs-table td:nth-child(3) .element-chip {
        min-width: 26px;
        height: 26px;
        padding: 0 5px;
    }

    .wxke-rule-row td {
        padding: 9px 6px 11px !important;
        border-left-width: 3px;
    }

    .wxke-rule {
        font-size: 13px;
        line-height: 1.75;
    }

    .wxke-cycle {
        gap: 4px;
        margin-bottom: 6px;
    }

    .wxke-table td {
        padding: 10px 2px;
        font-size: 13px;
    }

    .wxke-table td:nth-child(1) {
        width: 16%;
        font-size: 13px;
    }

    .wxke-table td:nth-child(2) {
        width: 64%;
    }

    .wxke-table td:nth-child(3) {
        width: 20%;
        font-size: 13px;
    }

    .wxke-content {
        gap: 4px;
    }

    .wxke-content .element-chip,
    .wxke-table td:nth-child(3) .element-chip {
        min-width: 26px;
        height: 26px;
        padding: 0 5px;
    }

    .wxlw-rule-row td {
        padding: 10px 6px 11px !important;
        border-left-width: 3px;
    }

    .wxlw-rule {
        font-size: 13px;
        line-height: 1.75;
    }

    .wxlw-table td {
        padding: 10px 2px;
        font-size: 13px;
    }

    .wxlw-table td:nth-child(1) {
        width: 16%;
        font-size: 13px;
    }

    .wxlw-table td:nth-child(2) {
        width: 64%;
    }

    .wxlw-table td:nth-child(3) {
        width: 20%;
        font-size: 13px;
    }

    .wxlw-content {
        gap: 4px;
    }

    .wxlw-content .element-chip,
    .wxlw-table td:nth-child(3) .element-chip {
        min-width: 26px;
        height: 26px;
        padding: 0 5px;
    }

    .wave-map-row td {
        padding: 9px 6px 10px !important;
        border-left-width: 3px;
    }

    .wave-number-map {
        gap: 5px;
        font-size: 12px;
        line-height: 1.65;
    }

    .wave-map-group {
        gap: 4px;
    }

    .wave-chip {
        min-width: 44px;
        height: 27px;
        padding: 0 6px;
        border-radius: 5px;
    }

    .wave-table td {
        padding: 10px 2px;
        font-size: 13px;
    }

    .wave-table td:nth-child(1) {
        width: 16%;
        font-size: 13px;
    }

    .wave-table td:nth-child(2) {
        width: 64%;
    }

    .wave-table td:nth-child(3) {
        width: 20%;
        font-size: 13px;
    }

    .wave-energy-grid {
        max-width: 150px;
        gap: 5px;
    }

    .wave-energy-chip {
        min-height: 25px;
        padding: 2px 6px;
        font-size: 12px;
    }

    .wave-main {
        gap: 4px;
        font-size: 12px;
    }

    .wave-main .wave-chip,
    .wave-table td:nth-child(3) .wave-chip {
        min-width: 44px;
        height: 27px;
        padding: 0 5px;
    }

    .ww-legend-row td {
        padding: 9px 6px 10px !important;
        border-left-width: 3px;
    }

    .ww-legend {
        gap: 4px 8px;
        font-size: 12px;
        line-height: 1.75;
    }

    .ww-chip {
        min-width: 28px;
        height: 27px;
        padding: 0 6px;
        border-radius: 5px;
    }

    .ww-table td {
        padding: 10px 2px;
        font-size: 13px;
    }

    .ww-table td:nth-child(1) {
        width: 16%;
        font-size: 13px;
    }

    .ww-table td:nth-child(2) {
        width: 64%;
    }

    .ww-table td:nth-child(3) {
        width: 20%;
        font-size: 13px;
    }

    .ww-energy-grid {
        gap: 5px;
    }

    .ww-energy-chip {
        min-height: 27px;
        padding: 2px 7px;
        font-size: 12px;
    }

    .ww-main {
        gap: 4px;
        font-size: 12px;
    }

    .ww-table td:nth-child(3) .ww-chip {
        min-width: 28px;
        height: 27px;
        padding: 0 5px;
    }

    .category-legend-row td {
        padding: 9px 6px 10px !important;
        border-left-width: 3px;
    }

    .category-legend {
        gap: 4px 8px;
        font-size: 12px;
        line-height: 1.75;
    }

    .category-chip {
        min-width: 27px;
        height: 27px;
        padding: 0 6px;
        border-radius: 5px;
    }

    .category-module-table td {
        padding: 10px 2px;
        font-size: 13px;
    }

    .category-module-table td:nth-child(1) {
        width: 16%;
        font-size: 13px;
    }

    .category-module-table td:nth-child(2) {
        width: 64%;
    }

    .category-module-table td:nth-child(3) {
        width: 20%;
        font-size: 13px;
    }

    .category-energy-grid {
        gap: 5px;
    }

    .category-energy-chip {
        min-height: 27px;
        padding: 2px 7px;
        font-size: 12px;
    }

    .category-main {
        gap: 4px;
        font-size: 12px;
    }

    .category-module-table td:nth-child(3) .category-chip {
        min-width: 27px;
        height: 27px;
        padding: 0 5px;
    }

    .simple-note-row td,
    .td-legend-row td {
        padding: 9px 6px 10px !important;
        border-left-width: 3px;
        font-size: 12px;
        line-height: 1.75;
    }

    .qiwei-table td,
    .td-table td,
    .hsds-table td {
        padding: 10px 2px;
        font-size: 13px;
    }

    .qiwei-table td:nth-child(1),
    .td-table td:nth-child(1),
    .hsds-table td:nth-child(1) {
        width: 16%;
        font-size: 13px;
    }

    .qiwei-table td:nth-child(2),
    .td-table td:nth-child(2),
    .hsds-table td:nth-child(2) {
        width: 64%;
    }

    .qiwei-table td:nth-child(3),
    .td-table td:nth-child(3),
    .hsds-table td:nth-child(3) {
        width: 20%;
        font-size: 13px;
    }

    .tail-chip-list {
        gap: 5px;
    }

    .tail-chip {
        width: 27px;
        height: 27px;
        border-radius: 5px;
        font-size: 14px;
    }

    .td-legend {
        gap: 6px 10px;
    }

    .td-chip {
        min-width: 29px;
        height: 27px;
        padding: 0 6px;
        border-radius: 5px;
    }

    .td-energy-grid {
        gap: 5px;
        margin-bottom: 6px;
    }

    .td-energy-chip {
        min-height: 27px;
        padding: 2px 7px;
        font-size: 12px;
    }

    .td-main {
        gap: 4px;
        font-size: 12px;
    }

    .hsds-content {
        font-size: 15px;
    }

    .hsds-table .simple-note-row td {
        padding: 9px 8px !important;
    }

    #sec-sxyw .ten-head th,
    #sec-dxzt .ten-head th,
    #sec-shixiao .ten-head th,
    #sec-jysx .ten-head th,
    #sec-liangbo .ten-head th,
    #sec-jusha7 .ten-head th,
    #sec-sanbandan .ten-head th,
    #sec-dsnb .ten-head th,
    #sec-shajiyiji .ten-head th,
    #sec-shuijinguang .ten-head th {
        padding: 10px 4px;
        font-size: 13px;
    }

    #sec-sxyw .section-legend,
    #sec-dxzt .section-legend,
    #sec-jysx .section-legend,
    #sec-liangbo .section-legend,
    #sec-sanbandan .section-legend,
    #sec-dsnb .section-legend,
    #sec-shajiyiji .section-legend {
        padding: 9px 6px;
        font-size: 12px;
        line-height: 1.8;
    }

    #sec-sxyw .ten-content,
    #sec-dxzt .ten-content,
    #sec-shixiao .ten-content,
    #sec-jysx .ten-content,
    #sec-liangbo .ten-content,
    #sec-jusha7 .ten-content,
    #sec-sanbandan .ten-content,
    #sec-dsnb .ten-content,
    #sec-shajiyiji .ten-content,
    #sec-shuijinguang .ten-content {
        font-size: 13px;
        line-height: 1.85;
    }

    #sec-shixiao .ten-content {
        font-size: 16px;
    }

    #sec-dsnb .ten-content,
    #sec-shajiyiji .ten-content {
        font-size: 15px;
        line-height: 1.8;
    }

    #sec-jysx .ten-content {
        gap: 5px 7px;
        font-size: 12px;
    }

    .jy-pill {
        min-width: 108px;
        min-height: 29px;
        padding: 3px 7px;
        border-radius: 12px;
    }

    #sec-liangbo .ten-content span {
        min-width: 38px;
        padding: 2px 5px;
    }

    #sec-sxyw .ten-result,
    #sec-dxzt .ten-result,
    #sec-shixiao .ten-result,
    #sec-jysx .ten-result,
    #sec-liangbo .ten-result,
    #sec-jusha7 .ten-result,
    #sec-sanbandan .ten-result,
    #sec-dsnb .ten-result,
    #sec-shajiyiji .ten-result,
    #sec-shuijinguang .ten-result {
        font-size: 12px;
    }

    .jqys-table .section-legend,
    .jmxc-table .section-legend,
    .sanguozhi-table .section-legend {
        font-size: 14px;
        line-height: 1.65;
        padding: 8px 4px;
        gap: 2px 7px;
    }

    .legend-sep {
        font-size: 12px;
    }

    .baxi-table td,
    .liuxiao-table td {
        font-size: 16px;
    }

    .kill-table td {
        font-size: 14px;
        padding: 10px 3px;
    }

    .kill-table td:nth-child(1) {
        font-size: 13px;
    }

    .kill-table td:nth-child(3) {
        font-size: 14px;
    }

    .santou-table td {
        font-size: 14px;
        padding: 10px 3px;
    }

    .santou-table td:nth-child(1) {
        font-size: 13px;
    }

    .santou-table td:nth-child(3) {
        font-size: 14px;
    }

    .jxjm-table td {
        font-size: 14px;
        padding: 8px 2px;
    }

    .jxjm-table td:nth-child(1) {
        width: 28%;
    }

    .jxjm-table td:nth-child(2) {
        width: 46%;
    }

    .jxjm-table td:nth-child(3) {
        width: 26%;
    }

    .section-legend {
        font-size: 12px;
        padding: 6px 8px;
    }

    .ten-table .ten-qi,
    .ten-table .ten-result {
        font-size: 11px;
        padding: 6px 3px;
    }

    .ten-table .ten-content {
        font-size: 12px;
        padding: 6px 4px;
    }

    .bizhong table th,
    .bizhong table td {
        font-size: 13px;
        padding: 8px 6px;
    }

    .bizhong-btn { font-size: 13px; }

    .bizhong-card-grid,
    .bizhong-media-strip {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 10px;
    }

    .bizhong-recommend-head {
        padding: 13px 10px 11px;
    }

    .bizhong-recommend-head strong {
        font-size: 20px;
    }

    .bizhong-feature-card,
    .bizhong-media-card {
        min-height: 0;
        padding: 10px;
    }

    .float-tools {
        right: 8px;
        bottom: 72px;
        gap: 8px;
    }

    .float-btn,
    .float-top img {
        width: 48px;
        height: 48px;
        font-size: 14px;
    }

    #table32 td {
        font-size: 12px;
        padding: 8px 4px;
    }

    .news-box        { height: 40px; padding: 0 8px; }
    .news-title      { font-size: 13px; }
    #marqueeText     { font-size: 13px; line-height: 40px; }
    .txtMarquee-left { height: 40px; line-height: 40px; }
    .marquee-wrapper { height: 40px; }
}

@media screen and (max-width: 360px) {
    .lanmu { gap: 4px; }
    .lanmu a { font-size: 11px; padding: 7px 2px; }
}

/* ---- 入场动画 ---- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.box { animation: fadeInUp 0.3s ease both; }

/* 无动画模式（kjapi.html 页面加载 / 切换标签） */
.no-drop .red   { animation: fireGlow  1.8s ease-in-out infinite; }
.no-drop .green { animation: greenGlow 2.2s ease-in-out infinite; }
.no-drop .blue  { animation: blueGlow  2.2s ease-in-out infinite; }
.no-drop .haoma { animation: none; }
.no-drop .red + .font,
.no-drop .green + .font,
.no-drop .blue + .font { animation: none; opacity: 1; transform: none; }

/* ======== 输尽光玄机（红色主题） ======== */
#sec-shuijinguang .ten-head th { background: linear-gradient(135deg, #6b1212 0%, #9c1c1c 100%); }
#sec-shuijinguang .ten-content { font-size: 13px; line-height: 1.9; }

/* ======== Footer ======== */
.site-footer {
  text-align: center;
  padding: 20px 12px 24px;
  font-size: 13px;
  color: #f5c518;
  background: linear-gradient(135deg, #8b0000 0%, #cc1a1a 60%, #a00000 100%);
  border-top: 2px solid #c9a84c;
  margin-top: 16px;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.sec-hidden { display: none !important; }

/* ---- 指定栏目字号微调 ---- */
.qixiao-table td {
    font-size: 21px;
}

.qixiao-zodiacs {
    max-width: 5.4em;
    font-size: 22px;
    line-height: 1.45;
}

.qixiao-table td:last-child {
    font-size: 20px;
}

.jmxc-table .section-legend,
.sanguozhi-table .section-legend {
    font-size: 19px;
}

.jmxc-table .styled-prediction-content,
.sanguozhi-table .styled-prediction-content {
    font-size: 21px;
    line-height: 1.55;
}

.jmxc-table td,
.sanguozhi-table td {
    font-size: 20px;
}

@media screen and (max-width: 480px) {
    .qixiao-table td {
        font-size: 20px;
        padding: 14px 3px;
    }

    .qixiao-zodiacs {
        max-width: 5.2em;
        font-size: 21px;
    }

    .qixiao-table td:last-child {
        font-size: 18px;
    }

    .jmxc-table .section-legend,
    .sanguozhi-table .section-legend {
        font-size: 18px;
    }

    .jmxc-table .styled-prediction-content,
    .sanguozhi-table .styled-prediction-content {
        font-size: 19px;
    }

    .jmxc-table td,
    .sanguozhi-table td {
        font-size: 18px;
    }
}

/* ---- 指定杀类栏目预测文本放大 ---- */
.jsyt-table .styled-prediction-content,
.jsyx-table .styled-prediction-content,
.jsex-table .styled-prediction-content,
.jqys-table .styled-prediction-content {
    font-size: 21px;
    line-height: 1.55;
    font-weight: 900;
}

.jsyt-table .styled-prediction-content span,
.jsyx-table .styled-prediction-content span,
.jsex-table .styled-prediction-content span,
.jqys-table .styled-prediction-content span {
    font-size: 1.08em;
}

#sec-sxyw .ten-content,
#sec-dsnb .ten-content,
#sec-shajiyiji .ten-content,
#sec-jysx .ten-content {
    font-size: 20px;
    line-height: 1.75;
    font-weight: 900;
}

#sec-sxyw .ten-content span,
#sec-dsnb .ten-content span,
#sec-shajiyiji .ten-content span,
#sec-jysx .ten-content span {
    font-size: 1.08em;
}

@media screen and (max-width: 480px) {
    .jsyt-table .styled-prediction-content,
    .jsyx-table .styled-prediction-content,
    .jsex-table .styled-prediction-content,
    .jqys-table .styled-prediction-content {
        font-size: 19px;
        line-height: 1.5;
    }

    #sec-sxyw .ten-content,
    #sec-dsnb .ten-content,
    #sec-shajiyiji .ten-content,
    #sec-jysx .ten-content {
        font-size: 18px;
        line-height: 1.65;
    }
}
