/*
Theme Name: CoLoa Share By KhoGameDinh.Com
Theme URI: KhoGameDinh.Com
Author: KhoGameDinh.Com
Author URI: http://www.khogamedinh.com
Description: Design by coloawap.net
Version: 1.0
*/

a{color:#06c;text-decoration:none}a:hover{color:#F00;transition:all 1s ease;-webkit-transition:all 1s ease;-moz-transition:all 1s ease;position:relative;text-shadow:0 0 3px #444}img{max-width:98%;}h1,h2,h3,h4,h5{display:inline;margin:0;padding:0}h2,h3{font-size:17px}img:hover,a:hover{-webkit-animation:hue 1s linear infinite}h1{font-size:18px;display:inline;margin:0;padding:0}input[type="file"]{margin:2px 0}input[type="checkbox"]{vertical-align:middle}.right input[type="text"]{border-radius:4px;border:1px solid #CCC;padding:2px;write:100%}select{border:1px dashed #5dbef7;padding:1px}.logo{color:#FFF;padding:3px}.navbar{background:#3caa3e;color:#fff;border-style: ridge;
    border-width: 2px;
    border-color: blue;
    margin: 2px;
    padding: 2px}.navbar a{color:blue}.navbar span.item{display:inline-block;text-transform:capitalize;font-size:13px;color:#fff;padding:6px}.navbar .selected{background:#ff6702;color:#fff}.navbar span.item:hover{background:#ff6702;color:#fff}.phdrbox{margin-bottom:5px}
    .list1 {
        padding: 10px;
        background-color: #fff;
        border-bottom: 1px dashed #c5c5c5;
        
    }

.list1 p{margin:5px;padding:0}.list2{padding:8px;background-color:#fff;border-bottom:1px solid #ECECEC}.baothongtin{background:#FFC;text-align:center;padding:4px;border:2px dashed #b4b4b4;color:#514721;margin-bottom:5px}.baothongtin a{color:#ff1234}
.phdr123{background:#ff6702;line-height:25px;margin-top:1px;color:#FFF}.but{background:url(https://web.archive.org/web/20220427204212im_/https://vui9x.com/templates/xanh/theme/images/btnsent.png) no-repeat;color:#fff;padding:10px 0;width:194px;display:inline-block;text-shadow:1px 1px #9C6F3A;font-weight:bold;font-family:Arial,Helvetica,sans-serif;font-size:13px}.but a{color:#fff;font-size:14px}.lk{background-color:#6bc135;background-image:-moz-linear-gradient(top,#8ad12f,#3caa3e);background-image:-webkit-gradient(linear,0 0,0 100%,from(#8ad12f),to(#3caa3e));background-image:-webkit-linear-gradient(top,#8ad12f,#3caa3e);background-image:-o-linear-gradient(top,#8ad12f,#3caa3e);background-image:linear-gradient(to bottom,#8ad12f,#3caa3e);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff8ad12f',endColorstr='#ff3caa3e',GradientType=0);color:white;background-position:50% top;margin-top:1px;margin-bottom:1px;padding:2px;border:1px solid #88beff;font-weight:bold}
.phdr{background-color:#6bc135;background-image:-moz-linear-gradient(top,#8ad12f,#3caa3e);background-image:-webkit-gradient(linear,0 0,0 100%,from(#8ad12f),to(#3caa3e));background-image:-webkit-linear-gradient(top,#8ad12f,#3caa3e);background-image:-o-linear-gradient(top,#8ad12f,#3caa3e);background-image:linear-gradient(to bottom,#8ad12f,#3caa3e);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff8ad12f',endColorstr='#ff3caa3e',GradientType=0);color:white;background-position:50% top;margin-top:1px;margin-bottom:1px;padding:5px;font-weight:bold}.bread{background-color:#E5E7E9;font-weight:bold;color:#676767;padding:5px}.phdr a{color:#676767}.content_block{background:#fff}.tenbai{padding:5px;border-bottom:1px dashed #ddd;overflow:hidden}.thumb{padding:1px;border:1px solid #FFD9BB;vertical-align:text-top;margin-right:3px;display:table-cell;float:left;border-radius:50%}.tittle{margin-top:5px}.page_nav,.emm-next,.emm-prev,.page-numbers{padding:2px 4px;background:#f2f6f8;border:1px solid #cedfeb;color:#417394;margin:2px 0;display:inline-block}.page_nav:hover,.emm-next:hover,.emm-prev:hover,.page-numbers:hover{border:1px solid #419487;background:#40b598}.page_nav,.page-numbers.current{background:#40b598;border:1px solid #419487;color:#FFF;font-weight:bold}.time-bai-viet{background-color:#5ebd84;color:#fff;padding:3px}.time-bai-viet a{color:#fff}.thu-tu-bai-viet{background-color:#4f912f;color:#fff;padding:4px}

.bai-viet-box{background:#fff;color:#333;line-height:150%;padding:0px}.share{background-color:#5ebd84;font-weight:bold;color:#FFF;padding:5px}.footer{background:#3caa3e;padding:10px;color:#fff;font-size:15px}.footer a{color:#fff}a.downloadfree{background:url(/web/20220427204212im_/https://soicau247.net/wp-content/themes/Coloa/images/downloadfreeIcon.jpg) #6dbd44 top left no-repeat;padding-left:40px;height:32px;line-height:32px;color:#FFF;font-weight:700;padding-right:6px;border:none;display:block;float:left;clear:both}.download{display:inline-block;border:1px #6DBD44 solid;text-align:left}.download{display:inline-block;border:1px #6DBD44 solid;text-align:left}.download ul{margin-left:0}.dl_menu{font-weight:700;color:#FFF;background:url(/web/20220427204212im_/https://soicau247.net/wp-content/themes/Coloa/images/downloadfreeIcon.jpg) #6DBD44 top left no-repeat;padding-left:40px;height:32px;line-height:32px;text-align:left}.download .item{list-style:none;border-bottom:1px solid #E2E2E2;padding:4px 10px;margin:0;background:url(/web/20220427204212im_/https://soicau247.net/wp-content/themes/Coloa/images/item.png) left 8px no-repeat;color:#13a89e}.l{padding:4px;background-color:#000;border-bottom:1px solid #ECECEC}.cmm{padding:4px;background-color:#FFF;border-top:2px solid #00C2FF}.form,.input{font-size:13px;font-family:Calibri,'Trebuchet MS',Verdana,Geneva,Arial,Helvetica,sans-serif;color:#000;background-color:#fff;padding:3px;margin-bottom:2px;border-width:1px;border-style:solid;border-top-color:silver;border-right-color:#e9e9e9;border-bottom-color:#e9e9e9;border-left-color:silver;border-radius:4px;outline:0}textarea{-webkit-appearance:textarea;background-color:white;border:1px solid;border-image-source:initial;border-image-slice:initial;border-image-width:initial;border-image-outset:initial;border-image-repeat:initial;-webkit-rtl-ordering:logical;-webkit-user-select:text;-webkit-flex-direction:column;resize:auto;cursor:auto;padding:2px;white-space:pre-wrap;word-wrap:break-word}.button:hover,.button:focus{background:#3C81C2}.button,.button-primary{font-size:12px;background:#428BD7;border:0;border-radius:4px;padding:5px 10px;color:#fff;cursor:pointer}.item123{background-image:url(https://web.archive.org/web/20220427204212im_/https://coloa.pro/files/css/image/tmn.gif);background-repeat:repeat-x;background-position:50% top;margin-top:1px;margin-bottom:1px;padding:2px;border:1px solid #e1e1e1}
.bai-viet-box-single {
    background: #fff;
    color: #333;
    line-height: 150%;
    padding: 10px;
}
#logo,.logo2{background: #cdf333;}
#logo img {
    max-width: 100%;
}
.box{background:#FFF;border-bottom:1px solid #E2E2E2;padding:5px 5px 5px 10px}h3.box{font-size:13px}.box:hover,h3.box:hover{background:#fff}.dulieu{background:#FAFAFA;border:1px solid #D6D6D6;border-radius:4px;margin-bottom:8px;box-shadow:-2px 2px 1px #E4E4E4}#posts_container .post_content .download1 .title{background:#6dbd44 url(https://web.archive.org/web/20220427204212im_/https://android.coloawap.net/wp-content/uploads/2013/12/download.png) no-repeat 4px center;padding:4px4px 2px 22px;font-weight:bold;color:#fff;border-bottom:1px solid #6dbd44}#posts_container .post_content .download1 li.item1{list-style:none;border-top:1px solid #fff;padding:8px4px 8px 14px;margin:0;background:url(https://web.archive.org/web/20220427204212im_/https://android.coloawap.net/wp-content/uploads/2013/12/arrow_right_green.png) no-repeat 2px center}#other_post .other_item .item1{font-size:11px;display:block;margin:5px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:86px}#other_post .other_item .item1 .stars0,#other_post .other_item .item1 .stars1,#other_post .other_item .item1 .stars2,#other_post .other_item .item1 .stars3,#other_post .other_item .item1 .stars4,#other_post .other_item .item1 .stars5,#other_post .other_item .item1 .stars05,#other_post .other_item .item1 .stars15,#other_post .other_item .item1 .stars25,#other_post .other_item .item1 .stars35,#other_post .other_item .item1 .stars45{width:65px;height:18px;display:block}.download-link{background:url("https://web.archive.org/web/20220427204212im_/http://taifree.vn/wp-content/uploads/2014/04/download_kdd.png") no-repeat scroll 5px center rgba(0,0,0,0.1);border-bottom:2px solid #5CB85C;background-color:#5CB85C;list-style:none outside none;margin-bottom:10px;padding:8px 24px;background-color:#1D9AE3;color:#FFF;border:1px solid #1D9AE3;border-radius:4px;display:inline-block;margin:5px 2px;padding:4px 4px 2px 22px}a.download-game{background:url("https://web.archive.org/web/20220427204212im_/http://taifree.vn/wp-content/uploads/2014/04/download_kdd.png") no-repeat scroll 5px center rgba(0,0,0,0.1);border-bottom:2px solid #F63;background-color:#F63;list-style:none outside none;margin-bottom:10px;padding:8px 24px;background-color:#F63;color:#FFF;border:1px solid #F63;border-radius:4px;display:inline-block;margin:5px 2px;padding:4px 4px 2px 22px}.item10{background:#FFF;border-bottom:1px solid #E2E2E2;padding:5px 5px 5px 10px}


.caudep, .caudep:visited {
    margin: 3px;
    padding: 5px 5px;
    display: block;
    float: left;
    background: #fdfdfd;
    border: #dfdddb 1px solid;
    font-size: 16px;
    font-weight: bold;
    color: #1d5aeb;
    text-decoration: none;
}
.caudep{
    margin: 3px;
    padding: 5px 5px;
    display: block;
    float: left;
    background: #fdfdfd;
    border: #dfdddb 1px solid;
    font-size: 16px;
    font-weight: bold;
    color: #1d5aeb;
    text-decoration: none;
}


.caudep:hover, .caudep:active {
    background: #ffede1;
    border: #fae1c0 1px solid;
    float: left;
    font-size: 16px;
    font-weight: bold;
    color: #df5900;
    text-decoration: none;
}

.contentbox {
    border: #ddd 1px solid;
    border-radius: 5px;
    text-align: left;
    background-color: white !important;
}



.contentbox_header div {
    font-weight: bold;
    color: #FF3366;
    font-size: 12px;
    text-shadow: 1px 1px #fff;
    position: relative;
    padding: 8px 0 0 5px;

}

.contentbox_body {
    padding: 5px;
background-color: white !important;
}

element.style {
   
    background-color: white;
}
.wapper{
background-color: white;
box-shadow: 0 7px 22px rgba(0, 0, 0, 0.3);
}

.wpd-thread-wrapper .wpd-threads {
display: none;
}

.wpd-thread-wrapper .wpd-comment-info-bar {
display: none;
}

#wpdcom .wpd-thread-head .wpd-thread-info {
display: none !important;}

.post-views {
	display: none !important;
}


body {
  font-family: "Open Sans", sans-serif;
  max-width: 800px;
  margin: auto;
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  background: #f1f1f1;
  box-shadow: 0 8px 17px 2px rgb(0 0 0 / 14%), 0 3px 10px 1px rgb(0 0 0 / 12%), 0 5px 5px -3px rgb(0 0 0 / 20%);
}


.middledite {
    padding: 0;
    background-color: #dee8eb;

}
.breadcrumb:last-child {
    color: #fff;
}
.breadcrumb {
    padding: 8px 0px 8px 0;
    list-style: none;
    background-color: #dee8eb;
    border-radius: 4px;
    font-size: 14px;
    margin-left: 12px;
    background-image: url(/assets/wp-content/themes/Coloa/images/br.png);
}
.breadcrumb>li {
    display: inline-block;
}
.breadcrumb>li+li:before {
    padding: 0 5px;
    color: #ccc;
    content: "/\00a0";
}

.khungvien {
    background-color: #fff;
    margin-top: 1px;
    margin-bottom: 1px;
    padding: 10px;
    text-align: center;
    list-style: none;
    border-left: 4px solid #5cba38;
    border-right: 4px solid #5cba38;
    border-top: 1px solid #5cba38;
    border-bottom: 1px solid #5cba38;
    background: #fff;
    word-wrap: break-word;
}



/* Appearance */
.links {
	background-color: #3caa3e;
	background-image: url(/assets/wp-content/themes/Coloa/images/soicaulode-bgheader.jpg);
	border-bottom: 0px solid #0003;
	box-shadow: 0 0 32px #0003;
	font-size: 16px;
	font-weight: 300;
}
.links > ul > li > a {
	color: #FFF;
	padding: 10px 0px;
	text-align: center;
	text-decoration: none;
	transition: all 0.5s;
	display: block;
}
.links > ul > li:hover {
	background: #ffffff06;
	color: #adf;
}
.links > ul > .line {
	background: #53a02c;
	height: 3px;
	pointer-events: none;
	
}

/* The Magic */

.links ul {
	display: flex;
	position: relative;
	list-style: none;
	padding: 0px;
	margin: 0;
}

.links > ul > li {
    padding: 0 10px;
}

.links > ul > .line {
	opacity: 0;
	transition: all 0.5s;
	position: absolute;
	bottom: 0;
	left: var(--left, calc(100% / var(--items) * (var(--index) - 1)));
	width: var(--width, calc(100% / var(--items)));
	--index: 0;
}
.links > ul > li:hover ~ .line {
	opacity: 1;
}

.links > ul > li:nth-of-type(1):hover ~ .line {
	--index: 1;
}
.links > ul > li:nth-of-type(2):hover ~ .line {
	--index: 2;
}
.links > ul > li:nth-of-type(3):hover ~ .line {
	--index: 3;
}
.links > ul > li:nth-of-type(4):hover ~ .line {
	--index: 4;
}
.links > ul > li:nth-of-type(5):hover ~ .line {
	--index: 5;
}
.links > ul > li:nth-of-type(6):hover ~ .line {
	--index: 6;
}
.links > ul > lia:nth-of-type(7):hover ~ .line {
	--index: 7;
}
.links > ul > li:nth-of-type(8):hover ~ .line {
	--index: 8;
}
.links > ul > li:nth-of-type(9):hover ~ .line {
	--index: 9;
}
.links > ul > li:nth-of-type(10):hover ~ .line {
	--index: 10;
}
.links > ul > li:last-of-type:hover ~ .line {
	--index: var(--items);
}

ul.submenu {
    width: 160px;
    background: #fff;
    min-height: 80px;
    display: none;
    position: absolute;
    z-index: 1000;
    margin-left: -10px;
}

ul.submenu li {
    list-style: none;
}

ul.submenu li a {
    text-transform: none;
    text-decoration: none;
    color: #000;
    display: block;
    line-height: 40px;
    text-indent: 10px;
    padding-right: 2px;
}

ul.root > li:hover ul.submenu {
	display:block;
	font-size:13.33px;
	}
ul.submenu li a:hover {
	background-color: #EEE;
	font-size:13.33px;
	}
ul.root > li:hover ul.submenu{display:block;color:red;}

ul.submenu li a:before {
    padding: 0 2px;
    color: #333;
    content: "»";
}

.listbanner img {
    max-width: 100%;
    padding-bottom: 10px;
}

.collapsible {
    color: #fff;
    cursor: pointer;
    padding: 5px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 20px;
    background: linear-gradient(to bottom,#8ad12f,#3caa3e);
    font-weight: 800;
    line-height: 1.6;
    font-family: "Open Sans", sans-serif;
}

.list-single {
    padding: 0px;
    background-color: #fff;
    border-bottom: 1px solid #ECECEC;
}

.collapsibledk {
    color: #666;
    cursor: pointer;
    padding: 5px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 18px;
    background-image: url(https://web.archive.org/web/20220427204212im_/https://nuoilokhung247.net/wp-content/uploads/2021/07/bg.gif);
    font-weight: 800;
    font-family: "Open Sans", sans-serif;
}


.iconnews {
    float: right;
    width: 24px;
    margin: 0 8px 0 0;
    height: 24px;
    border-radius: 19%;
    top: 28px;
    right: 5px;
}

.activeqc:hover {
  background-color: #555;
}

.activedk:hover {
  background-color: #555;
}


.content {
  display: block;
  overflow: hidden;
}

.contentdk {
  display: none;
  overflow: hidden;
}


.khungtren {
    background-color: #F0F8FF;
    padding: 8px;
    color: #000;
}

.caudep {
    margin: 3px;
    padding: 5px 5px;
    display: block;
    float: left;
    background: #FDFDFD;
    border: #DFDDDB 1px solid;
    font-size: 16px;
    font-weight: bold;
    color: #1D5AEB;
    text-decoration: none;
}

.list11 {
	display: flex;
	background-color: #fff;
    margin-top: 1px;
    margin-bottom: 1px;
    padding: 6px;
    border: 0px solid #d5d5d5;
    list-style: none;
}

.h2qc {
    color: #FFF;
    font-size: 15px;
}

.titleqc {
    padding: 10px;
    text-align: center;
}

.wrap {
    background: #FFF;
}

.warning {
    background: yellow;
    padding: 10px;
    border-top: 1px dashed #DDD;
    border-bottom: 1px dashed #DDD;
    font-weight: 600;
    color: red;
}

.foo4 {
    padding: 20px;
    list-style: auto;
    line-height: 1.5;
}

.foo1 {
    background: #b0bec5!important;
    padding: 10px;
    color: #FFF;
    font-size: 15px;
    line-height: 1.5;
    border-bottom: 2px solid #fff;
}

.foo3 {
    background-color: #263238!important;
    padding: 10px;
    list-style: none;
    border-bottom: 1px solid #666;
    color: #90a4ae!important;
    line-height: 1.5;
}

.trentable {
	background: #FFF;
}

  
.tbl-ketquaxoso {
            background: #FFF;
			padding: 5px;
        }
.grid-content {
    padding: 15px 0px;
}
.clsDoSo {
    border: 3px solid #5cba38;
}
.margin-bt10 {
    margin-bottom: 10px;
}
.result-header {
    padding: 10px;
    position: relative;
    text-align: center;
    display: grid;
}
.result-header h3 {
    color: #e00000;
    font-size: 16px;
    text-transform: uppercase;
    margin: 0;
    padding-top: 5px;
}

.bol {
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
    text-align: center;
    vertical-align: middle;
}

.span-2 {
    width: 100px;
}

.result-header h4 {
    color: #2d4c87;
    font-size: 15px;
    
}

.clsDoSo table {
    border: 0 none;
    table-layout: fixed;
    width: 100%;
}
table {
    border-spacing: 0;
    border-collapse: collapse;
}

.clsDoSo table tr td:first-child {
    border-left: medium none;
}
.clsDoSo table tr td {
    border: 1px solid #d9d9d9;
    font-size: 18px;
    font-weight: bold;
    height: 35px;
    line-height: 35px;
    text-align: center;
}

.result-box h4 {
    font-size: 14px;
    margin: 0;
}

.clsDoSo table tr td:last-child {
    border-right: 0 none;
}

.bor {
    border-bottom: 1px solid #ccc;
    text-align: center;
    vertical-align: top;
}

.space {
    margin-bottom: 10px;
}
.dleft {
    float: left;
}
.dleft {
    width: 50%;
}
.dd-loto-widget table {
    /* width: 250px; */
    height: 320px;
    text-align: center;
    font-weight: bold;
    font-size: 13px;
    float: left;
}

.boxtable {
    border: 1px solid #ccc;
}


.dd-loto-widget {
    display: flex;
}

.dd-loto-widget table thead {
    background: #e62e04!important;
}

.dd-loto-widget table thead th:first-child {
    width: 40px;
}
.dd-loto-widget table thead th {
    border: 1px solid #5cba38;
    border-bottom: 0;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    height: 35px;
    line-height: 35px;
}
.dd-loto-widget table thead th {
    background: #5cba38!important;
}

.boxMoThuong h3 {
    padding: 5px 0;
    font-size: 14px;
}

.dd-loto-widget table tr:first-child td {
    border-top: 0;
}
.dd-loto-widget table tr td {
    border: 1px solid #cdcdcd;
}
.boxtable td {
    /* padding: 5px; */
}
.boxtable td {
    padding: 7px 5px;
}

.f2b {
    font-size: 14px;
    font-weight: bold;
}

.db {
    color: #db0d1d;
}

.dd-loto-widget table tr:first-child td {
    border-top: 0;
}
.dd-loto-widget table tr td {
    border: 1px solid #cdcdcd;
}
.boxtable td {
    /* padding: 5px; */
}
.boxtable td {
    padding: 7px 5px;
}
.tleft {
    text-align: left;
}

.dleft {
    float: left;
}
.dleft {
    width: 50%;
}

.sred {
    font-weight: bold;
}
.sred {
    color: #e62e04!important;
}

.widget-header h3 {
    font-weight: 700;
    color: white;
    background: #5cba38;
    padding: 10px;
    cursor: pointer;
    text-transform: uppercase;
    display: block;
    text-transform: uppercase;
    font-size: 13px;
}

.widget-content {
    border: 1px solid #ccc;
}

.tk-nhanh-item-header {
    background: #f7f7f7 none repeat scroll 0 0;
    border-left: 3px solid #76ab1c;
    color: #414141;
    font-size: 13px;
    font-weight: bold;
    height: 30px;
    line-height: 30px;
    padding-left: 5px;
}

.tk-nhanh-item-content {
    display: table;
    padding: 13px;
    color: #414141;
    font-size: 13px;
}

.tk-nhanh-item {
    float: left;
    font-weight: bold;
    height: 29px;
    line-height: 29px;
    margin-right: 15px;
    width: 95px;
}

.tk-nhanh-number {
    background: #e3e9f4 none repeat scroll 0 0;
    border: 1px solid #a1b1cf;
    color: #2d4c87;
    float: left;
    font-weight: bold;
    text-align: center;
    width: 25px;
}

.tk-nhanh-text {
    background: #fcfaf4 none repeat scroll 0 0;
    border-color: #e3e3e3;
    border-image: none;
    border-style: solid solid solid none;
    border-width: 1px 1px 1px medium;
    float: left;
    padding-left: 9px;
    width: 55px;
}

@media (max-width:468px) {
    
    .links {
        font-size: 13.3px;
    }
    
    ul.submenu li a:hover {
        font-size:11px;
    }
    
    ul.submenu li a {
        text-indent: 5px;
    }

    ul.root > li:hover ul.submenu{font-size:11px;display:block;color:red;}
    ul.submenu li a:before {
    padding: 0px;
    color: #333;
    content: "»";
}


    
}

@media (max-width:375px) {
    .links > ul > li > a {
        padding: 10px 5px;
    }
}

/* KQXS Miền Bắc table styles */
.clnote {
    color: #ed1c25;
}
.madb {
    display: none;
}
.tbl-ketquaxoso {
    display: block;
    background: #FFF;
    padding: 8px;
    box-sizing: border-box;
}
.tbl-ketquaxoso .number {
    text-align: center;
}
.tbl-ketquaxoso table {
    width: 100%;
    border: none;
    border-spacing: 0;
    border-collapse: collapse;
    table-layout: auto;
}
table.kqmb col.col-giai {
    width: 82px;
}
.tbl-ketquaxoso table td,
.tbl-ketquaxoso table th {
    padding: 4px 6px;
    border: 1px solid #d9d3cb;
    text-align: center;
    box-sizing: border-box;
}
table.kqmb thead {
    display: none;
}
table.kqmb td.txt-giai,
.one-city td.txt-giai {
    width: 82px;
    padding: 6px 4px;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}
.bg_ef,
.bg_f6 {
    background: #f5f5f5;
}
table.kqmb td.v-giai.number {
    padding: 0;
    font-size: 0;
    line-height: 0;
    color: #222;
    font-weight: 700;
    vertical-align: middle;
}
table.kqmb td.v-giai span[class^=v-g] {
    display: inline-block;
    box-sizing: border-box;
    padding: 10px 4px;
    font-size: 20px;
    line-height: 1.2;
    vertical-align: middle;
    text-align: center;
}
table.kqmb .db td.v-giai span.v-gdb {
    width: 100%;
    color: #ed1c25;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
}
table.kqmb td.v-giai span.v-g1 {
    width: 100%;
}
table.kqmb td.v-giai span[class^=v-g2-] {
    width: 50%;
}
table.kqmb td.v-giai span[class^=v-g3-],
table.kqmb td.v-giai span[class^=v-g5-],
table.kqmb td.v-giai span[class^=v-g6-] {
    width: 33.3333%;
}
table.kqmb td.v-giai span[class^=v-g4-],
table.kqmb td.v-giai span[class^=v-g7-] {
    width: 25%;
}
table.kqmb .g7 td.v-giai span[class^=v-g7-] {
    color: #ed1c25;
    font-size: 21px;
    font-weight: 800;
}
table.kqmb td.v-giai span.v-g3-0,
table.kqmb td.v-giai span.v-g3-1,
table.kqmb td.v-giai span.v-g3-2,
table.kqmb td.v-giai span.v-g5-0,
table.kqmb td.v-giai span.v-g5-1,
table.kqmb td.v-giai span.v-g5-2 {
    border-bottom: 1px solid #d9d3cb;
}
.firstlast-wrapper {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}
.firstlast-wrapper::after {
    display: none;
}
.firstlast-mb {
    font-weight: 650;
    font-size: 14px;
}
.firstlast-mb.fl,
.firstlast-mb.fr {
    float: none;
    width: calc(50% - 4px);
    flex: 1 1 50%;
}
.firstlast-mb .header th {
    background: #6bc135 !important;
    color: #FFF;
    font-weight: 700;
    padding: 6px 4px;
}
.firstlast-mb.fl th:first-child,
.firstlast-mb.fl td.clnote {
    width: 48px;
}
.firstlast-mb.fr th:last-child,
.firstlast-mb.fr td.clnote {
    width: 48px;
}
.firstlast-mb td {
    padding: 5px 8px;
}
.firstlast-mb.fl td:last-child {
    text-align: left;
}
.firstlast-mb.fr td:first-child {
    text-align: right;
}
.fl {
    float: left;
}
.fr {
    float: right;
    padding-right: 0;
}
@media (max-width: 480px) {
    table.kqmb col.col-giai,
    table.kqmb td.txt-giai {
        width: 64px;
        font-size: 14px;
    }
    table.kqmb td.v-giai span[class^=v-g] {
        font-size: 17px;
        padding: 8px 2px;
    }
    table.kqmb .db td.v-giai span.v-gdb {
        font-size: 21px;
    }
    table.kqmb .g7 td.v-giai span[class^=v-g7-] {
        font-size: 18px;
    }
    .firstlast-wrapper {
        gap: 4px;
    }
}
.list11 {
    flex-wrap: wrap;
}
.phdr-center {
    text-align: center;
}
.phdr h1,
.phdr h2,
.phdr h3 {
    font-size: 20px;
    color: #fff;
}
.pagination-box {
    background: #FFF;
    border-top: 1px solid #DDD;
    padding: 8px 6px;
    font-size: 13px;
}
.pagination-box .page-numbers {
    padding: 4px 9px;
    margin-right: 3px;
    border-radius: 3px;
}
.tenbai {
    padding: 8px;
    line-height: 1.5;
}
.tenbai img.thumb,
.tenbai img.item-icon {
    vertical-align: middle;
    margin-right: 6px;
    float: none;
    display: inline-block;
    border: none;
    border-radius: 0;
}
.control-panel {
    display: none;
}

/* 404 Error Page */
.error-404-box {
    background: #fff;
    padding: 32px 16px;
    text-align: center;
    border-bottom: 1px solid #ececec;
}
.error-404-code {
    font-size: 68px;
    font-weight: 800;
    line-height: 1.1;
    color: #5cba38;
    letter-spacing: 3px;
}
.error-404-title {
    display: block;
    font-size: 19px;
    font-weight: 700;
    color: #333;
    margin: 10px 0 8px;
}
.error-404-desc {
    color: #555;
    font-size: 14px;
    margin: 0 auto 18px;
    max-width: 560px;
    line-height: 1.6;
}
.error-404-desc code {
    background: #f3f6f4;
    color: #c62828;
    padding: 2px 6px;
    border-radius: 3px;
    word-break: break-all;
}
.error-404-actions {
    margin-top: 8px;
}
.btn-back-home {
    display: inline-block;
    padding: 10px 22px;
    background: linear-gradient(to bottom, #8ad12f, #3caa3e);
    color: #fff !important;
    font-weight: 700;
    font-size: 15px;
    border-radius: 4px;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}
.btn-back-home:hover {
    background: linear-gradient(to bottom, #7bc425, #329634);
    color: #fff !important;
    text-shadow: none;
}

/* Dự đoán 3 miền (MB / MT / MN) */
.dudoan-title-wrap {
    text-align: center;
    margin-bottom: 10px;
}
.dudoan-h1 {
    display: block;
    color: #ff0000;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
    margin: 4px 0 6px;
}
.dudoan-title-line img {
    display: inline-block;
    max-width: 100%;
    height: auto;
}
.bai-viet-box-single .entry p {
    margin: 10px 0;
    line-height: 1.65;
    color: #333;
}
.wp-caption.aligncenter {
    width: 470px;
    max-width: 100%;
    margin: 14px auto;
    padding: 6px;
    text-align: center;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    box-sizing: border-box;
}
.wp-caption.aligncenter img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}
.wp-caption-text {
    margin: 6px 0 2px !important;
    color: #ff0000 !important;
    font-size: 13px;
    font-weight: 600;
}
table.striped.tabb.fullwidth {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0;
    background: #fff;
    border: 1px solid #d9d3cb;
}
table.striped.tabb.fullwidth th.tabb-head {
    background: #f5f9f2;
    border: 1px solid #d9d3cb;
    padding: 9px 10px;
    text-align: left;
}
table.striped.tabb.fullwidth th.tabb-head h2 {
    color: #e30000;
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    display: block;
}
table.striped.tabb.fullwidth td {
    border: 1px solid #d9d3cb;
    padding: 8px 10px;
    text-align: left;
    font-size: 14px;
    color: #222;
    vertical-align: middle;
}
table.striped.tabb.fullwidth tbody tr:nth-child(even) {
    background-color: #fafafa;
}
table.striped.tabb.fullwidth td.tabb-label {
    width: 170px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}
table.striped.tabb.fullwidth td.tabb-val {
    font-weight: 600;
    color: #1a237e;
}
table.striped.tabb.fullwidth td.tabb-val-highlight {
    color: #d32f2f;
    font-weight: 700;
}
.dudoan-disclaimer {
    margin-top: 14px;
    border-top: 1px solid #ececec;
}
.breadcrumb a.active {
    font-weight: 700;
    text-decoration: underline;
}
@media (max-width: 540px) {
    table.striped.tabb.fullwidth th.tabb-head {
        padding: 8px 8px;
    }
    table.striped.tabb.fullwidth th.tabb-head h2 {
        font-size: 14px;
    }
    table.striped.tabb.fullwidth td {
        padding: 7px 8px;
    }
    table.striped.tabb.fullwidth td.tabb-label {
        width: 118px;
        white-space: normal;
        font-size: 13px;
        line-height: 1.35;
    }
    table.striped.tabb.fullwidth td.tabb-val {
        font-size: 14.5px;
        font-weight: 700;
        line-height: 1.45;
    }
}

/* Trang chi tiết bài dự đoán (/soi-cau-lo-de/{slug}.html) */
.detail-article .detail-sub-title {
    color: #ff0000;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}
.detail-article h2 {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #1f497d;
    margin: 14px 0 8px;
}
.detail-article h3 {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #222;
    margin: 12px 0 6px;
}
.detail-article p {
    margin: 8px 0;
    line-height: 1.65;
    color: #333;
}
.xem-them-group {
    margin: 8px 0 12px;
}
.xem-them-item {
    margin: 4px 0;
    font-size: 14px;
}
.num-green {
    color: #008000;
}
.num-red {
    color: #ff0000;
}
.num-blue {
    color: #0000ff;
}
.gan-list {
    margin: 6px 0 6px 20px;
    padding: 0;
}
.gan-list li {
    margin: 4px 0;
    line-height: 1.55;
}
.gan-note {
    font-size: 13px;
    color: #666;
    font-style: italic;
    margin-bottom: 12px;
}
.chot-so-vip-box {
    padding: 12px 14px;
    background-color: #fffafa;
    border: 1px solid #ffb6c1;
    border-radius: 4px;
    margin: 14px 0;
}
.chot-so-vip-badge {
    max-width: 300px;
    margin: 0 auto 8px;
    padding: 8px 14px;
    text-align: center;
    background: linear-gradient(to bottom, #8ad12f, #3caa3e);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}
.chot-so-vip-date {
    text-align: center;
    color: #003366;
    font-size: 15px;
    margin-bottom: 10px;
}
.chot-so-vip-box p {
    margin: 6px 0;
    font-size: 15px;
}
.chot-so-vip-wish {
    text-align: right;
    color: #003366;
    margin-top: 10px !important;
}
.prev-day-link {
    margin: 12px 0;
}
.legal-warning-note {
    color: #d32f2f !important;
}
.posted-tag {
    margin-top: 14px;
    padding: 10px 12px;
    background: #f8fbf6;
    border: 1px solid #e2ecd9;
    border-radius: 5px;
    font-size: 13.5px;
    line-height: 1.85;
}
.posted-tag-label {
    color: #256f12;
    font-weight: 700;
    margin-right: 4px;
}
.tag-text {
    color: #1558a8;
    font-weight: 500;
}
.tag-sep {
    color: #8a998c;
}
.tag-closing {
    color: #4a5568;
    font-style: italic;
    margin-left: 4px;
}
.tag-pill {
    display: inline-block;
    background: #f1f6ee;
    border: 1px solid #cde2c3;
    color: #2e7d32;
    padding: 1px 7px;
    border-radius: 3px;
    font-size: 12px;
    margin-bottom: 4px;
}

/* Bảng thống kê Bạch Thủ Lô (/soi-cau-mien-bac/soi-cau-lo-bach-thu.html) */
.btl-intro-box {
    border-bottom: none;
    padding: 6px 4px;
}
.btl-ol {
    margin: 4px 0 12px;
    padding-left: 20px;
    line-height: 1.65;
    color: #333;
}
.btl-table-heading {
    color: #2e7d32 !important;
    font-size: 17px !important;
    font-weight: 700;
    margin: 12px 0 8px !important;
    display: block;
}
table.btl-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    border: 1px solid #acbed4;
    background: #fff;
    margin: 6px 0 12px;
}
table.btl-table thead th {
    background: linear-gradient(to bottom, #7ac943, #5cba38);
    border: 1px solid #acbed4;
    color: #ffffff;
    font-weight: 700;
    padding: 10px 8px;
    text-align: center;
    font-size: 14px;
}
table.btl-table tbody td {
    border: 1px solid #acbed4;
    padding: 8px 10px;
    text-align: center;
    font-size: 14px;
    color: #006699;
    font-weight: 500;
}
table.btl-table tbody tr.btl-row-current td {
    background: #f8f8ff;
    color: #ff0000;
    font-weight: 700;
}
table.btl-table tbody tr.btl-row-win td:last-child {
    color: #d32f2f;
    font-weight: 700;
}
table.btl-table tbody tr:nth-child(even):not(.btl-row-current) td {
    background: #fafcff;
}
.btl-disclaimer {
    color: #0000ff !important;
    margin-top: 10px !important;
}
@media (max-width: 480px) {
    table.btl-table thead th,
    table.btl-table tbody td {
        padding: 7px 4px;
        font-size: 13px;
    }
}

/* ---- Diễn đàn: Rồng bạch kim 777 ---- */
.maudo2 {
    margin: 8px 0;
    padding: 6px 8px;
    text-align: center;
    font-weight: 700;
    color: #1565c0;
}
.rbk-numbers .rbk-row {
    text-align: center;
    color: #ff0000;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .5px;
    padding: 4px 6px;
    word-break: break-word;
}
h2.rbk-h2, h3.rbk-h3 {
    color: #008000;
    font-weight: 700;
}
h3.rbk-h3 { text-align: center; font-size: 14pt; }
h3.rbk-h3.rbk-left { text-align: left; font-size: 12pt; }


/* ---- Trang chủ: Bảng lô TOP Rồng Bạch Kim 247 & Dự đoán 3 miền ---- */
.rbk-top-widget {
    margin: 10px 0 12px;
    background: #ffffff;
    border: 1px solid #d4decb;
    border-radius: 3px;
    overflow: hidden;
}
.rbk-top-header {
    background: linear-gradient(to bottom, #6ec43b 0%, #489c22 100%);
    color: #ffffff;
    padding: 8px 12px;
    border-bottom: 1px solid #3c861b;
}
.rbk-top-header-title {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.1px;
}
.rbk-top-body {
    padding: 10px 12px 8px;
    background: #ffffff;
}
.rbk-day-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}
.rbk-day-btn {
    border: 1px solid #cfd8cb;
    background: #f5f7f4;
    color: #333333;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 3px;
    cursor: pointer;
}
.rbk-day-btn:hover {
    background: #e9f2e4;
    border-color: #a9cc96;
}
.rbk-day-btn.is-active {
    background: #4b9b24;
    border-color: #3d811c;
    color: #ffffff;
}
.rbk-top-date {
    font-size: 12.5px;
    color: #555555;
    margin-bottom: 5px;
}
.rbk-top-numbers {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 11px 17px;
    line-height: 1.25;
    padding: 9px 14px 8px 2px;
}
.rbk-top-num {
    display: inline-block;
    font-size: 19px;
    font-weight: 600;
    color: #1c52a8;
    letter-spacing: 0.2px;
    position: relative;
    line-height: 1.15;
}
.rbk-top-num:nth-child(-n+5) {
    font-size: 30px;
}
.rbk-top-num:nth-child(n+6):nth-child(-n+12) {
    font-size: 26px;
}
.rbk-top-num:nth-child(n+13):nth-child(-n+25) {
    font-size: 23.5px;
}
.rbk-top-num:nth-child(n+26):nth-child(-n+50) {
    font-size: 21.5px;
}
.rbk-top-num:nth-child(n+51):nth-child(-n+70) {
    font-size: 20px;
}
.rbk-top-num.is-extra {
    display: none;
}
.rbk-day-panel.is-expanded .rbk-top-num.is-extra {
    display: inline-block;
}
.rbk-hit-badge {
    position: absolute;
    top: -6px;
    right: -13px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 13px;
    height: 13px;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    border-radius: 50%;
    background: #43a047;
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    box-shadow: 0 0 0 1px #ffffff;
    pointer-events: none;
}
.rbk-top-actions {
    margin-top: 4px;
}
.rbk-more-btn {
    border: 1px solid #d7c7c7;
    background: #faf5f5;
    color: #b71c1c;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 2px;
    cursor: pointer;
}
.rbk-more-btn:hover {
    background: #f5e6e6;
}
.rbk-region-tabs {
    display: flex;
    margin: 4px 10px 0;
    border: 1px solid #d5dbd2;
    border-bottom: none;
    background: #f2f4f2;
}
.rbk-region-btn {
    flex: 1;
    border: none;
    border-right: 1px solid #d5dbd2;
    background: #f2f4f2;
    color: #333333;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 6px;
    cursor: pointer;
    text-align: center;
}
.rbk-region-btn:last-child {
    border-right: none;
}
.rbk-region-btn:hover {
    background: #e8ece8;
}
/* Màu phân tách gọn, phẳng theo từng miền khi đang chọn */
.rbk-region-btn[data-rbk-region-btn="mb"].is-active {
    background: #c62828;
    color: #ffffff;
}
.rbk-region-btn[data-rbk-region-btn="mt"].is-active {
    background: #d96b00;
    color: #ffffff;
}
.rbk-region-btn[data-rbk-region-btn="mn"].is-active {
    background: #1565c0;
    color: #ffffff;
}

.rbk-region-panels {
    padding: 0 10px 10px;
    background: #ffffff;
}
.rbk-region-box {
    border: 1px solid #d9d3cb;
    background: #ffffff;
}
.rbk-prov-title {
    background: #f5f9f2;
    color: #e30000;
    font-size: 14.5px;
    font-weight: 700;
    text-align: left;
    padding: 8px 10px;
    border-top: 1px solid #d9d3cb;
    border-bottom: 1px solid #d9d3cb;
}
.rbk-prov-title:first-child {
    border-top: none;
}
table.rbk-prov-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}
table.rbk-prov-table td {
    padding: 8px 10px;
    font-size: 13.5px;
    border-bottom: 1px solid #d9d3cb;
    vertical-align: middle;
}
table.rbk-prov-table tr:nth-child(even) td {
    background: #fafafa;
}
table.rbk-prov-table tr:last-child td {
    border-bottom: none;
}
td.rbk-prov-label {
    width: 185px;
    color: #333333;
    font-weight: 600;
    white-space: nowrap;
    border-right: 1px solid #d9d3cb;
}
[data-rbk-region-panel="mt"] td.rbk-prov-label,
[data-rbk-region-panel="mn"] td.rbk-prov-label {
    width: 130px;
}
table.rbk-prov-table td.rbk-prov-val {
    color: #1a237e;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.2px;
    line-height: 1.45;
}
table.rbk-prov-table td.rbk-prov-val.is-highlight {
    color: #d32f2f;
}
.rbk-pair-list {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 3px 8px;
}
.rbk-pair-unit {
    white-space: nowrap;
}
.rbk-prov-empty {
    padding: 12px;
    text-align: center;
    color: #666;
    font-size: 13px;
}
.rbk-region-footer {
    margin-top: 7px;
    font-size: 12.5px;
    color: #555555;
    line-height: 1.45;
}
@media (max-width: 540px) {
    .rbk-top-num {
        font-size: 17.5px;
    }
    .rbk-top-num:nth-child(-n+5) {
        font-size: 26px;
    }
    .rbk-top-num:nth-child(n+6):nth-child(-n+12) {
        font-size: 23.5px;
    }
    .rbk-top-num:nth-child(n+13):nth-child(-n+25) {
        font-size: 21.5px;
    }
    .rbk-top-num:nth-child(n+26):nth-child(-n+50) {
        font-size: 20px;
    }
    .rbk-top-num:nth-child(n+51):nth-child(-n+70) {
        font-size: 18.5px;
    }
    .rbk-region-tabs {
        margin: 4px 6px 0;
    }
    .rbk-region-panels {
        padding: 0 6px 8px;
    }
    .rbk-region-btn {
        font-size: 13px;
        padding: 8px 4px;
    }
    table.rbk-prov-table td {
        padding: 7px 6px;
    }
    td.rbk-prov-label {
        width: 112px;
        font-size: 12.5px;
        white-space: normal;
        line-height: 1.35;
    }
    [data-rbk-region-panel="mt"] td.rbk-prov-label,
    [data-rbk-region-panel="mn"] td.rbk-prov-label {
        width: 92px;
        white-space: nowrap;
    }
    table.rbk-prov-table td.rbk-prov-val {
        font-size: 14px;
        font-weight: 700;
        padding: 7px 6px;
    }
    .rbk-pair-list {
        gap: 3px 6px;
    }
}

/* ---- Trang chủ: Thống kê XSMB trước kỳ quay (7 mục — bảng số liệu tối giản, sạch màu) ---- */
.xsmb-qs-widget {
    margin: 10px 0 12px;
    background: #ffffff;
    border: 1px solid #d4d9d2;
    border-radius: 3px;
    overflow: hidden;
}
.xsmb-qs-header {
    background: linear-gradient(to bottom, #6ec43b 0%, #489c22 100%);
    padding: 8px 12px;
    border-bottom: 1px solid #3c861b;
}
h2.xsmb-qs-title {
    display: block;
    margin: 0;
    padding: 0;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}
.xsmb-qs-block {
    border-top: 1px solid #e2e5e2;
}
.xsmb-qs-block:first-of-type {
    border-top: none;
}
h3.xsmb-qs-sub,
h3.xsmb-qs-sub.is-special {
    display: block;
    margin: 0;
    padding: 7px 12px;
    background: #f4f6f4;
    border-bottom: 1px solid #e2e5e2;
    color: #222222;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.35;
}
.xsmb-qs-body {
    padding: 10px 12px;
    background: #ffffff;
}
/* Bảng lưới kẻ ô liền mạch (collapsed table), không dùng card màu mè */
.xsmb-qs-grid {
    display: grid;
    gap: 0;
    border-top: 1px solid #dcdcdc;
    border-left: 1px solid #dcdcdc;
    background: #ffffff;
}
.xsmb-qs-grid-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}
.xsmb-qs-grid-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}
.xsmb-qs-chip,
.xsmb-qs-chip.is-gan,
.xsmb-qs-chip.is-gan.is-top,
.xsmb-qs-chip.is-freq,
.xsmb-qs-chip.is-freq.is-top,
.xsmb-qs-chip.is-special,
.xsmb-qs-chip.is-special.is-top {
    display: flex;
    align-items: stretch;
    border: none;
    border-right: 1px solid #dcdcdc;
    border-bottom: 1px solid #dcdcdc;
    border-radius: 0;
    background: #ffffff;
    font-size: 13px;
    line-height: 1.25;
}
.xsmb-qs-chip .xsmb-qs-num,
.xsmb-qs-chip.is-freq .xsmb-qs-num,
.xsmb-qs-chip.is-special .xsmb-qs-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    padding: 6px 2px;
    background: #f8f9fa;
    color: #d32f2f;
    font-weight: 700;
    font-size: 13.5px;
    border-right: 1px solid #e8e8e8;
    flex-shrink: 0;
}
.xsmb-qs-chip .xsmb-qs-val,
.xsmb-qs-chip.is-gan.is-top .xsmb-qs-val,
.xsmb-qs-chip.is-freq.is-top .xsmb-qs-val,
.xsmb-qs-chip.is-special .xsmb-qs-val {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 3px;
    flex: 1;
    padding: 6px 4px;
    background: #ffffff;
    color: #555555;
    font-weight: 400;
    font-size: 12.5px;
    white-space: nowrap;
}
.xsmb-qs-chip .xsmb-qs-val strong,
.xsmb-qs-chip.is-special .xsmb-qs-val strong {
    font-size: 13px;
    font-weight: 700;
    color: #222222;
}
.xsmb-qs-leaders {
    margin: 0;
    padding-left: 18px;
    color: #333333;
    font-size: 13.5px;
    line-height: 1.65;
}
.xsmb-qs-leaders li {
    margin-bottom: 3px;
}
.xsmb-qs-leaders li:last-child {
    margin-bottom: 0;
}
.xsmb-qs-hl-num,
.xsmb-qs-hl-max {
    color: #d32f2f;
}
.xsmb-qs-hl-day {
    color: #222222;
}
.xsmb-qs-footnote {
    margin: 5px 0 0;
    font-size: 12px;
    color: #666666;
    font-style: italic;
}
.xsmb-qs-pair-chart {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px 22px;
    padding: 4px 0 2px;
}
.xsmb-qs-pair-group {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    padding-bottom: 1px;
    border-bottom: 1px solid #cccccc;
}
.xsmb-qs-pair-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 34px;
}
.xsmb-qs-pair-bar {
    width: 100%;
    background: #539e2b;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 3px;
    box-sizing: border-box;
}
.xsmb-qs-pair-bar.is-alt {
    background: #72b74a;
}
.xsmb-qs-pair-bar span {
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1;
}
.xsmb-qs-bar-chart {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 6px;
    align-items: end;
    max-width: 520px;
    padding: 6px 0 4px;
    border-bottom: 1px solid #dddddd;
}
.xsmb-qs-bar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.xsmb-qs-bar-top {
    font-size: 11px;
    font-weight: 600;
    color: #444444;
    margin-bottom: 2px;
    white-space: nowrap;
}
.xsmb-qs-bar {
    width: 100%;
    max-width: 34px;
}
.xsmb-qs-bar.is-sum,
.xsmb-qs-bar.is-touch {
    background: #539e2b;
}
.xsmb-qs-bar.is-zero {
    background: #d8d8d8;
}
.xsmb-qs-bar-label {
    margin-top: 4px;
    font-size: 13px;
    font-weight: 700;
    color: #222222;
    line-height: 1;
}
.xsmb-qs-summary {
    margin: 8px 0 0;
    padding: 0;
    font-size: 13.5px;
    color: #333333;
    line-height: 1.55;
}
.xsmb-qs-summary-list {
    color: #d32f2f;
    font-weight: 700;
}
@media (max-width: 680px) {
    .xsmb-qs-grid-5,
    .xsmb-qs-grid-6 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media (max-width: 540px) {
    h2.xsmb-qs-title {
        font-size: 14px;
    }
    h3.xsmb-qs-sub,
    h3.xsmb-qs-sub.is-special {
        font-size: 13px;
        padding: 6px 9px;
    }
    .xsmb-qs-body {
        padding: 8px 8px;
    }
    .xsmb-qs-grid-5,
    .xsmb-qs-grid-6 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .xsmb-qs-chip .xsmb-qs-num,
    .xsmb-qs-chip.is-freq .xsmb-qs-num,
    .xsmb-qs-chip.is-special .xsmb-qs-num {
        width: 28px;
        font-size: 12.5px;
        padding: 5px 2px;
    }
    .xsmb-qs-chip .xsmb-qs-val,
    .xsmb-qs-chip.is-special .xsmb-qs-val {
        font-size: 11.5px;
        padding: 5px 2px;
    }
    .xsmb-qs-chip .xsmb-qs-val strong {
        font-size: 12px;
    }
    .xsmb-qs-pair-chart {
        gap: 12px 14px;
    }
    .xsmb-qs-pair-col {
        width: 32px;
    }
    .xsmb-qs-bar-chart {
        gap: 3px;
        max-width: 100%;
    }
    .xsmb-qs-bar-top {
        font-size: 9.5px;
        letter-spacing: -0.3px;
    }
    .xsmb-qs-bar-label {
        font-size: 12px;
    }
    .xsmb-qs-leaders,
    .xsmb-qs-summary {
        font-size: 12.5px;
    }
}

/* ==========================================================================
   FE Polish Layer — Chỉnh chu, hiện đại & đồng bộ toàn trang (Desktop/Mobile)
   ========================================================================== */
html {
    background: #e8edf2;
    scroll-behavior: smooth;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    max-width: 820px;
    margin: 0 auto;
    color: #2d3748;
    font-size: 14.5px;
    line-height: 1.65;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.12);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a {
    color: #1558a8;
    transition: color 0.15s ease;
}
a:hover {
    color: #c62828;
    text-shadow: none;
    -webkit-animation: none;
    animation: none;
}
img:hover {
    -webkit-animation: none;
    animation: none;
}

/* Header Banner & Navbar */
#logo {
    background: #4ea82a;
    line-height: 0;
}
#logo img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}
.links {
    background: linear-gradient(180deg, #1f2c22 0%, #141d16 100%);
    border-bottom: 2px solid #5cba38;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
    font-size: 14.5px;
    font-weight: 600;
}
.links ul.root {
    flex-wrap: wrap;
}
.links > ul > li {
    padding: 0 4px;
    position: relative;
}
.links > ul > li > a {
    color: #f3f7f2;
    padding: 11px 12px;
    font-weight: 600;
    letter-spacing: 0.15px;
    transition: background 0.15s ease, color 0.15s ease;
}
.links > ul > li:hover > a {
    background: rgba(92, 186, 56, 0.22);
    color: #ffffff;
}
ul.submenu {
    min-width: 220px;
    width: max-content;
    max-width: min(320px, calc(100vw - 16px));
    background: #ffffff;
    border: 1px solid #d5e5cc;
    border-top: 2px solid #5cba38;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
    padding: 4px 0;
    margin-left: 0;
    left: 4px;
    box-sizing: border-box;
}
ul.submenu li a {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    color: #263238;
    font-size: 13.5px;
    line-height: 1.4;
    padding: 9px 16px 9px 12px;
    text-indent: 0;
    border-bottom: 1px solid #f2f5f0;
    transition: background 0.12s ease, color 0.12s ease, padding 0.12s ease;
}
ul.submenu li:last-child a {
    border-bottom: none;
}
ul.submenu li a:before {
    content: "›";
    color: #4ca62a;
    font-weight: 700;
    padding: 0;
    flex-shrink: 0;
}
ul.submenu li a:hover {
    background: #eef8e7;
    color: #1b5e20;
    font-size: 13.5px;
    padding-left: 16px;
    padding-right: 12px;
}

/* Quick Region Breadcrumb Bar */
.middledite {
    background: #f3f9ef;
    border-bottom: 1px solid #d5e8ca;
    padding: 0;
}
.breadcrumb {
    background: transparent;
    background-image: none;
    margin: 0;
    padding: 8px 14px;
    border-radius: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
}
.breadcrumb > li + li:before {
    padding: 0 6px 0 2px;
    color: #b4c8aa;
    content: "•";
}
.breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    font-size: 13.5px;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background 0.15s ease;
}
.breadcrumb a:hover {
    background: #e1f2d6;
}
.breadcrumb a.active {
    background: #e3f2fd;
    text-decoration: none;
    border: 1px solid #bbdefb;
}

/* Main Content Canvas */
#main-content {
    background: #f3f6f1;
    padding: 10px 12px 14px;
}

/* H1 Hero Banner */
.khungvien {
    background: linear-gradient(180deg, #ffffff 0%, #f5fbf0 100%);
    border: 1px solid #cbe4bc;
    border-left: 4px solid #4ca62a;
    border-right: 4px solid #4ca62a;
    border-radius: 6px;
    padding: 11px 14px;
    margin: 0 0 8px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}
.khungvien h1 {
    font-size: 18px;
    font-weight: 800;
    color: #256f12 !important;
    line-height: 1.4;
}

/* Section Headers (.phdr) */
.phdr {
    margin: 12px 0 0;
    padding: 9px 14px;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, #6ec43b 0%, #489c22 100%);
    border: 1px solid #42921e;
    border-bottom: 1px solid #387f19;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.phdr h1,
.phdr h2,
.phdr h3 {
    font-size: 15.5px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.2px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.18);
}

/* Clean Card Lists & Article Rows */
.list1,
.list2,
.bai-viet-box,
.bai-viet-box-single {
    border-left: 1px solid #dce6d6;
    border-right: 1px solid #dce6d6;
}
.list2 {
    padding: 9px 12px;
    border-bottom: 1px solid #ebf0e8;
    background: #ffffff;
    transition: background 0.12s ease;
}
.bai-viet-box {
    border-left: none;
    border-right: none;
}
.bai-viet-box .list2:hover,
.phdrbox .list2:hover {
    background: #f5fbf0;
}
.bai-viet-box .list2 a,
.phdrbox .list2 a {
    font-size: 14.5px;
    font-weight: 500;
    color: #1558a8;
}
.bai-viet-box .list2 a:hover,
.phdrbox .list2 a:hover {
    color: #c62828;
}
.bai-viet-box-single {
    padding: 14px 16px;
    border-bottom: 1px solid #dce6d6;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}
.phdrbox {
    margin-bottom: 0;
}

/* Cầu đẹp number pills on Homepage */
.caudep,
.caudep:visited {
    margin: 4px 5px 4px 0;
    padding: 7px 11px;
    border-radius: 6px;
    background: linear-gradient(180deg, #ffffff 0%, #f1f6ff 100%);
    border: 1px solid #bfd5f7;
    color: #1648a8;
    font-size: 15.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
    box-shadow: 0 1px 2px rgba(22, 72, 168, 0.08);
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}
.caudep:hover,
.caudep:active {
    background: linear-gradient(180deg, #fffaf3 0%, #ffebd6 100%);
    border-color: #f4b266;
    color: #d84315;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(216, 67, 21, 0.14);
}

/* Xem thêm pill button */
.xem-them-wrap {
    text-align: center;
    padding: 11px 12px !important;
    border-radius: 0 0 6px 6px;
}
.btn-xem-them {
    display: inline-block;
    padding: 6px 26px;
    border-radius: 20px;
    border: 1.5px solid #e57373;
    background: #fff5f5;
    color: #c62828 !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.btn-xem-them:hover {
    background: #c62828;
    border-color: #b71c1c;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(198, 40, 40, 0.25);
}

/* Đồng bộ nhẹ khung 2 widget trang chủ theo ngôn ngữ phẳng của site */
.rbk-top-widget,
.xsmb-qs-widget {
    margin: 12px 0;
    border: 1px solid #d4decb;
    border-radius: 3px;
    box-shadow: none;
}
.rbk-top-header,
.xsmb-qs-header {
    padding: 9px 14px;
}
.rbk-top-header-title,
h2.xsmb-qs-title {
    font-size: 15.5px;
}

/* KQXS Table Polish */
.kqmb-subbar {
    background: #f5fbf0;
    border-left: 1px solid #dce6d6;
    border-right: 1px solid #dce6d6;
    border-bottom: 1px solid #dce6d6;
    padding: 8px 12px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #1e568c;
}
.trentable {
    border-left: 1px solid #dce6d6;
    border-right: 1px solid #dce6d6;
    border-bottom: 1px solid #dce6d6;
    border-radius: 0 0 6px 6px;
    overflow: hidden;
}
.tbl-ketquaxoso {
    padding: 10px;
}
.bg_ef,
.bg_f6 {
    background: #f7faf5;
}

/* Warning Marquee & Closing Card */
.warning {
    display: block;
    background: #fff8e1 !important;
    color: #b71c1c;
    border: 1px solid #f4d68c;
    border-radius: 6px;
    padding: 8px 12px;
    margin: 10px 0 8px;
    font-size: 13.5px;
    font-weight: 600;
}
.list1 {
    border-top: 1px solid #dce6d6;
    border-bottom: 1px solid #dce6d6;
    border-radius: 6px;
    margin-top: 6px;
}

/* Footer Polish */
#site-footer {
    border-top: 3px solid #5cba38;
}
.foo1 {
    background: linear-gradient(180deg, #2d7318 0%, #215911 100%) !important;
    padding: 11px 16px;
    color: #ffffff;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.foo1 a {
    color: #ffffff !important;
}
.foo1 a:hover {
    text-decoration: underline;
}
.foo3 {
    background: #1c272d !important;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #cfdbe2 !important;
    font-size: 13.5px;
    line-height: 1.65;
}
.foo3 a {
    color: #ffd54f !important;
    font-weight: 600;
}
.foo3 a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

/* Inner Page Breadcrumb (.bread) */
.bread {
    background: #edf3ea;
    border: 1px solid #d9e4d3;
    border-radius: 5px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #546458;
    margin-bottom: 2px;
}

/* Mobile Horizontal Scrollable Navbar & Dropdown */
@media (max-width: 768px) {
    .links {
        position: relative;
    }
    .links.has-scroll-right::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 28px;
        pointer-events: none;
        background: linear-gradient(to right, rgba(20, 29, 22, 0), rgba(20, 29, 22, 0.92));
    }
    .links ul.root {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 6px;
    }
    .links ul.root::-webkit-scrollbar {
        display: none;
    }
    .links > ul > li {
        flex: 0 0 auto;
        padding: 0 2px;
    }
    .links > ul > li > a {
        white-space: nowrap;
        padding: 10px 11px;
        font-size: 13.5px;
    }
    ul.root > li:hover > ul.submenu {
        display: none;
    }
    ul.root > li.is-open > a {
        background: rgba(92, 186, 56, 0.28);
        color: #ffffff;
    }
    ul.root > li.is-open > ul.submenu {
        display: block;
        position: fixed;
        z-index: 9999;
        margin: 0;
        font-size: 13.5px;
        max-width: calc(100vw - 16px);
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }
}

/* Sticky Header (#header luôn ghim đỉnh khi cuộn qua banner) */
.header-sticky-spacer {
    height: 0;
}
#header.is-sticky {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 820px;
    z-index: 1050;
}
#header.is-sticky .links {
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.24);
}

/* Nút cuộn lên đầu trang (Scroll to Top) */
.btn-scroll-top {
    position: fixed;
    right: 16px;
    bottom: 20px;
    z-index: 999;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #3c811b;
    border-radius: 50%;
    background: #4b9b24;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, background 0.15s ease;
}
.btn-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.btn-scroll-top:hover {
    background: #397a19;
}
@media (max-width: 540px) {
    .btn-scroll-top {
        right: 12px;
        bottom: 16px;
        width: 36px;
        height: 36px;
    }
}

/* Mobile Polish */
@media (max-width: 540px) {
    #main-content {
        padding: 8px 7px 12px;
    }
    .khungvien {
        padding: 9px 10px;
    }
    .khungvien h1 {
        font-size: 16px;
    }
    .phdr {
        padding: 8px 10px;
    }
    .phdr h1,
    .phdr h2,
    .phdr h3 {
        font-size: 14.5px;
    }
    .list2 {
        padding: 8px 9px;
    }
    .caudep,
    .caudep:visited {
        padding: 6px 8px;
        font-size: 14.5px;
    }
    .breadcrumb {
        padding: 7px 9px;
    }
}
