/* ========================
   JS 动态样式（由 tb.js、a-main.js、a-gakj.js 等动态添加/删除的类）
======================== */

/* 选项卡激活状态（JS 控制切换） */
.tab-item.active {
    background: #e5e5e5;
    color: #007d45;
    font-weight: bold;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

/* 内容板块切换（JS 添加 .active 显示） */
.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); }
}


/* 预测表格（由 tb.js 动态生成） */
.tb-table {
    width: 100%;
    border-collapse: collapse;
    
}
.tb-table th,
.tb-table td {
    border: 1px solid #dbdbdb;
    padding: 4px 2px;
    text-align: center;
    vertical-align: middle;
}
.tb-table th {
    background-color: ;
    color: white;
    font-weight: bold;
}
.tb-table tr:nth-child(even) {
    background-color: #f9f9f9;
}
.tb-table tr:nth-child(odd) {
    background-color: #ffffff;
}
.tb-table tr:hover {
    background-color: #f5f5f5;
}
.tb-table td:nth-child(1) {
    min-width: 60px;
    max-width: 65px; 
    font-weight: bold;
    color: #0066cc;
    font-size: 14px;
}
.tb-table td:nth-child(2) {
    font-size: 22px;
}
.tb-table td:nth-child(3) {
    font-size: 16px;
}




/* 命中高亮与“准”字标签 */
.hit-bg {
    background-color: #ffff00;
    color: #ff0000;
    font-weight: bold;
    padding: 2px;
    border-radius: 3px;
    display: inline-block;
}
.zhun-badge {
    background-color: #ff0000;
    color: #ffffff;
    font-size: 9px;
    font-weight: bold;
    padding: 1px 3px;
    border-radius: 20px;
    margin-left: 2px;
    display: inline-block;
}
.normal-item {
    display: inline-block;
    margin: 0 1px;
}
.result-hit {
    color: #ff0000;
    font-weight: bold;
}
.result-normal {
    color: #333333;
    font-weight: 500;
}
.hit-bg-keyword {
    background-color: #ffff00;
    color: #ff0000;
    font-weight: bold;
    padding: 2px;
    border-radius: 3px;
    display: inline-block;
}
.zhun-badge-keyword {
    background-color: #ff0000;
    color: #ffffff;
    font-size: 10px;
    font-weight: bold;
    padding: 1px 3px;
    border-radius: 20px;
    margin-left: 3px;
    display: inline-block;
}
.line-prefix {
    display: inline-block;
    margin-right: 4px;
}





/* 动画类（由 JS 动态添加到特定元素上） */
[class*="animate-"],
.blink,
.bounce,
.pulse,
.shake,
.spin,
.swing {
    display: inline-block;
    font-size: 8px;
    color: red;
}
.blink {
    animation: blink 1s ease-in-out infinite;
}
.bounce {
    animation: bounce 0.5s ease-in-out infinite;
}
.pulse {
    animation: pulse 0.6s ease-in-out infinite;
}
.shake {
    animation: shake 0.5s ease-in-out infinite;
}
.spin {
    animation: spin 1s linear infinite;
}
.swing {
    animation: swing 0.6s ease-in-out infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}
@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(10deg); }
    75% { transform: rotate(-10deg); }
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}
@keyframes swing {
    0%, 100% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
}


/* ===== sjg-box 专用样式 ===== */

/* 预测单元格整体样式 */
.sjg-predict-cell {
    font-size: 18px;
    line-height: 1.8;
    padding: 8px 4px;
    text-align: center;
}

/* 标题样式（输尽光玄机） */
.sjg-title {
    font-size: 24px;
    font-weight: bold;
    color: #ff0000;
    margin-bottom: 4px;
    text-shadow: 1px 1px 2px rgba(255,0,0,0.3);
}

/* 每行内容样式 */
.sjg-line {
    font-size: 16px;
    color: #5d478b;
    padding: 2px 0;
}

/* ===== 关键词高亮样式（只高亮命中的词） ===== */
.hit-bg-keyword {
    background-color: #ffff00;
    color: #ff0000;
    font-weight: bold;
    padding: 2px;
    border-radius: 3px;
    display: inline-block;
}



/* 开奖列样式 */
.tb-table td:nth-child(3) {
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
    padding-left: 2px;

}

/* 开奖结果样式 */
.result-hit {
    color: #ff0000;
    font-weight: bold;
}
.result-normal {
    color: #333333;
    font-weight: 500;
}
.result-no-data {
    color: #999999;
}

