@charset "utf-8";
/* 天机网皮肤补充样式（目标站没有、本站渲染必需：表格/盈亏条/开奖球/图库网格） */

.page { width: 100%; max-width: 720px; margin: 0 auto; }

/* ---------- 栏目表：资料行 ---------- */
.tj-table { width: 100%; border-collapse: collapse; background: #fff; table-layout: fixed; }
.tj-table td, .tj-table th {
    border: 1px solid #0b5b2b;
    padding: 4px 3px;
    text-align: center;
    font-weight: 700;
    color: #000;
    font-size: 15px;
    line-height: 1.6;
    word-break: break-all;
}
.tj-table th { background: #0a6b32; color: #ff0; font-size: 15px; }
.tj-table tr:nth-child(even) td { background: #f4fbf6; }
.tj-table .td, .tj-table .td1, .tj-table .td2, .tj-table .td3 { font-size: 15px; }
.tj-table .td2 { color: #0000cc; }

/* 资料原文里的老类名（gcj/*.js 的表格）兼容 */
table.ptyx, table.yxym { width: 100%; border-collapse: collapse; background: #fff; }
table.ptyx th, table.yxym th { background: #0a6b32; color: #ff0; font-weight: 700; padding: 6px 2px; font-size: 15px; }
table.ptyx td, table.yxym td { border: 1px solid #0b5b2b; padding: 4px 3px; text-align: center; font-weight: 700; }
table.yxym .td1 { text-align: right; }
table.yxym .td2 { color: #0000cc; }
table.yxym .td3 { color: #c00; }

/* ---------- 盈亏统计条 ---------- */
.tj-stats {
    display: block;
    padding: 5px 6px;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
    color: #ff0;
    background: #043d1c;
    border-top: 1px solid #000;
    font-weight: 700;
}
.tj-stats.down { color: #ffb3b3; }
.tj-mini { color: #ff0; font-size: 12px; margin-left: 4px; font-weight: 400; }
.tie-con ul li a .ci { color: #c00; }

/* ---------- 更多 / 详情导航 ---------- */
.tj-more { background: #fff; text-align: right; padding: 4px 8px; font-size: 13px; }
.tj-more a { color: #0a6b32; font-weight: 700; }
.tj-tit-more { float: right; font-size: 13px; color: #ff0; margin-right: 8px; font-weight: 400; }
.tj-post-nav { display: flex; justify-content: space-between; padding: 10px 4px 14px; font-size: 14px; color: #0a6b32; font-weight: 700; }
.tj-post-nav a { color: #0a6b32; }

/* ---------- 开奖块 ---------- */
.tj-kj { background: #fff; padding: 6px; }
.tj-kj-head { display: flex; justify-content: space-between; align-items: center; font-size: 15px; font-weight: 700; color: #043d1c; border-bottom: 1px dashed #9cc7aa; padding-bottom: 5px; }
.tj-kj-head a { color: #0a6b32; font-size: 13px; }
.tj-balls { display: flex; justify-content: center; gap: 6px; padding: 10px 0 6px; flex-wrap: wrap; }
.tj-ball { width: 44px; height: 44px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; font-weight: 700; box-shadow: inset 0 -3px 6px rgba(0, 0, 0, .35), 0 2px 4px rgba(0, 0, 0, .25); }
.tj-ball b { font-size: 17px; line-height: 1; }
.tj-ball em { font-size: 10px; font-style: normal; line-height: 1.2; }
.tj-ball.red { background: radial-gradient(circle at 30% 25%, #ff7b7b, #c40000); }
.tj-ball.blue { background: radial-gradient(circle at 30% 25%, #7ea6ff, #0033a8); }
.tj-ball.green { background: radial-gradient(circle at 30% 25%, #7bdc9a, #007a36); }
.tj-ball.special { border: 3px solid #ffd54f; box-shadow: 0 0 10px #ffd54f; }
.tj-kj-empty { text-align: center; padding: 14px 0; color: #666; font-size: 14px; }
.tj-kj-foot { text-align: center; font-size: 13px; color: #043d1c; border-top: 1px dashed #9cc7aa; padding-top: 5px; }
.tj-special { color: #c00; }
.tj-history td { font-size: 13px; }

/* ---------- 图库 ---------- */
.tj-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; background: #fff; }
.tj-gallery figure { margin: 0; background: #fff; border: 1px solid #cfe3d5; }
.tj-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain; background: #f7fbff; } /* FULLPOSTER：整张资料图，不裁条 */
.tj-gallery figcaption { font-size: 12px; line-height: 1.4; padding: 3px 2px; color: #043d1c; text-align: center; font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tj-gallery figcaption span { color: #c00; }
.tj-pic { background: #fff; text-align: center; padding: 4px; }
.tj-pic img { max-width: 100%; height: auto; }

/* ---------- 全年资料三列链接 ---------- */
.tj-link-table { width: 100%; border-collapse: collapse; background: #fff; }
.tj-link-table td { border: 1px solid #0b5b2b; text-align: center; padding: 8px 2px; font-size: 14px; font-weight: 700; }
.tj-link-table td a { display: block; color: #043d1c; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* ---------- 域名表（目标站内联样式搬过来） ---------- */
.new-table1 th { border: solid 1px #aaa; font-size: 15px; font-weight: 700; line-height: 25px; text-align: center; background: #fff; padding: 2px; }
.new-box { margin: 0 !important; }
.web1, .web2 { font-weight: 700; font-size: 20px; color: #f00; }
.webred { color: #f00; background: #ff0; }

/* ---------- 生肖表 ---------- */
.tj-zodiac td { font-size: 13px; text-align: left; padding-left: 6px; }

/* ---------- 移动端 ---------- */
@media screen and (max-width: 720px) {
    .tj-table td, .tj-table th { font-size: 13px; }
    .tj-ball { width: 38px; height: 38px; }
    .tj-ball b { font-size: 15px; }
    .tj-gallery img { height: auto; } /* FULLPOSTER */
}

/* ---------- 开奖横幅（澳彩 + 港彩 两条 130px 条） ---------- */
.tj-kj-strips { background: #fff; }
.tj-kj-frame { display: block; width: 100%; height: 130px; border: 0; }
.tj-kj-frame:not(:last-child) { border-bottom: 1px dashed #ccc; }
.tj-kj-note { background: #043d1c; color: #ff0; font-size: 12px; line-height: 26px; text-align: center; padding: 0 4px; }
.tj-kj-note a { color: #ff0; text-decoration: underline; }

/* ---------- 66px 悬浮开奖栏（照目标站 kkaij 条一比一：球图 + 号码 + 生肖） ---------- */
#kkf { height: 66px; background: #fff; overflow: hidden; }
.kkf-in { display: flex; align-items: center; height: 66px; padding: 5px 0; box-sizing: border-box; background: #fff; color: #000; font-family: '微软雅黑', Arial, sans-serif; }
.kkf-tit { width: 66px; flex: none; text-align: center; padding: 0 5px; }
.kkf-tit h3 { font-size: 13px; font-weight: 700; line-height: 1.25; }
.kkf-refresh { display: inline-block; margin: 1px 0; padding: 0 5px; height: 18px; line-height: 18px; color: #fff; font-size: 12px; border-radius: 2px; background: #e71203; cursor: pointer; }
.kkf-tit a p { margin-top: 1px; font-size: 12px; line-height: 16px; font-weight: 700; background: #ff0; color: #f00; }
.kkf-con { display: flex; flex: 1; align-items: center; justify-content: space-around; }
.kkf-item { flex: 1; text-align: center; }
.kkf-num { display: inline-block; width: 40px; height: 37px; line-height: 37px; font-size: 20px; font-weight: 700; text-align: center; background-size: 100% 100%; background-repeat: no-repeat; }
.kkf-num.red { color: #e71203; }
.kkf-num.blue { color: #0033cc; }
.kkf-num.green { color: #00800a; }
.kkf-z { margin-top: 1px; font-size: 13px; line-height: 1.2; color: #666; }
.kkf-empty { text-align: center; line-height: 66px; color: #666; font-size: 13px; }
.wave-red { color: #c00; }
.wave-blue { color: #0033cc; }
.wave-green { color: #067a38; }
