/* ==================== 基础重置 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background-color: #f5f0e8;
    color: #333;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==================== 容器 ==================== */
.container {
    max-width: 640px;
    margin: 0 auto;
    background-color: #f5f0e8;
    min-height: 100vh;
    position: relative;
    padding-bottom: 50px;
}

/* ==================== 顶部横幅 ==================== */
.banner-top {
    width: 100%;
    padding: 8px;
    background: linear-gradient(135deg, darkred 0%, darkred 50%, darkred 100%);
}

.banner-img {
    width: 100%;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    min-height: 120px;
}

.banner-img img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.banner-placeholder {
    background: linear-gradient(135deg, #fff 0%, #f8f8f8 100%);
    border: 2px dashed darkred;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-placeholder-text {
    display: none;
    text-align: center;
    padding: 20px;
}

.banner-placeholder .banner-placeholder-text {
    display: block;
}

.banner-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: darkred;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.1);
    letter-spacing: 4px;
}

.banner-domain {
    font-size: 1.2rem;
    color: #333;
    margin-top: 5px;
    font-weight: bold;
}

.banner-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 20px;
    background: darkred;
    color: #fff;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* ==================== 导航图标区 ==================== */
.nav-icons {
    display: flex;
    justify-content: space-around;
    padding: 12px 8px;
    background: #fff;
    border-bottom: 2px solid #e71607;
}

.nav-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.nav-icon-box {
    width: 48px;
    height: 48px;
    border: 2px solid darkred;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 900;
    color: darkred;
    background: #fff;
}

.nav-icon-green {
    background: #2e8b57 !important;
    border-color: #2e8b57 !important;
    color: #fff !important;
    border-radius: 50% !important;
}

.nav-icon-label {
    margin-top: 6px;
    font-size: 0.7rem;
    color: #333;
    text-align: center;
    white-space: nowrap;
}

/* ==================== 红色标题栏 ==================== */
.title-bar {
    background: darkred;
    color: #fff;
    text-align: center;
    padding: 8px;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 4px;
    margin: 8px;
}

/* ==================== 安全提示声明 ==================== */
.security-notice {
    background: linear-gradient(135deg, #660000 0%, #8B0000 100%);
    color: #fff;
    border: 2px solid #FFD700;
    border-radius: 4px;
    margin: 8px;
    padding: 14px;
    text-align: center;
    font-size: 1.05rem;
    font-weight: bold;
    line-height: 1.8;
}

.security-notice .notice-title {
    color: #FFD700;
    font-weight: bold;
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.security-notice .notice-text {
    color: #fff;
    font-weight: bold;
}

.security-notice .notice-highlight {
    color: #FFD700;
    font-weight: bold;
}

/* ==================== 分类标签 ==================== */
.tab-bar {
    display: flex;
    justify-content: space-around;
    padding: 6px 4px;
    gap: 4px;
    position: sticky;
    top: 0;
    z-index: 100;
    background: #f5f0e8;
}

.tab-item {
    flex: 1;
    text-align: center;
    padding: 6px 2px;
    background: darkred;
    color: #fff;
    cursor: pointer;
    border-radius: 15px;
    font-size: 0.75rem;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-item.active {
    background: darkred;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* ==================== 双栏链接列表 ==================== */
.link-section {
    padding: 0 8px;
}

.link-row {
    display: flex;
    border-bottom: 1px solid #ddd;
}

.link-item {
    flex: 1;
    padding: 8px 10px;
    font-size: 0.9rem;
    font-weight: bold;
    text-align: center;
    border-right: 1px solid #ddd;
    transition: background 0.2s;
}

.link-item:last-child {
    border-right: none;
}

.link-item:hover {
    background: rgba(196, 30, 36, 0.05);
}

/* ==================== 全民导航 ==================== */
.nav-collection {
    text-align: center;
    padding: 10px;
    margin: 8px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.nav-collection-text {
    color: #ff6600;
    font-size: 0.85rem;
    font-weight: bold;
}

/* ==================== 开奖结果区 ==================== */

/* 彩票类型Tab - 响应式 */
.lottery-tabs {
    background: #fff;
    display: flex;
    border-bottom: 2px solid #e60012;
    padding: 0 clamp(0.375rem, 2vw, 0.625rem);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.lottery-tabs::-webkit-scrollbar {
    display: none;
}

.lottery-tab {
    padding: clamp(0.5rem, 2.5vw, 0.625rem) clamp(0.625rem, 3vw, 0.9375rem);
    color: #666;
    text-decoration: none;
    font-size: clamp(0.875rem, 4vw, 0.9375rem);
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
}

.lottery-tab.active {
    color: #4cd964;
    font-weight: bold;
}

/* 开奖结果容器 */
.lottery-result-container {
    position: relative;
}

.lottery-result-item {
    display: none;
}

.lottery-result-item:first-child {
    display: block;
}

/* 开奖结果区 */
.result-box {
    background: #fff;
    padding: 0.75rem;
    border-bottom: 1px solid #e0e0e0;
}

/* 香港天天彩 - 澳门六合彩风格 */
.lottery-result-item.new-KJ-TabBox-box,
.new-KJ-TabBox-box {
    font-size: 14px;
    height: 130px;
    box-sizing: border-box;
    color: #333;
    padding: 8px !important;
    margin: 0 !important;
    font-family: 'PingFang SC', 'microsoft yahei', arial, 'helvetica neue', 'hiragino sans gb', sans-serif;
    background: #fff;
    border: none !important;
    overflow: hidden;
}

.new-KJ-TabBox-box a {
    text-decoration: none;
}

.new-KJ-TabBox-box .kj-font-red {
    color: #f00!important;
}

.new-KJ-TabBox-box .new-KJ-TabBox-box-tit {
    display: flex;
    align-items: center;
    height: 17px;
    line-height: 17px;
    font-size: 17px;
    margin: 0;
    padding: 0;
}

.new-KJ-TabBox-box .new-KJ-TabBox-box-tit-l,
.new-KJ-TabBox-box .new-KJ-TabBox-box-tit-m,
.new-KJ-TabBox-box .new-KJ-TabBox-box-tit-r {
    font-size: 16px;
    line-height: 17px;
    color: #333;
    font-weight: 500;
}

.new-KJ-TabBox-box .new-KJ-TabBox-box-tit-m {
    flex: 1;
    text-align: center;
    font-weight: bold;
}

.new-KJ-TabBox-box-con {
    display: flex;
    margin: 8px 0;
    padding: 0;
}

.new-KJ-TabBox-box-con .kj-ball {
    flex: 1;
    width: auto;
    min-width: 40px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 4px;
    margin-right: 5px;
    box-sizing: border-box;
    flex-direction: column;
    padding: 3px 0;
}

.new-KJ-TabBox-box-con .kj-ball:last-child {
    margin-right: 0;
}

.new-KJ-TabBox-box-con .kj-ball:nth-last-child(3) {
    margin-right: 5px;
}

.new-KJ-TabBox-box-con .kj-ball h2 {
    margin: 0;
    padding: 0;
    color: #fff;
    line-height: 20px;
    font-size: 23px;
    font-weight: 900;
    font-family: Tahoma, Geneva, sans-serif;
}

.new-KJ-TabBox-box-con .kj-ball h2 div {
    font-family: Tahoma, Geneva, sans-serif;
    font-weight: 900;
}

.new-KJ-TabBox-box-con .kj-ball .whsx {
    display: inline-block;
    width: auto;
    height: 18px;
    line-height: 18px;
    margin-top: 7px;
    padding: 0 3px;
    border-radius: 2px;
    color: #333;
    font-size: 12px;
    background: #fff;
    font-family: 'PingFang SC', 'microsoft yahei', sans-serif;
    white-space: nowrap;
}

.new-KJ-TabBox-box-con .kj-add {
    display: flex;
    align-items: center;
    margin-right: 8px;
    font-size: 28px;
    font-weight: bold;
}

.new-KJ-TabBox-box-foot {
    display: flex;
    align-items: center;
    font-size: 15px;
}

.new-KJ-TabBox-box-foot-l {
    flex: 1;
}

.new-KJ-TabBox-box-foot-r-sx {
    display: inline-block;
    width: 40px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    color: #fff;
    border-radius: 4px;
    background: #FF9900;
    cursor: pointer;
}

/* 红蓝绿球背景色 */
.new-KJ-TabBox-box-con .kj-ball.bg-red {
    background: #e71607;
}

.new-KJ-TabBox-box-con .kj-ball.bg-blue {
    background: #2389e9;
}

.new-KJ-TabBox-box-con .kj-ball.bg-green {
    background: #1fb61d;
}

.new-KJ-TabBox-box-con .kj-ball.bg-gray {
    background: #999;
}

.new-KJ-TabBox-box-con .kj-ball.bg-gray h2 {
    color: #000;
}

@media screen and (max-width: 650px) {
    .new-KJ-TabBox-box {
        font-size: 15px;
    }

    .new-KJ-TabBox-box-tit,
    .new-KJ-TabBox-box .new-KJ-TabBox-box-tit-l,
    .new-KJ-TabBox-box .new-KJ-TabBox-box-tit-r {
        font-size: 17px;
        line-height: 17px;
        font-weight: 500;
    }
    
    .new-KJ-TabBox-box .new-KJ-TabBox-box-tit-m {
        font-size: 17px;
        line-height: 17px;
        font-weight: bold;
    }

    .new-KJ-TabBox-box-con .kj-ball {
        flex: 1;
        width: auto;
        height: 66px;
        min-width: 40px;
        margin-right: 4px;
        padding: 3px 0;
    }

    .new-KJ-TabBox-box-con .kj-ball:nth-last-child(3) {
        margin-right: 4px;
    }

    .new-KJ-TabBox-box-con .kj-ball h2 {
        font-size: 26px;
        line-height: 26px;
    }

    .new-KJ-TabBox-box-con .kj-ball .whsx {
        margin-top: 4px;
        padding: 0 4px;
        font-size: 13px;
        height: 19px;
        line-height: 19px;
    }

    .new-KJ-TabBox-box-con .kj-add {
        margin-right: 4px;
        font-size: 26px;
    }

    .new-KJ-TabBox-box-foot {
        font-size: 15px;
    }
}

@media screen and (max-width: 450px) {
    .new-KJ-TabBox-box-tit-m .kj-lotto-tit2 span:first-child {
        display:none;
    }
    
    .new-KJ-TabBox-box-tit,
    .new-KJ-TabBox-box .new-KJ-TabBox-box-tit-l,
    .new-KJ-TabBox-box .new-KJ-TabBox-box-tit-r {
        font-size: 16px;
        line-height: 17px;
        font-weight: 500;
    }
    
    .new-KJ-TabBox-box .new-KJ-TabBox-box-tit-m {
        font-size: 16px;
        line-height: 17px;
        font-weight: bold;
    }
    
    .new-KJ-TabBox-box-con .kj-ball {
        height: 62px;
        min-width: 36px;
        margin-right: 3px;
        padding: 3px 0;
    }
    
    .new-KJ-TabBox-box-con .kj-ball:nth-last-child(3) {
        margin-right: 3px;
    }
    
    .new-KJ-TabBox-box-con .kj-ball h2 {
        font-size: 24px;
        line-height: 24px;
    }
    
    .new-KJ-TabBox-box-con .kj-ball .whsx {
        margin-top: 4px;
        padding: 0 2px;
        font-size: 12px;
        height: 18px;
        line-height: 18px;
    }
    
    .new-KJ-TabBox-box-con .kj-add {
        margin-right: 3px;
        font-size: 24px;
    }
}

/* ==================== 红色域名栏 ==================== */
.domain-bar {
    background: darkred;
    color: #fff;
    text-align: center;
    padding: 10px;
    margin: 8px 8px 0;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.domain-bar + .history-section,
.domain-bar + .prediction-section {
    margin-top: 0;
}

.domain-separator {
    color: #ffeb3b;
}

.domain-name {
    color: #ffeb3b;
}

/* ==================== 三组三肖预测 ==================== */
.prediction-section {
    margin: 8px;
    background: #fff;
    border-top: 3px solid #e60012;
    border-radius: 0 0 4px 4px;
    overflow: hidden;
    padding-bottom: 8px;
}

.prediction-title {
    text-align: center;
    padding: 10px;
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}

.prediction-row {
    background: #d9d9d9;
    margin: 4px 8px;
    padding: 8px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: bold;
    color: #333;
    border-radius: 2px;
}

/* ==================== 必中九肖 ==================== */
.nine-zodiac-bar {
    display: flex;
    margin: 0 8px 8px;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    overflow: hidden;
}

.nz-item {
    padding: 10px 4px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nz-period {
    width: 55px;
    border-right: 1px solid #ddd;
    color: #333;
    flex-shrink: 0;
}

.nz-zodiac {
    flex: 1;
    color: #2e8b57;
    font-size: 1rem;
    letter-spacing: 2px;
    white-space: nowrap;
}

.nz-result {
    width: 95px;
    border-left: 1px solid #ddd;
    color: #333;
    flex-shrink: 0;
}

.nz-red {
    color: #e60012;
}

/* ==================== 双波中特 ==================== */
.double-wave-bar {
    margin: 0 8px 8px;
    background: #fff;
    border-bottom: 2px solid #ffcc00;
    padding: 10px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: bold;
    color: #333;
}

.dw-label {
    color: #0066cc;
}

.dw-value {
    color: #2e8b57;
}

.dw-red {
    color: #e60012;
}

/* ==================== 解四不像---单双各四肖 ==================== */
.single-double-table {
    margin: 0 8px 8px;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    overflow: hidden;
    font-size: 0.85rem;
}

.sd-header {
    display: flex;
    background: #ffcc00;
    color: #fff;
    font-weight: bold;
}

.sd-row {
    display: flex;
    border-top: 1px solid #ddd;
}

.sd-cell {
    flex: 1;
    padding: 8px 4px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #ddd;
}

.sd-cell:last-child {
    border-right: none;
}

.sd-green {
    color: #2e8b57;
    font-weight: bold;
}

.sd-red {
    color: #e60012;
}

/* ==================== 36码特围 ==================== */
.code36-table {
    margin: 0 8px 8px;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    overflow: hidden;
    font-size: 0.85rem;
}

.c36-header {
    display: flex;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
    color: #333;
}

.c36-header .c36-numbers {
    color: #333;
}

.c36-row {
    display: flex;
    border-bottom: 1px solid #ddd;
}

.c36-cell {
    padding: 8px 4px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.c36-period {
    width: 60px;
    flex-shrink: 0;
}

.c36-numbers {
    flex: 1;
    flex-direction: column;
    border-left: 2px solid #ffcc00;
    border-right: 2px solid #ffcc00;
    padding: 8px;
    color: #2e8b57;
    font-weight: bold;
    line-height: 1.8;
}

.c36-result {
    width: 60px;
    flex-shrink: 0;
}

.c36-red {
    color: #e60012;
}

/* ==================== 头条男/女肖 ==================== */
.gender-bar {
    margin: 0 8px 8px;
    background: #fff;
    border-bottom: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: bold;
    color: #333;
}

.gd-value {
    color: #e60012;
}

.gd-red {
    color: #e60012;
}

.gd-num {
    color: #333;
}

/* ==================== 头条七尾 ==================== */
.tail-bar {
    margin: 0 8px 8px;
    background: #fff;
    border-bottom: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: bold;
    color: #333;
}

.tail-value {
    color: #e60012;
}

.tail-red {
    color: #e60012;
}

.tail-blue {
    color: #0066cc;
}

/* ==================== 春夏秋冬 ==================== */
.season-bar {
    margin: 0 8px 8px;
    background: #fff;
    border-bottom: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: bold;
    color: #333;
}

.sn-value {
    color: #2e8b57;
}

.sn-red {
    color: #e60012;
}

/* ==================== 神算复式 ==================== */
.divine-bar {
    margin: 0 8px 8px;
    background: #fff;
    border-bottom: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

.divine-title {
    font-size: 0.9rem;
    font-weight: bold;
    color: #2e8b57;
    margin-bottom: 6px;
}

.divine-numbers {
    font-size: 1rem;
    font-weight: bold;
    color: #e60012;
}

/* ==================== 发财计划 ==================== */
.fortune-plan {
    margin: 0 8px 8px;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    overflow: hidden;
}

.fp-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
}

.fp-tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-size: 0.9rem;
    font-weight: bold;
    color: #e60012;
    cursor: pointer;
    background: #fff;
}

.fp-tab.active {
    background: #e8f0fe;
    color: #3366cc;
}

.fp-content {
    padding: 10px;
    font-size: 0.85rem;
    line-height: 1.8;
    color: #3366cc;
}

.fp-tag {
    background: #e60012;
    color: #fff;
    padding: 2px 6px;
    font-size: 0.75rem;
    margin-right: 4px;
}

.fp-result {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-top: 8px;
    font-size: 0.9rem;
    color: #3366cc;
    gap: 2px;
}

.fp-red {
    color: #e60012;
}

.fp-zhong {
    height: 18px;
    margin-left: 2px;
    vertical-align: middle;
}

/* ==================== 高手贴列表 ==================== */
.master-list {
    margin: 8px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #ddd;
    overflow: hidden;
}

.master-item {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #333;
    font-size: 0.8rem;
}

.master-item:last-child {
    border-bottom: none;
}

.master-tag-img {
    height: 20px;
    margin-right: 8px;
    flex-shrink: 0;
    display: block;
}

.zhong-img {
    height: 16px;
    margin-left: 4px;
    vertical-align: middle;
}

.master-title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.master-author {
    color: #999;
    font-size: 0.75rem;
    margin-left: 8px;
    flex-shrink: 0;
}

/* ==================== 历史记录 ==================== */
.history-section {
    margin: 8px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #ddd;
    overflow: hidden;
}

.history-item {
    padding: 8px 10px;
    font-size: 0.8rem;
    border-bottom: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

.history-item:last-child {
    border-bottom: none;
}

.history-item.has-result {
    background: #fff9e6;
}

.history-period {
    color: #0066cc;
    font-weight: bold;
}

.history-type {
    color: #2e8b57;
    font-weight: bold;
}

.history-content {
    color: #333;
}

.history-result {
    color: #ff6600;
    font-weight: bold;
}

/* ==================== 响应式适配 ==================== */
/* 小屏幕手机 */
@media screen and (max-width: 360px) {
    html {
        font-size: 14px;
    }

    .banner-title {
        font-size: 1.6rem;
    }

    .banner-domain {
        font-size: 1rem;
    }

    .tab-item {
        font-size: 0.6rem;
        padding: 5px 1px;
    }

    .lottery-tabs {
        gap: 12px;
        padding: 8px;
    }

    .lottery-tab {
        font-size: 0.75rem;
    }

    .history-item {
        font-size: 0.7rem;
        padding: 6px 8px;
    }

    .domain-bar {
        font-size: 0.8rem;
        padding: 8px;
    }
}

/* 大屏幕手机 */
@media screen and (min-width: 414px) {
    html {
        font-size: 17px;
    }

    .lottery-tab {
        font-size: 1rem;
    }
}

/* 平板 */
@media screen and (min-width: 640px) {
    .container {
        box-shadow: 0 0 20px rgba(0,0,0,0.1);
    }

    .lottery-tab {
        font-size: 1.1rem;
    }
}

/* iPhone 安全区适配 */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .container {
        padding-bottom: calc(20px + env(safe-area-inset-bottom));
    }
}

/* ==================== 网红热图 ==================== */
.hot-images-section {
    margin: 0 8px 8px;
    background: #fff;
    border-radius: 0 0 4px 4px;
    overflow: hidden;
    padding: 8px;
}

.hot-period-bar {
    text-align: center;
    padding: 8px 0 12px;
    font-size: 0.9rem;
    font-weight: bold;
    color: #333;
    border-bottom: 1px dashed #ddd;
    margin-bottom: 10px;
}

.hot-period-num {
    color: darkred;
    font-size: 1.1rem;
    margin: 0 4px;
}

.hot-img-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.hot-img-cell {
    text-align: center;
}

.hot-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid #eee;
    transition: transform 0.15s;
    display: block;
}

.hot-img:active {
    transform: scale(0.96);
}

.hot-img-hint {
    margin-top: 4px;
    font-size: 0.75rem;
    color: #666;
    text-align: center;
    line-height: 1.4;
}

.hot-img-hint .hint-arrow {
    display: block;
    font-size: 1rem;
    margin-bottom: 2px;
}

/* 全屏查看 */
.hot-img-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.hot-img-overlay.active {
    display: flex;
}

.hot-img-overlay img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

/* ==================== 头条挂牌 ==================== */
.gpxl5-section {
    margin: 0 8px 8px;
    background: #fff;
    overflow: hidden;
}

.gpxl5-box {
    border: 2px solid #333;
    text-align: center;
    padding: 8px;
    position: relative;
    min-height: 120px;
}

.gpxl5-box.loading::before {
    content: '加载中...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #999;
    font-size: 0.85rem;
    z-index: 0;
}

.gpxl5-box img {
    position: relative;
    z-index: 1;
}

.gpxl5-box img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 8px;
    background: #f5f5f5;
    min-height: 120px;
}

.gpxl5-text {
    font-size: 0.9rem;
    line-height: 1.8;
    border: 1px solid #333;
    padding: 8px;
}

.gpxl5-line1 {
    color: #2e8b57;
    font-weight: bold;
}

.gpxl5-line2 {
    color: #2e8b57;
    font-weight: bold;
    font-size: 1rem;
}

.gpxl5-line3 {
    color: #0000ff;
    font-weight: bold;
}

.gpxl5-line4 {
    color: #333;
    font-weight: bold;
}

.gpxl5-red {
    color: #e60012;
}

.gpxl5-highlight {
    color: #e60012;
    background: #ffff00;
    padding: 0 2px;
}

.gpxl5-box {
    margin-bottom: 8px;
}

.gpxl5-box:last-child {
    margin-bottom: 0;
}

/* ==================== 生肖图纸 ==================== */
.sx-chart-section {
    margin: 0 8px 8px;
    background: #fff;
    border-radius: 0 0 4px 4px;
    overflow: hidden;
    padding: 8px;
}

.sx-chart-section img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 8px;
}

.sx-chart-section img:last-child {
    margin-bottom: 0;
}

/* ==================== 头条大小/单双 ==================== */
.single-kill-section {
    margin: 0 8px 8px;
    background: #fff;
    border-radius: 0 0 4px 4px;
    overflow: hidden;
}

.single-kill-item {
    display: block;
    padding: 12px 10px;
    font-size: 1rem;
    color: #333;
    text-align: center;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    line-height: 1.5;
}

.single-kill-item:last-child {
    border-bottom: none;
}

.single-kill-period {
    font-weight: bold;
}

.single-kill-blue {
    color: #0066cc;
    font-weight: bold;
}

/* ==================== 头条跑狗 ==================== */
.paogou-section {
    margin: 0 8px 8px;
    background: #fff;
    overflow: hidden;
    padding: 8px;
    position: relative;
    min-height: 120px;
}

.paogou-section.loading::before {
    content: '加载中...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #999;
    font-size: 0.85rem;
    z-index: 0;
}

.paogou-section img {
    position: relative;
    z-index: 1;
}

.paogou-section img {
    width: 100%;
    height: auto;
    display: block;
    background: #f5f5f5;
    min-height: 120px;
}

/* ==================== 综合杀料 ==================== */
.kill-section {
    margin: 0 8px 8px;
    background: #fff;
    border-radius: 0 0 4px 4px;
    overflow: hidden;
}

.kill-row {
    display: flex;
    border-bottom: 1px solid #eee;
}

.kill-row:last-child {
    border-bottom: none;
}

.kill-item {
    flex: 1;
    padding: 10px 4px;
    font-size: 0.75rem;
    color: #333;
    border-right: 1px solid #eee;
    text-align: center;
    line-height: 1.4;
}

.kill-item:last-child {
    border-right: none;
}

.kill-period {
    font-weight: bold;
}

.kill-title {
    color: #e60012;
    font-weight: bold;
}

.kill-title-blue {
    color: #0066cc;
    font-weight: bold;
}

.kill-update {
    height: 14px;
    margin-left: 4px;
    vertical-align: middle;
    display: inline-block;
}

/* ==================== 回到顶部 ==================== */
.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 16px;
    width: 48px;
    height: 48px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    z-index: 999;
    -webkit-tap-highlight-color: transparent;
}

.back-to-top:active {
    background: rgba(0,0,0,0.8);
}

.top-arrow {
    font-size: 14px;
    line-height: 1;
    margin-bottom: 1px;
}

.top-text {
    font-size: 10px;
    line-height: 1;
    font-weight: bold;
}

/* ==================== 版权信息 ==================== */
.footer-copyright {
    text-align: center;
    padding: 16px 8px;
    font-size: 0.75rem;
    color: #999;
    background: #f5f0e8;
}

/* 中奖高亮 */
.highlight-win {
    background: #fff3cd;
    color: darkred;
    padding: 2px 4px;
    border-radius: 4px;
    font-weight: bold;
    box-shadow: 0 1px 3px rgba(139, 0, 0, 0.3);
}

/* 横屏适配 */
@media screen and (orientation: landscape) and (max-height: 500px) {
    .banner-img {
        min-height: 80px;
    }

    .lottery-tabs {
        gap: 16px;
        padding: 6px;
    }
}
