.statistic-summary .list-dau-db li {
    padding: 0;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.list-dau-db li {
    padding: 8px 5px;
    border-top: 1px solid #eee;
    border-left: 1px solid #eee;
    float: left;
    text-align: center;
    width: 20%;
    font-weight: 700;
    font-size:13px;
}
ul.submenu li {
  list-style: none;
  margin-left: -20px;
  background: #cf0c0c;
}

.txt-center, footer .share-social {
    text-align: center;
}
.title-bor-c1 {
    color: #fff;
    background: #cf4f00;
    text-align: center;
}
.title-bor, .title-bor-c1 {
    line-height: 23px;
    font-size: 16px;
    font-weight: 700;
}
.title, .title-bor {
    background: #ed0303;
    position: relative;
    text-align: center;
    padding: 5px;
    color: #fff;
}
label.radio
 {
    padding: 3px;
}
.kqmb td.v-giai span[class^=v-g4-] {
    width: 25%;
}
.imgloadig, td>div.imgloadig {
    background: url(/wp-content/themes/nuoicau247/images/loading-red.gif) no-repeat center;
}
.kqmb td.v-giai span[class^=v-g2-], .kqmb.analyze td.v-giai span[class^=v-g4-] {
    width: 50%;
}
.firstlast-mb {
    width: 50%;
    margin-top: 2px;
    border-collapse: collapse;
    font-weight: 700;
    border: 0;
}
.firstlast-mb {
    width: calc(50% - 2px);
}
table.firstlast-mb.fl {
    float: left;
}

.border-without-top {
    border: 1px solid #ededed;
    border-radius: 0 0 5px 5px;
    border-top: 0;
}
.colgiai tr.header, .menu-pc li.active ol, .menu-pc li:hover ol {
    background-color: #fbbe00;
}

.kqmb td.v-giai span.v-g2-1, .kqmb td.v-giai span.v-g3-1, .kqmb td.v-giai span.v-g3-2, .kqmb td.v-giai span.v-g3-4, .kqmb td.v-giai span.v-g3-5, .kqmb td.v-giai span.v-g4-1, .kqmb td.v-giai span.v-g4-2, .kqmb td.v-giai span.v-g4-3, .kqmb td.v-giai span.v-g5-1, .kqmb td.v-giai span.v-g5-2, .kqmb td.v-giai span.v-g5-4, .kqmb td.v-giai span.v-g5-5, .kqmb td.v-giai span.v-g6-1, .kqmb td.v-giai span.v-g6-2, .kqmb td.v-giai span.v-g7-1, .kqmb td.v-giai span.v-g7-2, .kqmb td.v-giai span.v-g7-3, .kqmb.analyze td.v-giai span.v-g4-0, .kqmb.analyze td.v-giai span.v-g4-1 {
    border-left: 1px solid #ccc;
}
.kqmb td.v-giai span[class^=v-g2-], .kqmb.analyze td.v-giai span[class^=v-g4-] {
    width: 50%;
}
.kqmb td.v-giai span[class^=v-g] {
    display: inline-block;
    min-width: 20px;
    padding: 8px 4px;
}
.hover-panel #hover-row span:last-child, .one-city .colgiai td:last-child {
    border-right: none;
}
.bg_ef {
    background: #efefef;
}
.control-panel {
    display: block;
    padding: .25em;
    text-align: center;
    background: #fff;
    color: #333;
}
.control-panel, .trial-roll-tab li a {
    font-weight: 700;
    border: 1px solid #d5d5d5;
}
span.v-madb {
    color: #007afb;
    font-weight: bold;
}
.digits-form label.radio[data-value="3"] span:after {
    content: " 3 số";
}
.digits-form label.radio[data-value="2"] span:after {
    content: " 2 số";
}
.digits-form label.radio[data-value="0"] span:after {
    content: " Đầy đủ";
}
.kqmb td.v-giai span.v-g3-0, .kqmb td.v-giai span.v-g3-1, .kqmb td.v-giai span.v-g3-2, .kqmb td.v-giai span.v-g5-0, .kqmb td.v-giai span.v-g5-1, .kqmb td.v-giai span.v-g5-2, .kqmb.analyze td.v-giai span.v-g4-0, .kqmb.analyze td.v-giai span.v-g4-1 {
    border-bottom: 1px solid #ccc;
}
span.v-gdb {
    font-size: 25px;
}
.kqmb td.v-giai span[class^=v-g7-] {
    width: 25%;
}

.kqmb td.v-giai span[class^=v-g5-], .kqmb td.v-giai span[class^=v-g6-] {
    width: 33.33%;
}
.kqmb td.v-giai span[class^=v-g3-] {
    width: 33.33%;
}
.kqmb .db .number, .kqmb .g7 .number {
    color: #cf4f00;
    font-size: 32px;
}
.kqmb .number {
    font-weight: 700;
    font-size: 15px;
}
.hover-panel {
    width: 100%;
    background: #efefef;
}
.hover-panel #hover-row {
    display: flex;
    flex-wrap: wrap;
    border: solid #ccc;
    border-width: 0 0 0 1px;
}
.hover-panel #hover-row span {
    flex: 0 0 10%;
    border: solid #ccc;
    border-width: 1px 1px 0 0;
    text-align: center;
    padding: 5px;
    border-radius: 0;
    font-weight: 700;
}
.cl-primary, span.clnote.bold {
    color: #cf4f00;
}
h3.title-bor.clearfix.txt-center.border-x.bold {
    margin-bottom: -1px;
}
h2.title-bor-c1 {
    margin-bottom: 1px;
    margin-top: 1px;
}
#result-book .sub-col-l {
    width: calc(66% - 2px);
    float: left;
}
#result-book .sub-col-r {
    width: 34%;
    float: right;
}
#result-book table {
    border: 1px solid #ccc;
    border-collapse: collapse;
    width: 100%;
    margin: 0;
}
.box-with-border {
    border: 1px solid #ebe8e7;
    border-radius: 0 0 5px 5px;
}
.box {
    border-radius: 5px;
    -border-radius: 5px;
    -webkit-border-radius: 5px;
    background: #fff;
    margin-bottom: 10px;
}
.title-r {
    background: #cf4f01;
    font-size: 14px;
    padding: 8px 10px;
    font-weight: 700;
    line-height: 21px;
    text-transform: uppercase;
}
.btn-see-more {
    width: 100%;
    max-width: 145px;
    border-radius: 3px;
    padding: .5em;
    border: 1px solid #ddd;
    display: block;
    margin: .5rem auto;
    cursor: pointer;
    color: #fff;
    text-transform: uppercase;
    height: 30px;
    background-color: #cf4f00;
    position: relative;
}
.hl {
    background: #f3ff35;
}
.bg-orange {
    background: #fff2bc;
}
tr.db .v-giai.number .hl {
    font-size: 28px;
    font-weight: bold;
    color: red;
}

.kqtinh td.v-giai span.v-g4-0, .kqtinh td.v-giai span.v-g4-1, .kqtinh td.v-giai span.v-g4-2, .kqtinh td.v-giai span.v-g4-3 {
    width: 25%;
    border-left: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}
.tab-1-3, .tab-loto-cam, .tab-panel, .tab-pascal, .trial-roll-tab, .vietlott-tab {
    padding: 0;
    margin: 0;
    background: 0 0;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    color: #0230b7;
    font-weight: bold;
}
.badai th, .bondai th, .haidai th, a, body, div, em, h1, h2, h3, h4, html, img, li, p, span, ul {
    vertical-align: baseline;
    word-wrap: break-word;
}
.tab-panel li {
    flex: 1 1 12.5%;
}
.tab-panel li, .tab-pascal li, .trial-roll-tab li {
    display: inline-block;
    list-style: none;
    background: #eee;
    border: 1px solid #d9d9d9;
    z-index: 0;
    text-align: center;
}
.tab-panel *, .trial-roll-tab *, .vietlott-tab * {
    position: relative;
    word-spacing: normal;
}
.tab-panel li a, .tab-pascal li a, .trial-roll-tab li a {
    color: inherit;
    display: block;
    padding: 10px 5px;
}
@media (max-width: 640px) {
    .tab-panel li {
        flex: 1 1 25%;
        border-top: 1px solid #ddd;
        border-left: 1px solid #ddd;
        border-right: 1px solid #ddd;
        border-radius: 0;
        background: 0 0;
        margin-right: -1px;
        margin-bottom: -1px;
    }
}
@media (max-width: 640px) {
    .tab-panel li a {
        padding-left: 0;
        padding-right: 0;
        text-align: center;
        width: 100%;
    }
}
h2.title-bor.clearfix {
    margin-top: 0px;
    margin-bottom: 0px;
}

.list-unstyle {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.clearfix:after, .clearfix:before {
    clear: both;
    content: " ";
    display: block;
    font-size: 0;
    height: 0;
    visibility: hidden;
}
.statistic-summary .list-dau-db li div.cl-orange {
    display: inline-block;
    height: 100%;
    padding: 5px 5px;
    border-right: 1px solid #eee;
    background: #f5f5f5;
    font-weight: 700;
}
.cl-orange, .mega645.power655 .results li .data2 td.clred, .statistic-table tr td a:hover {
    color: #cf4f00;
}
h2.title-bor,
h3.title-bor {
    background: #fbc92f;
    color: #000000;
    margin-top: 0;
    margin-bottom: 0;
}
table.colgiai.statistic-table.tbl50 {
    float: left;
    width: 50%;
}
.title-xs
 {
    background: #fbc92f;
    color: #000000;
    margin-top: 0;
    margin-bottom: 0;
    border: 1px solid #308f00;
    font-weight: bold;
    text-align: center;
}
.widget_recent_entries ul {
    list-style: none;
    padding-left: 0;
}
.widget_recent_entries ul li::before {
    content: "✔ ";
    color: #ff6600;
    margin-right: 5px;
}

/* === DESKTOP MENU === */
.main-menu {
  background-color: #b50000;
  display: none; /* ẩn trên mobile */
}

/* === MOBILE MENU === */
.responsive-menu {
  display: block;
  font-family: Arial, sans-serif;
}

.menu-icons {
  display: flex;
  justify-content: space-around;
  background: #9d0101;
  padding: 0;
  margin: 0;
  list-style: none;
}

.menu-icons li {
  flex: 1;
  text-align: center;
  border-right: 1px solid #444;
}

.menu-icons li:last-child {
  border-right: none;
}

.menu-icons li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
}

.menu-icons li.active {
  background: #040000;
}

/* mở rộng - lưới */
.extended-menu {
  display: none;
  background: #fff;
  padding: 10px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.menu-grid a {
  display: block;
  padding: 10px;
  background: #f9f9f9;
  text-align: center;
  border: 1px solid #f15a24;
  border-radius: 5px;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  font-size: 13px;
  text-transform: uppercase;
}

.menu-grid a:hover {
  background: #e0e0e0;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .main-menu {
    display: none;
  }

  .responsive-menu {
    display: block;
  }
}

@media (min-width: 769px) {
  .main-menu {
    display: block;
  }

  .responsive-menu {
    display: none;
  }
}

nav.main-menu {
    background: #9d0101;
}
.widget_recent_entries li {
    border: 1px solid #e1e1e1;
}
div#load_kq_mb_0 {
    border-right: 1px solid #e9e9e9;
}
.tit-mien {
  background-color: #d95507;
  color: #fff;
  text-align: center;
  padding: 8px 0;
  font-family: Arial, sans-serif;
}

.tit-mien h2 {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  margin: 0;
}

.tit-mien > div {
  background-color: #f9e4c4;
  color: #cc4b00;
  padding: 6px 0;
  font-size: 15px;
  font-weight: bold;
}

.tit-mien .title-a {
  color: #cc4b00;
  text-decoration: none;
  font-weight: bold;
}

.tit-mien .title-a:hover {
  text-decoration: underline;
}
.bar-wrapper .labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-weight: 700;
    color: #ed1c25;
}
.bar-wrapper .bar-container {
    width: 100%;
    background-color: #f3f3f3;
    border: 1px solid #ddd;
    border-radius: 5px;
    display: flex;
    overflow: hidden;
}
.alert.success, .bar-wrapper .bar-container .bar.even {
    background-color: #4caf50;
    padding: 3px;
}
.bar-wrapper .bar-container .bar.odd {
    background-color: #ed1c25;
}
.bar-wrapper .counts {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 14px;
    color: #333;
}
.result-header {
  text-align: center;
  border: 1px solid #b54d00;
      border-top: 2px solid #ff0202;
}

.result-header h2 {
  background-color: #c94c00;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  margin: 0;
}

.result-header .title-link-item {
  background-color: #ffe3c0;
  color: #8b2800;
  font-weight: bold;
  font-size: 15px;
  padding: 6px 0;
  border-top: 1px solid #b54d00;
}
td.mb_madb {
    color: #007afb;
    font-weight: bold;
}
td.xs.mb_g0.red {
    color: #cf4f00;
    font-size: 32px;
    font-weight: bold;
}
.result-box tbody td.mb_g71, .result-box tbody td.mb_g72, .result-box tbody td.mb_g73, .result-box tbody td.mb_g74 {
    color: #e62e04;
    font-size: 20px;
}
.table-tructiep table .xstn_g8 {
    font-size: 20px !important;
    color: #e62e04 !important;
}
.table-tructiep .table tr.gdb td, .table-tructiep .table tr.gdb td .number, .widget-header h3 a:hover {
    color: #e62e04;
    font-weight: bold;
}
.loto-tructiep tr th:first-child, .table-tructiep .table thead tr th:first-child {
    width: 10%;
    font-weight: 400;
}
.number-tong, .red {
    color: #e62e04 !important;
    font-weight: bold;
}
.dd-loto-widget table tr td.dd-stt {
    color: #900;
    font-size: 15px;
}

table.percent-50 {
    width: 50%;
    float: right;
}
td.clred {
    color: red;
}

/* NOTE: .menu-items (list-style, margin, padding, display:flex) được định nghĩa trong style.css */
/* Các thuộc tính đặc thù của desktop menu được bổ sung dưới đây */
.menu-items li {
    /*border-right: 1px solid #fff;*/
    flex-shrink: 0;
}

.menu-items li:last-child {
    border-right: none;
}

.menu-items li a {
    display: block;
    /*padding: 11px 12px;*/
    color: white;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
}

.menu-items li a:hover {
    background-color: #8e0000;
}

li.has-sub.open {
    color: red;
}
.clock {
    overflow: hidden;
    background-color: #ff8113;
    border: 1px solid #c7e8d5;
    color: #222;
    text-align: center;
    font-size: 15px;
}
.header-top,
.wp-gallery,
.hdr {
    color: #ffffff;
    font-weight: bold;
    background-color: #b80000;
    background-repeat: repeat-x;
    background-position: 50% top;
    margin-top: 1px;
    margin-bottom: 1px;
    padding: 2px;
    border: 1px solid #cc00ff;
    border-left: 4px solid #ff7905;
}
h2 {
    color: #b30000;
    font-size: 18px;
}
.menu-icons {
    display: flex;
    justify-content: space-around;
    background: #b30000;
    padding: 0;
    margin: 0;
    list-style: none;
}

.menu-icons a {
    color: #ffffff;
    text-decoration: none;
}

.menu-icons .icon i {
    color: #ffffff;
}
button {
    background-color: #0066cc;
    border: 1px solid transparent;
    border-radius: 3px;
    box-shadow: rgba(255, 255, 255, .4) 0 1px 0 0 inset;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: -apple-system, system-ui, "Segoe UI", "Liberation Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.15385;
    margin: 0;
    outline: none;
    padding: 5px .6em;
    position: relative;
    text-align: center;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: baseline;
    white-space: nowrap;
}
.red {
    color: #b30000;
    font-weight: bold;
}
.number-tong, .red {
    color:#b30000 !important;
    font-weight: bold;
}
.name-category {
    background: #b80000;
    color: #fff;
    /* font-size: 20px; */
    /* padding: 1px 0 3px 1%; */
    height: auto;
    border-left: 4px solid #ff0000;
    border-bottom: 1px solid #ff0000;
    font-weight: bold;
}
td.clred {
    color: #b30000 !important;
    font-weight: bold;
}
nav.main-menu {
    background: #b80000;
}
h2.title-bor, h3.title-bor {
    background: #f3c431;
    color: #000000;
    margin-top: 0;
    margin-bottom: 0;
}
.chon-mien-wrap{
    background:#eee;
    padding:15px;
 
    border-top:4px solid #c44d00;
    font-family:Arial,sans-serif;
}

.mien-title{
    font-size:20px;
    font-weight:bold;
    color:#c44d00;
    margin-bottom:12px;
}

.chon-box{
/*     display:flex; */
    gap:15px;
    align-items:center;
    text-align:center;
}

.chon-box select{
    width:250px;
    padding:10px;
    font-size:15px;
}

.chon-box button{
    background:#c44d00;
    color:#fff;
    border:none;
    padding:10px 20px;
    font-weight:bold;
    cursor:pointer;
}

.xem-theo-tinh{
    margin-top:20px;
    text-align:center;
}

.xem-theo-tinh span{
    margin-right:8px;
    color:#c44d00;
}

.xem-theo-tinh a{
    display:inline-block;
    background:#f2d45c;
    padding:7px 14px;
    border-radius:20px;
    text-decoration:none;
    color:#000;
    margin:4px;
    font-size:14px;
}

.xem-theo-tinh a:hover{
    background:#e3bf32;
}