/* ============================================================
   样式分组标注 - 按前端组件区域
   ============================================================ */

/* ============================================================
   区域1：全局重置 & 基础样式（全站通用，无特定组件）
   ============================================================ */
:root {
    /* 主色 */
      --ss: #6495ed; /* 主色，文字颜色深，按钮，表头标题 */
      --qs: #e6e6fa; /*开奖 ,顶部,弹窗, body,背景(稍浅)*/
    
    --ss2:#d33c3c;
    --qs2:#ffffff;
    
    --a1:;
    --a2:#4876ff;/* 渐变色较深的颜色，比主色要深一点点 */
    --a3:;
    
    --b1:;
    --b2:#eed2ee;/* 渐变色较浅的颜色，比浅色要深一点点 */
    --b3:;
    
}


* {
    box-sizing: border-box;
}


body {
     padding: 0px 0px;              /* 添加这行 */
    margin: 0 auto;
    max-width: 380px;
    background: var(--qs);
    text-align: center;
    font-family: "HongLeiXingShu", "KaiTi", cursive;
}




/* ============================================================
   区域16：响应式微调（媒体查询，影响多个区域）
   ============================================================ */
@media (max-width: 380px) {
    .tbl td {                   /* 对照表 */
        padding: 0px 0px;
        font-size: 11px;
    }
    .tbl .hd td {
        font-size: 12px;
        padding: 6px;
    }
    .ball-num {                 /* 开奖球数字 */
        font-size: 18px;
    }
}

/* ===== 响应式 ===== */
@media (max-width: 380px) {
    .number-circle-zhong,
    .number-circle-sha {
        padding: 0px 0px;
        min-width: 1.2em;
        min-height: 1.2em;
    }
    .number-box-zhong,
    .number-box-sha {
        padding: 1px 4px;
        font-size: 0.85em;
    }
}


.logo {
    width: 100%;
    padding: 4px 10px;
   background: var(--qs);
    display: flex;
    align-items: flex-end;

}





.logo-img {
    width: 110px;
    flex-shrink: 0;
    min-width: 0;
}
.logo-span {
    color: var(--ss);
    font-size: 20px;
    margin-left: 4px;
    font-weight: 900;
    text-shadow: 
        0 1px 0 #999,
        0 2px 0 #aaa,
        0 3px 6px rgba(0, 0, 0, 0.2);
}

.logo-img-r {
    margin-left: auto;          /* 推到最右边 */
    width: 50px;
}

.all {
    width: 100%;
    display: flex;
    flex-direction: column;     /* 纵向排列 */
    align-items: center;        /* 水平居中（对 flex 子元素） */
    text-align: center;         /* 文本居中（备用） */
    margin-top:3px;
}


.all-dt {
    width: 100%;
    padding: 8px 6px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;     /* 纵向排列 */
    align-items: center;        /* 水平居中（对 flex 子元素） */
    text-align: center;         /* 文本居中（备用） */
    margin-top:3px;
    background: var(--ss);
    color: #fff;
    font-weight: 900;
    font-size: 16px;
}

.all-domains {
    width: 100%;
    padding: 8px 6px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;     /* 纵向排列 */
    align-items: center;        /* 水平居中（对 flex 子元素） */
    text-align: center;         /* 文本居中（备用） */
    margin-top:3px;
    background: #fff;
    color: var(--ss);;
    font-weight: 900;
    font-size: 20px;
    
}




.all-border{
    width: 100%;
    display: flex;
    flex-direction: column;     /* 纵向排列 */
    align-items: center;        /* 水平居中（对 flex 子元素） */
    text-align: center;         /* 文本居中（备用） */
    margin-top:3px;
    border-radius: 4px;
    border:solid 1px var(--ss);
    
}

.span-domains{
    background: #fff;
    width: 80%;
    margin-bottom: 3px;
    border-radius: 4px;
    padding: 4px 4px;
    background: linear-gradient(135deg, #fffacd, #ffe4c4, #fff05f, #fff68f);
    background-size: 300% 300%;
    animation: tMove 4s ease-in-out infinite alternate;
    
    
}

@keyframes tMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}





.gif{width:100%;}







/* ===== 按钮容器 ===== */
#btn {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 2px;
    justify-content: flex-start;
}

/* ===== 按钮样式（用类名） ===== */
.btn-mokuai {
    border: none;
    border-radius: 50px;
    padding: 4px 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    background: linear-gradient(
        to bottom,
        var(--ss) 0%,
        var(--a2)  50%,
        var(--ss) 100%
    );
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    
   
}












/* ============================================================
   区域15：底部按钮组（<div class="all-btn"> / .btn-all / .btn-all1 / .btn-url）
   ============================================================ */



/* 容器 */
.zd-btn {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
}

/* 单个按钮 - 宽度自适应 */
.btn-url {
    width: auto;              /* 宽度根据内容自适应 */
    padding: 5px 16px;        /* 左右内边距 */
    
    
        background: linear-gradient(
        to bottom,
        var(--ss) 0%,
        var(--a2)  50%,
        var(--ss) 100%
    );
    
    
    
    
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 16px;
    text-align: center;
    box-sizing: border-box;
    white-space: nowrap;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}























































/* ============================================================
   区域3："多多彩热门资讯站点" 跑马灯文字（<span class="sd">）
   ============================================================ */
.sd {
    display: inline-block;
    font-weight: bold;
    padding: 4px 8px;
    animation: colorFlash 0.2s ease-in-out infinite;
}

@keyframes colorFlash {
    0% { color: #ff0000; }
    20% { color: #ff4500; }
    40% { color: #ffff00; }
    50% { color: #00ff00; }
    60% { color: #1e90ff; }
    80% { color: #8b00ff; }
    100% { color: #ff0000; }
}

/* ============================================================
   区域4：装饰箭头（<img class="jt">）
   ============================================================ */
.jt {
    width: 20px;
    height: auto;
    transform: rotate(90deg);
}

.jt2 {
    width: 20px;
    height: auto;
}
/* ============================================================
   区域13：弹窗（.modal-overlay / .modal-box）
   对应：<div id="modalOverlay"> + <div id="modalBox">
   ============================================================ */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.modal-box {
    
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 380px;
    background: var(--qs);
    border-radius: 16px;
    z-index: 10000;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.modal-header {                 /* 弹窗头部 */
    padding: 12px 16px;
    font-weight: bold;
    color: #fff;
    font-size: 18px;
    position: relative;
    background: var(--ss);
}

.modal-close {                  /* 关闭按钮 × */
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 24px;
    color: #fff;
}

.modal-body {                   /* 弹窗主体 */
    padding: 10px;
    text-align: center;
}

.section-title {                /* 板块标题（金派六肖、黄金16码等） */
    font-size: 16px;
    font-weight: bold;
    color: var(--ss);
    padding: 6px 0;
    letter-spacing: 2px;
}

.section-title-fff{                /* 板块标题（金派六肖、黄金16码等） */
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    padding: 6px 0;
    letter-spacing: 2px;
}




.six-number {                   /* 六肖显示 */
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 6px;
    font-size: 22px;
    font-weight: bold;
    color: var(--ss);
}

.number-grid {                  /* 16码网格容器 */
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    padding: 5px;
}

.number-row {                   /* 16码行（每行8个） */
    display: flex;
    gap: 2px;
    justify-content: center;
    flex-wrap: wrap;
}

.number-item {                  /* 16码单个数字 */
    background: #fff;
    padding: 3px;
    color: var(--ss);
    font-size: 14px;
    font-weight: bold;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--ss);
}

.divider {                      /* 分割线 */
    height: 1px;
    background: var(--ss);
    margin: 8px 16px;
}

.hx-section {                   /* 挂牌黑肖区域 */
    background: var(--ss);
    border-radius: 12px;
    margin: 8px;
    padding: 8px;
}

.hx-text {                      /* 黑肖文字（三个生肖） */
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 6px;
    margin: 8px 0;
}

.img-hx {                       /* 黑肖图片 <img class="img-hx"> */
    border-radius: 12px;
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin-top: 6px;
}




