:root {
    --color-primary: #c00;
    --color-secondary: #ff8a2c;
    --color-link: #0059A9;
    --color-gray: #888;
    --color-light: #fff2bc;
    --color-dark: #333333;
    --color-white: #fff;
    --highlight-bg: #F0FF7B;
    --green: #00A218;
    --violet: #C71C98;
    --orange: #FF8A2B
}

body,
html {
    font-family: Arial;
    font-size: 14px;
    font-weight: 400;
    margin: 0 auto;
    padding: 0;
    -webkit-text-size-adjust: 100%;
    color: #333
}

a,
body,
div,
em,
h1,
h2,
h3,
h4,
html,
img,
li,
p,
span,
ul {
    vertical-align: baseline;
    word-wrap: break-word
}

strong {
    font-weight: 700
}

.gr-yellow,
table th {
    background-color: #eee;
    background-image: -moz-linear-gradient(top, #fafafa, #eee);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fafafa), to(#eee));
    background-image: -webkit-linear-gradient(top, #fafafa, #eee);
    background-image: -o-linear-gradient(top, #fafafa, #eee);
    background-image: linear-gradient(to bottom, #fafafa, #eee);
    background-repeat: repeat-x;
    color: #333;
    text-align: center;
    padding: 5px
}

table th {
    line-height: 20px
}

.pad10-5 {
    padding: 10px 5px 5px
}

.list-unstyle {
    list-style-type: none;
    margin: 0;
    padding: 0
}

.txt-logo img {
    width: 200px
}

.bold,
h1.txt-top {
    font-weight: 700
}

.pad10 {
    padding: 10px
}

.magt5 {
    margin-top: 5px
}

select,
table {
    border: 1px solid #ccc
}

table {
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse
}

table td {
    border: 1px solid #e4e4e4;
    text-align: center;
    padding: 4px 0;
    font-size: 16px
}

.bg_ef {
    background: #efefef
}

.bg-yellow {
    background: #fff5d5
}

.hl {
    background: var(--color-light);
    border-radius: 10px
}

*,
:after,
:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

.clearfix:after,
.clearfix:before {
    clear: both;
    content: " ";
    display: block;
    font-size: 0;
    height: 0;
    visibility: hidden
}

[class*=" ic-"],
[class^=ic-] {
    /* background: url(/css/images/ics.png) no-repeat 0 0; */
    display: inline-block;
    zoom: 1;
    cursor: pointer
}

input[type=password],
input[type=text],
textarea {
    -webkit-appearance: none;
    width: auto;
    height: 35px;
    padding: 5px 2%;
    font-size: 13px;
    color: #999;
    border: 0
}

select {
    padding: 7px;
    font-size: 16px;
    color: #000
}

input[type=checkbox],
input[type=radio] {
    height: 13px;
    width: 13px;
    margin: 0 5px 0 0;
    position: relative
}

input[type=radio] {
    vertical-align: bottom;
    margin: 0 5px 2px 0
}

h1.txt-top {
    font-size: 17px;
    text-overflow: ellipsis;
    position: relative;
    text-align: center;
    padding: 2px;
    color: #c00;
    margin: 4px 0
}

header {
    background: #fff
}

.main,
nav ul {
    max-width: 1090px;
    margin: 0 auto
}

.dspnone,
.hidden {
    display: none
}

a {
    text-decoration: none
}

a:hover {
    color: #f30;
    text-decoration: underline
}

img {
    border: medium;
    outline: 0
}

h1,
h2,
h3,
h4 {
    margin: 0
}

a,
h1 {
    color: #333
}

h1 {
    font-size: 24px
}

.news-title,
h2 {
    font-size: 18px;
    font-weight: 700
}

.ads,
nav {
    margin-bottom: 10px
}

.ads {
    margin-top: 10px
}

.txt-logo {
    padding: 3px 0;
    display: block
}

nav {
    min-height: 38px;
    background: #c00
}

nav li:hover {
    background: #ff8a2c
}

.menu-mobi li a,
.menu-pc li a {
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    display: block;
    line-height: 38px;
    padding: 0 5px
}

.menu-pc li a.pad0 {
    padding: 0
}

nav li:first-child a strong {
    padding-left: 0;
    border: 0
}

@media (min-width:901px) {
    nav li.fl:hover a {
        color: #fff
    }
}

nav li.fl:hover li a {
    color: #333
}

.ic-drop,
.menu-pc li ol {
    display: none
}

.btn-link,
.radius4,
.search,
button.collapsed {
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -o-border-radius: 3px
}

.linkColor {
    color: #06c
}

.bg-orange {
    background: #fff2bc
}

.menu-pc {
    list-style: none outside none;
    margin: 0;
    padding: 0
}

.menu-pc li {
    padding: 0 5px;
    position: relative
}

.menu-pc li.active {
    background-color: #ff8a2c
}

.menu-pc li.active ol,
.menu-pc li:hover ol {
    background-color: #f7e9be
}

@media (max-width:900px) {
    .menu-pc li ol li {
        padding-left: 4em;
        background: #fff
    }

    .menu-pc li.active .child-menu {
        display: block
    }
}

@media (min-width:900px) {
    .menu-pc li:hover .child-menu {
        display: block
    }

    .menu-pc .bg-icon,
    .menu-pc .menu-icon {
        display: none !important;
    }
}

.child-menu {
    padding-left: 0;
    list-style-type: none;
    position: absolute;
    top: 38px;
    left: 0;
    border: 1px solid #ff8a2c;
    border-top: none;
    width: 200px;
    z-index: 99;
    box-shadow: 0 3px 2px 0 #ccc
}

.child-menu li a {
    margin: 0;
    padding: 0;
    color: #000;
    text-transform: none
}

.child-menu li {
    padding-left: 5px
}

.fl {
    float: left
}

.fr {
    float: right
}

.breadcrumb ol,
.breadcrumb ol li {
    word-wrap: break-word;
    padding-left: 0
}

.breadcrumb ol {
    list-style-type: none;
    margin-block-start: 0;
    margin-block-end: 0
}

.breadcrumb ol li {
    display: inline
}

.breadcrumb ol li a {
    color: #0059a9;
    padding: 5px 0;
    display: inline-block
}

.breadcrumb {
    padding: 0;
    line-height: 12px
}

.breadcrumb ol li+li:before {
    padding: 5px;
    color: #ccc;
    content: "/\00a0"
}

.box {
    border-radius: 5px;
    -border-radius: 5px;
    -webkit-border-radius: 5px;
    background: #fff;
    margin-bottom: 10px;
    overflow: auto
}

.box-with-border {
    border: 2px solid #c00;
    border-radius: 0 0 5px 5px
}

.box-with-border.radius-top {
    border-radius: 5px
}

.box:has(.sticky-bottom) {
    overflow: visible
}

.radius-top {
    border-radius: 5px 5px 0 0
}

.border-without-top {
    border: 2px solid #c00;
    border-radius: 0 0 5px 5px;
    border-top: 0
}

.border-x {
    border: 2px solid #c00;
    border-bottom: 0
}

.col-r {
    float: right;
    width: 336px
}

.col-r .box {
    box-shadow: 0 1px 3px 0 #ccc;
    -moz-box-shadow: 0 1px 3px 0 #ccc;
    -webkit-box-shadow: 0 1px 3px 0 #ccc
}

.col-l {
    float: left;
    width: calc(100% - 346px)
}

.menu-mobi,
.navbar-toggle {
    display: none
}

.link-loto {
    background: #fafafa;
    margin-bottom: 10px
}

.link-loto a {
    display: initial;
    margin: 0 1px;
    line-height: 18px;
    text-decoration: none
}

.link-loto a img {
    vertical-align: bottom;
    margin: 0 3px 4px 0
}

.link-loto a::before,
.link-loto span::before {
    content: "H0T";
    position: relative;
    background: #ffeca0;
    font-size: 10px;
    padding: 2px;
    color: #ed1c25
}

.title,
.title-r {
    border-radius: 5px 5px 0 0;
    -moz-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
    color: #fff
}

.title {
    padding: 6px 3px;
    font-size: 14px
}

.title-bor,
.title-bor-c1 {
    line-height: 23px;
    padding: 7px 3px;
    color: #0a0909;
    font-size: 16px;
    font-weight: 700
}

.title-bor-c1 {
    color: #fff;
    background: #c00;
    text-align: center;
    width: 100%;
    flex: 0 0 100%;
    box-sizing: border-box;
}

.max3d-title a,
.max3dpro-title a,
.mega-title a,
.power-title a,
.title-bor-c1 a {
    color: #fff;
    text-decoration: underline
}

.vietlott-link {
    color: #c00;
    text-decoration: none;
    font-weight: 700
}

.vietlott-link h3 {
    display: initial;
    font-size: 16px
}

.title,
.title-bor,
.title-c2 {
    background: #f7e9be;
    position: relative;
    text-align: center
}

.max3d-title,
.max3dpro-title,
.mega-title,
.power-title {
    line-height: 23px;
    padding: 7px 3px;
    color: #fff;
    font-size: 16px;
    position: relative;
    text-align: center
}

.mega-title {
    background: #0059a9
}

.power-title {
    background: #c00
}

.max3d-title {
    background: #c71c98
}

.max3dpro-title {
    background: #6a29b7
}

.title-a {
    color: #fff;
    text-decoration: underline
}

.title-light {
    background: #f7e9be
}

.icon {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block
}

i.icon,
span.icon {
    display: inline-block
}

.title-r:before,
i.icon {
    vertical-align: middle
}

.buttons-wrapper {
    float: right
}

.sticky {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100
}

#go-top {
    position: fixed;
    bottom: 80px;
    right: 5px;
    z-index: 99;
    border: 0;
    outline: 0;
    background-color: #c3c3c3;
    cursor: pointer;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 10px;
    font-size: 30px;
    line-height: 20px;
    height: 30px
}

.see-more {
    margin: .5em 0;
    padding-top: 5px;
    padding-bottom: 5px
}

.see-more ul.list-html-link {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 5px 2px;
    border-collapse: collapse
}

.see-more ul.list-html-link li {
    flex: 1 50%;
    padding: .5em 0 0
}

.list-html-link li {
    list-style: disc inside none;
    color: #c00;
    padding: 3px 0
}

.list-html-link li a {
    color: #0059a9;
    text-decoration: none;
    font-size: 15px
}

.list-citymn-cale,
.list-dudoan {
    margin: 5px auto;
    display: flex;
    flex-wrap: wrap;
}

.list-citymn-cale li,
.list-dudoan li {
    float: none;
    box-sizing: border-box;
    padding: 5px 0;
    color: #c00;
}

.list-citymn-cale li a:hover,
.list-dudoan li a:hover {
    color: #c00;
    text-decoration: none
}

.list-citymn-cale li {
    flex: 0 0 50%;
    max-width: 50%;
    width: 50%;
}

.stt-icon-today {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-left: 3px;
    height: 16px;
    line-height: 1;
}

.stt-icon-today img {
    vertical-align: middle;
}

.stt-icon-today.finished svg,
.ic-check-green {
    vertical-align: middle;
    display: inline-block;
}

.ic-arrow-l {
    background-position: -156px -27px;
    width: 10px;
    height: 8px
}

.title-r {
    background: #c00;
    font-size: 14px;
    padding: 8px 10px;
    font-weight: 700;
    line-height: 21px;
    text-transform: uppercase
}

.title-r:before {
    background-image: url(/images/icon-coin.png);
    content: "";
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    background-size: contain;
    margin-right: .5em
}

.title-r a {
    text-decoration: none
}

#go-top,
.title-r a:hover,
footer,
footer a {
    color: #fff
}

.title-r .title-a {
    color: var()
}

.center,
.txt-center,
footer .share-social {
    text-align: center
}

footer {
    padding: 0 0 10px;
    background: #c00;
    border-top: 1px solid #dfdfdf
}

.link-hay p,
footer .share-social li {
    margin: 3px 0
}

footer a {
    text-decoration: underline
}

.footer-link {
    margin-top: 10px;
    padding-bottom: 1rem
}

.footer-link ul {
    margin: .25em 0 0;
    padding: 0
}

.footer-link li {
    list-style: none;
    padding: 5px
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    background-color: #f5f5f5;
    margin-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px
}

.footer-col {
    margin-top: 10px;
    padding-right: 5px;
    flex: 0 16.66%
}

.footer-col ul li a,
.footer-title a {
    color: #333;
    text-decoration: none
}

.footer-col ul li a:hover {
    color: #c00
}

.footer-title a {
    font-weight: 700;
    color: #06c;
    font-size: 16px
}

.link-hay {
    padding-bottom: 10px
}

.link-hay ul.list_view li {
    padding: 10px 10px 0
}

.link-hay ul.list_view li img {
    width: 95px;
    height: 60px;
    float: left;
    margin-right: 15px
}

.link-hay ul.list_view li img.small {
    width: 50px;
    height: 30px
}

.link-hay ul.list_view li a {
    font-size: 14px;
    color: #0059a9
}

.lazy-load-ad,
.lazy-loaded-ad {
    box-sizing: content-box
}

.hdc-csi_square {
    width: 336px;
    height: 280px;
    display: inline-block
}

.hdc-csi_header,
.hdc-csi_link {
    display: inline-block;
    width: 100%
}

.hdc-csi_header {
    width: 728px;
    height: 90px
}

ins.adsbygoogle {
    max-width: 1090px;
    min-width: 320px
}

ins.adsbygoogle[data-ad-status=unfilled] div[aria-label=Advertisement],
ins.adsbygoogle[data-ad-status=unfilled] div[id=aswift_1_host] {
    display: none !important
}

.ads_header {
    margin: auto;
    padding-bottom: 10px
}

div[data-widget-id="1773778"] {
    min-width: 300px
}

#monthly-result.dau td .dau,
#monthly-result.duoi td .duoi,
#monthly-result.even-sum td .even-sum,
#monthly-result.odd-sum td .odd-sum,
#monthly-result.tong td .tong,
.dspblock,
.tk-tong-db.dau td .dau,
.tk-tong-db.duoi td .duoi,
.tk-tong-db.even-odd td .even-odd,
.tk-tong-db.even-sum td .even-sum,
.tk-tong-db.odd-sum td .odd-sum,
.tk-tong-db.tong td .tong {
    display: block
}

#menu-mobile-backdrop,
.dsp-mobile {
    display: none
}

@media (max-width:900px) {

    .menu-pc li,
    .navbar-toggle {
        padding: 0;
        position: relative
    }

    .navbar-toggle {
        display: block;
        border: 1px solid #f30909;
        float: right;
        padding: 6px;
        margin: 6px 3px 6px 0;
        height: auto;
        background: 0 0
    }

    .navbar-toggle .icon-bar {
        border-radius: 1px;
        -moz-border-radius: 1px;
        -webkit-border-radius: 1px;
        display: block;
        height: 2px;
        width: 22px;
        background: #f30909
    }

    .navbar-toggle .icon-bar+.icon-bar {
        margin-top: 4px
    }

    .ads_header,
    .hdc-csi_header {
        width: 320px;
        height: 100px
    }

    .hdc-csi_overlay {
        display: none
    }

    .menu-mobi {
        list-style: none outside none;
        margin: 0;
        padding: 0;
        width: 100%;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        overflow-x: auto;
        white-space: nowrap;
        display: flex;
        padding-inline-start: 0
    }

    .menu-mobi li {
        display: inline;
        text-align: center;
        position: inherit;
        padding: 0 6px
    }

    .menu-mobi li.active {
        background-color: #ff8a2c
    }

    .menu-mobi li a {
        color: #fff;
        font-size: 13px;
        text-transform: uppercase;
        display: inline-block;
        line-height: 38px
    }

    .menu-mobi a.active,
    .menu-mobi li a:hover {
        color: #fcff00
    }

    .menu-mobi li a:first-child {
        padding-left: 0
    }

    .menu-mobi li a:first-child amp-img,
    .menu-mobi li a:first-child>img {
        vertical-align: middle;
        margin-bottom: 2px
    }

    html.menu-active #menu-mobile-backdrop {
        display: block
    }

    #menu-mobile-backdrop {
        z-index: 100;
        background-color: rgba(255, 255, 255, .7);
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        display: none;
    }

    #list-cate {
        visibility: hidden;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 9999;
        width: 85vw;
        max-width: 320px;
        background: #fff;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transition: transform .35s ease, visibility .35s ease;
        -webkit-transition: -webkit-transform .35s ease, visibility .35s ease;
        transform: translateX(100%);
        -webkit-transform: translateX(100%);
    }

    html.menu-active #list-cate {
        visibility: visible !important;
        transform: translateX(0) !important;
        -webkit-transform: translateX(0) !important;
        box-shadow: -4px 0 25px rgba(0, 0, 0, .4);
    }

    html.menu-active #menu-mobile-backdrop {
        display: block !important;
        z-index: 9998;
        background-color: rgba(0, 0, 0, .5);
    }

    nav ul.menu-pc li.fl {
        float: none;
        display: block;
        background: #fff;
        position: relative;
    }

    nav ul.menu-pc li.fl .cate {
        position: relative;
        margin: 0 10px;
        padding-left: 15px;
        padding-right: 40px;
        border-radius: 5px;
        cursor: pointer;
        display: flex;
        align-items: center;
        min-height: 40px;
    }

    nav ul.menu-pc li.fl.active .cate {
        background: #fee2e2;
    }

    .menu-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        margin-right: 12px;
        background: #f1f5f9;
        color: #475569;
        flex-shrink: 0;
        transition: all .25s ease;
        box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
    }

    .menu-icon svg {
        width: 17px;
        height: 17px;
        display: block;
    }

    .icon-xsmn,
    .icon-xsmb,
    .icon-xsmt {
        color: #dc2626;
        background: #fee2e2;
    }

    .icon-live {
        color: #ef4444;
        background: #fee2e2;
    }

    .icon-predict {
        color: #8b5cf6;
        background: #f5f3ff;
    }

    .icon-analysis {
        color: #0284c7;
        background: #f0f9ff;
    }

    .icon-statistic {
        color: #059669;
        background: #ecfdf5;
    }

    .icon-book {
        color: #d97706;
        background: #fffbeb;
    }

    .icon-spin {
        color: #0891b2;
        background: #ecfeff;
    }

    .icon-vietlott {
        color: #dc2626;
        background: #fee2e2;
    }

    .icon-news {
        color: #475569;
        background: #f8fafc;
    }

    .menu-pc li.active .menu-icon,
    .menu-pc li .cate:hover .menu-icon {
        background: linear-gradient(135deg, #ef4444, #b91c1c) !important;
        color: #fff !important;
        box-shadow: 0 2px 8px rgba(185, 28, 28, .35);
        transform: scale(1.05);
    }

    nav ul.menu-pc li.fl .cate img {
        display: inline-block;
        vertical-align: middle
    }

    nav ol.child-menu {
        position: relative;
        top: initial;
        left: initial;
        background-color: initial;
        width: 100%;
        border: 0;
        box-shadow: none
    }

    .menu-pc li.active {
        background: #f5f5f5
    }

    .menu-pc li ol li.active {
        margin: 2px 10px 2px 2em;
        border-radius: 5px;
        padding-left: 2.5em
    }

    #list-cate,
    .menu-pc li.active ol {
        background: #fff
    }

    .menu-pc li.active a {
        color: #d0021b
    }

    .menu-pc li.active ol li a {
        color: #333
    }

    .menu-pc li a {
        color: #333;
        display: inline-block
    }

    nav ul li.menu-header {
        color: #fff;
        border-bottom: none
    }

    nav li.menu-header .close-button {
        margin: 10px
    }

    .ic-drop {
        display: block;
        background-image: url(/images/down_arrow.png);
        background-repeat: no-repeat;
        background-position: center center;
        background-size: 14px 8px;
        right: 12px;
        top: 50%;
        margin-top: -12px;
        position: absolute;
        width: 24px;
        height: 24px;
        transform: rotate(0deg);
        transition: transform .25s ease;
        cursor: pointer;
        pointer-events: none;
    }

    .menu-pc li.active .ic-drop,
    .ic-drop.active {
        transform: rotate(180deg) !important;
    }

    .col-l,
    .col-r {
        width: 100%;
        float: none;
        border: 0;
        padding: 0
    }

    .col-l .list-news li {
        padding-right: 0
    }
}

@media (max-width:320px) {
    .hdc-csi_square {
        width: 300px;
        height: 250px;
        display: inline-block
    }
}

.box-html a,
.clnote,
.clred {
    color: var(--color-primary)
}

.clcat {
    color: #fff
}

.cl-primary {
    color: #c00
}

.box-html {
    padding: 5px 10px
}

.box-html a {
    font-weight: 700;
    text-decoration: underline;
    text-underline-position: under
}

.box-html,
.paragraph {
    line-height: 22px
}

.paragraph h3 {
    font-weight: 700;
    font-size: 16px
}

@media (max-width:640px) {
    .dsp-desktop {
        display: none
    }

    .title,
    .title-bor-c1 h2,
    .title-r {
        font-size: 16px
    }

    .title {
        padding: 8px 15px
    }

    .dsp-mobile,
    .footer-col {
        display: block
    }

    .link-loto .dsp-mobile {
        display: inline
    }

    .see-more ul.list-html-link li {
        flex: 1 50%
    }

    footer .fl,
    footer .fr {
        float: none;
        text-align: center
    }

    .footer-col {
        padding: 0 5px 0 0;
        width: auto
    }

    .footer-row {
        margin: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

.see-more ul.list-html-link.two-column li {
    flex: 1 50%
}

@media (max-width:360px) {
    .vietlott-link {
        font-size: 14px
    }

    .see-more ul.list-html-link li {
        flex: 1 100%
    }
}

@media (max-width:320px) {
    .menu-mobi a {
        font-size: 12px;
        padding: 0 2px
    }
}

.sub-title {
    color: #00f;
    text-decoration: underline
}

.pad5 {
    padding: 5px
}

.s12 {
    font-size: 12px
}

.s16 {
    font-size: 16px
}

.s18,
.tk-db td span.clred.s18 {
    font-size: 18px
}

a.clred.s18,
.box.pad10-5 a.clred,
.box.pad10-5 a.de,
.box.pad10-5 a {
    color: #c00 !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

.box.pad10-5 a:hover {
    color: #900 !important;
    text-decoration: underline !important;
}

.mo-thuong-ngay table tbody tr td {
    width: 33.33%
}

.btn-danger {
    background-color: var(--color-primary);
    color: #fff;
    margin-bottom: 10px
}

.btn {
    margin-bottom: 2px;
    display: inline-block;
    padding: 7px 16px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    border-radius: 4px
}

.btn-see-more:not(:disabled):hover {
    background-color: #eee;
    box-shadow: none
}

.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: #c00;
    position: relative
}

#monthly-result td .dau,
#monthly-result td .duoi,
#monthly-result td .even-sum,
#monthly-result td .odd-sum,
#monthly-result td .tong,
#monthly-result.loto td .loto,
.btn-see-more.dspnone,
.even-odd,
.tk-tong-db td .dau,
.tk-tong-db td .duoi,
.tk-tong-db td .even-odd,
.tk-tong-db td .even-sum,
.tk-tong-db td .odd-sum,
.tk-tong-db td .tong,
.tk-tong-db.loto td .loto {
    display: none
}

#monthly-result {
    position: relative
}

.tk-tong-db .colgiai td div {
    font-size: 14px
}

.tk-tong-db .colgiai td div.ngay-quay {
    font-size: 12px;
    font-weight: 400;
    color: var(--color-gray)
}

@media (max-width:640px) {
    .tk-tong-db .colgiai td div.ngay-quay {
        font-size: 9px
    }
}

#monthly-result .dau,
#monthly-result .duoi,
#monthly-result .tong,
.tk-tong-db .dau,
.tk-tong-db .duoi,
.tk-tong-db .tong {
    color: #888;
    font-size: 12px;
    font-weight: 400
}

#monthly-result.even-sum td:has(.even-sum),
.tk-tong-db.even-sum td:has(.even-sum) {
    background: #fff996
}

#monthly-result.odd-sum td:has(.odd-sum),
.tk-tong-db.odd-sum td:has(.odd-sum) {
    background: #ddd
}

.dspinlineblock {
    display: inline-block
}

.toggle-button {
    padding: 0 8px;
    font-weight: 700
}

.lbl1,
.lbl1:after {
    border-radius: 100px;
    transition: all .3s ease
}

.lbl1 {
    position: relative;
    display: inline-block;
    height: 24px;
    width: 36px;
    background: #898989;
    cursor: pointer;
    vertical-align: middle;
    margin-right: 5px
}

.lbl1:after {
    position: absolute;
    left: 2px;
    top: 2px;
    display: block;
    width: 20px;
    height: 20px;
    background: #fff;
    box-shadow: 0 3px 3px rgba(0, 0, 0, .05);
    content: ''
}

.subscription-button .lbl1 {
    box-sizing: border-box;
    border: 2px solid #fb9b34;
    height: 18px
}

.subscription-button .lbl1:after {
    top: -4px;
    width: 22px;
    height: 22px
}

.lbl1:active:after {
    transform: scale(1.15, .85)
}

.cbx:checked~label {
    background: var(--color-primary)
}

.cbx:checked~label:after {
    left: 14px;
    background: #fff
}

.cbx:disabled~label {
    background: #e1e3e4;
    pointer-events: none
}

.cbx:disabled~label:after {
    background: #bcbdbc
}

.mag5-0 {
    margin: 5px 0
}

.mag5 {
    margin: 5px
}

@media (max-width:1023px) {
    .dsp-mobile-block {
        display: block
    }
}

.tk-ts-filter {
    border-collapse: collapse
}

.tk-ts-filter:not(.tan-suat-cap) td:first-child {
    background-color: #fdfad1
}

.tk-ts-filter td {
    border: 1px solid #fff;
    padding: 2px
}

.tk-ts-filter button {
    padding: 3px;
    border: 1px solid #e4e4e4;
    background: #fdfad1
}

.cl-light-blue {
    background-color: #fdfad1
}

.sticky-header-container {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: #fff;
    transition: 350ms;
    transition-property: all;
    transition-timing-function: cubic-bezier(.7, 1, .7, 1)
}

.sticky-header {
    overflow-x: visible;
}

.sticky-content {
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.sticky-table-row {
    position: relative
}

.cl-light-yellow {
    background-color: #fff9e1
}

.flex-wrap-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end
}

.mt-inherit {
    margin-top: inherit
}

.number-filter span {
    padding-right: 5px
}

.cl-orange {
    color: #c00
}

.mb-10 {
    margin-bottom: 10px
}

.btn-xsmn {
    background: #c00;
    color: #fff;
    font-size: 15px;
    text-align: center;
    padding: 8px 10px;
    border-radius: 3px;
    border: 1px solid #c00;
    cursor: pointer
}

.s23 {
    font-size: 23px
}

.text-left {
    text-align: left
}

.custom-checkbox {
    display: inline-flex;
    align-items: center;
    margin: 5px 5px 5px 0
}

.custom-checkbox input[type=checkbox] {
    margin-right: 5px
}

.button-checkbox {
    display: inline-block;
    border-radius: 4px;
    border: 1px solid #fff
}

.button-checkbox input[type=checkbox] {
    display: none
}

.button-checkbox label span {
    text-align: center;
    padding: 5px;
    display: block;
    border: 1px solid #000;
    border-radius: 3px;
    opacity: .5
}

.button-checkbox label input {
    position: absolute;
    display: none
}

.button-checkbox input[type=checkbox]:checked+span {
    background-color: #c00;
    opacity: 1;
    border: 1px solid #c00;
    color: #fff
}

.underline {
    text-decoration: underline
}

.magT1 {
    margin-top: 1rem
}

.form-vote-number,
.top-vote-number {
    display: flex;
    flex-wrap: wrap
}

.form-vote-number {
    width: 100%
}

.form-vote-number li {
    padding: 4px;
    margin: 4px 0;
    text-align: center;
    flex: 0 1 10%
}

.form-vote-number .vote-number {
    box-sizing: content-box;
    display: inline-block;
    width: 3rem;
    height: 2rem;
    line-height: 2rem;
    text-align: center;
    border-radius: 5px;
    font-weight: 700;
    color: #333;
    background: #eee;
    cursor: pointer
}

.ball.ball-red,
.ball:hover,
.form-vote-number .vote-number:hover {
    color: #fff;
    background: var(--color-primary)
}

.form-vote-number .vote-number.vote-number-red {
    color: #fff;
    background: var(--color-primary);
    border: 2px solid var(--color-primary)
}

.ball.ball-red:hover,
.form-vote-number .vote-number.vote-number-red:hover {
    color: var(--color-primary);
    background: #fff
}

.box-note {
    background: #f9f9f9;
    border: 1px solid #efefef
}

.pad0 {
    padding: 0
}

.ball-margin {
    margin: .4em
}

.ball,
a.item_sublink {
    color: #000;
    display: inline-block
}

.ball {
    box-sizing: content-box;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    text-align: center;
    border-radius: 100%;
    font-size: 1.2rem;
    font-weight: 700;
    background: radial-gradient(50% 50% at 50% 50%, #fff 0, #ffe486 100%);
    border: 2px solid var(--color-primary);
    cursor: pointer
}

.ball.ball-big {
    width: 3rem;
    height: 3rem;
    line-height: 3rem;
    font-size: 1.4rem
}

.ball,
.ball.ball-small {
    color: var(--color-primary)
}

.ball.ball-small {
    width: 1.5rem;
    height: 1.5rem;
    line-height: 1.5rem;
    font-size: 1rem
}

.soicau-loto-l {
    width: 67%;
    float: left
}

@media (max-width:640px) {
    .soicau-loto-l .kqmb td.v-giai span[class^=v-g] {
        font-size: 20px
    }
}

@media (max-width:360px) {
    .soicau-loto-l .kqmb td.v-giai span[class^=v-g] {
        font-size: 18px
    }
}

.soicau-loto-r {
    width: 33%;
    float: right
}

.soicau-loto-r .firstlast-mb {
    margin-top: 0;
    width: 100%
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, .4)
}

.modal-content {
    background-color: #fefefe;
    margin-top: 200px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #c7c7c7
}

@media (min-width:640px) {
    .modal-content {
        width: 480px
    }

    .menu-pc ._a_quayso {
        display: none
    }
}

.modal-content .modal-header {
    padding: 20px 20px 0;
    border-bottom: 0
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    border-top-left-radius: .3rem;
    border-top-right-radius: .3rem
}

.modal-header .close {
    padding: 1rem;
    margin: -1rem -1rem -1rem auto
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 18px;
    font-weight: 700
}

.modal-content .modal-body {
    padding: 20px
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem
}

.modal-content .modal-footer {
    padding: 8px 8px 8px 16px;
    border-top: 0
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #e9ecef
}

.modal-footer .btn {
    font-size: 16px;
    text-transform: uppercase;
    margin: .5rem 1rem;
    font-weight: 500
}

.title-bor-c2 {
    background: #ff8a2c;
    color: #fff;
    padding: 10px;
    font-weight: 700;
    text-align: center
}

.cl-blue {
    color: #06c
}

.cl-gray {
    color: #888
}

.cl-navy {
    color: var(--color-link)
}

.cl-black {
    color: var(--color-dark)
}

.yellow-light-bg {
    background: #f7e9be94
}

.gray-bg {
    background: #f5f5f5;
    margin-bottom: 10px
}

.bg-orange.gray-bg {
    background: #fff2bc
}

.is-live-box {
    position: relative
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, .6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10
}

.countdown-container {
    background: #fff;
    padding: 2rem 3rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
    text-align: center
}

.countdown-timer {
    font-size: 2em;
    color: #000
}

.live-box-container {
    display: flex;
    justify-content: center;
    align-items: center
}

.live-box-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 10px
}

.live-box-title {
    padding: 1rem;
    text-align: center
}

.live-box {
    border-radius: 5px;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    padding: .6rem .5rem;
    font-weight: 700;
    margin: 10px
}

.live-box-container span {
    font-size: 1.5rem;
    padding: 0 1.6rem;
    font-weight: 700
}

.bg-icon {
    display: inline-block;
    vertical-align: middle
}

.bg-yt_48x48 {
    /* background: url(/css/images/css_sprites.png) -10px -10px */
}

.bg-fb_48x48,
.bg-twitter_48x48,
.bg-yt_48x48 {
    width: 48px;
    height: 48px;
    transform: scale(.66)
}

.bg-twitter_48x48 {
    /* background: url(/css/images/css_sprites.png) -78px -10px */
}

.bg-fb_48x48 {
    /* background: url(/css/images/css_sprites.png) -10px -78px */
}

.bg-icon_coin {
    width: 32px;
    height: 32px;
    /* background: url(/css/images/css_sprites.png) -78px -78px */
}

.bg-ac_book {
    width: 24px;
    height: 24px;
    /* background: url(/css/images/css_sprites.png) -146px -10px */
}

.bg-ac_chart {
    width: 24px;
    height: 24px;
    /* background: url(/css/images/css_sprites.png) -146px -54px */
}

.bg-ac_global {
    width: 24px;
    height: 24px;
    /* background: url(/css/images/css_sprites.png) -146px -98px */
}

.bg-ac_home {
    width: 24px;
    height: 24px;
    /* background: url(/css/images/css_sprites.png) -10px -146px */
}

.bg-ac_look {
    width: 24px;
    height: 24px;
    /* background: url(/css/images/css_sprites.png) -54px -146px */
}

.bg-ac_map {
    width: 24px;
    height: 24px;
    /* background: url(/css/images/css_sprites.png) -98px -146px */
}

.bg-ac_micro {
    width: 24px;
    height: 24px;
    /* background: url(/css/images/css_sprites.png) -142px -146px */
}

.bg-ac_question {
    /* background: url(/css/images/css_sprites.png) -190px -10px */
}

.bg-ac_moon,
.bg-ac_question,
.bg-book {
    width: 24px;
    height: 24px
}

.bg-ac_moon {
    /* background: url(/css/images/css_sprites.png) -190px -54px */
}

.bg-book {
    /* background: url(/css/images/css_sprites.png) -190px -98px */
}

.bg-ac_vietlott {
    width: 24px;
    height: 24px;
    /* background: url(/css/images/css_sprites.png) -190px -142px */
}

.bg-ac_roll {
    width: 24px;
    height: 24px;
    /* background: url(/css/images/css_sprites.png) -10px -190px */
}

.bg-chart {
    width: 24px;
    height: 24px;
    /* background: url(/css/images/css_sprites.png) -54px -190px */
}

.bg-global {
    /* background: url(/css/images/css_sprites.png) -98px -190px */
}

.bg-global,
.bg-home,
.bg-look {
    width: 24px;
    height: 24px
}

.bg-home {
    /* background: url(/css/images/css_sprites.png) -142px -190px */
}

.bg-look {
    /* background: url(/css/images/css_sprites.png) -186px -190px */
}

.bg-map {
    /* background: url(/css/images/css_sprites.png) -234px -10px */
}

.bg-map,
.bg-micro,
.bg-moon {
    width: 24px;
    height: 24px
}

.bg-micro {
    /* background: url(/css/images/css_sprites.png) -234px -54px */
}

.bg-moon {
    /* background: url(/css/images/css_sprites.png) -234px -98px */
}

.bg-question {
    width: 24px;
    height: 24px;
    /* background: url(/css/images/css_sprites.png) -234px -142px */
}

.bg-roll {
    width: 24px;
    height: 24px;
    /* background: url(/css/images/css_sprites.png) -234px -186px */
}

.bg-vietlott {
    width: 24px;
    height: 24px;
    /* background: url(/css/images/css_sprites.png) -10px -234px */
}

a.item_sublink {
    border-radius: 30px;
    background: #ffe486;
    padding: .35em .5em;
    margin: 2px 0;
    text-decoration: none !important
}

.loading-opacity {
    position: relative
}

.loading-opacity::after,
.loading-opacity::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0
}

.loading-opacity::before {
    background-color: rgba(255, 255, 255, .8);
    z-index: 100
}

.loading-opacity::after {
    z-index: 101;
    margin: auto;
    background-image: url('data:image/svg+xml;utf8,<svg version="1.1" xmlns="http:%2F%2Fwww.w3.org%2F2000%2Fsvg" xmlns:xlink="http:%2F%2Fwww.w3.org%2F1999%2Fxlink" width="40px" height="40px" viewBox="0 0 50 50" style="enable-background:new 0 0 50 50;" xml:space="preserve"><path fill="%23F16623" d="M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z"> <animateTransform attributeType="xml" attributeName="transform" type="rotate" from="0 25 25" to="360 25 25" dur="0.6s" repeatCount="indefinite"%2F><%2Fpath><%2Fsvg>');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    min-height: 1.5em;
    min-width: 1.5em;
    max-width: 3em;
    width: 5%;
    height: 100%
}

.faq-accordion .faq-item {
    border-bottom: 1px solid #e5e7eb;
    padding: .5rem 0
}

.box-tham-khao {
    border: 1px solid #ec891d;
    background: #fff;
    margin: 10px 0;
    border-radius: 4px;
    overflow: hidden;
}

.box-tham-khao .tham-khao-header {
    background: #fdf5d8;
    color: #333;
    font-size: 14px;
    font-weight: bold;
    padding: 7px 12px;
    border-bottom: 1px solid #f2e3c6;
}

.box-tham-khao ul.tham-khao-list {
    list-style: none;
    margin: 0;
    padding: 8px 12px 10px 12px;
}

.box-tham-khao ul.tham-khao-list li {
    padding: 4px 0;
    font-size: 13px;
    line-height: 1.6;
    color: #333;
    position: relative;
    padding-left: 14px;
}

.box-tham-khao ul.tham-khao-list li::before {
    content: "•";
    color: #d0021b;
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 15px;
    line-height: 1;
}

.box-tham-khao ul.tham-khao-list li a {
    color: #d0021b;
    font-weight: bold;
    text-decoration: underline;
}

.box-tham-khao ul.tham-khao-list li a:hover {
    color: #b70014;
}

.faq-accordion .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600
}

.faq-accordion .faq-question .toggle-icon {
    margin-left: 1rem;
    background-image: url(/images/down_arrow.png);
    background-repeat: no-repeat;
    background-position: 11px 14px;
    width: 36px;
    height: 36px;
    transition: tranform .5s linear;
    transform: rotate(90deg)
}

.faq-accordion .faq-question.active .toggle-icon,
.faq-accordion .faq-question .toggle-icon.active {
    transform: rotate(0);
    transition: transform .5s linear
}

.faq-accordion .faq-answer {
    padding-top: .5rem
}

.faq-accordion .faq-answer .answer-content {
    color: #4b5563
}

.faq-accordion .faq-answer .answer-content.text-muted {
    color: #6c757d
}

.faq-accordion .faq-item:last-child {
    border-bottom: none
}

.sticky-bottom {
    position: sticky;
    bottom: 0
}

.d-flex {
    display: flex
}

.toggle-buttons.d-flex {
    justify-content: center
}

.white-bg {
    background: var(--color-white)
}

.highlight-bg {
    background: var(--highlight-bg)
}

.green-cl {
    color: var(--green)
}

.violet-cl {
    color: var(--violet)
}

.hover-table td.selected,
.hover-table td:hover {
    background: #ffe594
}

.arr-left,
.arr-right {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    vertical-align: middle;
    cursor: pointer
}

.arr-left {
    background-image: url(/images/back-arrow-30.png)
}

.arr-right {
    background-image: url(/images/forward-button-30.png)
}

.btn-scroll-year.active {
    background-color: #ffc107 !important;
    color: #000 !important;
    border-color: #ffc107 !important;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
    transform: scale(1.1)
}

.btn-scroll-year {
    transition: all .3s ease;
    margin: 0 5px
}

.loto-gan-table-controls {
    margin: 10px 0 15px
}

.loto-gan-table-controls.freq-stat-num {
    background: #fff;
    border: 0
}

.loto-gan-control-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 5px
}

.loto-gan-control-row .button-menu {
    padding: 0;
    flex: 1 1 auto
}

.loto-gan-table-controls .toggle-buttons {
    justify-content: flex-end;
    flex: 0 0 auto
}

.loto-gan-table-controls.freq-stat-num .button-menu {
    justify-content: left
}

.loto-gan-table-controls.freq-stat-num .button-menu span.button {
    width: 4rem
}

@media (max-width:640px) {
    .loto-gan-control-row {
        overflow-x: auto;
        padding-bottom: 4px
    }

    .loto-gan-table-controls .toggle-buttons {
        justify-content: flex-end
    }
}

@keyframes colorchange {
    0% {
        background: #ff7200
    }

    to {
        background: #fff9e1
    }
}

@-webkit-keyframes colorchange {
    0% {
        background: #ff7200
    }

    to {
        background: #fff9e1
    }
}

@-moz-keyframes blink {

    0%,
    to {
        opacity: 1
    }

    50% {
        opacity: 0
    }
}

@-webkit-keyframes blink {

    0%,
    to {
        opacity: 1
    }

    50% {
        opacity: 0
    }
}

@-ms-keyframes blink {

    0%,
    to {
        opacity: 1
    }

    50% {
        opacity: 0
    }
}

@keyframes blink {

    0%,
    to {
        opacity: 1
    }

    50% {
        opacity: 0
    }
}

@-webkit-keyframes fadein {
    0% {
        bottom: 0;
        opacity: 0
    }

    to {
        bottom: 30px;
        opacity: 1
    }
}

@keyframes fadein {
    0% {
        bottom: 0;
        opacity: 0
    }

    to {
        bottom: 30px;
        opacity: 1
    }
}

@-webkit-keyframes fadeout {
    0% {
        bottom: 30px;
        opacity: 1
    }

    to {
        bottom: 0;
        opacity: 0
    }
}

@keyframes fadeout {
    0% {
        bottom: 30px;
        opacity: 1
    }

    to {
        bottom: 0;
        opacity: 0
    }
}

.alert {
    padding: 8px;
    color: #000;
    opacity: 1;
    transition: opacity .6s;
    font-size: 16px;
    background-color: #fff9e1
}

.alert .alert-link {
    font-size: 13px;
    float: right
}

.alert .alert-link img {
    height: 21px
}

.alert .prize-number {
    font-size: 24px;
    text-decoration: initial
}

.alert.blink {
    animation: colorchange 3s;
    -webkit-animation: colorchange 3s
}

.alert.success {
    background-color: #4caf50
}

.alert.info {
    background-color: #2196f3
}

.alert.warning {
    background-color: #ff9800
}

.alert .closebtn {
    margin-left: 15px;
    color: #31708f;
    font-weight: 700;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: .3s
}

.alert.blink .alert-msg::before,
.blink-image {
    -moz-animation: blink normal 1s infinite ease-in-out;
    -webkit-animation: blink normal 1s infinite ease-in-out;
    -ms-animation: blink normal 1s infinite ease-in-out;
    animation: blink normal 1s infinite ease-in-out;
    margin-right: 5px
}

.alert.blink .alert-msg::before {
    vertical-align: baseline;
    content: '';
    width: 1em;
    height: 1em;
    background-color: #ed1b2f;
    border-radius: 50%;
    display: inline-block
}

.alert .alert-msg {
    font-style: italic;
    vertical-align: baseline
}

.alert .closebtn:hover {
    color: #000
}

.blink-image {
    vertical-align: middle
}

.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
}

.tab-panel *,
.trial-roll-tab *,
.vietlott-tab * {
    position: relative;
    word-spacing: normal
}

.tab-panel+h2 {
    border-radius: 0
}

.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 li {
    flex: 1 1 12.5%
}

.trial-roll-tab li {
    flex: 0 1 25%
}

.tab-loto-cam li {
    flex: 0 1 50%
}

.tab-1-3 li,
.tab-pascal li {
    flex: 0 1 33.33%
}

.tab-panel li a,
.tab-pascal li a,
.trial-roll-tab li a {
    color: inherit;
    display: block;
    padding: 10px 2px
}

.trial-roll-tab li a {
    font-weight: 700
}

.tab-panel li.active,
.tab-pascal li.active,
.trial-roll-tab li.active,
.vietlott-tab li.active {
    z-index: 1;
    font-size: 14px;
    font-weight: 600;
    color: #fff
}

.tab-panel li.active,
.tab-pascal li.active,
.trial-roll-tab li.active {
    background: #c00;
    border: 1px solid #c00
}

.vietlott-tab li.active {
    background: #0059a9;
    border: 1px solid #0059a9
}

.tab-panel li.active:after {
    background: #ffe594
}

@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
    }

    .tab-panel li a {
        padding-left: 0;
        padding-right: 0;
        text-align: center;
        width: 100%
    }

    .tab-panel.tab-auto li {
        flex: 1 1 auto
    }

    .tab-panel.tab-3 li {
        flex: 1 1 33%
    }

    .tab-panel.tab-2 li {
        flex: 1 1 50%
    }

    .tab-panel.tab-7 li {
        flex: 1 1 14%
    }

    .tab-panel.tab-5 li {
        flex: 1 1 20%
    }

    .tab-panel li:after,
    .tab-panel:after {
        display: none
    }
}

.vietlott-tab li {
    display: inline-block;
    list-style: none;
    background: #eee;
    border: 1px solid #d9d9d9;
    z-index: 0;
    flex: 1 1 auto;
    text-align: center
}

.vietlott-tab li a {
    color: inherit;
    display: block;
    padding: .6em .6em .6em .8em;
    font-size: 14px
}

.vietlott-tab li.active.power {
    background: #c00;
    border: 1px solid #c00
}

.vietlott-tab li.active.max3d {
    background: #c71c98;
    border: 1px solid #c71c98
}

.vietlott-tab li.active.max3dpro {
    background: #6a29b7;
    border: 1px solid #6a29b7
}

.vietlott-tab li.active.lotto535 {
    background: #1b5e20;
    border: 1px solid #1b5e20
}

.control-panel {
    display: flex;
    align-items: center;
    padding: .25em;
    text-align: center;
    background: #fff;
    color: #333;
    font-weight: 700
}

.control-panel:after {
    content: "";
    display: block;
    clear: both
}

.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;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s ease
}

.hover-panel #hover-row span:hover,
.hover-panel #hover-row span.active,
.hover-panel #hover-row-qt span.active,
.hover-panel #hover-row span.active-clicked,
.hover-panel #hover-row-qt span.active-clicked {
    background: #fbf4a3 !important;
    color: #c00 !important;
    font-weight: 700;
}

.active-digit {
    background: #fbf4a3 !important;
    color: inherit !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    display: inline !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    box-shadow: none !important;
    border: none !important;
}

.reading-active-number {
    background-color: #ffecb3 !important;
    color: #d0021b !important;
    outline: 2px solid #ff9800 !important;
    outline-offset: -1px;
}

table.firstlast-mn tbody tr.active-loto-row td,
table.firstlast-mn tbody tr.active-clicked-loto td,
table.firstlast-mb tbody tr.active-loto-row td,
table.firstlast-mb tbody tr.active-clicked-loto td,
table.firstlast-mt tbody tr.active-loto-row td,
table.firstlast-mt tbody tr.active-clicked-loto td,
[data-id="dd"] table tbody tr.active-loto-row td,
[data-id="dd"] table tbody tr.active-clicked-loto td {
    background-color: #fff9db !important;
}

.firstlast-mn tbody tr:not(.header),
.firstlast-mb tbody tr:not(.header),
.firstlast-mt tbody tr:not(.header),
[data-id="dd"] table tbody tr:not(.header) {
    cursor: pointer;
    transition: background-color .15s ease;
}

.hover-panel #hover-row span:first-child {
    border-left: none
}

.hover-panel #hover-row span:last-child,
.one-city .colgiai td:last-child {
    border-right: none
}

.digits-form label.radio input {
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
    pointer-events: none
}

.digits-form label.radio input+b {
    width: 20px;
    height: 20px;
    display: inline-block;
    border-radius: 100%;
    border: 1px solid #878787;
    background-color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto
}

.digits-form label.radio input:checked+b {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http:%2F%2Fwww.w3.org%2F2000%2Fsvg" xmlns:xlink="http:%2F%2Fwww.w3.org%2F1999%2Fxlink" version="1.1" viewBox="0 0 100 100"><circle cx="50" cy="50" r="35" fill="%23FF8A2B"%2F><%2Fsvg>')
}

.digits-form label.radio *,
.speaker-icon img {
    vertical-align: middle
}

.digits-form label.radio[data-value="0"] span:after {
    content: " Đầy đủ"
}

.digits-form label.radio[data-value="2"] span:after {
    content: " 2 số"
}

.digits-form label.radio[data-value="3"] span:after {
    content: " 3 số"
}

.digits-form {
    margin-right: auto
}

.digits-form label.radio {
    display: inline-block;
    vertical-align: middle;
    cursor: pointer
}

.digits-form label.radio+label.radio {
    margin-left: .25em
}

.buttons-wrapper,
.subscription-button {
    display: inline-block;
    margin-left: .25em
}

.buttons-wrapper .subscription-button span:after {
    content: " Thông báo";
    vertical-align: middle
}

.speaker-icon {
    cursor: pointer;
    margin-left: .25em;
    height: 24px
}

.speaker-icon img {
    width: 24px;
    height: 24px
}

@media (max-width:320px) {
    .control-panel {
        padding: .5em 5px
    }

    .digits-form label.radio+label.radio {
        margin-left: .5rem
    }
}

.cbx:checked~label {
    background: #f22427
}

.cbx:checked~label:after {
    left: 20px;
    background: #fff
}

.cbx:disabled~label {
    background: #d5d5d5;
    pointer-events: none
}

.cbx:disabled~label:after {
    background: #bcbdbc
}

.lbl1,
.lbl1:after {
    border-radius: 100px;
    transition: all .3s ease
}

.lbl1 {
    position: relative;
    display: inline-block;
    height: 16px;
    width: 40px;
    background: #898989;
    cursor: pointer;
    vertical-align: middle
}

.lbl1:after {
    position: absolute;
    left: -2px;
    top: -2px;
    display: block;
    width: 20px;
    height: 20px;
    background: #fff;
    box-shadow: 0 3px 3px rgba(0, 0, 0, .05);
    content: '';
    border: 2px solid #ffe594
}

.lbl1:active:after {
    transform: scale(1.15, .85)
}

.imgloadig,
td>div.imgloadig {
    background: url(/css/images/loading-red.gif) no-repeat center
}

b.imgloadig,
strong.imgloadig {
    width: 20px;
    height: 30px;
    margin: auto;
    display: block
}

.cl-rl,
.colgiai td div.cl-rl,
.kqmb .db .number.cl-rl,
.kqmb .g7 .number.cl-rl,
.kqmb .g8 .number.cl-rl {
    color: #ec891d;
    background-color: #fff2bc;
    -moz-border-radius: 20px;
    margin: auto
}

.kqmb thead {
    display: none
}

.giai8 .number,
.kqmb .g8 .number,
.kqmb .gdb .number {
    color: #ed0303;
    font-size: 32px
}

.bg_f6 {
    background: #f6f6f6
}

.bg_ef {
    background: #efefef
}

.col-firstlast.colgiai {
    margin-top: 5px
}

.col-firstlast.colgiai th {
    background: #dfdfdf;
    padding: 10px;
    color: #333;
    font-weight: 400;
    font-size: 14px
}

.firstlast-mb,
.tk-db .colgiai.fl {
    width: calc(50% - 2px)
}

.one-city .colgiai td,
.txt-giai {
    border-right: 1px solid #ccc
}

.one-city .colgiai td {
    border-left: none
}

.kqmb td,
.kqtinh td.v-giai {
    padding: 0
}

.kqtinh td.v-giai>span {
    display: inline-block;
    padding: 4px;
    white-space: nowrap;
    word-break: keep-all
}

.kqtinh.kqmb td.v-giai span[class^=v-g3-] {
    width: 50%;
    border-bottom: none
}

.kqtinh td.v-giai span.v-g3-1 {
    border-left: 1px solid #ccc
}

.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
}

.kqtinh.kqmb td.v-giai span.v-g4-5,
.kqtinh.kqmb td.v-giai span.v-g4-6 {
    width: 33.33%;
    border-left: 1px solid #ccc
}

.kqtinh.kqmb td.v-giai span.v-g4-4 {
    width: 33.33%
}

.kqtinh.kqmb td.v-giai span.v-g4-0,
.kqtinh.kqmb td.v-giai span.v-g4-4 {
    border-left: none
}

.kqtinh td.v-giai span[class^=v-g6-] {
    width: 33.33%
}

.kqtinh td.v-giai span.v-g6-1,
.kqtinh td.v-giai span.v-g6-2 {
    border-left: 1px solid #ccc
}

@media (max-width:640px) {

    .kqtinh.kqmb td.v-giai span.v-g4-0,
    .kqtinh.kqmb td.v-giai span.v-g4-1,
    .kqtinh.kqmb td.v-giai span.v-g4-2,
    .kqtinh.kqmb td.v-giai span.v-g4-3 {
        width: 50%
    }

    .kqtinh.kqmb td.v-giai span.v-g4-2 {
        border-left: none
    }

    .kqmb .number {
        font-size: 25px
    }
}

@media (max-width:360px) {
    .txt-giai {
        width: 50px
    }

    .kqmb .number {
        font-size: 24px
    }
}

.madb .imgloadig {
    vertical-align: middle
}

.kqmb td.madb {
    padding: 6px;
    font-size: 17px;
    font-weight: 700;
    color: #0059a9
}

td.imgloadig {
    height: 38px
}

.txt-giai {
    width: 60px
}

.kqmb .db .number,
.kqmb .g7 .number {
    color: #c00;
    font-size: 32px
}

.kqmb .number {
    font-weight: 700;
    font-size: 28px
}

.col-firstlast {
    margin-top: 5px
}

.firstlast-mb {
    width: calc(50% - 2px);
    margin-top: 2px;
    border-collapse: collapse;
    font-weight: 700;
    border: 0;
    table-layout: fixed;
}

.firstlast-mb.fl th:first-child,
.firstlast-mb.fl td:first-child {
    width: 25%;
    text-align: center;
}

.firstlast-mb.fl th:last-child,
.firstlast-mb.fl td:last-child {
    width: 75%;
    padding-left: 5px;
    text-align: left;
}

.firstlast-mb.fr th:first-child,
.firstlast-mb.fr td:first-child {
    width: 75%;
    padding-right: 5px;
    text-align: right;
}

.firstlast-mb.fr th:last-child,
.firstlast-mb.fr td:last-child {
    width: 25%;
    text-align: center;
}

.firstlast-mb td,
.firstlast-mb th {
    border: 1px solid #e4e4e4;
    text-align: center;
    padding: 3px 5px;
    line-height: 20px;
    height: 27px;
}

.firstlast-mb.fr td,
.firstlast-mb.fr th {
    border-left: none;
}

.firstlast-mb tr.header th,
.firstlast-mn tr.header th {
    background: #f7e9be;
}

.firstlast-md td {
    word-break: break-all
}

.clgreen {
    color: #28a745
}

.clyellow {
    color: #ffc107
}

.bang-loto {
    table-layout: fixed
}

.bang-loto td {
    font-size: 18px;
    height: 28px;
    font-weight: 700
}

.kqmb td.v-giai span[class^=v-g] {
    display: inline-block;
    min-width: 20px;
    padding: 8px 4px;
    width: 100%
}

.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-g3-] {
    width: 33.33%
}

.kqmb td.v-giai span[class^=v-g4-] {
    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-g7-] {
    width: 25%
}

.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.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
}

.kqmb td.v-giai span.imgloadig:before,
td>div.imgloadig:before {
    content: "\200b"
}

.firstlast-mb td {
    font-size: 17px;
    word-break: break-all
}

@media (max-width:640px) {
    .kqmb .number {
        font-size: 25px
    }

    .kqmb td.madb,
    .txt-giai {
        font-size: 14px
    }

    .kqmb.analyze .number {
        font-size: 21px
    }

    .kqmb.analyze .txt-giai {
        width: 40px
    }

    .kqmb.analyze td:last-child {
        word-break: break-word
    }
}

@media (max-width:360px) {
    .kqmb .number {
        font-size: 24px
    }

    .kqmb.analyze .number {
        font-size: 20px
    }

    .kqmb.analyze .txt-giai {
        width: 30px
    }

    .kqmb td.v-giai span.v-g4-0,
    .kqmb td.v-giai span.v-g4-1 {
        border-bottom: 1px solid #ccc
    }

    .kqmb td.v-giai span.v-g4-2 {
        border-left: none
    }

    .kqmb td.v-giai span[class^=v-g4-] {
        width: 50%
    }
}

.colgiai th.first {
    width: 10%
}

.colgiai tr.header {
    background-color: #f7e9be
}

.badai th,
.bondai th,
.haidai th {
    vertical-align: baseline;
    word-wrap: break-word
}

.badai th a,
.bondai th a,
.haidai th a {
    color: #0059a9;
    text-decoration: none
}

.haidai th {
    width: 45%
}

.bondai th {
    width: 22.5%;
    padding-left: 0;
    padding-right: 0
}

.badai th {
    width: 30%
}

.badai td,
.bondai td,
.haidai td {
    padding: 4px 0
}

.badai .g8 div,
.bondai .g8 div,
.haidai .g8 div {
    color: #c00;
    font-size: 32px;
    font-weight: 700
}

.badai td div,
.bondai td div,
.haidai td div {
    font-size: 26px;
    font-weight: 700
}

.badai .gdb div,
.bondai .gdb div,
.haidai .gdb div {
    color: #c00;
    font-size: 32px
}

.badai.colgiai tbody>tr:nth-of-type(even),
.bondai.colgiai tbody>tr:nth-of-type(even),
.haidai.colgiai tbody>tr:nth-of-type(even) {
    background: #f3f3f3
}

@media (max-width:640px) {

    .badai td div,
    .haidai td div {
        font-size: 21px;
        padding: 2px 0
    }

    .bondai td div {
        font-size: 20px;
        padding: 2px 0
    }

    .badai .gdb div,
    .haidai .gdb div {
        font-size: 30px
    }

    .bondai .gdb div {
        font-size: 24px
    }
}

@media (max-width:390px) {

    .badai td,
    .bondai td,
    .haidai td {
        padding: 2px 0
    }

    .bondai .gdb div {
        font-size: 22px
    }
}

@media (max-width:360px) {

    .badai td div,
    .bondai td div,
    .haidai td div {
        padding: 2px 0
    }

    .badai .g8 div,
    .badai .gdb div,
    .bondai .g8 div,
    .haidai .g8 div {
        font-size: 28px
    }

    .badai td div,
    .haidai td div {
        font-size: 20px
    }

    .bondai td div {
        font-size: 18px
    }

    .bondai th a {
        font-size: 13px
    }
}

@media (max-width:320px) {

    .badai .gdb div,
    .bondai td div,
    .bondai.colgiai .gdb div {
        font-size: 20px
    }
}

.ats-overlay-bottom-wrapper-unrendered {
    display: none;
    height: 0 !important;
}

.google-auto-placed ins.adsbygoogle[data-ad-status="unfilled"],
ins.adsbygoogle[data-ad-status="unfilled"] div[aria-label="Advertisement"],
ins.adsbygoogle[data-ad-status="unfilled"]>div:not(.adspassback) {
    display: none !important;
}

/* CSS Thống kê nhanh miền Bắc (statistic-summary & list-dau-db) */
.statistic-summary {
    background: #fff;
    margin-bottom: 10px;
    border: 1px solid #ec891d;
}

.statistic-summary h2.title-bor-c1 {
    background: #c00;
    color: #fff;
    text-align: center;
    font-size: 16px;
    padding: 8px 10px;
    margin: 0;
}

.statistic-summary h2.title-bor,
.statistic-summary h3.title-bor {
    background: #fdf5d8;
    color: #333;
    font-size: 14px;
    text-align: center;
    padding: 7px 10px;
    margin: 0;
    font-weight: bold;
    border-top: 1px solid #f2e3c6;
    border-bottom: 1px solid #f2e3c6;
}

.list-dau-db {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    background: #fff;
}

.list-dau-db li {
    width: 20%;
    flex: 0 0 20%;
    box-sizing: border-box;
    text-align: center;
    padding: 8px 4px;
    border-bottom: 1px solid #f2f2f2;
    border-right: 1px solid #f2f2f2;
    font-size: 13px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.list-dau-db li:nth-child(5n) {
    border-right: none;
}

.list-dau-db li .cl-orange {
    color: #c00;
    font-weight: bold;
    font-size: 15px;
    display: inline-block;
}

@media (max-width: 600px) {
    .list-dau-db li {
        width: 50%;
        flex: 0 0 50%;
    }

    .list-dau-db li:nth-child(5n) {
        border-right: 1px solid #f2f2f2;
    }

    .list-dau-db li:nth-child(2n) {
        border-right: none;
    }
}

.list-dau-db li a.cl-link,
a.cl-link {
    color: #0066cc !important;
    font-weight: bold !important;
    font-size: 14px;
    text-decoration: underline;
}

.list-dau-db li a.cl-link:hover,
a.cl-link:hover {
    color: #d00000 !important;
}

/* Statistic Form Layout & Pill Badges */
.statistic-menu {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: flex-end !important;
    margin: 10px 0 !important;
    gap: 12px !important;
    clear: both !important;
}

.statistic-menu .a-third {
    flex: 1 1 0% !important;
    min-width: 120px !important;
    box-sizing: border-box !important;
}

.statistic-menu .a-third:last-child {
    flex: 0 0 auto !important;
}

.statistic-menu .bold {
    display: block !important;
    margin-bottom: 4px !important;
    font-weight: bold !important;
    font-size: 13px !important;
}

.statistic-menu .form-group {
    margin-bottom: 0 !important;
}

.statistic-menu select.dropdown-container {
    width: 100% !important;
    height: 34px !important;
    padding: 4px 8px !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    background-color: #fff !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
}

/* Input text (Số ngày) trong statistic-menu */
.statistic-menu input[type="text"],
.statistic-menu input.form-control {
    width: 100% !important;
    height: 34px !important;
    padding: 4px 8px !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    background-color: #ffffff !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
    color: #333 !important;
    outline: none !important;
}

.statistic-menu .btn-xsmn {
    height: 34px !important;
    padding: 0 24px !important;
    background-color: #c00 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    font-weight: bold !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: background-color 0.2s !important;
}

.statistic-menu .btn-xsmn:hover {
    background-color: #a84000 !important;
}

a.item_sublink {
    background: #ffe699 !important;
    color: #000 !important;
    padding: 4px 12px !important;
    border-radius: 15px !important;
    margin: 3px 4px !important;
    display: inline-block !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    text-decoration: none !important;
    border: 1px solid #f2d379 !important;
}

a.item_sublink:hover {
    background: #ffd666 !important;
    color: #000 !important;
}

.clnote {
    color: #c0392b !important;
    font-weight: bold !important;
    margin-right: 5px !important;
}

td.boso span,
.boso span {
    display: inline-block !important;
    padding: 2px 4px !important;
    margin: 2px 2px !important;
    border: 1px solid #ccc !important;
    background: #fff !important;
    color: #000 !important;
    font-weight: bold !important;
    font-size: 13px !important;
    border-radius: 3px !important;
    text-align: center !important;
    min-width: 22px !important;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05) !important;
}

.divider {
    border-top: 1px solid #e0e0e0 !important;
    margin: 4px 0 !important;
    clear: both !important;
}

.filter-by-number {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    margin-top: 4px !important;
    margin-bottom: 8px !important;
    text-align: center !important;
}

.filter-number-list {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}

.pure-material-checkbox {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 8px !important;
    cursor: pointer !important;
    font-size: 16px !important;
    font-weight: bold !important;
    color: #333 !important;
    user-select: none !important;
}

.pure-material-checkbox input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    border: 2px solid #ccc !important;
    outline: none !important;
    margin: 0 5px 0 0 !important;
    cursor: pointer !important;
    position: relative !important;
    transition: all 0.2s ease !important;
    background: #fff !important;
    flex-shrink: 0 !important;
}

.pure-material-checkbox input[type="checkbox"]:checked {
    border-color: #c00 !important;
    background-color: #c00 !important;
    box-shadow: inset 0 0 0 2.5px #fff !important;
}

.statistic-menu .a-five,
.statistic-menu .a-third,
.statistic-menu .quarter {
    width: calc(25% - 10px);
    display: inline-block;
    box-sizing: border-box;
    padding: 5px;
    vertical-align: text-bottom;
}

@media (max-width: 768px) {

    .statistic-menu .a-five,
    .statistic-menu .a-third,
    .statistic-menu .quarter {
        width: 100%;
        display: block;
    }
}

/* Custom Checkboxes (00-99 matrix) */
table#table-so {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

table#table-so td {
    padding: 6px 4px;
    border: 1px solid #eee;
    text-align: center;
    vertical-align: middle;
}

label.number-checkbox {
    display: inline-block;
    position: relative;
    padding-left: 20px;
    margin-bottom: 0;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    user-select: none;
}

label.number-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

label.number-checkbox span {
    position: absolute;
    top: 1px;
    left: 0;
    height: 15px;
    width: 15px;
    background-color: #ffffff;
    border: 1px solid #d9534f;
    border-radius: 2px;
}

label.number-checkbox input:checked~span {
    background-color: #d9534f;
}

label.number-checkbox span:after {
    content: "";
    position: absolute;
    display: none;
}

label.number-checkbox input:checked~span:after {
    display: none;
}

/* Button menu and filter buttons */
.freq-stat-num .button-menu.bg_org {
    background-color: #f9ede2;
    padding: 8px 10px;
    border-bottom: 1px solid #e1e1e1;
    display: flex;
    gap: 15px;
    align-items: center;
}

.freq-stat-num .button-menu .button {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-size: 13px;
}

.btn-white-round {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 3px 8px;
    cursor: pointer;
    font-size: 12px;
    color: #333;
}

.btn-white-round.active {
    background: #e53935;
    color: #fff;
    border-color: #e53935;
}

/* Frequency matrix table styles & scroll sync */
.db-tan-suat-loto {
    overflow-x: visible;
    width: 100%;
}

.sticky-header-container {
    width: 100% !important;
    overflow-x: auto !important;
    margin-bottom: 0 !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.sticky-header-container::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.sticky-content {
    width: 100% !important;
    overflow-x: auto !important;
}

.sticky-header-container table.sticky-header,
.sticky-content table.sticky-table,
table.tk-txloto {
    display: table !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    border-collapse: collapse !important;
    margin-top: 0 !important;
    font-size: 12px !important;
    width: max-content !important;
    min-width: max-content !important;
    table-layout: fixed !important;
}

.tk-txloto th,
.tk-txloto td {
    border: 1px solid #d0d0d0 !important;
    text-align: center !important;
    padding: 3px 0 !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
}

.tk-txloto th {
    background-color: #efefef !important;
    color: #333 !important;
    font-weight: bold !important;
}

.tk-txloto td.c {
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    height: 24px !important;
}

.tk-txloto th:first-child,
.tk-txloto td.info {
    position: -webkit-sticky !important;
    position: sticky !important;
    left: 0 !important;
    z-index: 2 !important;
    width: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    background-color: #f5f5f5 !important;
    font-weight: bold !important;
    color: #333 !important;
    font-size: 12px;
}

.tk-txloto th:first-child {
    background-color: #efefef !important;
}

.tk-txloto th:last-child,
.tk-txloto td.bg_note {
    position: -webkit-sticky !important;
    position: sticky !important;
    right: 0 !important;
    z-index: 2 !important;
    width: 35px !important;
    min-width: 35px !important;
    max-width: 35px !important;
    background-color: #eaeaea !important;
    font-weight: bold !important;
    color: #333333 !important;
}

.tk-txloto th:last-child {
    background-color: #efefef !important;
}

.tk-txloto td.c {
    width: 28px !important;
    height: 24px;
}

.tk-txloto td.c0,
.tk-txloto td.c_ {
    background-color: #888888 !important;
    color: transparent !important;
}

.tk-txloto td.c1 {
    background-color: #ffffff !important;
    color: #000000 !important;
    font-weight: bold;
}

.tk-txloto td.c2 {
    background-color: #ffffff !important;
    color: #e50000 !important;
    font-weight: bold;
}

.tk-txloto td.c2 span {
    color: #e50000 !important;
    font-weight: bold;
}

.tk-txloto td.c3 {
    background-color: #ffffff !important;
    color: #000000 !important;
    font-weight: bold;
}

.radio-button-menu {
    padding: 10px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
}

/* Fix alignment cho bảng cặp lô tô (tan-suat-cap) */
.tk-ts-filter.tan-suat-cap {
    width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
}

.tk-ts-filter.tan-suat-cap td {
    width: 10% !important;
    text-align: left !important;
    padding: 3px 27px !important;
    border: 1px solid #ffffff !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
}

.tk-ts-filter.tan-suat-cap .titile-light td {
    background-color: #fdfad1 !important;
    font-weight: bold !important;
    text-align: center !important;
}

/* Giữ nguyên label với padding-left để span absolute nằm bên trái */
.tk-ts-filter.tan-suat-cap label.number-checkbox {
    display: inline-block !important;
    position: relative !important;
    padding-left: 20px !important;
    font-size: 12px !important;
    font-weight: bold !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    user-select: none !important;
    margin-bottom: 0 !important;
}

.tk-ts-filter.tan-suat-cap label.number-checkbox span {
    position: absolute !important;
    top: 1px !important;
    left: 0 !important;
    height: 14px !important;
    width: 14px !important;
    background-color: #ffffff !important;
    border: 1px solid #d9534f !important;
    border-radius: 2px !important;
}

.tk-ts-filter.tan-suat-cap label.number-checkbox input:checked~span {
    background-color: #d9534f !important;
}

.tk-ts-filter.tan-suat-cap label.number-checkbox input {
    position: absolute !important;
    opacity: 0 !important;
    cursor: pointer !important;
    height: 0 !important;
    width: 0 !important;
}

/* Mobile: cuộn ngang bảng checkbox */
@media (max-width: 768px) {
    .freq-stat-num {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .tk-ts-filter.tan-suat-cap {
        min-width: 560px !important;
        width: max-content !important;
        table-layout: auto !important;
    }

    .tk-ts-filter.tan-suat-cap td {
        width: auto !important;
        padding: 3px 6px !important;
        font-size: 11px !important;
    }

    .tk-ts-filter.tan-suat-cap label.number-checkbox {
        font-size: 11px !important;
        padding-left: 18px !important;
    }

    .tk-ts-filter.tan-suat-cap label.number-checkbox span {
        height: 13px !important;
        width: 13px !important;
    }
}

/* Title-sig "Chọn số muốn xem" row */
.freq-stat-num .title-sig {
    padding: 6px 25px;
    margin-bottom: 4px;
}

.freq-stat-num .title-sig strong.fl {
    font-size: 13px;
    font-weight: bold;
    line-height: 24px;
}

.freq-stat-num .title-sig .fr {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 13px;
}

.freq-stat-num .title-sig .fr span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

/* Styles Quay thử Vietlott Chuẩn Pixel-Perfect */
ul.results,
ul.results li {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.mega645.box {
    border: 1px solid #0059a9;
    margin-bottom: 15px;
    background: #fff;
}

.mega645.power655.box {
    border: 1px solid #c00;
    background: #fff5e5;
}

.power-title {
    background: #c00;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 8px;
    text-align: center;
}

.power-title a,
.mega-title a {
    color: #fff;
    text-decoration: underline;
}

.mega-title {
    background: #0059a9;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 8px;
    text-align: center;
}

.btn-danger {
    background-color: #d32f2f;
    color: #fff;
    border: none;
    padding: 8px 24px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
}

.btn-danger:hover {
    background-color: #b71c1c;
}

/* Bảng hiển thị bóng không khung gom gọn ở giữa */
table.data {
    width: auto !important;
    margin: 10px auto !important;
    border-collapse: collapse;
    border: none !important;
}

table.data tr,
table.data td {
    border: none !important;
    background: transparent !important;
    padding: 4px 5px !important;
    text-align: center;
}

/* Icon quả cầu loading spin_32.gif */
table.data td i.imgloadig {
    display: inline-block;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: url(/images/spin_32.gif) no-repeat center center #d32f2f;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.power655 table.data td i.imgloadig {
    background: url(/images/spin_32.gif) no-repeat center center #e65100;
}

.power655 table.data td:last-child i.imgloadig {
    background: url(/images/spin_32.gif) no-repeat center center #b71c1c;
}

/* Quả cầu khi đã quay số */
.btn-giai-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    font-style: normal;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.mega645:not(.power655) .btn-giai-circle {
    background: #d32f2f;
    color: #fff;
}

.power655 .btn-giai-circle {
    background: #fff8e7;
    color: #333;
    border: 2px solid #d25300;
    box-sizing: border-box;
}

.power655 .btn-giai-circle.power-special {
    background: #d25300;
    color: #fff;
    border: none;
}

/* Bảng cơ cấu giải thưởng */
table.data2 {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background: #fff;
}

table.data2 td {
    border: 1px solid #e0e0e0;
    padding: 8px;
    text-align: center;
    font-size: 14px;
}

.power655 table.data2 tr.header {
    background: #c00;
    color: #fff;
    font-weight: bold;
}

.power655 table.data2 tr.header td {
    color: #fff;
    font-weight: bold;
}

.mega645:not(.power655) table.data2 tr.header {
    background: #f5f5f5;
    font-weight: bold;
}

/* Chấm đỏ dưới cột Trùng khớp */
table.data2 td i {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d32f2f;
    margin: 0 2px;
    font-style: normal;
}

table.data2 td i.clred {
    background: #b71c1c;
}

table.data p.txt-center strong,
.clred {
    color: #d32f2f;
    font-weight: bold;
}

/* Layout chia 2 cột bằng chiều cao phẳng tuyệt đối (Flexbox Equal Height) cho Sổ kết quả truyền thống */
/* Scope vào #result-box-content để tránh ảnh hưởng layout float toàn trang */
#result-box-content .box-with-border {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

#result-book>form,
#result-book>div,
.box-with-border>form {
    width: 100%;
    flex: 0 0 100%;
    box-sizing: border-box;
}

#result-box-content .sub-col-l {
    float: none;
    width: calc(100% - 210px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

#result-box-content .sub-col-l table.kqmb {
    width: 100%;
    height: 100%;
}

#result-box-content .sub-col-l .kqmb td.v-giai span[class^=v-g] {
    padding: 4px 4px;
}

#result-box-content .sub-col-r {
    float: none;
    width: 210px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

#result-box-content .sub-col-r .firstlast-mb {
    width: 100% !important;
    height: 100%;
    margin-top: 0;
}

#result-box-content .sub-col-r .firstlast-mb td,
#result-box-content .sub-col-r .firstlast-mb th {
    padding: 2px 4px;
    vertical-align: middle;
}

@media (max-width: 768px) {
    #result-box-content .box-with-border {
        display: block;
    }

    #result-box-content .sub-col-l,
    #result-box-content .sub-col-r {
        float: none;
        width: 100%;
    }
}

/* CSS cho 2 bảng thống kê dàn 2 cột side-by-side (50% mỗi bên) */
.tbl50 {
    width: 50%;
    float: left;
    box-sizing: border-box;
}

@media (max-width: 640px) {
    .tbl50 {
        width: 100%;
        float: none;
    }
}

/* Vietlott Pixel-Perfect Enhancements */
.mega645:not(.power655) table.data td i {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    font-style: normal;
    background: #d32f2f;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.power655 table.data td i {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    font-style: normal;
    background: #fff8e7;
    color: #333;
    border: 2px solid #d25300;
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.power655 table.data td:last-child i,
.power655 table.data td i.power-special {
    background: #d25300 !important;
    color: #fff !important;
    border: none !important;
}

.power655 table.data2 td i {
    background: #d25300;
}

.power655 table.data2 td i.power-hollow {
    background: transparent !important;
    border: 2px solid #d25300 !important;
    box-sizing: border-box;
}

.max3d.box {
    border: 2px solid #c71c98;
    margin-bottom: 20px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.max3dpro.box {
    border: 2px solid #6a29b7;
    margin-bottom: 20px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

/* Tối ưu khoảng cách & padding cho Max 3D & Max 3D Pro */
table.kqmax3d {
    width: 100%;
    margin-bottom: 0;
    border-collapse: collapse;
}

table.kqmax3d td,
table.kqmax3d th {
    padding: 8px 6px !important;
    vertical-align: middle;
    line-height: 1.4;
}

table.kqmax3d td.number {
    font-size: 24px !important;
    font-weight: 700;
    padding: 8px 4px !important;
    letter-spacing: 0.5px;
}

table.kqmax3d tr.db td.number,
table.kqmax3d tr.db td.number strong {
    font-size: 26px !important;
    font-weight: 700;
}

/* Khoảng cách phân chia rõ rệt giữa bảng Max 3D và bảng Max 3D+ */
.max3d-plus-block {
    margin-top: 15px;
    border-top: 2px solid #c71c98;
}

.max3d-plus-title {
    background: #fef5ea;
    color: #333;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: bold;
    border-bottom: 1px solid #e0e0e0;
}

/* ==========================================================================
   Lotto 5/35 Original Styles from
   ========================================================================== */
.mega645.lotto535 .results li .data2 td {
    border: 0;
    border-bottom: 1px solid #f0f0f0;
    padding: .8rem;
    font-size: .95rem
}

.mega645.lotto535 .results li .data2 td i {
    width: 12px;
    height: 12px;
    background-color: #1b5e20
}

.mega645.lotto535 .results li .data2 td i.clorange {
    background-color: #ef6c00
}

.lotto535-page .lotto535-pagination {
    margin: 2rem 0
}

.mega645.lotto535.lotto535-card {
    border: 2px solid transparent;
    border-radius: 3px;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, #a1cd3a 0, #297832 100%) border-box;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .12);
    margin-bottom: 25px;
    overflow: visible;
    box-sizing: border-box;
    padding: 0;
    position: relative
}

.vietlott-tab li.active.lotto535 {
    background: #2d722a;
    border-color: #2d722a
}

.vietlott-tab li.active.lotto535 a {
    color: #fff
}

.mega645.lotto535.lotto535-card .results {
    list-style: none;
    padding: 0;
    margin: 0
}

.mega645.lotto535.lotto535-card .results li {
    border: 0;
    padding: 0
}

.lotto535-banner {
    background: linear-gradient(90deg, #a1cd3a 0, #297832 100%);
    color: #fff;
    height: 35px;
    line-height: 35px;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    padding: 0 15px
}

.lotto535-banner b {
    color: #ffeb3b;
    font-weight: 700
}

.lotto535-content {
    padding: 0 15px
}

.lotto535-logo-container {
    padding: 25px 0 15px;
    text-align: center
}

.lotto535-logo-container img {
    max-width: 140px;
    height: auto
}

.lotto535-balls-row {
    padding: 10px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 15px
}

.lotto535-ball {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    background: radial-gradient(circle at 35% 35%, #8bc34a 0, #2d722a 100%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .2)
}

.lotto535-ball--special {
    background: radial-gradient(circle at 35% 35%, #ffa726 0, #f57c00 100%)
}

.lotto535-jackpot-center {
    text-align: center;
    padding: 10px 0 25px
}

.lotto535-jackpot-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px
}

.lotto535-jackpot-value {
    font-size: 32px;
    font-weight: 700;
    color: #2d722a
}

.lotto535-notes {
    padding: 12px 15px;
    font-size: .88rem;
    line-height: 1.6;
    color: #555;
    background: #fafafa;
    border-top: 1px solid #eee;
    margin-top: 10px
}

.lotto535-notes p {
    margin: 4px 0
}

.lotto535-notes .clnote {
    color: #d54600;
    font-weight: 700
}

.lotto535-footer-prev {
    padding: 12px 15px;
    background: #f4f8f4;
    text-align: center;
    color: #2d722a;
    font-weight: 700;
    border-top: 1px solid #e0ebd0;
    border-radius: 0 0 8px 8px
}

.lotto535-footer-prev .lotto-label {
    font-size: 14px;
    margin-bottom: 4px;
    color: #444
}

.lotto535-footer-prev .lotto-value {
    font-size: 22px;
    color: #2d722a;
    font-weight: 700
}

.match-dots,
.match-dots>div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 100%
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block
}

.dot--green {
    background: #2d722a
}

.dot--orange {
    background: #f57c00
}

.match-plus {
    font-weight: 700;
    color: #666;
    margin: 0 1px;
    font-size: 12px
}

.lotto535-prize-table {
    width: 100%;
    border: 0;
    border-collapse: collapse;
    margin-bottom: 5px
}

.lotto535-prize-table thead tr {
    background: #f4f8f4;
    height: 38px;
    border-bottom: 2px solid #e0ebd0
}

.lotto535-prize-table thead th {
    color: #2d722a;
    background: transparent;
    border: 0;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 12px
}

.lotto535-prize-table tbody tr {
    height: 36px !important;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0
}

.lotto535-prize-table tbody tr:last-child {
    height: auto !important
}

.lotto535-prize-table td {
    padding: 8px 12px;
    border: 0;
    color: #333;
    vertical-align: middle
}

.lotto535-stats-container {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .06);
    overflow: hidden;
    margin-bottom: 25px
}

.lotto535-header-bar {
    background: linear-gradient(135deg, #1b5e20 0%, #2d722a 100%);
    padding: 12px 18px;
    text-align: center
}

.lotto535-module-title,
.lotto535-page .box-with-border h3 {
    background: transparent;
    color: #fff;
    text-align: center;
    padding: 0;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: .2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .2)
}

.historical-results,
.lotto535-page .box-with-border {
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .05)
}

.lotto535-table-wrapper {
    overflow-x: auto
}

.lotto535-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 14px
}

.lotto535-table thead tr {
    background: #f4f8f4;
    border-bottom: 2px solid #e0ebd0;
    height: 42px
}

.lotto535-table thead th {
    color: #2d722a;
    background: transparent;
    border: 0;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 10px 14px
}

.lotto535-table tbody tr {
    height: 52px;
    font-size: 14px;
    border-bottom: 1px solid #f0f4ea;
    transition: background-color .2s ease
}

.lotto535-table tbody tr:nth-child(odd) {
    background: #fff
}

.lotto535-table tbody tr:nth-child(even) {
    background: #fafdf8
}

.lotto535-table tbody tr:hover {
    background: #f0f7e6 !important
}

.lotto535-table td {
    padding: 10px 14px;
    border: 0;
    color: #333;
    vertical-align: middle
}

.lotto-date-cell {
    text-align: center
}

.lotto-date-badge {
    display: inline-block;
    padding: 4px 10px;
    background: #f0f4ea;
    color: #334155;
    font-weight: 600;
    font-size: 13px;
    border-radius: 6px;
    border: 1px solid #e2e8f0
}

.lotto-date-badge small {
    color: #64748b;
    font-weight: 500;
    margin-left: 2px
}

.lotto-balls-cell {
    text-align: center
}

.lotto-balls-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px
}

.ball-mini {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: radial-gradient(circle at 35% 35%, #52b202 0%, #1b5e20 100%);
    box-shadow: 0 2px 5px rgba(27, 94, 32, .3);
    transition: transform .2s ease, box-shadow .2s ease
}

.ball-mini:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, .2)
}

.ball-mini.ball-mini--special {
    background: radial-gradient(circle at 35% 35%, #ff9800 0%, #e65100 100%);
    box-shadow: 0 2px 5px rgba(230, 81, 0, .35)
}

.ball-mini.lotto535-highlight {
    background: #d54600;
    transform: scale(1.15);
    z-index: 10;
    box-shadow: 0 4px 10px rgba(213, 70, 0, .4)
}

.lotto-jackpot-cell {
    text-align: right;
    padding-right: 20px !important
}

.jackpot-badge {
    display: inline-block;
    padding: 5px 12px;
    background: linear-gradient(135deg, #fffde7 0%, #fff9c4 100%);
    color: #b71c1c;
    font-weight: 700;
    font-size: 14px;
    border-radius: 20px;
    border: 1px solid #ffe082;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
    white-space: nowrap
}

.jackpot-badge small {
    font-size: 12px;
    color: #d84315;
    font-weight: 600
}

.lotto535-stats-card {
    background: #eff8df;
    border-radius: 3px;
    margin-bottom: 10px;
    padding: 15px 10px 10px;
    position: relative;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .05)
}

.lotto535-stats-header-tab {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #297832;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding: 0 35px;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 10% 100%);
    white-space: nowrap;
    width: 260px;
    height: 38px;
    line-height: 38px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .2)
}

.lotto535-number-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 20px 5px 5px
}

.lotto535-stat-circle {
    width: 36px;
    height: 36px;
    line-height: 34px;
    text-align: center;
    background: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    cursor: pointer;
    transition: all .2s
}

.lotto535-stat-circle:hover {
    border-color: #2d722a;
    background: #e8f5e9
}

.lotto535-stat-circle.active {
    background: #d54600;
    border-color: #d54600;
    color: #fff
}

.lotto535-stats-footer {
    color: #d54600;
    font-style: italic;
    font-size: 14px;
    margin-top: 10px
}

.lotto535-page .btn-see-more.lotto535-see-more {
    background: #1b5e20;
    color: #fff;
    border-radius: 30px;
    font-weight: 700;
    border: 0;
    text-transform: uppercase;
    transition: transform .2s, background .2s
}

.lotto535-stats-freq {
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 3px;
    margin-bottom: 25px;
    overflow: hidden;
    width: 100%;
    clear: both
}

.lotto535-module-header {
    background: #297832;
    color: #fff;
    height: 35px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    text-transform: none;
    text-align: center
}

.lotto535-freq-container {
    padding: 0
}

.lotto535-freq-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed
}

.lotto535-freq-table td,
.lotto535-freq-table th {
    padding: 6px 10px;
    border-bottom: 1px solid #d9d9d9;
    border-right: 1px solid #d9d9d9;
    font-size: 15px;
    line-height: 22.5px;
    color: #333
}

.lotto535-freq-table th {
    background: #eff8df;
    font-weight: 700;
    height: 35px;
    text-align: center
}

.lotto535-freq-table td {
    vertical-align: middle;
    height: 38px
}

.lotto535-freq-table tbody tr:last-child td {
    border-bottom: none
}

.lotto535-freq-table td:last-child,
.lotto535-freq-table th:last-child {
    border-right: none
}

.lotto535-freq-table tbody tr:nth-child(odd) {
    background: #fff
}

.lotto535-freq-table tbody tr:nth-child(even),
tbody#lotto535-result-tbody tr:nth-child(even) {
    background: #f5f5f5
}

tbody#lotto535-result-tbody td:first-child {
    border-right: 1px solid #d9d9d9;
    text-align: center
}

.lotto535-freq-table tbody tr.active {
    background: #fff3d3
}

.lotto535-freq-table tbody tr.active td {
    background: #fff3d3;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 1px 3px 1px rgba(0, 0, 0, .15)
}

.lotto535-freq-table .text-center {
    text-align: center
}

.lotto535-freq-table .text-right {
    text-align: right
}

.lotto535-freq-table tbody tr:hover td {
    background-color: #fff3d3
}

.freq-number {
    font-size: 16px;
    font-weight: 700
}

.freq-graph {
    display: flex;
    align-items: center;
    gap: 12px
}

.freq-bar-wrapper {
    background: #e6e6e6;
    height: 10px;
    border-radius: 20px;
    width: 100%;
    max-width: 517px;
    display: block;
    position: relative;
    overflow: hidden
}

.freq-bar {
    background: #2d722a;
    height: 100%;
    border-radius: 20px;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1
}

.freq-bar.orange {
    background: #ff8f00
}

.freq-percent {
    font-size: 15px;
    color: #333;
    font-weight: 400;
    min-width: 60px;
    text-align: right
}

.freq-count {
    color: #333;
    font-weight: 400;
    width: 80px
}

.lotto535-stat-row--hidden {
    display: none;
}

.lotto535-stats-actions {
    text-align: center;
    padding: 10px;
    border-top: 1px solid #E0E0E0;
    background: #fff;
    color: #666;
    cursor: pointer;
    font-size: 14px;
}

.lotto535-stat-row--active td {
    background: #fff7de;
}

.lotto535-stat-row--active .freq-number {
    color: #c00;
}

.lotto535-stat-row--active .freq-percent,
.lotto535-stat-row--active .freq-count {
    font-weight: 700;
}

/* ==========================================================================
   News Listing & Detail Styles
   ========================================================================== */
.list-news {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-news>li {
    padding: 12px 15px;
    border-bottom: 1px solid #e4e4e4;
    background: #fff;
}

.list-news>li:last-child {
    border-bottom: none;
}

.list-news .list-html-link li {
    border: 0 !important;
    padding: 3px 0 !important;
    background: transparent !important;
}

.title-news {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.title-news a {
    color: #333;
    text-decoration: none;
}

.title-news a:hover {
    color: #2d722a;
}

.list-news .image.fl {
    float: left;
    margin-right: 12px;
}

.list-news .image img {
    width: 210px;
    height: 140px;
    /* object-fit: cover; */
    border-radius: 4px;
    display: block;
}

.list-news .magl {
    overflow: hidden;
}

.list-news .desc {
    font-size: 14px;
    line-height: 20px;
    color: #555;
    margin: 0;
}

/* ==========================================================================
   Live Lottery Spinner & Loading Effects
   ========================================================================== */
@keyframes liveSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.spinning {
    animation: liveSpin 0.8s infinite linear;
    display: inline-block;
}

.icon-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('images/loading-red.gif') no-repeat center center;
    background-size: contain;
    vertical-align: middle;
    margin: 0 2px;
}

.loadNumber {
    display: inline-block;
    color: inherit;
    font-weight: bold;
    letter-spacing: 1px;
}

.loadNumber i {
    font-style: normal;
    color: inherit;
    font-weight: bold;
}

.box.mega645 .loadNumber,
.power655 .loadNumber,
.mega645 .loadNumber,
table.data td i .loadNumber {
    color: #fff !important;
}

.v-madb-item {
    display: inline-block;
    vertical-align: middle;
}

/* ==========================================================================
   Khối Liên kết số Đề 00-99
   ========================================================================== */
.box-de-nav {
    line-height: 24px;
}

.de {
    color: #0066cc;
    padding: 1px 3px;
    border-radius: 3px;
    text-decoration: none;
    display: inline-block;
}

.de:hover {
    color: #d0021b;
    background: #f5f5f5;
    text-decoration: underline;
}

.de.active {
    color: #d0021b !important;
    font-weight: bold;
    background: #fff0f0;
    border: 1px solid #ffcccc;
}

/* Custom Responsive Styles for Article Detail & Tables */
.content-detail.article-container {
    overflow-x: hidden !important;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.article-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.article-meta-tags {
    margin-bottom: 10px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.badge-cat {
    background: #d0021b;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-subcat {
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
}

.article-main-title {
    font-size: 24px;
    line-height: 1.35;
    font-weight: 800;
    color: #111827;
    margin: 0 0 12px 0;
    letter-spacing: -0.3px;
}

.article-meta-info {
    font-size: 13px;
    color: #64748b;
    display: flex;
    align-items: center;
}

.article-lead-text {
    font-size: 15.5px;
    line-height: 1.65;
    color: #1e293b;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}

/* Article Body Typography */
.article-detail {
    font-size: 15.5px;
    line-height: 1.75;
    color: #2d3748;
}

.article-detail p {
    margin-bottom: 16px;
}

.article-detail h2 {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    margin: 32px 0 16px 0;
    line-height: 1.4;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}

.article-detail h2::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 48px;
    height: 3px;
    background: #d0021b;
    border-radius: 2px;
}

.article-detail h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 22px 0 10px 0;
    line-height: 1.4;
    display: flex;
    align-items: center;
}

.article-detail h3::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    background-color: #d0021b;
    border-radius: 50%;
    margin-right: 9px;
    flex-shrink: 0;
}

.article-detail img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    margin: 14px 0 4px 0;
    transition: transform 0.3s ease;
}

.article-detail img:hover {
    transform: scale(1.01);
}

.article-image-box {
    margin: 18px 0;
    text-align: center;
}

.img-caption {
    font-size: 13.5px;
    color: #64748b;
    font-style: italic;
    margin-top: 4px;
    margin-bottom: 16px;
    text-align: center;
    line-height: 1.4;
}

.article-lead-text a,
.article-lead-text a *,
.article-detail a,
.article-detail a *,
.content-detail a,
.content-detail a * {
    color: #d0021b !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    text-underline-position: under;
    transition: all 0.2s ease;
}

.article-lead-text a:hover,
.article-lead-text a:hover *,
.article-detail a:hover,
.article-detail a:hover *,
.content-detail a:hover,
.content-detail a:hover * {
    color: #990000 !important;
    background-color: #fff0f0;
}

/* Premium Table Styling */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

.article-detail table,
.table-result {
    width: 100%;
    border-collapse: collapse;
    border: none !important;
    font-size: 14px;
}

.article-detail table th,
.table-result th {
    background: #d0021b !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    font-size: 13px;
    padding: 11px 14px !important;
    border: none !important;
}

.article-detail table td,
.table-result td {
    padding: 10px 14px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    color: #334155;
}

.article-detail table tbody tr:nth-child(even),
.table-result tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

.article-detail table tbody tr:hover,
.table-result tbody tr:hover {
    background-color: #f1f5f9;
}

/* Bảng thông tin nội dung trong box-html */
.box-html .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 14px 0;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    background: #ffffff;
}

.box-html table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    line-height: 1.5;
}

.box-html table th {
    background: #d0021b !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    font-size: 12.5px;
    letter-spacing: 0.3px;
    padding: 9px 10px !important;
    border: none !important;
    white-space: nowrap;
}

/* Thẻ tiêu đề TH luôn luôn là chữ trắng 100% */
.box-html table th,
.box-html table th.col-thu,
.box-html table th.col-main,
.box-html table th.col-sub,
.box-html table th.col-count,
.box-html table th.col-prize,
.box-html table th.col-qty,
.box-html table th.col-val,
.box-html table th.col-cond,
.box-html table th.col-company,
.box-html table th.col-address,
.box-html table th.col-phone,
.box-html table th.col-web {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.box-html table td {
    padding: 8px 10px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    color: #334155;
    vertical-align: middle;
}

.box-html table tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

.box-html table tbody tr:hover {
    background-color: #f1f5f9;
}

.box-html table a {
    color: #d0021b !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    transition: all 0.15s ease;
}

.box-html table a:hover {
    color: #b91c1c !important;
    text-decoration: underline !important;
}

.box-html table td.col-thu {
    font-weight: 600;
    white-space: nowrap;
    text-align: center !important;
    color: #0f172a;
    width: 85px;
}

.box-html table td.col-count {
    text-align: center !important;
    font-weight: 700;
    color: #d0021b;
    width: 60px;
    font-size: 14px;
}

.box-html table td.col-main {
    font-weight: 400 !important;
    text-align: left !important;
    color: #334155 !important;
    width: 35%;
}

.box-html table td.col-sub {
    font-weight: 400 !important;
    text-align: left !important;
    color: #334155 !important;
    line-height: 1.5;
}

.box-html table td.col-prize {
    text-align: center !important;
    white-space: nowrap;
    width: 100px;
}

.box-html table td.col-qty {
    text-align: center !important;
    white-space: nowrap;
    width: 80px;
}

.box-html table td.col-val {
    text-align: right !important;
    white-space: nowrap;
    width: 130px;
}

.box-html table td.col-cond {
    text-align: left !important;
}

.box-html table td.col-company {
    text-align: left !important;
    white-space: nowrap;
}

.box-html table td.col-address {
    text-align: left !important;
}

.box-html table td.col-phone {
    text-align: center !important;
    white-space: nowrap;
}

.box-html table td.col-web {
    text-align: center !important;
    white-space: nowrap;
}

/* Đồng bộ căn lề chuẩn 100% giữa Tiêu đề (TH) và Dữ liệu (TD) */
.box-html table th.col-main,
.box-html table th.col-sub,
.box-html table th.col-cond,
.box-html table th.col-company,
.box-html table th.col-address {
    text-align: left !important;
}

.box-html table th.col-val {
    text-align: right !important;
}

.box-html table th.col-thu,
.box-html table th.col-count,
.box-html table th.col-prize,
.box-html table th.col-qty,
.box-html table th.col-phone,
.box-html table th.col-web {
    text-align: center !important;
}

/* Tối ưu riêng cho bảng trong box-html trên mobile */
@media (max-width: 768px) {
    .box-html .table-responsive {
        margin: 10px 0;
        border-radius: 6px;
    }

    .box-html table {
        font-size: 11.5px;
        line-height: 1.35;
    }

    .box-html table th {
        font-size: 11px !important;
        padding: 6px 4px !important;
    }

    .box-html table td {
        padding: 6px 4px !important;
        font-size: 11.5px;
    }

    .box-html table .col-thu {
        width: 52px !important;
        font-size: 11px;
        padding: 6px 2px !important;
    }

    .box-html table .col-count {
        width: 34px !important;
        font-size: 11.5px;
        padding: 6px 2px !important;
    }

    .box-html table .col-main {
        width: 32% !important;
        padding: 6px 4px !important;
    }

    .box-html table .col-sub {
        padding: 6px 4px !important;
    }

    .box-html table .col-prize {
        width: 68px !important;
        font-size: 11px;
        padding: 6px 3px !important;
    }

    .box-html table .col-qty {
        width: 42px !important;
        font-size: 11px;
        padding: 6px 2px !important;
    }

    .box-html table .col-val {
        width: 88px !important;
        font-size: 11px;
        padding: 6px 3px !important;
    }

    .box-html table .col-cond {
        font-size: 11px;
        padding: 6px 4px !important;
    }

    .box-html table.table-contact {
        min-width: 520px;
    }
}

/* Related articles box */
.related-box {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.related-item {
    padding: 10px 0;
    border-bottom: 1px dashed #e2e8f0;
    transition: padding-left 0.2s ease;
}

.related-item:hover {
    padding-left: 6px;
}

.related-item a {
    color: #1e293b;
    font-size: 14.5px;
    text-decoration: none;
}

.related-item a:hover {
    color: #d0021b;
}

.rel-icon {
    color: #d0021b;
    font-weight: bold;
    margin-right: 4px;
}