﻿@font-face{
     font-family: 'quantico'; 
     src: url('../fonts/Quantico.ttf');
}

body {
    font-family: '微软雅黑';
    line-height: 22px;
    font-size: 14px;
    background-color: #FFF;
    color: #333;
    padding: 0;
    margin: 0;
}

@media screen and (max-width: 992px){
    html .container {
        max-width: 960px;
    }
}
@media screen and (max-width: 800px) {
    .issue{
        /*flex-wrap: wrap;*/
    }
    .issue-item{
        border-left: 0;
    }
    .issue-item:last-child{
        border-bottom: 0;
    }
    .result-table{
        border-left: 0;
        border-right: 0;
    }
    #dplayer, .player-code{
        height: 240px!important;
    }
    .container .h1-title{
        font-size: 19px;
    }
}
@media screen and (max-width: 768px){
    html .container {
        max-width: 720px;
        padding-right: 0px;
        padding-left: 0px;
    }
    .code-item{
        width: 0.2rem;
        height: 0.2rem;
        line-height: 0.2rem;
        margin-right: 0.03rem;
    }
    .code-sum{
        width: 0.26rem;
        height: 0.26rem;
        line-height: 0.26rem;
    }
    .show1 .result-tr{
        height: auto;
        line-height: none;
    }
    .show1 .result-tr span:nth-child(2){
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
}
@media screen and (max-width: 620px) {
    html .container {
        max-width: 620px;
        padding-right: 0px;
        padding-left: 0px;
    }
    .code-item{
        width: 0.16rem;
        height: 0.16rem;
        line-height: 0.16rem;
        margin-right: 0.01rem;
    }
    .code-sum{
        width: 0.22rem;
        height: 0.22rem;
        line-height: 0.22rem;
    }
    .types-box{
        font-size: 12px;
    }
    .main .txt-header{
        font-size: 14px;
        padding: 16px 12px;
    }
    .result .result-tr{
        font-size: 12px;
    }
    .result .code-item {
        width: 17px;
        height: 17px;
        line-height: 17px;
    }
    .result .code-sum {
        width: 22px;
        height: 22px;
        line-height: 22px;
    }
    .result .yc-yes, .result .yc-yes2 ,.result .yc-no, .result .yc-no2 {
        height: 20px;
        line-height: 20px;
        width: 20px!important;
    }
    body .h2-title{
        font-size: 19px;
        line-height: 60px;
        padding-left: 16.5vw;
        padding-right: 1vw;
        box-sizing: border-box;
    }
    body .h2-title .changeTheme{
        top: 6px;
        left: 2px;
        width: 15vw;
        height: 27px;
        line-height: 27px;
        font-size: 11px;
    }
    body .sf_box a[data-z]:before{
        top: -4px;
        left: -8px;
        transform: scale(0.8);
    }
}
@media screen and (max-width: 570px) {
    .result .code-item {
        width: 16px;
        height: 16px;
        line-height: 16px;
    }
    .result .code-sum{
        width: 20px;
        height: 20px;
        line-height: 20px;
    }
}


.container {
    max-width: 1000px;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
.main{
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.main::-webkit-scrollbar {
    display: none;
}
.main-p{
    width: 100%;
    margin: 0 auto;
    -webkit-box-shadow: 0px 0px 18px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0px 0px 18px rgba(0, 0, 0, 0.4);
    box-shadow: 0px 0px 18px rgba(0, 0, 0, 0.4);
}


.banner,.banner8{
    margin-bottom: 12px;
}
.banner a,.banner8 a{
    display: block;
    text-align: center;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% auto;
    position: relative;
    text-decoration: none;
    
}
.banner a>span,.banner8 a>span{
    display: block;
    margin-bottom: 12px;
    padding: 8px;
    box-sizing: border-box;
    width:100%;
    background: linear-gradient(135deg, #59c3fb 10%, #268df7 100%);
    text-decoration: underline;
    font-weight: 700;
    /* border-radius: 10px; */
    color: #fff;
}
.banner img,.banner8 img{
    width: 100%;
    height: auto;
    display: block;
}

.kj-item span{
    display: inline;
    padding: 0.2em 0.6em 0.3em;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.3em;
}

/* 类型 */
.types-box{
    max-width: 520px;
    margin: 20px auto;
}

.types-box nav{
    flex-wrap: wrap;
}
.types-box .nav-type{
    width: auto;
    min-width: 50px;
    cursor: pointer;
    flex: 1;
}
.types-box .forecast-nav{
    border: none;
    color: #6b6969;
    box-shadow: 0 1px 3px rgb(0 0 0 / 12%), 0 1px 2px rgb(216 208 208 / 24%);
}


.sf_box .nav-item{
    flex: 1 1 29% !important;
}
.sf_box .nav-item:nth-child(3n){
    margin-right: 0px;
}
.sf_box .nav-item:nth-child(4n){
    margin-right: 7px;
}

nav{
    line-height: 36px;
    display: flex;
    justify-content: center;
    background-color: #FFF;
    padding: 0px 10px;
}
.nav-item{
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    border: 1px solid #aaa;
    margin-right: 7px;
    border-radius: 4px;
    transition: all .2s ease-in-out;
    margin-top: 15px;
    flex: 1 1 22% !important;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    padding: 0px 2px;
    box-sizing: border-box;
    font-size: 12px;
}
.nav-item:nth-child(4n){
    margin-right: 0px;
}
.nav-active,.nav-item:hover{
    color: #FFF;
    background-color: #4CA2FF;
    border: 1px solid #4CA2FF;
}

.nav-index{
    max-width: 80px !important;
}

/* 正确率 */
.issue{
    margin: 10px 0;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(216, 208, 208, 0.24);
}
.win_box p{
    margin: 5px 0px;
    text-align: center;
}





/* 列表结果 */
.result-table{
    color: #717171;
    border: 1px solid #e4e4e4;
}

.result-thead{
    /* background-color: #007aff; */
    color: #000;
    display: flex;
    justify-content: center;
    height: 32px;
    line-height: 32px;
    font-weight: bold;
}
.result-thead span{
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #ebebeb;
}
.result-thead span:last-child{
    border-right: 0;
}
.result-tr{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 32px;
    line-height: 32px;
    border-bottom: 1px dashed #ebebeb;
}
.result-tr span{
    width: 100%;
    text-align: center;
    border-radius: 20%;
}
.result-tr:last-child{
    border-bottom: 0;
}
.result-tr:nth-child(odd){
    background-color: #f9f9f9;
}


/* 列表tab切换 */
.result-nav{
    margin: 18px 0;
    height: 36px;
    color: #333;
    font-weight: bold;
    display: flex;
    justify-content: center;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    width: 100%;
    bottom: 0;
    max-width: 1000px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
 }
 .result-nav span{
    width: 100%;
    display: block;
    height: 36px;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
    border-right: 1px solid #ddd;
    z-index: 999;
 }
 .result-nav span:last-child{
    border-right: 0;
 }
 .result-active{
    position: relative;
    color: #FFF!important;
    background-color: #4CA2FF!important;
 }
 .result-active::before{
    border-bottom: 10px solid #dc0000;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    position: absolute;
    top: -10px;
    left: 43%;
 }

/* 列表样式 */
.p120{
    width: 120%!important;
 }
 .p150{
    width: 150%!important;
 }
 .p200{
    width: 200%!important;
 }
 .p250{
    width: 250%!important;
 }
 .p300{
    width: 300%!important;
 }
 .p400{
    width: 400%!important;
 }
 
 .badge-o{
    display: inline-block;
    height: 18px;
    line-height: 18px;
    background-color: #dc3545!important;
    color: #FFF;
    border-radius: 3px;
    font-size: 12px;
    padding: 0 3px;
    font-style: inherit;
 }
 .badge-g{
    display: inline-block;
    height: 18px;
    line-height: 18px;
    background-color: #007aff!important;
    color: #FFF;
    border-radius: 3px;
    font-size: 12px;
    padding: 0 3px;
    font-style: inherit;
 }
 
 .result-thead{
    color: #111;
    font-weight: bold;
 }
 #census .result-tr{
    height: 40px;
 }
 #census .result-tr span i{
    font-style: normal;
    display: inline-block;
    height: 22px;
    line-height: 22px;
    color: #FFF;
    text-align: center;
    background: #007aff;
    border-radius: 12px;
    margin: 0 5px;
    font-size: 12px;
    min-width: 22px;
 }
 #census .result-tr span b{
    font-weight: initial;
    color: #333;
 }
 #census .result-tr span p{
    margin: 0;
    padding: 0;
    display: inline-block;
    /*min-width: 30px;*/
 }
 #census .result-thead{
    background-color: #FFF;
 }
 #census .result-tr span{
    border-right: 1px solid #ebebeb;
 }
 #census .result-tr span:last-child{
    border-right: 0px;
 }
 .p-red{
    color: red;
 }













.forecast-nav{
    height: 40px;
    line-height: 40px;
    display: flex;
    margin: 5px 0;
    border: 1px solid rgba(0,0,0,.1);
}
.forecast-nav span{
    width: 100%;
    text-align: center;
    border-left: 1px solid rgba(0,0,0,.1);
}
.forecast-nav .active{
    background-color: #007aff;
    color: #FFF;
}
/* 列表颜色 */
.yc-yes, .yc-yes2{
    height: 24px;
    line-height: 24px;
    width: 24px!important;
    max-width: 48px;
    color: #FFF;
    background-color: #dc3545;
    display: inline-block;
    margin-right: 3px;
}
.yc-no, .yc-no2{
    height: 24px;
    line-height: 24px;
    width: 24px!important;
    max-width: 48px;
    color: #FFF;
    background-color: #007aff;
    display: inline-block;
    margin-right: 3px;
}
.yc-no2{
    background-color: #007aff !important;
}

#forecast .result-tr span:nth-child(3){
    display: flex;
    justify-content: center;
}
.sha{
    color: red;
    margin-right: 2px;
    width: unset!important;
    line-height: 24px;
}
#sz .yc-yes, #sz .yc-no{
    margin-right: 0;
    width: 40px!important;
}



.al-a-1{
    background-color: #DC143C;
}
.al-a-2{
    background-color: #F4A460;
}
.al-a-3{
    background-color: #1E90FF;
}

.copyright{
    font-size: 12px;
    text-align: center;
    /* height: 50px;
    line-height: 50px; */
}
.copyright_a{
    display: block;
    padding-bottom: 20px;
}
.copyright_a:hover{
    text-decoration: underline;
}





.foot-bookmark {
	position: fixed;
    bottom: 25px;
    z-index: 99999999;
    width: 50%;
    max-width: 500px;
    color: #fff;
    background-color: rgba(0,0,0,.9);
    border-radius: 10px;
    font-size: 12px;
    left: 0;
    right: 0;
    margin: auto;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.foot-bookmark:after {
	content: "";
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(0,0,0,.9);
    position: absolute;
    bottom: -6px;
}

.foot-bookmark p {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
}

.foot-bookmark p span img {
	width: 15px;
    height: auto;
    margin: 0 5px;
}

.foot-bookmark>img {
	height: 40px;
    width: 40px;
    margin-right: 10px;
    border-radius: 5px;
}

.foot-bookmark i {
	position: absolute;
    right: 5px;
    top: 5px;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-style: normal;
}



.code-item ,.code-sum{
    display: inline-block;
    color: #fff; 
    font-style: normal;
    text-align: center;
}
.code-item{
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 12px;
    margin-right: 3px;
    border-radius: 20%;
}
.code-sum{
    width: 26px;
    height: 26px;
    line-height: 26px;
    border-radius: 50%;
}



.txt-header{
    position: relative;
    font-size: 16px;
    padding: 16px 20px;
    margin-bottom: 0;
    background-color: rgba(0,0,0,.03);
    border-bottom: 1px solid rgba(0,0,0,.125);
}
.txt-center{
    text-align: center;
}
.strong-txt{
    font-weight: 600;
}
#qishu{
    color: #000;
}
#times{
    color: #000;
    border-radius: 5px;
    padding: 0 7px 0px 5px;
    margin-left: 0px;
}
.h1-title,.h2-title{
    padding-left: 100px;
    padding-right: 100px;
    box-sizing: border-box;

    margin: 0;
    position: relative;
    font-size: 25px;
    line-height: 66px;
    font-weight: bold;
    
    width: 100%;
    text-align: center;
    white-space: nowrap;
    word-wrap: break-word;
    text-overflow: ellipsis;
    overflow: hidden;
    /* color: #0088a4; */
}
.h1-title {
    display: none;
}

.h2-title .changeTheme{
    position: absolute;
    top: 2px;
    left: 18px;
    width: 65px;
    height: 35px;
    line-height: 35px;
    font-weight: 500;
    text-align: center;
    color: #333;
    font-size: 13px;
    border-radius: 20px;
    cursor: pointer;
    border: 1px solid #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
}
.h2-title .darkTheme{
    display: none;
}
.reload{
    position: absolute;
    top: 18px;
    color: #4DA2FF;
    /* right: 20px; */
}
.bg-primary {
    background-color: #007aff!important;
}
.bg-danger {
    background-color: #dc3545!important;
}
.c6-1{
    display: flex;
    justify-content:center;
}
.c6-2{
    display: flex;
}
.c6-3{
    color:#13b5b1;
    padding: 3px;
}
.c6-4{
    color:#f23030;
    padding: 3px;
}



/* 暗黑 */
.dark .txt-header{
    background-color: #1f1f1f;
}
.dark .result-tr:nth-child(odd){
    background-color: #1f1f1f;
}

.dark.show1{
    background-color: #101010;
    color: #fff;
}
.dark nav{
    background-color: #101010;
}

.dark #qishu,
.dark #times,
.dark .nav-item,
.dark .result-nav,
.dark .result-table,
.dark #census .result-tr span b{
    color: #fff;
}

.dark .result-thead{
    background-color: transparent !important;
    color: #eee !important;
}
.dark .result-tr{
    border-bottom: none;
}
.dark .nav-item,
.dark .result-table{
    border: 1px solid #555;
}
.dark .result-nav span{
    border-right: 1px solid #555;
}
.dark .result-nav{
    border-top: 1px solid #555;
}
.dark  .result-thead span{
    border-bottom: 1px solid #555;
}
.dark .yqlj_box{
    border-bottom: 1px solid #555 !important;
}

.dark .h2-title .sunTheme{
    display: none;
}
.dark .h2-title .darkTheme{
    display: flex;
    background: #282828;
    color: #fff;
    border: none;
}


/* 连中 - 只在连中数>0时显示 */
.sf_box a[data-z]{
    position: relative;
}
.sf_box a[data-z]:before{
    content: attr(data-z)'连中';
    position:absolute;
    top: -1px;
    left: -6px;
    width: 46px;
    height: 20px;
    line-height: 20px;
    background: red;
    color: #fff;
    border-radius: 22px;
    transform: scale(0.9);
    text-align: center;
    font-size: 12px;
}
/* 0连中不显示徽章 */
.sf_box a[data-z="0"]:before,
.sf_box a[data-z=""]:before{
    display: none !important;
}
body.lang-en .sf_box a[data-z]:before{
    content: attr(data-z)' in a row';
    width: 68px;
    font-size: 10px;
    left: -12px;
}

/* Canada SEO layout extracted from template1 */
:root{--ca-navy:#101828;--ca-navy2:#17233c;--ca-red:#d71920;--ca-red2:#b91118;--ca-blue:#2563eb;--ca-bg:#f5f7fb;--ca-card:#ffffff;--ca-text:#111827;--ca-muted:#667085;--ca-line:#e5e7eb;--ca-soft:#fff5f5;--ca-shadow:0 10px 26px rgba(16,24,40,.08)}
html{background:var(--ca-bg);scroll-behavior:smooth}body{background:var(--ca-bg)!important;color:var(--ca-text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",Arial,sans-serif!important}.show1{background:var(--ca-bg)!important}
.seo-site-header{background:linear-gradient(135deg,#101828 0%,#17233c 62%,#d71920 160%);color:#fff;padding:18px 16px 24px;box-shadow:0 8px 24px rgba(16,24,40,.18)}
.seo-header-inner{max-width:1120px;margin:0 auto;display:flex!important;gap:18px;align-items:center;justify-content:space-between;flex-wrap:wrap}.seo-brand{display:flex;flex-direction:column;gap:6px;max-width:680px}.seo-brand strong{font-size:24px;line-height:1.25;letter-spacing:.2px}.seo-brand span{font-size:14px;opacity:.9;color:#e7edf7}
.seo-top-nav{display:flex!important;gap:8px!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-end!important;background:transparent!important;width:auto!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;position:relative!important}.seo-top-nav a{display:inline-flex!important;align-items:center!important;width:auto!important;height:auto!important;line-height:1!important;color:#fff!important;border:1px solid rgba(255,255,255,.32)!important;border-radius:999px!important;padding:9px 12px!important;text-decoration:none!important;background:rgba(255,255,255,.08)!important;font-size:13px!important;font-weight:600!important}.seo-top-nav a:hover{background:#fff!important;color:var(--ca-red)!important}
.main.container{position:relative!important;top:auto!important;bottom:auto!important;left:auto!important;right:auto!important;height:auto!important;min-height:100vh!important;overflow:visible!important;max-width:1030px!important;padding:0 15px 34px!important}.main-p{box-shadow:none!important;background:transparent!important}.h1-title{display:block!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.18!important;text-align:left!important;padding:0!important;margin:0!important;font-size:32px!important;color:var(--ca-text)!important}.h2-title{display:none!important}._adBox.seo-ad-slot{display:none!important;height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}.adIframe{display:none!important}
.seo-hero{margin:-14px 0 16px;background:var(--ca-card);border:1px solid var(--ca-line);border-radius:18px;padding:22px;box-shadow:var(--ca-shadow)}.seo-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:18px;align-items:center}.seo-eyebrow{margin:0 0 8px;color:var(--ca-red);font-weight:800;font-size:13px;text-transform:uppercase;letter-spacing:.06em}.seo-hero-lead{font-size:15px;line-height:1.8;color:#475467;margin:12px 0 0}.seo-hero-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.seo-hero-tags span{border:1px solid #ffd4d7;background:var(--ca-soft);color:#a80f16;border-radius:999px;padding:6px 11px;font-size:13px}.seo-hero-tags span:nth-child(1){border-color:#dbeafe;background:#eff6ff;color:#1d4ed8}.seo-hero-panel{background:linear-gradient(135deg,var(--ca-red),var(--ca-red2));border-radius:16px;color:#fff;padding:18px;min-height:130px;display:flex;flex-direction:column;justify-content:center;box-shadow:0 12px 26px rgba(215,25,32,.18)}.seo-hero-panel b{font-size:28px;line-height:1}.seo-hero-panel span{opacity:.92;margin-top:8px;line-height:1.55}.seo-mini-nav{display:flex!important;gap:8px!important;flex-wrap:wrap!important;margin-top:14px!important;background:#f8fafc!important;padding:10px!important;border-radius:14px!important}.seo-mini-nav a{font-size:13px!important;color:#1d4ed8!important;background:#fff!important;border:1px solid #dbeafe!important;border-radius:999px!important;padding:8px 12px!important;text-decoration:none!important;font-weight:600!important}
.seo-card{background:var(--ca-card);border:1px solid var(--ca-line);border-radius:18px;margin:14px 0;padding:14px;box-shadow:var(--ca-shadow)}.seo-section-title{font-size:20px;line-height:1.35;margin:0 0 12px;color:var(--ca-text);font-weight:800}.seo-section-title span{display:block;font-size:12px;color:var(--ca-muted);font-weight:500;margin-top:3px}.txt-header{border-radius:12px!important;border:1px solid #e5e7eb!important;background:#f9fafb!important}.kj-item{padding:18px 10px!important}.types-box nav{max-width:520px;margin-left:auto!important;margin-right:auto!important;background:transparent!important;height:auto!important}.types-box .nav-item{border-radius:10px!important}.nav-active{background:var(--ca-red)!important;border-color:var(--ca-red)!important;color:#fff!important}.result-nav{border-radius:12px;overflow:hidden;background:#fff;border:1px solid #e5e7eb}.result-active{background:var(--ca-red)!important}.result-tr:nth-child(odd){background:#fbfdff!important}
.seo-bilingual-copy,.seo-faq,.seo-footer-links{background:#fff;border:1px solid var(--ca-line);border-radius:18px;margin:18px 0;padding:18px;color:#263247;box-shadow:var(--ca-shadow)}.seo-bilingual-copy h2,.seo-faq h2{font-size:21px;margin:0 0 12px;color:var(--ca-text)}.seo-bilingual-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.seo-bilingual-grid article,.seo-faq-item{background:#f9fafb;border-radius:14px;padding:14px;border:1px solid #edf2fa}.seo-bilingual-grid h3,.seo-faq h3{font-size:16px;margin:0 0 8px;color:#172846}.seo-bilingual-grid p,.seo-bilingual-grid li,.seo-faq p{font-size:14px;line-height:1.75;color:#536079}.seo-bilingual-grid ul{margin:8px 0 0;padding-left:18px}.seo-faq-list{display:grid;gap:10px}.seo-footer-links p{margin:0 0 8px;color:#263247;font-weight:700}.seo-footer-links a{margin-right:15px;margin-top:5px;display:inline-block;color:#1d4ed8;text-decoration:none}.seo-footer-links a:hover{text-decoration:underline}.copyright{color:#60708c;padding:12px 0 26px}
@media (max-width:760px){.seo-site-header{padding:16px 12px 26px}.seo-brand strong{font-size:21px}.seo-header-inner{display:block!important}.seo-top-nav{justify-content:flex-start!important;margin-top:12px!important}.seo-top-nav a{font-size:12px!important;padding:8px 10px!important}.main.container{padding:0 0 24px!important}.seo-hero{margin:12px 0 12px;border-radius:16px;padding:16px}.seo-hero-grid{grid-template-columns:1fr}.h1-title{font-size:25px!important;text-align:left!important}.seo-hero-panel{min-height:auto}.seo-bilingual-grid{grid-template-columns:1fr}.seo-card{border-radius:16px;padding:12px;margin:12px 0}.types-box nav{max-width:100%}.result-nav span{font-size:13px}.seo-section-title{font-size:18px}.seo-mini-nav{justify-content:center!important}.seo-hero-tags span{max-width:100%;overflow:hidden;text-overflow:ellipsis}}

/* Canada bilingual lottery UI v2 */
:root{
    --ca-red:#e1251b;
    --ca-red-dark:#b91c1c;
    --ca-blue:#0f62fe;
    --ca-ink:#14213d;
    --ca-text:#1f2937;
    --ca-muted:#64748b;
    --ca-bg:#f3f6fb;
    --ca-card:#ffffff;
    --ca-line:#dce3ef;
    --ca-soft:#f8fafc;
    --ca-shadow:0 14px 40px rgba(20,33,61,.10);
}
html{background:var(--ca-bg);scroll-behavior:smooth}
body.show1.new_show1{
    background:
        radial-gradient(circle at 8% 0%, rgba(225,37,27,.10), transparent 28%),
        radial-gradient(circle at 90% 10%, rgba(15,98,254,.10), transparent 30%),
        var(--ca-bg)!important;
    color:var(--ca-text);
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",Arial,sans-serif!important;
}
body.lang-zh [data-lang="en"],body.lang-en [data-lang="zh"]{display:none!important}
body.lang-zh [data-lang-block="en"],body.lang-en [data-lang-block="zh"]{display:none!important}
.is-hidden{display:none}.census-label{width:40%!important}.census-head{font-weight:900!important;color:#1e293b!important}.census-chip-blue{background-color:var(--ca-blue)!important}.census-chip-pad{padding:0 5px!important}
.main.container{position:relative!important;top:auto!important;bottom:auto!important;left:auto!important;right:auto!important;height:auto!important;min-height:100vh!important;overflow:visible!important;max-width:1120px!important;padding:0 16px 36px!important}
.main-p{box-shadow:none!important;background:transparent!important}
._adBox,.adIframe{display:none!important}
.ca-site-header{
    color:#fff;
    background:linear-gradient(135deg,#16213e 0%,#111827 58%,#e1251b 145%);
    padding:14px 16px 28px;
    box-shadow:0 14px 34px rgba(15,23,42,.22);
}
.ca-header-inner{max-width:1120px;margin:0 auto;display:grid;grid-template-columns:auto 1fr auto;gap:16px;align-items:center}
.ca-brand{display:flex;gap:12px;align-items:center;color:#fff!important;text-decoration:none!important}
.ca-brand-mark{width:46px;height:46px;border-radius:16px;background:linear-gradient(135deg,#fff,#ffe7e5);color:var(--ca-red);display:flex;align-items:center;justify-content:center;font-weight:900;font-size:20px;box-shadow:0 8px 20px rgba(0,0,0,.18)}
.ca-brand-text{display:flex;flex-direction:column;line-height:1.2}.ca-brand-text strong{font-size:23px;letter-spacing:.2px}.ca-brand-text small{color:#dbeafe;margin-top:4px;font-size:13px}
.ca-top-nav{display:flex!important;justify-content:flex-end!important;gap:8px!important;flex-wrap:wrap!important;background:transparent!important;border:0!important;padding:0!important;line-height:normal!important}
.ca-top-nav a{width:auto!important;flex:none!important;margin:0!important;border:1px solid rgba(255,255,255,.24)!important;border-radius:999px!important;color:#fff!important;background:rgba(255,255,255,.08)!important;padding:9px 12px!important;line-height:1!important;text-decoration:none!important;font-size:13px!important;font-weight:700!important}
.ca-top-nav a:hover{background:#fff!important;color:var(--ca-red)!important}
.ca-lang-switch{display:flex;gap:6px;padding:4px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);border-radius:999px}
.ca-lang-switch button,.ca-lang-switch a{border:0;border-radius:999px;padding:8px 12px;cursor:pointer;background:transparent;color:#e5e7eb;font-weight:800;text-decoration:none!important;display:inline-flex;align-items:center}
.ca-lang-switch button.is-active,.ca-lang-switch a.is-active{background:#fff;color:var(--ca-red)}
.ca-hero{margin:-18px 0 16px;padding:24px;border:1px solid var(--ca-line);border-radius:24px;background:linear-gradient(135deg,#fff 0%,#fff 55%,#fff5f5 100%);box-shadow:var(--ca-shadow);display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;align-items:center}
.ca-eyebrow,.ca-section-kicker{margin:0 0 8px;color:var(--ca-red);font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:900}
.h1-title{display:block!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.15!important;text-align:left!important;padding:0!important;margin:0!important;font-size:34px!important;color:var(--ca-ink)!important}
.ca-hero-lead{max-width:720px;margin:12px 0 0;color:#475569;font-size:16px;line-height:1.8}
.ca-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.ca-btn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:11px 16px;text-decoration:none!important;font-weight:900}.ca-btn-primary{background:var(--ca-red);color:#fff!important}.ca-btn-light{background:#eef6ff;color:#0f62fe!important;border:1px solid #cfe3ff}
.ca-hero-card{background:linear-gradient(135deg,var(--ca-red),var(--ca-red-dark));color:#fff;border-radius:22px;padding:22px;box-shadow:0 18px 30px rgba(225,37,27,.22)}.ca-hero-card .ca-card-label{display:block;opacity:.86;font-weight:800}.ca-hero-card strong{display:block;font-size:31px;line-height:1.1;margin:12px 0}.ca-hero-card p{margin:0;color:#ffe4e6;font-weight:700}
.ca-card{background:var(--ca-card);border:1px solid var(--ca-line);border-radius:22px;margin:16px 0;padding:18px;box-shadow:var(--ca-shadow)}
.ca-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}.seo-section-title{font-size:22px!important;line-height:1.3!important;margin:0!important;color:var(--ca-ink)!important;font-weight:900!important}
.ca-refresh{position:relative!important;top:auto!important;right:auto!important;color:var(--ca-red)!important;width:42px;height:42px;border-radius:50%;display:flex!important;align-items:center;justify-content:center;background:#fff5f5;border:1px solid #fecaca;text-decoration:none!important}
.ca-draw-grid{display:grid;grid-template-columns:260px minmax(0,1fr);gap:16px;align-items:stretch}.ca-period-box{background:var(--ca-soft);border:1px solid #e2e8f0;border-radius:18px;padding:18px}.ca-period-box strong{display:block;font-size:34px;color:var(--ca-ink);line-height:1;margin:8px 0}.ca-period-box p{margin:0;color:#475569;font-weight:700}.ca-muted{color:var(--ca-muted);font-size:13px;font-weight:800}
#qishu,#times{color:inherit!important}.ca-result-line{display:flex!important;flex-wrap:wrap;gap:9px;align-items:center;justify-content:center;border:1px solid #e2e8f0;border-radius:18px;background:#fff;padding:18px!important}.ca-result-line span[id^="mi-"]{display:inline-flex!important;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 10px!important;border-radius:14px!important;font-size:20px!important}.ca-result-line em{font-style:normal;font-size:22px;color:#94a3b8;font-weight:900}
.issue-mi{border:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;margin:0 0 0 6px!important;border-radius:999px!important;background:linear-gradient(135deg,#e1251b,#b91c1c)!important;color:#fff!important;min-height:42px!important;padding:0 18px!important;font-weight:900!important;cursor:pointer!important;box-shadow:0 8px 18px rgba(225,37,27,.2)!important}
.ca-miss-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}.ca-miss-grid span{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:12px;display:flex;align-items:center;justify-content:space-between;gap:8px}.ca-miss-grid b{color:var(--ca-ink)}.ca-miss-grid em{font-style:normal;color:var(--ca-red);font-size:20px;font-weight:900}.ca-miss-grid small{color:var(--ca-muted)}
.types-box{max-width:720px!important;margin:8px auto 4px!important}.types-box nav{max-width:720px!important;margin:8px auto!important;background:transparent!important;line-height:normal!important;padding:0!important;gap:8px!important}.types-box .nav-type{border-color:#dbe3ef!important;border-radius:999px!important;background:#fff!important;color:#263247!important;padding:9px 10px!important;line-height:1.1!important;margin:0!important}.types-box .nav-active,.types-box .nav-type:hover{background:var(--ca-red)!important;border-color:var(--ca-red)!important;color:#fff!important}
.issue{box-shadow:none!important;margin:0!important}.issue-box{background:#f8fafc!important;border-radius:18px!important;border:1px solid #e2e8f0!important}.win_box p{font-size:16px;color:#334155;font-weight:800}
.result-nav{height:auto!important;border:1px solid #dbe3ef!important;border-radius:999px!important;overflow:hidden;background:#f8fafc!important;margin:8px auto 16px!important;max-width:520px!important}.result-nav span{height:42px!important;line-height:42px!important;border-right:1px solid #dbe3ef!important;font-weight:900!important}.result-active{background:var(--ca-red)!important;color:#fff!important}
.result-table{border:1px solid #dbe3ef!important;border-radius:18px!important;overflow:hidden;color:#334155!important;background:#fff}.result-thead{height:42px!important;line-height:42px!important;background:#f1f5f9!important;color:#1e293b!important}.result-tr{min-height:38px!important;height:auto!important;line-height:1.35!important;border-bottom:1px solid #edf2f7!important}.result-tr span{padding:7px 4px;box-sizing:border-box}.result-tr:nth-child(odd){background:#fbfdff!important}.badge-o,.yc-yes,.yc-yes2{background-color:var(--ca-red)!important}.badge-g,.yc-no,.yc-no2{background-color:var(--ca-blue)!important}
.ca-intro,.ca-footer-links{background:#fff;border:1px solid var(--ca-line);border-radius:18px;margin:14px 0;padding:14px 16px;box-shadow:var(--ca-shadow)}.ca-guide h2,.ca-faq h2{font-size:22px;margin:0;color:var(--ca-ink)}.ca-guide-grid{display:grid;grid-template-columns:1fr;gap:12px}.ca-guide article,.ca-faq-item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:16px}.ca-guide h3,.ca-faq h3{font-size:17px;margin:0 0 8px;color:#172554}.ca-guide p,.ca-guide li,.ca-faq p{font-size:15px;line-height:1.8;color:#475569}.ca-guide ul{margin:8px 0 0;padding-left:18px}.ca-faq-list{display:grid;gap:10px}.ca-footer-links p{margin:0 0 10px;font-weight:900;color:var(--ca-ink)}.ca-footer-links div{display:flex;flex-wrap:wrap;gap:8px}.ca-footer-links a{display:inline-flex;margin:0!important;padding:7px 10px;border-radius:999px;background:#eef6ff;color:#0f62fe;text-decoration:none!important;font-weight:700}.copyright{color:#64748b;padding:12px 0 28px}.copyright_a{color:#0f62fe}
@media (max-width:860px){.ca-header-inner{grid-template-columns:1fr}.ca-top-nav{justify-content:flex-start!important}.ca-lang-switch{width:max-content}.ca-hero{grid-template-columns:1fr;margin:12px 0 14px}.ca-draw-grid{grid-template-columns:1fr}.ca-miss-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.h1-title{font-size:27px!important}.ca-site-header{padding:14px 12px 20px}.main.container{padding:0 10px 28px!important}}
@media (max-width:520px){.ca-card,.ca-hero,.ca-guide,.ca-faq,.ca-footer-links{border-radius:18px;padding:14px}.ca-top-nav a{font-size:12px!important;padding:8px 10px!important}.ca-hero-card strong{font-size:25px}.ca-result-line span[id^="mi-"]{min-width:36px;height:36px;font-size:17px!important}.ca-miss-grid{grid-template-columns:1fr}.result-tr{font-size:12px!important}.result-thead{font-size:12px!important}}




/* Compact visible intro v3 */
.ca-intro h2{font-size:18px;margin:0 0 6px;color:var(--ca-ink);font-weight:900}.ca-intro p{margin:0;color:#475569;line-height:1.7;font-size:14px}
.ca-faq{display:block!important;background:#fff;border:1px solid var(--ca-line);border-radius:18px;margin:14px 0;padding:16px;box-shadow:var(--ca-shadow)}
.ca-faq h2{font-size:20px;margin:0 0 12px;color:var(--ca-ink);font-weight:900}
.ca-faq-list{display:grid;gap:10px}
.ca-faq-item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:14px}
.ca-faq-item h3{font-size:16px;margin:0 0 8px;color:#172554}
.ca-faq-item p{margin:0;font-size:14px;line-height:1.75;color:#475569}
.ca-seo-dual{margin-top:12px;display:grid;gap:8px}
.ca-seo-dual-zh,.ca-seo-dual-en{margin:0;padding:12px;border-radius:12px;background:#f8fafc;border:1px solid #e2e8f0;color:#334155;font-size:13px;line-height:1.7}
body.lang-zh .ca-seo-dual-en,body.lang-en .ca-seo-dual-zh{display:none!important}
#census .census-num{display:inline-block;min-width:1.5em;font-style:normal;font-weight:900;color:var(--ca-ink)}
#census .census-num.p-red, #census b.is-hot .census-num{color:#dc2626}
.ca-guide{display:none!important}

/* Accuracy metric card v4 */
.ca-accuracy-card{padding:18px!important}
.ca-accuracy-card .ca-section-head{margin-bottom:10px}
.ca-accuracy-wrap{margin:0!important;box-shadow:none!important}
.ca-accuracy-grid{
    display:grid;
    grid-template-columns:minmax(180px,1.25fr) repeat(3,minmax(118px,.75fr));
    gap:12px;
    padding:0!important;
    border:0!important;
    background:transparent!important;
}
.ca-accuracy-main,.ca-accuracy-stat{
    border:1px solid #dbe3ef;
    border-radius:18px;
    background:#f8fafc;
    padding:16px;
    min-height:92px;
    box-sizing:border-box;
}
.ca-accuracy-main{
    background:linear-gradient(135deg,#e1251b,#b91c1c);
    color:#fff;
    box-shadow:0 14px 24px rgba(225,37,27,.18);
}
.ca-accuracy-label,.ca-accuracy-stat span{display:block;font-size:13px;font-weight:900;color:#64748b}
.ca-accuracy-main .ca-accuracy-label{color:#ffe4e6}
.ca-accuracy-main strong{display:block;font-size:42px;line-height:1;margin:8px 0 6px}
.ca-accuracy-main small{color:#fff1f2;font-weight:700}
.ca-accuracy-stat{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}
.ca-accuracy-stat b{display:block;font-size:30px;line-height:1;margin-top:8px;color:#14213d}
.ca-stat-ok b{color:#0f62fe}.ca-stat-bad b{color:#e1251b}.ca-stat-total b{color:#334155}
@media (max-width:760px){.ca-accuracy-grid{grid-template-columns:1fr 1fr}.ca-accuracy-main{grid-column:1/-1}.ca-accuracy-stat{min-height:82px}.ca-accuracy-main strong{font-size:36px}}

/* Stronger forecast/trend/stat tabs v5 */
.result-data{padding:18px!important}
.result-data .seo-section-title{margin-bottom:14px!important}
.result-data .result-nav{
    max-width:620px!important;
    height:48px!important;
    margin:4px auto 18px!important;
    padding:4px!important;
    border:1px solid #cbd5e1!important;
    border-radius:18px!important;
    background:#eaf1fb!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 8px 18px rgba(15,23,42,.06)!important;
    display:flex!important;
    overflow:visible!important;
}
.result-data .result-nav>span{
    height:40px!important;
    line-height:40px!important;
    border:0!important;
    border-radius:14px!important;
    color:#17324d!important;
    background:#fff!important;
    font-weight:900!important;
    opacity:1!important;
    box-shadow:0 1px 4px rgba(15,23,42,.08)!important;
    transition:all .18s ease;
    cursor:pointer!important;
    pointer-events:auto!important;
    user-select:none;
    -webkit-user-select:none;
    flex:1 1 0;
    position:relative;
    z-index:5;
}
.result-data .result-nav>span [data-lang]{pointer-events:none}
.result-data .result-nav>span+span{margin-left:6px}
.result-data .result-nav>span:hover{color:#e1251b!important;transform:translateY(-1px)}
.result-data .result-nav>span.result-active{
    color:#fff!important;
    background:linear-gradient(135deg,#e1251b,#b91c1c)!important;
    box-shadow:0 10px 20px rgba(225,37,27,.24)!important;
}
.result-data .result-nav>span.result-active:before{display:none!important}
.result-data .result-table{display:block!important;min-height:160px;position:relative;z-index:1}
.result-data .result-table.is-hidden{display:none!important}
.result-data .result-nav{position:relative;z-index:20}
.result-data .result-nav>span{cursor:pointer!important}

/* Result table visual normalization v6 */
.result-data .result-table{
    table-layout:fixed!important;
    border-color:#d7e2ef!important;
}
.result-data .result-thead{
    font-weight:900!important;
    letter-spacing:.01em!important;
}
.result-data .result-tr>span{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:38px!important;
    gap:4px!important;
    color:#27364a!important;
    word-break:keep-all!important;
}
.result-data .result-tr>span:first-child,
.result-data .result-tr .p200{
    color:#475569!important;
    font-weight:800!important;
}
.result-data .code-item{
    background:#e11d48!important;
    color:#fff!important;
    border-radius:8px!important;
    font-weight:900!important;
    box-shadow:0 3px 8px rgba(225,29,72,.18)!important;
}
.result-data .code-sum{
    background:#0f62fe!important;
    color:#fff!important;
    border-radius:999px!important;
    font-weight:900!important;
    box-shadow:0 3px 8px rgba(15,98,254,.18)!important;
}
.result-data .forecast-result-cell{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:24px!important;
    color:inherit!important;
}
.result-data .yc-yes,
.result-data .yc-yes2,
.result-data .yc-no,
.result-data .yc-no2{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:28px!important;
    width:auto!important;
    height:24px!important;
    line-height:24px!important;
    padding:0 8px!important;
    margin:0 2px 0 0!important;
    border-radius:8px!important;
    color:#fff!important;
    font-weight:800!important;
    white-space:nowrap!important;
    box-sizing:border-box!important;
}
.result-data .yc-yes [data-lang],
.result-data .yc-yes2 [data-lang],
.result-data .yc-no [data-lang],
.result-data .yc-no2 [data-lang]{
    display:inline!important;
    padding:0!important;
    margin:0!important;
    width:auto!important;
    height:auto!important;
    line-height:inherit!important;
    background:transparent!important;
    color:inherit!important;
    box-shadow:none!important;
}
body.lang-en .result-data .yc-yes,
body.lang-en .result-data .yc-yes2,
body.lang-en .result-data .yc-no,
body.lang-en .result-data .yc-no2,
body.lang-en .result-data .yc-yes-shuangzu,
body.lang-en .result-data .yc-no-shuangzu{
    min-width:46px!important;
    padding:0 10px!important;
    font-size:12px!important;
}
.result-data .yc-yes,
.result-data .yc-yes2{
    background:#16a34a!important;
    box-shadow:0 3px 8px rgba(22,163,74,.18)!important;
}
.result-data .yc-no,
.result-data .yc-no2{
    background:#ef4444!important;
    box-shadow:0 3px 8px rgba(239,68,68,.18)!important;
}
.result-data .badge-o,
.result-data .badge-g{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:26px!important;
    height:24px!important;
    line-height:24px!important;
    padding:0 8px!important;
    border-radius:999px!important;
    color:#fff!important;
    font-weight:900!important;
    margin:0!important;
}
.result-data .badge-o{background:#e11d48!important;box-shadow:0 3px 8px rgba(225,29,72,.14)!important}
.result-data .badge-g{background:#0f62fe!important;box-shadow:0 3px 8px rgba(15,98,254,.14)!important}
.ca-stat-ok b{color:#16a34a!important}.ca-stat-bad b{color:#ef4444!important}.ca-stat-total b{color:#334155!important}
#census .result-tr{min-height:44px!important}
#census .result-tr span b{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    color:#334155!important;
    font-weight:800!important;
    white-space:nowrap!important;
}
#census .result-tr span p{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:24px!important;
    min-height:24px!important;
    padding:0 5px!important;
    margin:0 2px!important;
    border-radius:8px!important;
    background:#fff1f2!important;
    color:#e11d48!important;
    font-size:14px!important;
    font-weight:900!important;
}
#census .result-tr span .p-red{background:#e11d48!important;color:#fff!important}
#census .result-tr span i{
    background:#e11d48!important;
    color:#fff!important;
    font-weight:900!important;
}
#census .result-tr span i.census-chip-blue{background:#0f62fe!important}
@media (max-width:520px){
    .result-data .result-nav{height:auto!important;gap:4px!important}
    .result-data .result-nav>span{height:38px!important;line-height:38px!important;font-size:13px!important}
    .result-data .result-tr>span{padding:6px 3px!important;min-height:36px!important}
    #census .result-tr span b{font-size:12px!important;gap:2px!important}
    #census .result-tr span p{font-size:12px!important;min-width:20px!important;min-height:22px!important}
}

/* Census column alignment v7 */
#census .result-thead,
#census .result-tr{
    display:flex!important;
    align-items:center!important;
}
#census .result-thead>span,
#census .result-tr>span{
    border-radius:0!important;
    min-width:0!important;
}
#census .result-thead>span.census-label,
#census .result-tr>span.census-label{
    flex:0 0 16%!important;
    width:16%!important;
}
#census .result-thead>span:not(.census-label),
#census .result-tr>span:not(.census-label){
    flex:0 0 34%!important;
    width:34%!important;
}
#census .result-tr>span.census-label i{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:30px!important;
    max-width:72px!important;
    height:24px!important;
    padding:0 8px!important;
    margin:0!important;
    border-radius:999px!important;
    box-shadow:0 3px 8px rgba(15,23,42,.10)!important;
}
#census .result-tr>span:not(.census-label){
    background:transparent!important;
}
#census .result-tr>span b{
    min-width:96px!important;
}
@media (max-width:520px){
    #census .result-thead>span.census-label,
    #census .result-tr>span.census-label{flex-basis:18%!important;width:18%!important}
    #census .result-thead>span:not(.census-label),
    #census .result-tr>span:not(.census-label){flex-basis:32%!important;width:32%!important}
    #census .result-tr>span.census-label i{min-width:24px!important;padding:0 5px!important;font-size:11px!important}
    #census .result-tr>span b{min-width:76px!important}
}

/* Table alignment and color consistency v8 */
.result-data .result-table .result-thead,
.result-data .result-table .result-tr{
    display:grid!important;
    align-items:center!important;
    justify-content:initial!important;
    width:100%!important;
    box-sizing:border-box!important;
}
.result-data .result-table .result-thead>span,
.result-data .result-table .result-tr>span{
    width:auto!important;
    min-width:0!important;
    flex:none!important;
    box-sizing:border-box!important;
    border-radius:0!important;
}
.result-data .result-table .result-thead>span,
.result-data .result-table .result-thead>span>span[data-lang]{
    color:#1e293b!important;
    opacity:1!important;
    font-weight:900!important;
}
.result-data .result-table .result-thead>span>span[data-lang]{
    display:inline!important;
    width:auto!important;
    padding:0!important;
}
#forecast .result-thead,
#forecast .result-tr{
    grid-template-columns:0.7fr 1.4fr 1.5fr 0.8fr!important;
}
#forecast .result-tr>span{
    min-height:38px!important;
    overflow: visible!important;
}
#forecast .result-tr>.col-forecast,
#forecast .result-tr>.col-result{
    gap:5px!important;
    flex-wrap: wrap!important;
    justify-content: center!important;
    align-content: center!important;
}
body.lang-en #forecast .result-tr>.col-forecast .yc-yes,
body.lang-en #forecast .result-tr>.col-forecast .yc-no,
body.lang-en #forecast .result-tr>.col-forecast .yc-yes-shuangzu,
body.lang-en #forecast .result-tr>.col-forecast .yc-no-shuangzu{
    font-size:11px!important;
    padding:0 6px!important;
    min-width:auto!important;
}
#forecast .result-tr>.col-forecast>span,
#forecast .result-tr>.col-result>span{
    flex:0 0 auto!important;
}
#trend .result-thead,
#trend .result-tr{
    grid-template-columns:1.65fr .65fr repeat(8,minmax(0,1fr))!important;
}
#trend .result-thead>.p200,
#trend .result-tr>.p200{
    width:auto!important;
}
#trend .result-thead>span,
#trend .result-tr>span{
    padding-left:3px!important;
    padding-right:3px!important;
}
#census .result-thead,
#census .result-tr{
    grid-template-columns:1fr 1.8fr 1fr 1.8fr!important;
}
#census .result-thead>span.census-label,
#census .result-tr>span.census-label,
#census .result-thead>span:not(.census-label),
#census .result-tr>span:not(.census-label){
    width:auto!important;
    flex:none!important;
}
#census .result-tr>span:not(.census-label){
    background:transparent!important;
}
#census .result-tr>span.census-label i{
    white-space:nowrap!important;
}
/* Keep the main draw and history table using the same number palette. */
.ca-result-line span[id^="mi-num"]:not(#mi-num4),
.result-data .code-item{
    background:#0f62fe!important;
    color:#fff!important;
}
.ca-result-line #mi-num4,
.result-data .code-sum{
    background:#e11d48!important;
    color:#fff!important;
}
/* Paired forecast labels: green = matched candidate, red = unmatched candidate. */
.result-data .yc-yes-shuangzu,
.result-data .yc-no-shuangzu{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:40px!important;
    width:auto!important;
    height:24px!important;
    line-height:24px!important;
    padding:0 7px!important;
    margin:0!important;
    border-radius:7px!important;
    color:#fff!important;
    font-weight:900!important;
    box-sizing:border-box!important;
}
.result-data .yc-yes-shuangzu{background:#16a34a!important;box-shadow:0 3px 8px rgba(22,163,74,.18)!important}
.result-data .yc-no-shuangzu{background:#ef4444!important;box-shadow:0 3px 8px rgba(239,68,68,.18)!important}
@media (max-width:520px){
    #forecast .result-thead,#forecast .result-tr{grid-template-columns:.86fr 1.18fr 1.28fr .68fr!important}
    #forecast .result-data .result-thead>span,#forecast .result-data .result-tr>span{padding-left:2px!important;padding-right:2px!important}
    #trend .result-thead,#trend .result-tr{grid-template-columns:1.35fr .65fr repeat(8,minmax(0,1fr))!important}
    #census .result-thead,#census .result-tr{grid-template-columns:.9fr 1.55fr .9fr 1.55fr!important}
    .result-data .yc-yes-shuangzu,.result-data .yc-no-shuangzu{min-width:34px!important;padding:0 4px!important;font-size:11px!important}
}

/* Language visibility and header contrast finalization v9 */
.result-data .result-table .result-thead>span>span[data-lang]{
    display:inline;
    width:auto!important;
    padding:0!important;
    color:#1e293b!important;
    opacity:1!important;
}
body.lang-zh .result-data .result-table .result-thead>span>span[data-lang="en"],
body.lang-en .result-data .result-table .result-thead>span>span[data-lang="zh"]{
    display:none!important;
}
body.lang-zh .result-data .result-table .result-thead>span>span[data-lang="zh"],
body.lang-en .result-data .result-table .result-thead>span>span[data-lang="en"]{
    display:inline!important;
}
.result-data .result-table .result-thead>span{
    text-align:center!important;
    color:#1e293b!important;
    text-shadow:none!important;
}

/* Census grid precedence and pending paired forecast clarity v10 */
#census .result-thead,
#census .result-tr{
    display:grid!important;
    align-items:center!important;
    justify-content:initial!important;
    grid-template-columns:1fr 1.8fr 1fr 1.8fr!important;
    width:100%!important;
    box-sizing:border-box!important;
}
#census .result-thead>span,
#census .result-tr>span{
    width:auto!important;
    min-width:0!important;
    flex:none!important;
    box-sizing:border-box!important;
}
#census .result-thead{
    min-height:42px!important;
    background:#f1f5f9!important;
    color:#1e293b!important;
}
#census .result-thead>span{
    color:#1e293b!important;
    font-weight:900!important;
    text-align:center!important;
}
#forecast .forecast-pending-row .yc-yes-shuangzu,
#forecast .forecast-pending-row .yc-no-shuangzu{
    background:#2563eb!important;
    box-shadow:0 3px 8px rgba(37,99,235,.18)!important;
}
@media (max-width:520px){
    #census .result-thead,
    #census .result-tr{
        grid-template-columns:.9fr 1.55fr .9fr 1.55fr!important;
    }
}

/* Fluid responsive layout finalization v12 */
html,
body{
    width:100%;
    max-width:100%;
    overflow-x:hidden!important;
}
body.show1.new_show1 *,
body.show1.new_show1 *::before,
body.show1.new_show1 *::after{
    box-sizing:border-box;
}
body.show1.new_show1 .ca-site-header{
    width:100%;
    box-sizing:border-box;
}
body.show1.new_show1 .ca-header-inner{
    width:100%;
    max-width:1120px;
    box-sizing:border-box;
}
body.show1.new_show1 .main.container{
    width:100%;
    max-width:1120px!important;
    margin:0 auto!important;
    padding:0 16px 36px!important;
    box-sizing:border-box!important;
}
body.show1.new_show1 .main-p,
body.show1.new_show1 .ca-card,
body.show1.new_show1 .ca-hero,
body.show1.new_show1 .result-data,
body.show1.new_show1 .result-table{
    width:100%;
    max-width:100%;
    box-sizing:border-box!important;
}
body.show1.new_show1 .ca-hero{
    grid-template-columns:minmax(0,1fr) minmax(260px,320px);
}
body.show1.new_show1 .ca-draw-grid{
    grid-template-columns:minmax(220px,260px) minmax(0,1fr);
}
body.show1.new_show1 .result-data .result-nav{
    width:min(100%,620px)!important;
    max-width:620px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
}
body.show1.new_show1 .result-data .result-table{
    width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
}

@media (max-width:1100px){
    body.show1.new_show1 .ca-header-inner{
        grid-template-columns:minmax(0,1fr) auto;
    }
    body.show1.new_show1 .ca-top-nav{
        grid-column:1/-1;
        grid-row:2;
        justify-content:flex-start!important;
        min-width:0;
    }
    body.show1.new_show1 .ca-lang-switch{
        grid-column:2;
        grid-row:1;
    }
}
@media (max-width:900px){
    body.show1.new_show1 .ca-hero{
        grid-template-columns:1fr;
    }
    body.show1.new_show1 .ca-hero-card{
        width:100%;
    }
}
@media (max-width:760px){
    body.show1.new_show1 .ca-site-header{
        padding:14px 12px 20px;
    }
    body.show1.new_show1 .ca-header-inner{
        display:flex!important;
        flex-direction:column;
        align-items:stretch;
        gap:12px;
    }
    body.show1.new_show1 .ca-brand,
    body.show1.new_show1 .ca-top-nav,
    body.show1.new_show1 .ca-lang-switch{
        width:100%;
    }
    body.show1.new_show1 .ca-top-nav{
        display:flex!important;
        justify-content:flex-start!important;
        gap:7px!important;
    }
    body.show1.new_show1 .ca-top-nav a{
        flex:1 1 auto;
        min-width:calc(50% - 7px);
        text-align:center;
    }
    body.show1.new_show1 .ca-lang-switch{
        width:max-content;
        max-width:100%;
    }
    body.show1.new_show1 .main.container{
        padding:0 10px 28px!important;
    }
    body.show1.new_show1 .ca-hero{
        margin:12px 0 14px!important;
        padding:16px!important;
    }
    body.show1.new_show1 .ca-draw-grid{
        grid-template-columns:1fr;
    }
    body.show1.new_show1 .ca-period-box,
    body.show1.new_show1 .ca-result-line{
        width:100%;
    }
    body.show1.new_show1 .ca-result-line{
        padding:14px!important;
        gap:7px;
    }
    body.show1.new_show1 .result-data{
        padding:14px!important;
    }
    body.show1.new_show1 .result-data .result-nav{
        width:100%!important;
        margin:4px auto 14px!important;
    }
}
@media (max-width:520px){
    body.show1.new_show1 .ca-card{
        padding:14px!important;
        border-radius:18px!important;
    }
    body.show1.new_show1 .ca-brand-text strong{
        font-size:22px;
    }
    body.show1.new_show1 .ca-brand-text small{
        font-size:12px;
    }
    body.show1.new_show1 .ca-top-nav a{
        min-width:calc(50% - 7px);
        padding:9px 8px!important;
        font-size:12px!important;
    }
    body.show1.new_show1 .ca-hero{
        padding:14px!important;
    }
    body.show1.new_show1 .h1-title{
        font-size:clamp(24px,7vw,30px)!important;
        line-height:1.2!important;
        overflow-wrap:anywhere;
    }
    body.show1.new_show1 .ca-hero-lead{
        font-size:14px;
        line-height:1.65;
    }
    body.show1.new_show1 .ca-hero-actions .ca-btn{
        flex:1 1 140px;
        min-height:44px;
    }
    body.show1.new_show1 .ca-hero-card{
        padding:18px!important;
        border-radius:18px!important;
    }
    body.show1.new_show1 .ca-hero-card strong{
        font-size:clamp(24px,7vw,31px);
        overflow-wrap:anywhere;
    }
    body.show1.new_show1 .ca-period-box{
        padding:16px!important;
    }
    body.show1.new_show1 .ca-period-box strong{
        font-size:clamp(28px,8vw,34px);
    }
    body.show1.new_show1 .ca-result-line{
        justify-content:center;
    }
    body.show1.new_show1 .ca-result-line span[id^="mi-"]{
        min-width:34px;
        height:36px;
        padding:0 8px!important;
        border-radius:11px!important;
        font-size:17px!important;
    }
    body.show1.new_show1 .ca-result-line em{
        font-size:18px;
    }
    body.show1.new_show1 .issue-mi{
        min-height:38px!important;
        padding:0 13px!important;
        font-size:13px;
    }
    body.show1.new_show1 .ca-accuracy-grid{
        grid-template-columns:1fr 1fr;
    }
    body.show1.new_show1 .ca-accuracy-main{
        grid-column:1/-1;
    }
    body.show1.new_show1 .result-data .result-table{
        border-radius:14px!important;
    }
}

/* Forecast fallback visibility and refresh stability v13 */
#forecast[aria-busy="true"]{
    opacity:1!important;
}
#forecast .forecast-empty-row{
    min-height:56px!important;
    color:#64748b!important;
}
#forecast .forecast-empty-row .col-forecast{
    display:flex!important;
    justify-content:center!important;
    gap:4px!important;
}
body.lang-zh #forecast .forecast-empty-row [data-lang="en"],
body.lang-en #forecast .forecast-empty-row [data-lang="zh"]{
    display:none!important;
}

/* English trend table: wider badges for two-word labels */
body.lang-en .badge-o,
body.lang-en .badge-g{
    white-space:nowrap!important;
    min-width:auto!important;
    padding:0 6px!important;
    font-size:11px!important;
}
body.lang-en #trend .result-tr span.p120{
    width:auto!important;
    min-width:60px!important;
}
body.lang-en #trend .result-thead span.p120,
body.lang-en #trend .result-thead span{
    white-space:nowrap!important;
    font-size:12px!important;
}
body.lang-en #trend .result-tr span{
    padding:7px 2px!important;
}
body.lang-en #trend .result-tr span.p200{
    min-width:70px!important;
    width:auto!important;
}
/* English census table: wider labels */
body.lang-en #census .census-label i{
    white-space:nowrap!important;
    min-width:auto!important;
    padding:0 6px!important;
}
body.lang-en #census .census-label{
    width:auto!important;
    min-width:60px!important;
}
