/* 0149.com 开奖实时区：展示参考原 am/hk/kl8 与 amkl8hk iframe。 */
.lottery-compact {
    width: 100%;
    height: 45px;
    overflow: hidden;
    background: #fff;
    color: #333;
    font-family: Tahoma, 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
}

.lottery-compact__disabled {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    color: #777;
    background: #f5f5f5;
    font-size: 14px;
}

.lottery-compact table {
    width: 100%;
    height: 45px;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    background: #fff;
}

.lottery-compact td {
    padding: 0;
    border: 0;
    text-align: center;
    vertical-align: middle;
}

.lottery-compact__meta {
    width: 20%;
    line-height: 20px;
    white-space: nowrap;
}

.lottery-compact__history {
    color: #f00;
    background: #ff0;
    text-decoration: none;
}

.lottery-compact__ball-cell {
    width: 10.57%;
}

.lottery-compact__ball {
    width: 100%;
    margin: auto;
    border: 1px solid #ddd;
    border-right: 0;
    box-sizing: border-box;
    text-align: center;
    background: #999;
}

.lottery-compact__ball-cell--end .lottery-compact__ball {
    border-right: 1px solid #ddd;
}

.lottery-compact__number {
    height: 19px;
    color: #fff;
    font-family: 'Microsoft YaHei', sans-serif;
    font-size: 20px;
    font-weight: bold;
    line-height: 19px;
}

.lottery-compact__zodiac {
    height: 19px;
    color: #333;
    background: #fff;
    font-family: 'Microsoft YaHei', sans-serif;
    font-size: 18px;
    font-weight: bold;
    line-height: 19px;
}

.lottery-compact__refresh-cell {
    width: 6%;
    padding: 0 !important;
}

.lottery-compact__refresh {
    display: inline;
    padding: 0;
    border: 0;
    color: #f30;
    background: #ff0;
    font: bold 15px/17px Tahoma, sans-serif;
    cursor: pointer;
}

.lottery-realtime-list {
    width: 100%;
    height: 390px;
    overflow: hidden;
    background: #fff;
    color: #333;
    font-family: 'PingFang SC', 'Microsoft YaHei', Arial, 'Helvetica Neue', sans-serif;
    font-weight: 400;
    text-align: left;
}

.lottery-realtime-list .new-KJ-TabBox-box {
    height: 130px;
    padding: 8px;
    border: 0;
    box-sizing: border-box;
    color: #333;
    background: #fff;
    font-size: 16px;
}

.lottery-realtime-list .new-KJ-TabBox-box + .new-KJ-TabBox-box {
    border-top: 1px dashed #ccc;
}

.lottery-realtime-list .new-KJ-TabBox-box a {
    text-decoration: none;
}

.lottery-realtime-list .kj-font-red {
    color: #f00 !important;
}

.lottery-realtime-list .new-KJ-TabBox-box-tit {
    display: flex;
    align-items: center;
    height: 17px;
    line-height: 17px;
    font-size: 17px;
    white-space: nowrap;
}

.lottery-realtime-list .new-KJ-TabBox-box-tit-m {
    flex: 1;
    text-align: center;
    font-weight: bold;
}

.lottery-realtime-list .new-KJ-TabBox-box-tit-r a {
    color: #f00;
}

.lottery-realtime-list .new-KJ-TabBox-box-con {
    display: flex;
    margin: 8px 0;
}

.lottery-realtime-list .kj-ball {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 61px;
    margin-right: 6px;
    border-radius: 4px;
    box-sizing: border-box;
    color: #fff;
    background: #999;
    text-align: center;
}

.lottery-realtime-list .kj-ball:last-child {
    margin-right: 0;
}

.lottery-realtime-list .kj-ball:nth-last-child(3) {
    margin-right: 6px;
}

.lottery-realtime-list .kj-ball h2 {
    margin: 0;
    padding: 0;
    color: #fff;
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 28px;
    font-weight: 900;
    line-height: 24px;
}

.lottery-realtime-list .kj-ball .whsx {
    display: inline-block;
    height: 19px;
    margin-top: 6px;
    padding: 0 6px;
    border-radius: 2px;
    color: #333;
    background: #fff;
    font-size: 20px;
    font-weight: bold;
    line-height: 19px;
}

.lottery-realtime-list .kj-add {
    display: flex;
    align-items: center;
    margin-right: 8px;
    font-size: 32px;
    font-weight: bold;
}

.lottery-realtime-list .new-KJ-TabBox-box-foot {
    display: flex;
    align-items: center;
    font-size: 16px;
    white-space: nowrap;
}

.lottery-realtime-list .new-KJ-TabBox-box-foot-l {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lottery-realtime-list .new-KJ-TabBox-box-foot-r-sx {
    display: inline-block;
    width: 40px;
    height: 20px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    color: #fff;
    background: #f90;
    font: inherit;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
}

.lottery-realtime-list .new-KJ-TabBox-box-foot-r-sx:disabled {
    opacity: .72;
}

.lottery-ball--red {
    background-color: #e71607 !important;
}

.lottery-ball--blue {
    background-color: #0000FF !important;
}

.lottery-ball--green {
    background-color: #1fb61d !important;
}

.lottery-ball--gray {
    background-color: #999 !important;
}

@media screen and (max-width: 650px) {
    .lottery-realtime-list .new-KJ-TabBox-box {
        font-size: 14px;
    }

    .lottery-realtime-list .new-KJ-TabBox-box-tit {
        font-size: 16px;
    }

    .lottery-realtime-list .kj-ball,
    .lottery-realtime-list .kj-ball:nth-last-child(3) {
        margin-right: 4px;
    }

    .lottery-realtime-list .kj-ball h2 {
        font-size: 24px;
    }

    .lottery-realtime-list .kj-ball .whsx {
        margin-top: 4px;
        padding: 0 2px;
        font-size: 20px;
    }

    .lottery-realtime-list .kj-add {
        margin-right: 4px;
        font-size: 24px;
    }

    .lottery-realtime-list .new-KJ-TabBox-box-foot {
        font-size: 15px;
    }
}

@media screen and (max-width: 450px) {
    .lottery-realtime-list .kj-lotto-tit2 > span:first-child {
        display: none;
    }
}


/* Machine 9 prompt-only visual override */
.lottery-ball--gray,
.lottery-realtime-list .kj-ball.lottery-ball--gray,
.lottery-realtime-list .kj-ball.lottery-ball--gray h2,
.lottery-realtime-list .kj-ball.lottery-ball--gray .whsx,
.lottery-compact__ball.lottery-ball--gray,
.lottery-compact__ball.lottery-ball--gray .lottery-compact__number,
.lottery-compact__ball.lottery-ball--gray .lottery-compact__zodiac {
    background-color: #ffff00 !important;
    color: #000 !important;
}

