
/* ============================================================
   区域5：主彩票容器（<div class="main-lottery-section">）
   ============================================================ */
.main-lottery-section {
    width: 100%;
    background: var(--ss);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);

}

/* ============================================================
   区域6：Tab 选项卡栏（<div class="tab-row">）
   ============================================================ */
.tab-row {
    display: flex;
    overflow: hidden;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.tab-item {                     /* <div class="tab-item"> */
    flex: 1;
    text-align: center;
    padding: 12px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-right: 1px solid red;
    transition: all 0.3s ease;
    font-size: 14px;
    color: var(--ss);
}

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

.tab-item.active {              /* JS 控制激活状态 */
    background: var(--qs);
    color: var(--ss);
    font-weight: bold;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   区域7：内容板块切换（.section / #aoda / #xianggang / #aomen）
   ============================================================ */
.section {    
    background: var(--qs);/* <div class="section"> */
    display: block;
    animation: fadeIn 0.5s ease;
    margin-top:5px;
    padding: 5px 2px;
    border-radius: 4px;
        box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),      /* 外阴影，更深更扩散 */
        0 2px 4px rgba(0, 0, 0, 0.1);        /* 内层轻微阴影增加层次 */
}



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

/* ============================================================
   区域8：开奖内容容器（<div class="lottery-content">）
   ============================================================ */
.lottery-content {
    width: 100%;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    padding: 0px 0;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.1);
}

/* ============================================================
   区域9：标题行（<div class="title-row">）
   包含：图标、期号、"开奖记录"按钮
   ============================================================ */
.title-row {
    padding: 0 5px;
    text-align: left;
    overflow: hidden;
    margin-bottom: 5px;
}

.img {                          /* <img class="img"> 小图标 */
    width: 26px;
    height: 26px;
    vertical-align: middle;
}
.qid {
    color: var(--ss2);
    display: inline-block;
    font-weight: 700;
    font-size:14px;
    white-space: nowrap;                /* 强制不换行 */
}



.xq-span {                      /* <span class="xq-span"> 期数信息 */
    color: var(--ss2);
    font-size: 14px;
}

/* ============================================================
   区域10：开奖球区（<div class="ball-row">）
   包含：球、数字、高光、下方文字、加号
   ============================================================ */
.ball-row {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 5px;
}


.ball-box-l {
    width: 108px;
    display: inline-block;   /* 宽度由文字决定，不独占一行 */
    padding: 4px 8px;        /* 内边距，让文字不贴边，数值可按需调整 */
    /* 不需要 border-radius，不需要 aspect-ratio，不需要 flex:1 */
}


.ball-box {
    flex: 1;
    aspect-ratio: 1/1;
    border-radius: 3px;
    border: solid 1px var(--ss2);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),      /* 外阴影，更深更扩散 */
        0 2px 4px rgba(0, 0, 0, 0.1);        /* 内层轻微阴影增加层次 */
}





.ball-num {                     /* <div class="ball-num"> 球内数字 */
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}



.ball-text {                    /* <div class="ball-text"> 五行/生肖 */
    flex: 1;
    text-align: left;
    font-size: 13px;
    color: #666;
    font-weight: 500;
    
}

.plus {                         /* <span class="plus"> 加号 */
    width: auto;
    font-size: 20px;
    font-weight: bold;
    padding: 0 2px;
}

/* ============================================================
   区域11：倒计时（<span class="djs-box">）
   ============================================================ */
.djs {                          /* <input class="djs"> 时/分/秒输入框 */
    width: 50px;
    height: 18px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(#333, #111);
    border: 1px solid #555;
    border-radius: 4px;
    outline: none;
}

.djs-box {                      /* <span class="djs-box"> 倒计时容器 */
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #228b22;
    font-size: 14px;
}
