
.main-lottery-section {
   /* position: fixed;*/
    /*top: 0;
    /*left: 50%;
    /*transform: translateX(-50%);  /* 水平居中 */
    width: 100%;
    padding: 2px 6px;
    /*z-index: 9999;*/
    border-radius: 0 0 2px 2px;
   /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);*/
    box-sizing: border-box;
    margin-top:2px;
}

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

.tab-item {
    flex: 1;
    text-align: center;
    padding: 1px 0px;
    cursor: pointer;
    display: flex;
    flex-direction: column;  /* 纵向排列 */
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.3s ease;
    font-size: 14px;
    color: var(--jbs2);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.first-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

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

.tab-item.active {              /* JS 控制激活状态 */
    background: var(--jbs2);
    color: var(--fff);
    font-weight: bold;

}

.dat{font-size:11px;}


/* ============================================================
   区域7：内容板块切换（.section / #aoda / #xianggang / #aomen）
   ============================================================ */
.section {                      /* <div class="section"> */
    display: none;
    animation: fadeIn 0.5s ease;
}

.section.active {               /* JS 控制显示当前板块 */
    display: block;
}

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

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

/* ============================================================
   区域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;
}

.ball-row2 {
    display: flex;
    align-items: center;
    padding: 0 5px;
    width: 100%;
    padding-bottom: 10px;
}

.qid {                         
    color: var(--jbs2);

    font-size: 13px;
    margin-right: auto; /* 靠左 */
}

.djs-box {
    display: inline-flex;
    align-items: center;
    color: #228b22;
    font-size: 14px;
    margin: 0 auto; /* 居中 */
}

.la-right {
    font-size: 14px;
    margin-left: auto; /* 靠右 */
    color: var(--jbs1);
}




.djs {                          /* <input class="djs"> 时/分/秒输入框 */
    font-size: 14px;
    color: red;
}



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

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


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




.ball-box {                     /* <div class="ball-box"> 球容器 */
    flex: 1;
    aspect-ratio: 1/1;
    background: var(--jbs1);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}






.ball-num {                     /* <div class="ball-num"> 球内数字 */
    position: absolute;
    color: #666666;
    top: 8%;
    left: 6%;
    width: 75%;
    height: 75%;
    background: #fff;
    border-radius: 50%;
    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);
}

.ball-ring {                    /* <div class="ball-ring"> 高光圆圈 */
    position: absolute;
    right: 10%;
    bottom: 12%;
    width: 29%;
    height: 14%;
    border-radius: 50%;
    background: #ffffff;
    transform: rotate(-45deg);
    opacity: 0.8;
}

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

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







