/* ============================================================
   table-style.css - 表格样式
   ============================================================ */

/* 基础数字样式（所有数字共用） */
.number-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    margin: 0 2px;
    width: auto;
    height: auto;
}

/* ===== 方框（有背景） ===== */
.number-box-zhong {
    padding: 0px 1px;
    border-radius: 4px;
    background: #e8f5e9;
    border: 1px solid #2e7d32;
    color: #1b5e20;
}

.number-box-sha {
   padding: 0px 1px;
    border-radius: 4px;
    background: #fce4ec;
    border: 1px solid #c62828;
    color: #b71c1c;
}

/* ===== 圆形（有背景） ===== */
.number-circle-zhong {
    padding: 2px 2px;
    min-width: 1.2em;
    min-height: 1.2em;
    border-radius: 50%;
    background: #c8e6c9;
    border: 1px solid #2e7d32;
    color: #1b5e20;
}

.number-circle-sha {
     padding: 2px 2px;
    min-width: 1.2em;
    min-height: 1.2em;
    border-radius: 50%;
    background: #ffcdd2;
    border: 1px solid #c62828;
    color: #b71c1c;
}

/* ===== 裸文字（无背景、无边框、无阴影） ===== */
.number-plain-zhong,
.number-plain-sha,
.number-plain {
    background: transparent;
    border: none;
    box-shadow: none;
    text-shadow: none;
    padding: 0;
    margin: 0 0px;
}
.number-plain-zhong {
    color: #2e7d32;
}
.number-plain-sha {
    color: #c62828;
}
.number-plain {
    color: #000000;
}

/* ===== 命中高亮（裸文字只变文字颜色，不变背景） ===== */
.number-hit {
    background: #ff0000;
    color: #ffffff;
    border-color: #ff0000;
}
.number-hit-text {
    color: #ff0000;
    background: transparent;
    border: none;
    box-shadow: none;
    text-shadow: none;
}


/* ===== "准"字徽章 - 右上角悬浮 ===== */
.zhun-badge {
     background: #ff0000;
    color: #fff;
    font-weight: bold;
    font-size: 8px;
    display: inline-block;
    line-height: 1;
    border-radius: 50%;
    padding: 2px 2px;
}

/* ===== 表格 ===== */
.tb-table {
    width: 100%;
    border-collapse: collapse;

}
.tb-table td {
    padding: 6px 8px;

    text-align: center;
    background: #ffffff;
}

/* ===== 期号列（自适应内容） ===== */
.tb-table .col-qid {
    white-space: nowrap;
    font-weight: bold;
    width: 1%;
    color: var(--ss);
    font-size: 14px;
}


/* ===== 预测列（允许换行） ===== */
.tb-table .col-predict {
    text-align: center;
    word-wrap: break-word;      /* 允许换行 */
    word-break: break-word;     /* 长单词换行 */
    white-space: normal;        /* 允许换行（覆盖 nowrap） */
    max-width: 0;               /* 允许收缩 */
    min-width: 0;               /* 允许收缩 */
    padding: 6px 4px;
}

/* ===== 开奖列（自适应内容） ===== */
.tb-table .col-open {
    white-space: nowrap;
    width: 1%;
    color: var(--ss);
    font-size: 14px;
}
.tb-table .col-open-hit {
    color: #ff0000;
}

/* 每行容器 */
.tb-row {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 2px;      /* ← 行间距 */
    
}



.tb-title{
    width: 100%;
    padding: 6px 0;
    overflow: hidden;
    text-align: center;
    background: var(--ss2);
    background-size: 300% 300%;
    animation: randomMove 4s ease-in-out infinite alternate;
    margin-top:10px;
    color: var(--qs2);
    font-size: 24px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    
}

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




.tb-header {
    text-align: center;
    padding: 4px 8px;
}

/* ===== 前缀/后缀 ===== */
.tb-prefix {
    font-weight: bold;
    margin-right: 4px;
    background: transparent;
    border: none;
    box-shadow: none;
    text-shadow: none;
}
.tb-suffix {
    font-weight: bold;
    margin-left: 4px;
    background: transparent;
    border: none;
    box-shadow: none;
    text-shadow: none;
}

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




/* ============================================================
   行前缀动画样式
   ============================================================ */

/* 基础前缀样式 */
.tb-jy3x {
    font-weight: bold;
    margin-right: 2px;

    align-items: center;
    line-height: 1;
   font-size: 16px;
}



/* 基础前缀样式 */
.tb-prefix {
    font-weight: bold;
    margin-right: 2px;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    vertical-align: middle;
}



/* 后缀样式 */
.tb-suffix {
    font-weight: bold;
    margin-left: 2px;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    vertical-align: middle;
}

/* 🔥 热 - 脉动动画 */
.tb-prefix-hot {

    font-size: 8px;
    color: #ff4500;
    animation: pulse-hot 0.8s ease-in-out infinite;
}
@keyframes pulse-hot { 
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

/* ❌ 杀 - 闪烁动画 */
.tb-prefix-kill { font-size: 8px;
    color: #ff0000;
    animation: blink-kill 0.6s ease-in-out infinite;
}
@keyframes blink-kill {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

/* ✅ 中 - 弹跳动画 */
.tb-prefix-zhong { font-size: 8px;
    color: #00aa00;
    animation: bounce-zhong 0.7s ease-in-out infinite;
}
@keyframes bounce-zhong {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* 🏆 金 - 闪烁+缩放 */
.tb-prefix-gold { font-size: 8px;
    color: #d4af37;
    animation: gold-glow 1s ease-in-out infinite;
}
@keyframes gold-glow {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
}

/* ⭐ 星 - 旋转动画 */
.tb-prefix-star { font-size: 8px;
    color: #ffaa00;
    animation: spin-star 2s linear infinite;
}
@keyframes spin-star {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* ============================================================
   【10】输尽光玄机专用样式
   ============================================================ */

.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;
}

