html,body{
    margin: 0;
    padding: 0;
    font-size: 14px;
    background-color: #f3f3f3;
}

div,
text,
button,
textarea,
label,
table,
tr,
td,
body,input{
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.flvplayer-container{
    z-index: 0;
}

a,a:hover,a:active,a:visited,a:link,a:focus{
    -webkit-tap-highlight-color:rgba(0,0,0,0);
    -webkit-tap-highlight-color: transparent;
    outline:none;
    background: none;
    text-decoration: none;
}

.nav-item{
    width-space:nowrap;
    word-break:keep-all;
    cursor: pointer;
    height: 100%;
    width: 120px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-item.sed{
    background: rgba(0,0,0,0.2);
}

.oneline-game-item{
    width-space:nowrap;
    word-break:keep-all;
    cursor: pointer;
    padding: 6px 10px;
    background-color: #fff;
    border-radius: 4px;
    margin-bottom: 5px;
    margin-right: 10px;
}
.oneline-game-item.sed{
    background-color: #dc3545;
    color: #fff;
}

.multiple-line-game-item{
    width-space:nowrap;
    word-break:keep-all;
    padding: 0px 20px;
    cursor: pointer;
}
.multiple-line-game-item.sed{
    color: red;
}

.ssc-ball{
    border-radius: 100%;
}

.ssc-square{
    border-radius: 4px;
}

.ssc-num-min-black{
    display: flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    margin-right: 3px;
    margin-bottom: 3px;
    background-color: blue;
    color: #fff;
    font-size: 17px;
    font-weight: bold;
}

.time-block,.ssc-time-block{
    border: solid 1px #aaa;
    width: 35px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    border-radius: 6px;
}

.time-block,.ssc-time-block + .time-block,.ssc-time-block{
    margin-left: 5px;
}

.ball{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 100%;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
}

.history-label{
    width: 100px;
    text-align: right;
    color: red;
    font-weight: bold;
}

.history-value{
    display: flex;
    padding: 0px 10px;
}
.history-item{
    display: flex;
    margin-top: 10px;
    align-items: center;
}


.history-block + .history-block{
    border-top: solid 1px #ccc;
}

/* 历史开奖表：「大/小」「单/双」文案色（仅 #c41212 / #1565c0） */
.hist-lt-dx-da { color: #c41212; font-weight: bold; }
.hist-lt-dx-xiao { color: #1565c0; font-weight: bold; }
.hist-lt-ds-dan { color: #c41212; font-weight: bold; }
.hist-lt-ds-shuang { color: #1565c0; font-weight: bold; }

.long-head{
    color: red;
    font-size: 16px;
    font-weight: bold;
}
.long-row{
    display: table-row;
    height: 50px;
}
.long-cell{
    display: table-cell;
    vertical-align: middle;
    border-bottom: solid 1px #f3f3f3;
}
.live-prize-video{
    display: flex;
    margin-bottom: 20px;
    justify-content: center;
}
.live-prize-videos-block{
    display: flex;
    flex-wrap: wrap;
}

.nowrap{
    width-space:nowrap;
    word-break:keep-all;
}

/* 最新汇率面板（全局，电脑/手机共用） */
.exchange-rate-panel{
    width: 100%;
    box-sizing: border-box;
}
.exchange-rate-card{
    width: 100%;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.exchange-rate-head{
    padding: 12px 14px;
    border-bottom: 1px solid #eee;
}
.exchange-rate-title{
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    color: #222;
    line-height: 1.2;
}
.exchange-rate-bar{
    display: inline-block;
    width: 4px;
    height: 16px;
    background: #2f80ed;
    border-radius: 2px;
    margin-right: 8px;
    flex-shrink: 0;
}
.exchange-rate-icon{
    display: inline-block;
    width: 14px;
    height: 14px;
    background: #f5a623;
    border-radius: 3px;
    margin-right: 6px;
    flex-shrink: 0;
}
.exchange-rate-tip{
    padding: 10px 14px 0;
    font-size: 12px;
    color: #999;
    line-height: 1.5;
}
.exchange-rate-body{
    padding: 10px 12px 6px;
}
.exchange-rate-row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    border-radius: 8px;
    margin-bottom: 6px;
    font-size: 13px;
    box-sizing: border-box;
}
.exchange-rate-row.type-customer{
    background: #f3f3f3;
}
.exchange-rate-row.type-company{
    background: #fff1e6;
}
.exchange-rate-type{
    width: 72px;
    color: #333;
    flex-shrink: 0;
}
.exchange-rate-value{
    flex: 1;
    text-align: center;
    color: #e53935;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.exchange-rate-label{
    width: 78px;
    text-align: right;
    color: #999;
    flex-shrink: 0;
    font-size: 12px;
}
.exchange-rate-platforms{
    padding: 2px 14px 6px;
    font-size: 13px;
    color: #333;
    line-height: 1.7;
}
.exchange-rate-platform-item{
    margin-right: 12px;
    white-space: nowrap;
}
.exchange-rate-platform-item b{
    font-weight: 700;
}
.exchange-rate-disclaimer{
    padding: 0 14px 12px;
    font-size: 12px;
    color: #999;
}

/* 退水面板 */
.rebate-panel{
    width: 100%;
    box-sizing: border-box;
    margin-top: 12px;
}
.rebate-card{
    width: 100%;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.rebate-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid #eee;
}
.rebate-title{
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    color: #222;
    line-height: 1.2;
}
.rebate-bar{
    display: inline-block;
    width: 4px;
    height: 16px;
    background: #2f80ed;
    border-radius: 2px;
    margin-right: 8px;
    flex-shrink: 0;
}
.rebate-icon{
    display: inline-block;
    width: 14px;
    height: 14px;
    background: #4a90e2;
    border-radius: 3px;
    margin-right: 6px;
    flex-shrink: 0;
}
.rebate-all{
    color: #2f80ed;
    font-size: 13px;
    text-decoration: none;
}
.rebate-years{
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 12px 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.rebate-years::-webkit-scrollbar{
    height: 3px;
}
.rebate-years::-webkit-scrollbar-thumb{
    background: #ddd;
    border-radius: 2px;
}
.rebate-year-btn{
    flex-shrink: 0;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #888;
    border-radius: 16px;
    padding: 4px 14px;
    font-size: 13px;
    cursor: pointer;
    outline: none;
}
.rebate-year-btn.active{
    border-color: transparent;
    background: linear-gradient(180deg, #ffd4a8 0%, #ffb87a 100%);
    color: #222;
    font-weight: 700;
}
.rebate-table-wrap{
    padding: 0 8px 4px;
}
.rebate-table-head,
.rebate-table-row{
    display: flex;
    align-items: center;
    padding: 10px 6px;
    font-size: 12px;
}
.rebate-table-head{
    color: #999;
    border-bottom: 1px solid #f0f0f0;
}
.rebate-table-row{
    color: #444;
    border-bottom: 1px solid #f5f5f5;
}
.rebate-table-row .col-period,
.rebate-table-head .col-period{
    width: 38px;
    flex-shrink: 0;
}
.rebate-table-row .col-range,
.rebate-table-head .col-range{
    flex: 1;
    text-align: center;
    padding: 0 4px;
    min-width: 0;
    word-break: break-all;
}
.rebate-table-row .col-value,
.rebate-table-head .col-value{
    width: 78px;
    flex-shrink: 0;
    text-align: right;
}
.rebate-table-row .col-value{
    color: #c62828;
    font-weight: 700;
}
.rebate-empty{
    padding: 20px 10px;
    text-align: center;
    color: #999;
    font-size: 13px;
}
.rebate-footer{
    padding: 12px 14px 14px;
    text-align: center;
}
.rebate-more{
    color: #2f80ed;
    font-size: 13px;
    text-decoration: none;
}

/*大屏手机端*/
@media screen and (max-width: 640px) {
    .huikan-play-btn{
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .pc{
        display: none;
    }
    .lottery-number{
        flex-wrap: wrap;
    }
    .lottery-number > .history-label{
        width: 100%;
        margin-bottom: 5px;
        text-align: center;
    }
    .lottery-number > .history-value{
        width: 100%;
        justify-content: center;
    }
    .video-cover{
        width: 100%;
    }
    .pk10-num-black{
        display: flex;
        width: 28px;
        height: 28px;
        align-items: center;
        justify-content: center;
        margin-right: 3px;
        margin-bottom: 3px;
        color: #fff;
        font-size: 17px;
        font-weight: bold;
    }
    

    .ssc-num-black{
        display: flex;
        width: 32px;
        height: 32px;
        font-size: 20px;
        font-weight: bold;
        align-items: center;
        justify-content: center;
        margin-right: 3px;
        margin-bottom: 3px;
        color: #fff;
    }
    .kj-area{
        padding: 10px 10px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .lately-lottery{
        width: 100%;
    }
    .ssc-lately-lottery{
        width: 100%;
    }
    .result-block{
        display: flex;
        flex-direction: column;
        align-items: center;
        font-weight: bold;
        font-size: 14px;
    }
    .result-block + .result-block{
        margin-left: 3px;
    }
    .min-ball{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 32px;
        height: 32px;
        border-radius: 100%;
        color: #fff;
        font-size: 16px;
        font-weight: bold;
    }
    .min-ball-plus{
        height: 32px;
    }
    .top-notice{    
        width: 100%;
        padding: 0px 20px;
    }
    .content{
        width: 100%;
        padding: 0px 20px;
    }
    .home-now-block{
        width: 100%;
    }
    .home-more-prize{
        width: 100%;
    }
    .history-block{
        width: 100%;
        background-color: #fff;
        padding: 10px 0px;
    }

    #long,#unlong{
        width: 100%;
    }

    .long-table{
        display: table;
        width: 100%;
        min-width: 300px;
        height: auto;
        background-color: #fff;
        margin-bottom: 20px;
        text-align: center;
        padding: 0px 10px;
    }
    .live-video video{
        width: 100%;
    }
    #pc-menus{
        display: none;
    }
    #m-menus{
        display: block;
    }
}

/*小屏手机端*/
@media screen and (max-width: 400px) {
    .min-ball{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 26px;
        height: 26px;
        border-radius: 100%;
        color: #fff;
        font-size: 16px;
        font-weight: bold;
    }

    .min-ball-plus{
        height: 26px;
    }
}

/*电脑端*/
@media screen and (min-width: 640px) {

    .mobile{
        display: none;
    }
    .video-cover{
        margin-left: 10px;
        width: 350px;
    }

    .pk10-num-black{
        display: flex;
        width: 28px;
        height: 28px;
        align-items: center;
        justify-content: center;
        margin-right: 3px;
        margin-bottom: 3px;
        color: #fff;
        font-size: 17px;
        font-weight: bold;
    }

    .ssc-num-black{
        display: flex;
        width: 32px;
        height: 32px;
        font-size: 20px;
        font-weight: bold;
        align-items: center;
        justify-content: center;
        margin-right: 3px;
        margin-bottom: 3px;
        color: #fff;
    }

    .kj-area{
        padding: 10px 20px;
        display: flex;
        justify-content: space-between;
    }
    .lately-lottery{
        width: 410px;
    }

    .ssc-lately-lottery{
        width: 380px;
    }
    .result-block{
        display: flex;
        flex-direction: column;
        align-items: center;
        font-weight: bold;
        font-size: 14px;
    }
    .result-block + .result-block{
        margin-left: 5px;
    }
    .min-ball{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 32px;
        height: 32px;
        border-radius: 100%;
        color: #fff;
        font-size: 16px;
        font-weight: bold;
    }

    .min-ball-plus{
        height: 32px;
    }

    .top-notice{
        width: 1400px;
    }

    .content{
        width: 1100px;
    }

    .home-now-block{
        flex: 1;
    }
    .home-more-prize{
        width: 100%;
    }
    .history-block{
        width: 100%;
        background-color: #fff;
        padding: 10px 0px;

    }
    .long-table{
        display: table;
        width: 100%;
        height: 0px;
        background-color: #fff;
        margin-bottom: 20px;
        text-align: center;
        margin-right: 10px;
    }
    .live-vide video{
        width: 1100px;
    }
    .sp-10{
        margin-right: 10px;
    }
    #pc-menus{
        display: block;
    }
    #m-menus{
        display: none;
    }
}
