/* ========================
   主容器
======================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

.body {
    width: 100%;
    text-align: center;
    /* background: #4c4650; */
    background: #ededed;
            font-family: -apple-system, BlinkMacSystemFont,
                 "Segoe UI", "Roboto", "Helvetica Neue",
                 Arial, "PingFang SC", "Hiragino Sans GB",
                 "Microsoft YaHei", sans-serif;

}

/* 主开奖板块 */
.main-lottery-section {
    background:#ededed;
    width: 100%;
    margin: 0px auto;
    border-radius: 12px;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 选项卡样式 */
.tab-row {
    width: 100%;
    margin-bottom: 2px;
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    /* background: #3a3a4a; */
    background: #e5e5e5;
    border: 1px solid #ededed;
}

.tab-item {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    cursor: pointer;
    font-size: 14px;
    color: #007d45;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease;
    /*border-right: 1px solid #555;*/
    border-right: 1px solid #ededed;
}

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

.tab-item.active {
    /* background: linear-gradient(135deg, #1d1c21, #4c4650); */
    background: #e5e5e5;
    
    color: #007d45;
    font-weight: bold;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

.tab-item:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
}

.img {
    width: 26px;
    height: 26px;
    vertical-align: middle;
}

/* 开奖内容区域 */
.lottery-content {
    width:100%;
   /* background:#cdb38b;*/
   background:#ededed;
    border-radius: 8px;
    padding: 10px 0px;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.1);
}

/* 倒计时输入框 */
.djs {
    width: 40px;
    height: 22px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(#333, #111);
    border: 1px solid #555;
    border-radius: 4px;
    outline: none;
}

/* 倒计时容器 */
.djs-box {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #228b22;
    font-size: 16px;
    font-weight: bold;
}

/* 标题行 */
.title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 5px;
    margin-bottom: 15px;
}

.span-l {
    text-align: left;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.span-r {
    text-align: right;
    font-size: 14px;
    color: #ee7621;
    cursor: pointer;
    background: rgba(76, 217, 100, 0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.span-r:hover {
    background: rgba(76, 217, 100, 0.2);
    transform: translateY(-1px);
}

/* 开奖球区域 */
.ball-row {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 0px 5px;
    margin-bottom: 10px;
}

.ball-box {
    position: relative;
    width: 12.5%;
    aspect-ratio: 1/1;
    background: #228b22;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.ball-num {
    position: absolute;
    top: 8%;
    left: 6%;
    width: 75%;
    height: 75%;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #333;
    font-weight: bold;
    box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.1);
}

.ball-ring {
    position: absolute;
    right: 10%;
    bottom: 12%;
    width: 29%;
    height: 14%;
    border-radius: 50%;
    background: #fff;
    transform: rotate(-45deg);
    opacity: 0.8;
}

.ball-text {
    width: 12.5%;
    text-align: center;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.text-red {
    text-align: center;
    color: #228b22;
    margin-top: 10px;
    font-size: 15px;
    font-weight: 600;
}

/* 内容切换 */
.section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}





/* ================= 容器 ================= */
.container {
    max-width: 380px;
    margin-top: 15px;
}

/* ================= 表格基础（通用） ================= */
.tbl {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    margin-bottom: 12px;
    /* 注意：这里不再写 table-layout，让两列表格默认自动 */
}

.tbl td {
    border: 1px solid #ccc;
    padding: 6px;
    text-align: center;
    font-size: 16px;
    vertical-align: middle;
    box-sizing: border-box;
}

/* ================= 表头 ================= */
.tbl .hd {
    background: #c8f7c5;
    font-weight: bold;
    color: #1e90ff;
}

/* ================= 两列表格专用（关键修改） ================= */
.tbl.two {
    table-layout: auto; /* 恢复自动布局，让第二列能吃满 */
}

.tbl.two td:first-child {
    width: 1%; 
    white-space: nowrap;
    padding: 6px 12px;
    text-align: center;
}

.tbl.two td:last-child {
    width: auto; /* 自动占满剩余空间 */
}

/* ================= 第一个表专用（12列） ================= */
.tbl-first {
    table-layout: fixed; /* 只有第一个表强制固定布局 */
    font-size: 13px; 
}

.tbl-first td {
    padding: 4px 2px; /* 压缩空间 */
}

/* ================= 颜色 ================= */
.r   { color: #e53935; font-weight: bold; }
.b   { color: #1e88e5; font-weight: bold; }
.g   { color: #43a047; font-weight: bold; }
.gold{ color: #d4af37; font-weight: bold; }
.e   { color: #8d6e63; font-weight: bold; }

/* ================= 背景色 ================= */
.bg-r { background: #ffebee; }
.bg-b { background: #e3f2fd; }
.bg-g { background: #e8f5e9; }
.bg-y { background: #fff8e1; }
.bg-w { background: #f3e5f5; }
.bg-o { background: #fff3e0; }
.bg-e { background: #e8f5e9; }

/* ================= 数字区 ================= */
.nums {
    text-align: left;
    line-height: 1.8;
    word-break: break-word;
}

.txt {
    text-align: left;
    line-height: 2;
}




.logo {
    width: 100%;
    text-align: center;
    overflow: hidden;
    padding: 4px 0;
   /* background: #4c4650;*/
     background: #ededed;
    display: block;
    margin-bottom: 0px;
}

.lg {
    /* height: 60px; */
    height: 90px;
    float: left;
    margin-left: 10px;
}

.lg2 {
    height: 35px;
    float: left;
    margin-left: 10px;
    margin-top:50px;
}

/* 主开奖板块 */
.bt-box {
    width: 100%;
    margin: 0px auto;
    border-radius: 12px;
    margin-top:5px;
}

/* 随机点扩散渐变 */
.bt-box-border {
    width: 100%;
    border-radius: 0;
    padding: 10px 0px;
    overflow: hidden;
    
    /* 多个径向渐变叠加，随机位置 */
    background: 
        radial-gradient(circle at 10% 20%, #27408b, transparent 25%),
        radial-gradient(circle at 90% 10%, #4c4650, transparent 20%),
        radial-gradient(circle at 30% 60%, #393d49, transparent 30%),
        radial-gradient(circle at 70% 90%, #2f4f4f, transparent 15%),
        radial-gradient(circle at 50% 40%, #000000, transparent 35%);
    
    background-color: #424242;
    background-size: 300% 300%;
    animation: randomMove 9s infinite alternate;
}

@keyframes randomMove {
    0% {
        background-position: 0% 0%;
        background-size: 200% 200%;
    }
    33% {
        background-position: 100% 50%;
        background-size: 250% 250%;
    }
    66% {
        background-position: 50% 100%;
        background-size: 300% 300%;
    }
    100% {
        background-position: 100% 100%;
        background-size: 200% 200%;
    }
}

.shadow-text {
    font-size: 20px;
    font-weight: 700;
    color: #eaeaea;
    text-shadow: 
        0 0 1px #d6d6d6,
        0 0 1px #d6d6d6,
        0 0 1px #d6d6d6,
        0 0 1px #d6d6d6,
        0 0 1px #d6d6d6;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

/* 增强立体感的辅助阴影 */
.shadow-text::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    color: #d6d6d6;
    z-index: -1;
    filter: blur(15px);
    opacity: 0.7;
}

/* 预留：中文数字样式 (目前JS未调用，如需使用请取消注释或保留) */
.chinese-number {
    font-size: 24px !important;
    font-weight: bold !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif !important;
}

/* 底部声明样式 */
.sm{
    color: #333;
    background: #ffffff;
    border-radius: 4px;
    padding: 10px 10px;argin: 10px;
}


.img-r-last{
    width: 110px;
}


.img-l, .img-r {

}

/* 左边图片 */
.img-l {
    width: 60px;          /* 根据需要调整 */
    height: auto;
    vertical-align: middle;
    margin-right: 8px;
    float: left;
}

.img-r {
    width: 60px;          /* 根据需要调整 */
    height: auto;
    vertical-align: middle;
    margin-left: 8px;     /* 建议改成 left，视觉更统一 */
    float: right;
    transform: scaleX(-1); /* ✅ 水平翻转 180° */
}

/* ========================
   用来放表格的div
======================== */


.list {
    width: 100%;
    /* 加上圆角 */
    border-radius: 2px;
    /* 关键：隐藏溢出，这样里面的直角表格就不会露出来了 */
    overflow: hidden;
    margin-top:10px;
    display: none;
}

.list.show {
    display: block;
}




.mb-title {
    line-height: 60px;
    font-size: 28px;
    font-weight: 700;
    color: #eaeaea;
    text-shadow: 
        0 0 1px #d6d6d6,
        0 0 1px #d6d6d6,
        0 0 1px #d6d6d6,
        0 0 1px #d6d6d6,
        0 0 1px #d6d6d6;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

/* 增强立体感的辅助阴影 */
.mb-title::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    color: #d6d6d6;
    z-index: -1;
    filter: blur(15px);
    opacity: 0.7;
}



/* 表格整体 */
.mb-dynamic-table {
    background: #ededed;
    width: 100%;
    font-size: 16px; /* <--- 就是这里控制整体大小 */
    border-collapse: collapse; 
  }

/* 大标题行 (thead) */
.mb-dynamic-table thead th.mb-main-title {
width: 100%;
    border-radius: 0;
    padding: 10px 0px;
    overflow: hidden;
    line-height: 60px;
    font-size: 28px;
    border-top:none;
    border-right: 1px solid #4c4650;
     border-left: 1px solid #4c4650;
   

    color: #eaeaea;
    text-shadow: 
        0 0 1px #d6d6d6,
        0 0 1px #d6d6d6,
        0 0 1px #d6d6d6,
        0 0 1px #d6d6d6,
        0 0 1px #d6d6d6;
    letter-spacing: 2px;
    
    /* 多个径向渐变叠加，随机位置 */
    background: 
        radial-gradient(circle at 10% 20%, #27408b, transparent 25%),
        radial-gradient(circle at 90% 10%, #4c4650, transparent 20%),
        radial-gradient(circle at 30% 60%, #393d49, transparent 30%),
        radial-gradient(circle at 70% 90%, #2f4f4f, transparent 15%),
        radial-gradient(circle at 50% 40%, #000000, transparent 35%);
    
    background-color: #424242;
    background-size: 300% 300%;
    animation: randomMove 9s infinite alternate;
    

}


/* 增强立体感的辅助阴影 */
.mb-dynamic-table thead th.mb-main-title::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    color: #d6d6d6;
    z-index: -1;
    filter: blur(15px);
    opacity: 0.7;
}






/* 每一行的第 1 个 td 不换行 */
.mb-dynamic-table tbody tr td:first-child {
    white-space: nowrap;
    color: #1e90ff;
    font-weight: 700;
    font-size: 14px;
}



.mb-dynamic-table tbody tr td:nth-child(2) {
    font-weight: 700;
    /* 这里写样式 */
}


.mb-dynamic-table td {
    padding: 4px 1px;   /* ✅ 上下收紧 */
    text-align: center;
    vertical-align: middle;
    border: 1px solid #a3a3a3;
}






/* 左对齐列 */
.mb-dynamic-table td.text-left {
    text-align: left;
    margin-left: 2px;
    
    letter-spacing: -1px;   /* ✅ 收紧字间距 */
    word-spacing: -2px;     /* ✅ 收紧标签间距 */
}

/* 左对齐列 */
.mb-dynamic-table td.text-left1 {

    margin-left: 2px;
    font-size: px;
   letter-spacing: -1px;   /* ✅ 收紧字间距 */
    word-spacing: -2px;     /* ✅ 收紧标签间距 */
}


/* 左对齐列 */
.mb-dynamic-table td.text-left2 {
     text-align: left;
    margin-left: 2px;
    font-size: 21px;
}


/* 左对齐列 */
.mb-dynamic-table td.text-left3 {

     margin-left: 2px;

}


/* 左对齐列 */
.mb-dynamic-table td.text-left-green {
    text-align: left;
    color:  #3cb371;
}

/* 左对齐列 */
.mb-dynamic-table td.text-t {


    font-size: 13px;
}

/* 默认开奖结果单元格样式 (未命中) */
.mb-dynamic-table td.result-cell {
    font-weight: 400;
    color: #1e90ff;

}

/* 命中第 3 列 *//*命中时的开奖结果单元格样式 */
.mb-dynamic-table td.result-cell-hit {
    color: #ff4500;/* 红色命中 */
    font-weight: bold; 
}










/* 标签 */
.zodiac-tag {font-size: 17px; display: inline-block;   transition: all .3s ease;}

/* 命中高亮 */
.zodiac-tag.highlight { background-color: #ff0;  font-weight: bold; color: #ff4500; box-shadow: 0 0 3px rgba(0,0,0,.1); font-size: 18px; padding:1px 3px;}


/* 号标签 */
.zodiac-tag-m {font-size: 20px; display: inline-block;   transition: all .3s ease;font-weight:700;}

/* 号命中高亮 */
.zodiac-tag-m.highlight-m { background-color: #ff0;  font-weight: bold; color: #ff4500; box-shadow: 0 0 3px rgba(0,0,0,.1); font-size: 20px; padding:1px 3px;}


/* 大字标签 */
.zodiac-tagcy-b {font-size:28px; display: inline-block; border-radius: 3px; padding: 2px; transition: all .3s ease;  }

/* 大字命中高亮 */
.zodiac-tagcy-b.highlightcy-b {font-size:30px; background-color: #ff0; padding: 1px 2px; font-weight: bold; color: #ff4500; box-shadow: 0 0 3px rgba(0,0,0,.1);  }






.red{ color: #ff4500;}
.blue{color:#1e90ff;}
.green{ color: #3cb371;}





/* 新增：红色的“准”字样式 */
.zhun {
    display: inline-flex; /* 使用 flex 方便居中 */
    align-items: center;
    justify-content: center;
    
    width: 18px;  /* 固定宽高，形成正方形 */
    height: 18px;
    background-color: #ff0000; /* 红色背景 */
    color: #ffffff;           /* 白色字体 */
    font-weight: bold;
    font-size: 10px;          /* 字小一点，不然放不下 */
    border-radius: 50%;       /* 50% 变成圆形 */
    margin-left: 4px;
    vertical-align: middle;    /* 垂直居中对齐 */
}

/* 暂无数据 */
.no-data-cell {
    text-align: center;
    padding: 20px;
    color: #999;
}




/* 1. 父容器：设置为相对定位，作为内部绝对定位元素的参照物 */
.img-box {
    width: 100%;
    position: relative; /* 关键：让里面的 span 相对于这个 div 定位 */
    overflow: hidden;   /* 可选：防止图片或文字溢出边界 */
    
    /* 如果你希望这个 div 有个固定的高度（比如 200px），可以在这里设置 */
    border-radius: 0 0 7px 7px;
    /* height: 200px; */ 
}

/* 2. 图片：充当背景，铺满整个父容器 */
.img-box-img {
    width: 100%;       /* 宽度占满父容器 */
    height: auto;      /* 高度自动，保持图片比例 */
    display: block;    /* 去掉图片底部默认的白边 */
    object-fit: cover; /* 可选：如果父容器有固定高度，这行可以让图片裁剪填满，不变形 */
}

/* 3. 文字：绝对定位，悬浮在图片之上 */
.img-span {position: absolute;
    font-size: 22px;
    z-index: 10;       /* 确保文字在图片上层 */
    color: #ff4500;
    font-weight: 700;
        
}

/* 3. 文字：绝对定位，悬浮在图片之上 */
.img-text {position: absolute;
    font-size: 18px;
    z-index: 10;       /* 确保文字在图片上层 */
    font-weight: 700;
    text-align: left;
        
}

.mh {
    font-size: 11px;
    font-weight: bold;
     animation: mhFlash 0.6s infinite;
    float: left;
    margin-left: 5px;
    display: inline-block;
}



@keyframes mhFlash {
    0%   { color: #ff0000; transform: scale(1); }
    50%  { color: #ffcc00; transform: scale(1.05); }
    100% { color: #ff0000; transform: scale(1); }
}




.mh2 {
    font-size:11px;
    font-weight: bold;
    animation: mhFlash2 0.6s infinite;
    float: right;
    margin-right: 5px;
    display: inline-block; /* ✅ 必须有，scale 才生效 */
}

@keyframes mhFlash2 {
    0% {color: #1e90ff;transform: scale(1);}
    50% {color: #32cd32;transform: scale(1.05); /* ✅ 放大 */}
    100% {color: #ff3030;transform: scale(1);}
}




.custom-number-row {
    font-size: 18px;
    font-weight: bold;
    color: #ffffcc; /* 基础浅色高亮文字 */
    
    background: #4c4650;
    position: relative;
    overflow: visible; 
    
    letter-spacing: 4px;
    padding: 10px 15px;
    border: solid 1px #4c4650;
    
    /* 初始阴影（防止动画开始时突兀） */
    text-shadow: 0 0 8px rgba(255, 255, 204, 0.7);

    /* 核心：应用呼吸动画 */
    animation: glowPulse 2.5s ease-in-out infinite;
}

/* 定义忽暗忽亮的呼吸动画 */
@keyframes glowPulse {
    0%, 100% {
        /* 暗的时候：颜色偏暗，阴影弱 */
        color: #ffffcc;
        text-shadow: 
            0 0 5px rgba(255, 255, 204, 0.5),
            0 0 10px rgba(255, 255, 204, 0.3);
        filter: brightness(1); /* 正常亮度 */
    }
    50% {
        /* 最亮的时候：颜色变纯白，阴影巨大且刺眼 */
        color: #ffffff; 
        text-shadow: 
            0 0 10px #ffffff,
            0 0 20px #ffffff,
            0 0 40px #ffffff,
            0 0 80px rgba(255, 255, 200, 0.8); /* 这一层模拟大范围光晕 */
        filter: brightness(1.3); /* 整体提亮 */
    }
}




.flyy-map.small {
    font-size: 21px;
    padding: 6px 8px;
    background: #e0eee0;
}

.flyy-tag {
    display: inline-block;
    padding: 2px 6px;
    margin: 2px 4px;
    border-radius: 3px;
    font-size: 14px;
    color: #393d49;
}

/* 强制换行 */
.flyy-break {
    display: block;
    height: 0;
}

.no-num{
    font-size: 13px;
}








/* ==========================
   平特一尾（实验版 · 全粗体）
   ========================== */

/* 表格基础 */
.pt-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    font-weight: 700; /* ✅ 整个表格粗体 */
   color: #1e90ff;
    
}


/* 无数据 */
.pt-empty {
    text-align: center;
    padding: 12px;
    font-weight: 700;
}

/* 单元格通用 */
.pt-cell {
    padding: 4px;
    font-weight: 700;
}

/* 左对齐 */
.pt-left {
    text-align: left;
}

/* 开奖行 */
.pt-line {
    display: block;
    line-height: 22px;
    font-weight: 700;
}

/* 开奖号码 */
.pt-num {
    display: inline-block;
    margin-right: 6px;
    color: #1e90ff;
    font-weight: 700; /* ✅ 强制粗体 */
}

/* ✅ 命中号码 */
.pt-num--hit {
    color: #ff4500;
    font-weight: 700;
}

/* 预测标签 */
.pt-pred {
    display: inline-block;
    margin-right: 4px;
    color: #1e90ff;
    font-weight: 700;
}

/* ✅ 命中预测 */
.pt-pred--hit {
    color: #ff4500;
    font-weight: 700;
    background: #ff0;
}

/* 准 */
.pt-zhun {
    color: #ff4500;
    margin-left: 6px;
    font-weight: 700;
}

/* 普通行 */
.pt-row {
    background: #fff;
    font-weight: 700;
}

/* ✅ 命中行 */
.pt-row--hit {
    background: #fff8dc;
    font-weight: 700;
}




.btn11{
    border-radius: 50px;
    color: #fff;
    background: #007d45;
    font-size:16px;
    padding: 4px 15px;
    border: none;
}



        .notice-card {
            background-color: #ededed;
            border-radius: px;
            box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.02);
            width: 100%;
            max-width: 380px;
        }

        .notice-header {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 1px;
            border-bottom: 1px solid #e9ecef;
            padding-bottom: 1px;
        }

        .notice-header .badge {
            background: #e74c3c;
            color: white;
            font-size: 0.75rem;
            font-weight: 600;
            padding: 2px 10px;
            border-radius: 40px;
            letter-spacing: 1px;
            
        }

        .scroll-container {
            overflow: hidden;
            position: relative;
            background: #fef9e6;
            border-radius: 4px;
            border: 1px solid #ffedd5;

        }

        .marquee-wrapper {
            display: inline-block;
            white-space: nowrap;
            animation: slideRightToLeft 12s linear infinite;
            will-change: transform;
        
        }

        .notice-content {
            display: inline-block;
            font-size: 1rem;
            font-weight: 500;
            color: #b45309;
            letter-spacing: 0.3px;
            white-space: nowrap;
           
        }

        .notice-content::before {
            content: "📢 ";
            font-size: 1.05rem;
            margin-right: 10px;
            display: inline-block;
            vertical-align: middle;
        }

        .notice-text {
            display: inline-block;
            vertical-align: middle;
        }

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

        .scroll-container:hover .marquee-wrapper {
            animation-play-state: paused;
        }

        @media (max-width: 560px) {
            .notice-card {
                padding: 12px 16px;
            }
            .notice-content {
                font-size: 0.85rem;
            }
            .scroll-container {
                padding: 10px 0;
            }
        }


