/* ============================================================
           完整样式 - 保留您现有的UI效果
           ============================================================ */

        /* ===== 全局重置 ===== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background: #edeff0;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        }

        .home-container {
            max-width: 720px;
            margin: 0 auto;
            min-height: 100vh;
            background: #edeff0;
            height: 100%;
            width: 100%;
            box-sizing: border-box;
            padding-top: 44px;
        }

        .main {
            max-width: 720px;
            width: 100%;
            margin: 0 auto;
        }

        /* ============================================================
           1. 顶部导航 - 您原有的蓝色样式
           ============================================================ */
        .header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            position: fixed;
            width: 100%;
            max-width: 720px; /*电脑版宽度*/
            top: 0px;
            z-index: 99;
            border-bottom-left-radius: 4px;
            border-bottom-right-radius: 4px;
            overflow: hidden;
            background-color: #2161dd;
            height: 44px;
            padding: 0 10px;
        }

            .header .logo img {
                width: 200px;
                height: 40px;
                margin-left: 10px;
            }

            .header a {
                display: flex;
                flex-direction: column;
                align-items: center;
                color: #fff;
                margin-right: 10px;
                text-decoration: none;
                font-size: 12px;
            }

                .header a img {
                    width: 24px;
                    height: 24px;
                }

        /* ===== 开奖区域 .boxkj 样式优化 ===== */
        .boxkj {
            background: #fff;
            padding: 12px 15px;
            margin-top: 5px;
            border-radius: 12px;
            border: 1px solid #1989fa;
            box-shadow: 0 2px 8px rgba(25, 137, 250, 0.1);
        }

        /* 彩种切换栏 - 优化 */
        .tab2 {
            display: flex;
            gap: 6px;
            /*padding: 6px 0 12px 0;*/
            background: #fff;
            border-bottom: 1px solid #1989fa;
            /*margin-bottom: 10px;*/
        }

            .tab2 .menu {
                flex: 1;
                text-align: center;
                padding: 6px 0;
                background: #f5f6fa;
                border-radius: 6px;
                cursor: pointer;
                font-size: 13px;
                font-weight: 500;
                color: #333;
                transition: all 0.3s ease;
            }

                .tab2 .menu.active {
                    background: #2161dd;
                    color: #fff;
                    font-weight: bold;
                    box-shadow: 0 2px 8px rgba(33, 97, 221, 0.3);
                }

                .tab2 .menu:active {
                    transform: scale(0.95);
                }

        /* 期号 + 倒计时 + 历史记录 */
        .kjbt {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 4px 0 8px 0;
            gap: 6px;
            flex-wrap: nowrap;
            white-space: nowrap;
        }

            .kjbt .kjjg h2 {
                font-weight: 400;
                font-size: 16px;
                margin: 0;
                padding: 0;
                white-space: nowrap;
            }

                .kjbt .kjjg h2 span {
                    color: #E71607;
                    font-weight: bold;
                    font-size: 18px;
                }

        .kj-djs {
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 13px;
            flex-shrink: 1;
            min-width: 0;
            white-space: nowrap;
        }

            .kj-djs .label {
                white-space: nowrap;
                color: #000;
            }

            .kj-djs .van-count-down {
                color: #E71607;
                font-weight: bold;
                font-size: 16px;
                white-space: nowrap;
            }

        .kjbt a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            font-size: 12px;
            color: #2161dd;
            background: #f0f5ff;
            padding: 4px 12px;
            border-radius: 4px;
            flex-shrink: 0;
            white-space: nowrap;
            height: 28px;
            border: 1px solid #d6e4ff;
            transition: all 0.2s;
        }

            .kjbt a:active {
                background: #d6e4ff;
            }

        /* ⭐ 号码球 - 优化间距和样式 */
        .ball {
            display: flex;
            justify-content: space-around;
            align-items: center;
            /*padding: 12px 4px 8px 4px;
            min-height: 80px;*/
            gap: 6px;
        }

            .ball .boll-box {
                flex: 1;
                display: flex;
                flex-direction: column;
                align-items: center;
                min-width: 0;
            }

                /* 号码球 - 图片背景 */
                .ball .boll-box strong {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    width: 46px;
                    height: 46px;
                    font-size: 20px;
                    font-weight: 700;
                    color: #ffffff;                    
                    background-size: 100% 100%;
                    background-repeat: no-repeat;
                    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
                    background-image: url(static/images/default.png);
                }

                    .ball .boll-box strong .num {
                        position: relative;
                        top: -2px;
                        font-size: 18px;
                        font-weight: 700;
                    }

                    /* 三种颜色球 - 图片 */
                    .ball .boll-box strong.red {
                        background-image: url(static/images/hong.png);
						background: red;
                    }

                    .ball .boll-box strong.green {
                        background-image: url(static/images/lv.png);
						background: green;
                    }

                    .ball .boll-box strong.blue {
                        background-image: url(static/images/lan.png);
						background: blue;
                    }

                .ball .boll-box p {
                    padding-top: 4px;
                    font-size: 14px;
                    text-align: center;
                    color: #555;
                }

                    .ball .boll-box p b {
                        opacity: 0.4;
                        margin: 0 1px;
                    }

        /* 下期信息 + 刷新 */
        .kjrq {
             padding: 10px 0 4px 0;
            text-align: center;
            font-size: 14px;
            color: #333;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 6px;
            flex-wrap: nowrap;
            overflow-x: auto;
           /* border-top: 1px solid #dcdee0;*/
            /*margin-top: 6px;*/
        }

            .kjrq .period {
                color: #E71607;
                font-weight: bold;
            }

            .kjrq .time {
                color: #333;
            }

            .kjrq .week {
                color: #1989fa;
                font-size: 12px;
            }

            /* 开奖区域刷新按钮 - 优化 */
            .kjrq .kj-refresh-btn {
                color: #ee0a24;
                cursor: pointer;
                margin-left: 10px;
                font-weight: 500;
                flex-shrink: 0;
                font-size: 13px;
                padding: 2px 10px;
                border-radius: 4px;
                background: #f0f5ff;
                border: 1px solid #d6e4ff;
                transition: all 0.2s;
            }

                .kjrq .kj-refresh-btn:active {
                    background: #d6e4ff;
                    transform: scale(0.95);
                }

        /* ============================================================
           3. tool-box (来自 index.vue)
           ============================================================ */
        .tool-box {
            background-color: #f1f1f1;
            padding-bottom: 1px;
        }

        .tool-help {
            display: flex;
            padding: 6px;
            gap: 5px;
        }

            .tool-help a {
                display: flex;
                justify-content: center;
                flex: 1;
                height: 55px;
                background: #fff;
                border-radius: 11px 11px 0px 0px;
                text-decoration: none;
                align-items: center;
            }

                .tool-help a img {
                    width: 52px;
                    height: 55px;
                }

                .tool-help a span {
                    display: flex;
                    align-items: center;
                    height: 55px;
                    color: #333;
                    font-size: 12px;
                }

        .tool-lottle {
            margin: 0 6px 6px;
        }

            .tool-lottle .tab {
                display: flex;
                gap: 8px;
            }

                .tool-lottle .tab .menu {
                    flex: 1;
                    text-align: center;
                    padding: 8px 0;
                    background: #fff;
                    border-radius: 5px;
                    cursor: pointer;
                    font-size: 14px;
                    font-weight: 500;
                }

                    .tool-lottle .tab .menu.active {
                        background: #3d9c42;
                        color: #fff;
                        font-weight: bold;
                    }

        /* ============================================================
           4. 底部导航 (来自 index.vue .subnav)
           ============================================================ */
        .subnav {
            background: rgba(255, 255, 255, 0.95);
            display: flex;
            justify-content: space-around;
            padding: 15px 10px;
            margin: 8px 3px;
            border-radius: 20px;
        }

            .subnav .nav-item {
                display: flex;
                flex-direction: column;
                align-items: center;
                cursor: pointer;
                flex: 1;
                text-decoration: none;
            }

                .subnav .nav-item img {
                    width: 60px;
                    height: 60px;
                    object-fit: contain;
                }

            .subnav .nav-text span {
                font-size: 16px;
                font-weight: bold;
                color: #333;
                margin-top: 4px;
            }

        /* ============================================================
           5. 公告栏
           ============================================================ */
        .nc-noticebar {
            margin: 8px 3px;
            border-radius: 8px;
        }

            .nc-noticebar .van-notice-bar {
                border-radius: 5px;
                padding-left: 10px;
                display: flex;
                align-items: center;
            }

            .nc-noticebar .notice-icon {
                width: 24px;
                height: 24px;
                vertical-align: middle;
            }

            .nc-noticebar .notice-label {
                color: #fff;
                font-weight: bold;
                font-size: 16px;
                margin-left: 5px;
                margin-right: 10px;
            }

        /* ============================================================
           6. 寻宝标签
           ============================================================ */
        .custom-nav-wrapper {
            padding: 8px 12px;
        }

        .custom-nav2-label {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 8px;
            margin: 0;
            padding: 0;
            list-style: none;
        }

            .custom-nav2-label li {
                display: block;
            }

                .custom-nav2-label li a {
                    display: block;
                    font-size: 14px;
                    font-weight: bold;
                    text-align: center;
                    padding: 10px 4px;
                    background: #e7e7e7;
                    border-radius: 8px;
                    color: #422923;
                    text-decoration: none;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                }

                    .custom-nav2-label li a:active {
                        background-color: #d5d5d5;
                    }

        /* ============================================================
           7. 内容区 - cont2-box (来自 index.vue)
           ============================================================ */
        .home-content {
            padding: 0 3px;
        }

        .cont2-box {
            margin: 0 0 6px 0;
            background: #fff;
            border-radius: 10px;
            overflow: hidden;
            border: 1px solid rgba(111, 81, 96, 0.3);
        }

            .cont2-box .title {
                background-color: #2a6be8 !important;
                font-weight: 700;
                color: rgb(255, 255, 0);
                font-size: 24px;
                text-align: center;
                margin: 0;
                padding: 5px 0;
                border-bottom: 1px solid rgba(111, 81, 96, 0.3);
            }

            .cont2-box a {
                display: flex;
                align-items: center;
                justify-content: center;
                border-bottom: 0.5px solid #e5e5e5;
                font-size: 16px;
                padding: 8px 10px;
                color: #2161dd;
                text-decoration: none;
                background: #ceebd629;
            }

                .cont2-box a:last-child {
                    border-bottom: none;
                }

            .cont2-box table {
                width: 100%;
                border-collapse: collapse;
            }

                .cont2-box table td {
                    padding: 8px 10px;
                    word-break: break-all;
                }

                .cont2-box table p {
                    margin: 4px 0;
                    font-size: 15px;
                    line-height: 1.8;
                }

        /* ============================================================
           8. 内容区 - cont3-box (来自 index.vue)
           ============================================================ */
        .cont3-box {
            width: 100%;
            margin: 0 0 6px 0;
            background: #fff;
            border-radius: 10px;
            overflow: hidden;
            border: 1px solid rgba(111, 81, 96, 0.3);
        }

            .cont3-box .title {
                background-color: #8bc34a !important;
                font-weight: 400;
                color: rgb(0, 0, 255);
                font-size: 24px;
                text-align: center;
                margin: 0;
                padding: 10px 0;
                text-shadow: 1px 1px 1px #ff5722;
                border-bottom: 1px solid rgba(111, 81, 96, 0.3);
            }

            .cont3-box .list {
                display: flex;
                flex-wrap: wrap;
                margin: 15px 0 10px;
                padding: 0 5px;
            }

                .cont3-box .list a {
                    flex: 0 0 calc(33% - 22px);
                    margin: 0 10px 10px;
                    height: 50px;
                    line-height: 50px;
                    text-align: center;
                    border: solid 1px #ccc;
                    font-size: 16px;
                    border-radius: 5px;
                    color: #000;
                    text-decoration: none;
                    background: #fff;
                    transition: all 0.3s;
                }

                    .cont3-box .list a:hover {
                        background: #f0f8ff;
                        border-color: #8bc34a;
                    }

                    .cont3-box .list a span {
                        display: block;
                        border-radius: 5px;
                        padding: 0 10px;
                    }

        /* ============================================================
           9. 图库 (来自 index.vue .cms-box)
           ============================================================ */
        .cms-box {
            padding: 3px 0;
            margin: 0 3px;
        }

            .cms-box .cms-main {
                width: 100%;
                overflow: hidden;
                border: solid 1px rgba(111, 81, 96, 0.3);
                border-radius: 10px;
                background: #fff;
            }

                .cms-box .cms-main .cms-head {
                    border-top-right-radius: 10px;
                    border-top-left-radius: 10px;
                    border-bottom: solid 1px rgba(111, 81, 96, 0.3);
                    background-image: linear-gradient(#2161dd, #2161dd);
                    display: flex;
                    height: 40px;
                    justify-content: center;
                    align-items: center;
                    gap: 5px;
                    font-size: 22px;
                    font-weight: 700;
                    color: #fff;
                }

                    .cms-box .cms-main .cms-head .title {
                        font-size: 22px;
                        color: #fff;
                    }

                .cms-box .cms-main .cms-list {
                    padding: 0;
                    margin: 0;
                    list-style: none;
                }

                    .cms-box .cms-main .cms-list li {
                        display: flex;
                        align-items: stretch;
                        font-size: 15px;
                        border-bottom: 0.5px solid #1989fa;
                        background: #c4dbf3;
                        min-height: 44px;
                    }

                        .cms-box .cms-main .cms-list li:last-child {
                            border-bottom: none;
                        }

                        .cms-box .cms-main .cms-list li > div {
                           /* padding: 8px 5px;*/
                            display: flex;
                            align-items: center;
                        }

                        .cms-box .cms-main .cms-list li .qh {
                            min-width: 70px;
                            max-width: 130px;
                            text-align: center;
                            font-weight: 700;
                            color: #E71607;
                            flex-shrink: 0;
                            justify-content: center;
                        }

                        .cms-box .cms-main .cms-list li .kj {
                            flex: 1;
                            word-break: break-all;
                            background: #fff;
                            border-left: 1px solid rgba(111, 81, 96, 0.3);
                            border-right: 1px solid rgba(111, 81, 96, 0.3);
                            padding: 8px 10px;
                            min-height: 44px;
                            align-items: center;
                            flex-wrap: wrap;
                            gap: 2px;
                            justify-content: center;
                            text-align: center;
                            background: #c4dbf3;
                        }

                        .cms-box .cms-main .cms-list li .js {
                            width: 70px;
                            text-align: center;
                            font-weight: 700;
                            flex-shrink: 0;
                            justify-content: center;
                        }

                            .cms-box .cms-main .cms-list li .js .cms-green {
                                color: #43a643;
                            }

                            .cms-box .cms-main .cms-list li .js .cms-red {
                                color: #E71607;
                            }

                .cms-box .cms-main .cms-rule {
                    width: 100%;
                    background: #fff;
                    /*padding: 12px 10px;*/
                    font-size: 18px;
                    font-weight: bold;
                    /*line-height: 2;*/
                    text-align: center;
                    display: block !important; /* ← 加上这一行 */
                }

                    .cms-box .cms-main .cms-rule p {
                        margin: 4px 0;
                        text-align: center;
                        display: block !important; /* ← 加上这一行 */
                    }

                    .cms-box .cms-main .cms-rule .rule-red {
                        color: #E71607;
                    }

                    .cms-box .cms-main .cms-rule .rule-blue {
                        color: #1565c0;
                    }

                .cms-box .cms-main .cms-foot {
                    border-bottom-right-radius: 10px;
                    border-bottom-left-radius: 10px;
                    display: flex;
                    height: 36px;
                    justify-content: flex-end;
                    align-items: center;
                    padding: 0 20px;
                    color: rgb(7, 193, 96);
                    background: rgba(7, 193, 96, 0.357);
                    font-weight: 600;
                    font-size: 14px;
                    cursor: pointer;
                }

                    .cms-box .cms-main .cms-foot span:hover {
                        text-decoration: underline;
                    }

                /* FRule=1 占满整行 */
                .cms-box .cms-main .cms-list li .kj-full {
                    flex: 1;
                    word-break: break-all;
                    background: #fff;
                    padding: 8px 10px;
                    min-height: 44px;
                    align-items: center;
                    flex-wrap: wrap;
                    gap: 2px;
                    justify-content: center;
                    text-align: center;
                    border: none;
                }

        .cms-list img {
            width: 100%;
            display: block;
            border-radius: 4px;
        }

        /* ============================================================
           10. 底部声明
           ============================================================ */
        .footer-declaration {
            background: #2161dd;
            padding: 15px 20px;
            text-align: center;
            border-radius: 10px;
            margin: 8px 3px;
            color: #fff;
            
        }

            .footer-declaration .copyright-info {
                font-size: 20px;
                font-weight: bold;
            }

            .footer-declaration .declaration-text {
                font-size: 14px;
                margin-top: 8px;
                opacity: 0.95;
            }

            .footer-declaration .disclaimer-text {
                font-size: 12px;
                opacity: 0.8;
                margin-top: 8px;
                
            }

        /* ============================================================
           11. 返回顶部
           ============================================================ */
        .back-to-top {
            position: fixed;
            bottom: 140px;
            right: 20px;
            z-index: 999;
            cursor: pointer;
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0.8;
            transition: opacity 0.3s;
        }

            .back-to-top:hover {
                opacity: 1;
            }

            .back-to-top img {
                width: 50px;
                height: 50px;
                border-radius: 50%;
                box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
            }

        /* ============================================================
           12. 加载动画
           ============================================================ */
        .custom-loading {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(0, 0, 0, 0.5);
        }

        .custom-loading-content {
            background: rgba(0, 0, 0, 0.8);
            padding: 30px 40px;
            border-radius: 20px;
            text-align: center;
        }

        .custom-loading-spinner {
            width: 50px;
            height: 50px;
            border: 4px solid rgba(255, 255, 255, 0.3);
            border-top: 4px solid #fff;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
            margin: 0 auto;
        }

        .custom-loading-text {
            color: #fff;
            margin-top: 15px;
            font-size: 20px;
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        /* ============================================================
           13. 轮播主图
           ============================================================ */
        .nc-swipe {
            /*border-radius: 12px;
            padding: 0 10px;
            margin-bottom: 6px;*/
            border-radius: 12px;
            padding: 0 10px;
            margin-bottom: 6px;
            margin-top: 10px;
        }

            .nc-swipe .van-swipe {
                /*height: 160px !important;*/
                border-radius: 10px;
                overflow: hidden;
            }

            .nc-swipe .van-swipe__track {
                height: 100% !important;
                display: flex;
            }

            .nc-swipe .van-swipe-item {
                /*height: 160px !important;*/
                border-radius: 10px;
                overflow: hidden;
                flex-shrink: 0;
            }

                .nc-swipe .van-swipe-item a {
                    display: block;
                    width: 100%;
                    height: 100%;
                }

                .nc-swipe .van-swipe-item img {
                    width: 100%;
                    /*height: 100%;
                    object-fit: cover;*/
                }

        /* ============================================================
           14. 分隔线、工具类
           ============================================================ */
        .divider-line {
            width: 100%;
            background: #eee;
            height: 4px;
        }

        .fixed-box {
            position: fixed;
            width: 100%;
            max-width: 720px;
            top: 0;
            z-index: 99;
        }

        /* ============================================================
           15. 响应式
           ============================================================ */
        @media (max-width: 600px) {
            .ball .item .number {
                width: 35px;
                height: 35px;
                line-height: 35px;
            }

                .ball .item .number span {
                    font-size: 14px;
                }

            .ball .item .name {
                font-size: 12px;
            }

            .kjbt .kjjg h2 {
                font-size: 14px;
            }

            .kjbt a {
                font-size: 12px;
                padding: 2px 8px;
                height: 26px;
            }

            .kj-djs {
                font-size: 12px;
            }

                .kj-djs .van-count-down {
                    font-size: 16px;
                }

            .kjrq .xqkj {
                font-size: 12px !important;
            }

                .kjrq .xqkj .van-count-down {
                    font-size: 12px !important;
                }

            .boxkj .tab .menu {
                font-size: 12px;
                line-height: 30px;
            }

            .tool-lottle .tab .menu {
                font-size: 12px;
                padding: 6px 0;
            }

            .cont2-box .title {
                font-size: 18px;
                padding: 4px 0;
            }

            .cont3-box .title {
                font-size: 18px;
                padding: 8px 0;
            }

            .cont3-box .list a {
                flex: 0 0 calc(50% - 22px);
                font-size: 14px;
                height: 44px;
                line-height: 44px;
            }

            .custom-nav2-label {
                grid-template-columns: repeat(3, 1fr);
            }

                .custom-nav2-label li a {
                    font-size: 12px;
                    padding: 8px 2px;
                }
        }

        @media (max-width: 400px) {
            .ball .item .number {
                width: 28px;
                height: 28px;
                line-height: 28px;
            }

                .ball .item .number span {
                    font-size: 12px;
                }

            .ball .item .name {
                font-size: 10px;
            }

            .ball .item .jia {
                font-size: 14px;
                line-height: 28px;
            }

            .cont3-box .list a {
                flex: 0 0 calc(50% - 16px);
                margin: 0 8px 8px;
                font-size: 12px;
                height: 38px;
                line-height: 38px;
            }

            .cont2-box .title {
                font-size: 16px;
            }

            .cont3-box .title {
                font-size: 16px;
            }

            .custom-nav2-label {
                grid-template-columns: repeat(3, 1fr);
                gap: 4px;
            }

                .custom-nav2-label li a {
                    font-size: 11px;
                    padding: 6px 2px;
                }
        }

        @media (max-width: 480px) {
            .nc-swipe .van-swipe {
                /*height: 120px !important;*/
            }

            .nc-swipe .van-swipe-item {
                /*height: 120px !important;*/
            }

            .header .logo img {
                width: 140px;
                height: 30px;
            }

            .header a {
                font-size: 10px;
            }

                .header a img {
                    width: 18px;
                    height: 18px;
                }
        }

         /*生肖图样式*/
        .sdheadtop {
            text-align: center;
            background-image: linear-gradient(#2161dd, #2161dd);
            color: #fff;
            text-shadow: 0px 0px 10px #f00;
            height: 40px;
            line-height: 40px;
            font-size: 15pt;
            font-weight: 700;
        }

 .sx-img-content {
     background: #fff;
     padding: 5px;
 }

     .sx-img-content img {
         width: 100%;
         display: block;
         border-radius: 4px;
     }