/* 论坛资料页：新澳门开奖 + 预测列表 */
.bbs-xam-draw {
    margin-bottom: 16px;
    padding: 14px 12px 12px;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border-radius: 12px;
    border: 1px solid #e8ecf4;
}
.bbs-xam-draw-head {
    font-size: 15px;
    font-weight: 700;
    color: #1a237e;
    margin-bottom: 10px;
    text-align: center;
}
.bbs-xam-draw-head span {
    color: #c41e3a;
}
.bbs-xam-balls {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    flex-wrap: nowrap;
}
.bbs-xam-ball {
    flex: 1;
    max-width: 52px;
    text-align: center;
}
.bbs-xam-ball-img {
    width: 44px;
    height: 44px;
    margin: 0 auto;
    background: center/contain no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bbs-xam-ball-red .bbs-xam-ball-img { background-image: url(/red.png); }
.bbs-xam-ball-blue .bbs-xam-ball-img { background-image: url(/blue.png); }
.bbs-xam-ball-green .bbs-xam-ball-img { background-image: url(/green.png); }
.bbs-xam-ball-num {
    font-size: 20px;
    font-weight: 900;
    color: #111;
    line-height: 1;
}
.bbs-xam-ball-sx {
    margin-top: 4px;
    font-size: 11px;
    color: #444;
    background: #fff;
    border: 1px solid #e0e4ec;
    border-radius: 4px;
    padding: 2px 0;
    line-height: 1.2;
}
.bbs-xam-plus {
    flex: 0 0 auto;
    align-self: center;
    font-size: 22px;
    font-weight: 700;
    color: #999;
    padding: 0 2px;
}

.bbs-predict-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.bbs-predict-item {
    padding: 12px 14px;
    margin-bottom: 8px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #eceff5;
    font-size: 17px;
    line-height: 1.55;
    color: #222;
}
.bbs-predict-item.is-current {
    background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
    border-color: #ffc107;
    font-weight: 600;
}
.bbs-predict-item.is-hit {
    background: linear-gradient(135deg, #f1f8e9 0%, #fffde7 100%);
    border-color: #aed581;
}
.bbs-predict-item .bbs-hit {
    display: inline-block;
    padding: 0 5px;
    margin: 0 1px;
    border-radius: 4px;
    background: linear-gradient(180deg, #fff9c4 0%, #ffe082 100%);
    color: #b71c1c;
    font-weight: 800;
    box-shadow: 0 0 0 1px rgba(255, 193, 7, 0.5);
}
.bbs-predict-item.is-hit .p-zodiac {
    color: inherit;
}
.bbs-predict-item .p-period {
    color: #c41e3a;
    font-weight: 700;
}
.bbs-predict-item .p-zodiac {
    color: #1565c0;
    font-weight: 700;
}
.bbs-predict-item .p-result {
    color: #2e7d32;
    font-weight: 700;
}
.bbs-predict-item .p-result.miss {
    color: #c62828;
}
.bbs-predict-item .p-result.pending {
    color: #f57c00;
}
.bbs-predict-item .p-draw-date {
    font-size: 12px;
    color: #888;
    font-weight: normal;
}

.bbs-predict-item .predict-row-tail {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px 14px;
    margin-top: 10px;
    width: 100%;
    font-size: 17px;
}

.bbs-predict-item .predict-result-line {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
}

.bbs-predict-item .predict-open-special {
    color: #c41e3a;
    font-weight: 800;
    font-size: 18px;
}
.bbs-predict-loading,
.bbs-predict-error {
    text-align: center;
    padding: 24px;
    color: #666;
    font-size: 14px;
}

@media (max-width: 480px) {
    .bbs-xam-ball-img {
        width: 38px;
        height: 38px;
    }
    .bbs-xam-ball-num {
        font-size: 17px;
    }
    .bbs-xam-ball-sx {
        font-size: 10px;
    }
    .bbs-predict-item {
        font-size: 14px;
        padding: 10px 12px;
    }
}
