*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}/*
! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com
*//*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/
dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}
.\!container {
  width: 100% !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding-right: 1rem !important;
  padding-left: 1rem !important;
}
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1rem;
  padding-left: 1rem;
}
@media (min-width: 640px) {

  .\!container {
    max-width: 640px !important;
    padding-right: 1.5rem !important;
    padding-left: 1.5rem !important;
  }

  .container {
    max-width: 640px;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }
}
@media (min-width: 768px) {

  .\!container {
    max-width: 768px !important;
  }

  .container {
    max-width: 768px;
  }
}
@media (min-width: 1240px) {

  .\!container {
    max-width: 1240px !important;
    padding-right: 2rem !important;
    padding-left: 2rem !important;
  }

  .container {
    max-width: 1240px;
    padding-right: 2rem;
    padding-left: 2rem;
  }
}
@media (min-width: 1280px) {

  .\!container {
    max-width: 1280px !important;
  }

  .container {
    max-width: 1280px;
  }
}
@media (min-width: 1536px) {

  .\!container {
    max-width: 1536px !important;
  }

  .container {
    max-width: 1536px;
  }
}
.visible {
  visibility: visible;
}
.static {
  position: static;
}
.fixed {
  position: fixed;
}
.relative {
  position: relative;
}
.float-right {
  float: right;
}
.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.\!block {
  display: block !important;
}
.block {
  display: block;
}
.inline {
  display: inline;
}
.\!table {
  display: table !important;
}
.table {
  display: table;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.table-fixed {
  table-layout: fixed;
}
.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.resize {
  resize: both;
}
.px-2 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.font-bold {
  font-weight: 700;
}
.text-red-600 {
  --tw-text-opacity: 1;
  color: rgb(220 38 38 / var(--tw-text-opacity, 1));
}
.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
@keyframes enter {

  from {
    opacity: var(--tw-enter-opacity, 1);
    transform: translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0) scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0));
  }
}
@keyframes exit {

  to {
    opacity: var(--tw-exit-opacity, 1);
    transform: translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0) scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0));
  }
}
.running {
  animation-play-state: running;
}

:root {
  --white-color: #ffffff;
  --white-2-color: #f7f5f5;
  --black-color: #000000;
  --black-2-color: #001;
  --gray-color: #757575;
  --gray-2-color: #222222;
  --gray-3-color: #333333;
  --gray-4-color: #444444;
  --gray-5-color: #555555;
  --gray-6-color: #666666;
  --gray-7-color: #777777;
  --gray-8-color: #31313a;
  --muted-color: #666666;
  --faint-color: #999999;
  --link-color: #0029ad;
  --accent-color: #ed1c25;
  --accent-soft-color: #ed3b3b;
  --primary-color: #c80505;
  --alice-color: #f0f8ff;
  --border-input-color: #aeb6bf;
  --border-color: #dddfe2;
  --divider-color: #e0e0e0;
  --border-light-color: #dddddd;
  --btn-bg-color: #dddfe2;
  --jackpot-color: #b01014;
  --overlay-color: #3c3442;
  --light-color: #dbebf8;
  --highlight-color: #ffeca0;
  --highlight-2-color: #ffec9f;
  --highlight-blue-color: #00f;
  --orange-color: #f88825;
  --notice-bg-color: rgb(224, 245, 253);
  --notice-link-color: rgb(31, 16, 226);
  --badge-blue-color: #134a8d;
  --badge-cyan-color: #10afe3;
  --bg-twitter-color: #96c9f4;
  --panel-color: #f9f9f9;
  --panel-gray-color: #f2f2f2;
  --gold-color: #ffd700;
  --yellow-color: #ffd200;
  --danger-color: #f44336;
  --success-color: #4caf50;
  --green-color: #41e241;
  --dark-green-color: #098852;
  --cyan-color: #56fdf8;
  --google-color: #4285f4;
  --coral-color: #eb7164;
  --facebook-color: #1b66b9;
  --twitter-color: #45ace7;
  --rss-color: #f26531;
  --mail-color: #faa21e;
  --keno-color: #00b1e8;
  --flash-color: #ffff99;
  --tk-weekend-bg: #e1f0db;
  --tkts-header-bg: #d9edf7;
  --tkts-tab-active-bg: #959595;
  --tkts-tabs-selected-bg: #095088;
  --tkts-table-grid-color: #666666;
  --tkts-dark-cell-bg: #808080;
  --tkts-row-hover-bg: #ffeaa6;
  --tkts-row-active-bg: #ffbf00;
  --tkts-verti-hover-bg: #ffe2b3;
  --tkts-checkbox-active-bg: #0066ff;
  --tk-cap-summary-bar-bg: #e1203d;

  --text-xs: 12px;
  --text-sm: 13px;
  --text-base: 14px;
  --text-md: 15px;
  --text-lg: 16px;
  --text-xl: 18px;
  --text-2xl: 22px;
  --text-20: 20px;
  --text-21: 21px;
  --text-24: 24px;
  --text-26: 26px;
  --text-28: 28px;
  --text-30: 30px;
  --text-32: 32px;
  --text-34: 34px;
  --text-11: 11px;
  --lh-body: 1.6;
  --lh-heading: 1.4;

  --radius: 2px;
  --sp-5: 5px;
  --sp-10: 10px;
  --sp-15: 15px;
  --sp-16: 16px;
  --sp-20: 20px;
  --sp-32: 32px;
  --input-h: 40px;
  --btn-h: 40px;
  --content-max: 1140px;

  --shadow-card: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  --shadow-nav: 0 1px 6px 0 rgba(32, 33, 36, 0.28);
  --shadow-inner: 0 -1px 1px 0 rgba(0, 0, 0, 0.2);

  --font-sans: Roboto, system-ui, -apple-system, sans-serif;
  --font-heading: sans-serif;
}

body {
  margin: 0;
  padding: 0;
  line-height: var(--lh-body);
  color: var(--black-color);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--text-md);
  font-smoothing: antialiased;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-anchor: none;
}

a {
  color: var(--link-color);
  text-decoration: none;
}

/* Hover mặc định: chữ link đổi sang đỏ — khỏi lặp lại trên từng trang */
a:hover,
a:focus-visible {
  color: var(--accent-color);
}

a:hover strong,
a:focus-visible strong {
  color: var(--accent-color);
}

/* Link đóng vai trò nút — giữ chữ trắng khi hover (a:hover thắng .btn-danger về specificity) */
a.btn-danger:hover,
a.btn-danger:focus-visible,
a.btn-danger:hover strong,
a.btn-danger:focus-visible strong {
  color: var(--white-color);
}

img {
  border: none;
  max-width: 100%;
}

li,
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  display: block;
  font-family: var(--font-heading);
  margin: 0;
  padding: 0;
  line-height: var(--lh-heading);
  font-weight: bold;
  unicode-bidi: isolate;
}

h1 {
  font-size: 2em;
}

h2 {
  font-size: 1.5em;
}

h3 {
  font-size: 1.17em;
}

applet,
blockquote,
canvas,
caption,
dd,
dl,
dt,
embed,
fieldset,
figcaption,
figure,
hgroup,
iframe,
object,
ol,
output,
p,
pre,
strike,
sub,
summary,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
time,
tr,
video {
  border: 0;
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box;
}

::after,
::before {
  box-sizing: border-box;
}

button,
input,
select,
textarea {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: inherit;
  outline: 0;
}

input:not([type='radio']):not([type='checkbox']),
select {
  height: var(--input-h);
  padding: 0 var(--sp-10);
}

input:not([type='radio']):not([type='checkbox']),
select,
textarea {
  float: left;
  width: 100%;
  border: solid 1px var(--border-input-color);
  margin: 0;
  box-shadow: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  -o-appearance: none;
  text-overflow: '';
  appearance: none;
  border-radius: var(--radius);
  webkit-border-radius: var(--radius);
  -moz-border-radius: var(--radius);
}

input[type='radio'],
input[type='checkbox'] {
  float: none;
  width: auto;
  max-width: none;
  height: auto;
  min-width: 1.125em;
  min-height: 1.125em;
  margin: 0 8px 0 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  vertical-align: middle;
  -webkit-appearance: auto;
  -moz-appearance: auto;
       appearance: auto;
  accent-color: var(--link-color);
  cursor: pointer;
}

/* Nhóm radio: label bọc input + chữ (native), không dùng span giả */
.label-radio.btn-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 16px;
  margin-bottom: 8px;
  float: left;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  /* line-height lớn (vd 1.4) làm hộp chữ cao hơn vòng radio → chữ trông lệch giữa */
  line-height: 1.1;
  font-size: var(--text-md);
  font-weight: 500;
  font-family: var(--font-sans);
  color: var(--black-color);
}

.label-radio.btn-item:last-child {
  margin-right: 0;
}

.label-radio.btn-item input[type='radio'] {
  flex-shrink: 0;
  margin: 0;
  /* Cùng tỷ lệ với font-size label để trục giữa trùng với dòng chữ */
  width: 1.125em;
  height: 1.125em;
  min-width: 1.125em;
  min-height: 1.125em;
  align-self: center;
}

.form-group:has(> .label-radio.btn-item),
.form-group:has(.label-radio.btn-item) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  width: 100%;
  float: left;
  clear: both;
  box-sizing: border-box;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px top 50%;
  padding-right: 24px;
}

.form-group {
  float: left;
  width: 100%;
  position: relative;
  margin-bottom: var(--sp-15);
  display: table;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group .column2 {
  float: left;
  width: 50%;
  box-sizing: border-box;
  padding-right: 8px;
}

.form-group .column2:last-child {
  padding-right: 0;
  padding-left: 8px;
}

@media (max-width: 600px) {
  .form-group .column2 {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 8px;
  }

  .form-group .column2:last-child {
    padding-left: 0;
    margin-bottom: 0;
  }
}

/* Form 2 cột: .col-inline + .label-inline (mẫu xoso — sổ kết quả, TK, …) */
.form-group:has(> .col-inline) {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  width: 100%;
  float: left;
  clear: both;
  box-sizing: border-box;
  position: relative;
  margin-bottom: var(--sp-15);
}

.form-group:has(> .col-inline) .col-inline {
  flex: 1 1 calc(50% - 6px);
  min-width: 160px;
  max-width: 100%;
  float: none;
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .form-group:has(> .col-inline) .col-inline {
    flex: 1 1 100%;
    min-width: 0;
  }
}

.form-group:has(> .col-inline) .label-inline {
  display: block;
  margin-bottom: 6px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-3-color);
}

.form-group:has(> .col-inline) select,
.form-group:has(> .col-inline) input:not([type='radio']):not([type='checkbox']) {
  width: 100%;
  float: none;
  box-sizing: border-box;
}

.form-group:has(> .col-inline) .w-touchspin {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
  width: 100%;
  box-sizing: border-box;
}

.form-group:has(> .col-inline) .w-touchspin .input-spinner {
  flex: 0 1 72px;
  width: auto;
  min-width: 44px;
  max-width: 88px;
  text-align: center;
  float: none;
}

.form-group.m-calc:has(.ul-tabs-link),
.form-group:has(> .ul-tabs-link) {
  display: block;
  width: 100%;
  float: left;
  clear: both;
  box-sizing: border-box;
}

/* Danh sách liên kết dưới bảng KQ (mẫu xoso; trước đây chỉ scope .section-tk-dacbiet) */
.ul-statistic {
  list-style: none;
  margin: 0;
  padding: 8px 0 0;
  width: 100%;
  float: left;
  box-sizing: border-box;
}

.ul-statistic li {
  margin-bottom: 8px;
  padding-left: 14px;
  position: relative;
}

.ul-statistic li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  border: solid 4px transparent;
  border-left: solid 6px var(--gray-5-color);
}

.ul-statistic a {
  color: var(--link-color);
  text-decoration: underline;
}

.ul-statistic a:hover {
  color: var(--accent-color);
}

.label-text {
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
}

.font16 {
  font-size: 16px;
}

.w25 {
  width: 25%;
}

.td-w20 {
  width: 20%;
}

.td-w80 {
  width: 80%;
}

.btn {
  display: inline-block;
  padding: 0 var(--sp-16);
  height: var(--input-h);
  line-height: var(--input-h);
  background-color: var(--btn-bg-color);
  cursor: pointer;
  border: 0;
  border-radius: 2px;
  text-align: center;
  border-radius: var(--radius);
  -webkit-border-radius: var(--radius);
  -moz-border-radius: var(--radius);
}

.btn-danger {
  background-color: var(--accent-color);
  color: var(--white-color);
  line-height: var(--input-h);
  height: var(--input-h);
}

.btn-danger:hover {
  background-color: var(--primary-color);
}

button {
  background: 0 0;
  cursor: pointer;
  border: 0;
  padding: 0;
  margin: 0;
}

.btn-touchspin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: var(--input-h);
  padding: 0 8px;
  border: solid 1px var(--border-input-color);
  border-radius: var(--radius);
  background: var(--alice-color);
  font-weight: 600;
  cursor: pointer;
  box-sizing: border-box;
}

.btn-touchspin:hover {
  background: var(--panel-color);
}

.touchspin-postfix.btn-touchspin,
span.touchspin-postfix {
  border: 0;
  background: transparent;
  font-weight: 400;
  min-width: auto;
  padding: 0 4px;
  height: auto;
  cursor: default;
}

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

table td,
table th {
  padding: 3px;
  border: solid 1px var(--border-color);
}

table thead th {
  background: var(--alice-color);
  font-size: var(--text-base);
  font-weight: 500;
}

.text-danger {
  width: 100%;
  float: left;
  font-size: var(--text-xs);
  text-align: right;
  color: var(--accent-color);
  padding-top: 5px;
  font-style: italic;
}

.btn-right {
  float: right;
}

.main {
  float: left;
  width: 100%;
  position: relative;
  margin-bottom: 20px;
}

.main-content {
  margin: auto;
  width: 100%;
  max-width: var(--content-max);
  min-width: 240px;
}

.content-left {
  float: left;
  width: 71.5%;
  position: relative;
  padding-right: 16px;
}

@media only screen and (max-width: 1024px) {
  .main-content {
    max-width: 1000px;
  }

  .content-left {
    width: 70.5%;
  }
}

@media only screen and (max-width: 960px) {
  .widget {
    margin-bottom: 12px;
  }

  .aside-300 {
    float: left;
    width: 100%;
    display: none;
  }

  .aside-160 {
    width: 100%;
    display: none;
  }

  .content-left {
    width: 100%;
    padding: 0;
  }

  .hidemobile {
    display: none;
  }
}

.aside-300 {
  float: right;
  width: 27%;
  position: relative;
  /* visible: để box-shadow của .widget không bị cắt (hidden chỉ còn bóng lệch dưới) */
  overflow: visible;
}

.aside-160 {
  float: left;
  width: 18%;
  position: relative;
}

.widget {
  float: left;
  width: 100%;
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
  -webkit-box-shadow: var(--shadow-card);
  -moz-box-shadow: var(--shadow-card);
}

/* Cột phải (aside-right-widgets): bóng đều quanh khối; cần .aside-300 overflow: visible để không bị cắt */
.aside-300 .widget {
  box-shadow:
    0 0 1px rgba(0, 0, 0, 0.06),
    0 0 18px rgba(0, 0, 0, 0.12);
  -webkit-box-shadow:
    0 0 1px rgba(0, 0, 0, 0.06),
    0 0 18px rgba(0, 0, 0, 0.12);
  -moz-box-shadow:
    0 0 1px rgba(0, 0, 0, 0.06),
    0 0 18px rgba(0, 0, 0, 0.12);
}

.widget-title {
  float: left;
  width: 100%;
  position: relative;
  padding: 10px 12px;
  background: var(--alice-color);
  text-transform: uppercase;
  border-bottom: solid 0.5px var(--border-input-color);
}

.widget-title a {
  color: var(--black-color);
}

.widget-container {
  float: left;
  width: 100%;
  position: relative;
}

.widget-title h3 {
  font-size: var(--text-sm);
}

.link-item a {
  font-family: var(--font-heading);
  display: block;
  width: 100%;
  padding: 6px 12px 6px 24px;
  position: relative;
  box-sizing: border-box;
}

/* Danh sách 2 cột */
.link-item.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Bỏ float cũ */
.link-item.two-column li {
  float: none;
  width: auto;
}

/* Nếu item cuối là item lẻ thì cho nằm riêng một hàng */
.link-item.two-column li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.link-item li a {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
}

.link-item a::before {
  border-top: 4px dashed;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  content: '';
  position: absolute;
  left: 10px;
  top: 17px;
  color: var(--gray-4-color);
  transform: rotate(-90deg);
}

.link-item2 {
  font-family: var(--font-heading);
  float: left;
  width: 100%;
  padding: 6px 12px 6px 24px;
  position: relative;
  font-weight: 500;
}

.link-item2::before {
  border-top: 4px dashed;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  content: '';
  position: absolute;
  left: 10px;
  top: 17px;
  color: var(--gray-4-color);
  transform: rotate(-90deg);
}

.link-item2-sub a {
  font-family: var(--font-heading);
  float: left;
  width: 100%;
  padding: 5px 5px 5px 24px;
}

.widget_bg {
  background: var(--primary-color);
  color: var(--white-color);
}

.form-wg {
  width: 100%;
  float: left;
  padding: 16px;
}

.label_gril {
  float: left;
  line-height: var(--input-h);
  width: 70px;
}

.input_gril {
  display: grid;
}

.tutorial-loto {
  color: var(--gray-5-color);
  font-size: var(--text-sm);
  line-height: 22px;
  font-style: italic;
}

.section {
  float: left;
  width: 100%;
  margin-bottom: 16px;
  position: relative;
  box-shadow: var(--shadow-card);
  -webkit-box-shadow: var(--shadow-card);
  -moz-box-shadow: var(--shadow-card);
}

.section:last-child {
  margin-bottom: 0;
}

.section-header {
  float: left;
  width: 100%;
  position: relative;
  background: var(--highlight-color);
  border: solid 0.5px var(--border-color);
  border-bottom: 0;
  padding: 8px 0;
  text-align: center;
}

.section-header h1,
.section-header h2,
.section-header h3 {
  font-size: var(--text-2xl);
  text-align: center;
  min-height: 1.5em;
}

.section-header h1 {
  font-display: swap;
  font-family: var(--font-heading);
  font-weight: bold;
}

.section-header h2,
.section-header h3 {
  font-weight: 700;
}

.section-header .category-title {
  display: block;
  width: 100%;
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  text-align: center;
  font-weight: 700;
  color: var(--gray-2-color);
}

.section-header h2 > a,
.section-header h3 > a {
  font-family: var(--font-heading);
  color: var(--accent-color);
}

.section-header2 {
  float: left;
  width: 100%;
  position: relative;
  background: var(--alice-color);
  border: solid 0.5px var(--border-color);
  padding: 8px 10px;
}

.section-header2 h2 {
  font-size: var(--text-lg);
  font-weight: 700;
}

.section-header2 h2 > a {
  color: var(--accent-color);
}

.section-header2 h2 > a:hover {
  color: var(--link-color);
}

.section-content {
  float: left;
  width: 100%;
  position: relative;
}

.color_red {
  color: var(--accent-color);
}

.image {
  width: 100%;
  float: left;
  -o-object-fit: cover;
     object-fit: cover;
}

.description {
  display: grid;
}

.post-news li {
  float: left;
  width: 100%;
  padding: 10px 16px;
  border-bottom: solid 0.5px var(--border-color);
  position: relative;
}

.post-title2 {
  font-size: var(--text-lg);
  font-weight: 400;
}

.post-news a {
  color: var(--black-color);
}

.post-news a:hover {
  color: var(--accent-color);
}

.ads {
  float: left;
  width: 100%;
  text-align: center;
  position: relative;
  margin-bottom: 16px;
}

.google-ads {
  width: 100%;
  float: left;
  text-align: center;
  margin: 12px 0;
}

.text-center {
  text-align: center;
}

.see-more {
  float: left;
  width: 100%;
  text-align: center;
  padding: 12px 16px;
}

.see-more a {
  border: solid 0.5px var(--divider-color);
  padding: 4px 16px;
  display: inline-block;
  border-radius: 25px;
  color: var(--muted-color);
}

.see-more a:hover {
  color: var(--accent-color);
}

.post-thumbnail {
  float: left;
  margin-right: 12px;
  position: relative;
  overflow: hidden;
}

.thumb120 {
  width: 120px;
  float: left;
  margin-right: 12px;
  position: relative;
  overflow: hidden;
}

.thumb120 img {
  width: 100%;
  float: left;
  -o-object-fit: cover;
     object-fit: cover;
}

/* Sidebar — Bài viết nổi bật: cột hẹp, thu nhỏ tiêu đề widget, ảnh và dòng tin */
.aside-300 .widget-featured .widget-title {
  padding: 8px 10px;
}

.aside-300 .widget-featured .widget-title h3,
.aside-300 .widget-featured .widget-title a {
  font-size: var(--text-xs);
  line-height: 1.25;
}

.aside-300 .widget-featured .post-news li {
  padding: 8px 10px;
}

.aside-300 .widget-featured .thumb120 {
  width: 80px;
  margin-right: 8px;
}

.aside-300 .widget-featured .description,
.aside-300 .widget-featured .description a {
  font-size: var(--text-sm);
  font-weight: 400;
  line-height: 1.35;
}

.aside-300 .widget-featured .post-title2,
.aside-300 .widget-featured .post-title2 a {
  font-size: var(--text-sm);
  line-height: 1.35;
}

.aside-300 .widget-featured .see-more {
  padding: 8px 10px;
}

.aside-300 .widget-featured .see-more a {
  font-size: var(--text-xs);
  padding: 3px 12px;
}

.paddingtop0 {
  padding-top: 0;
}

@media only screen and (max-width: 960px) {
  .section {
    margin-bottom: 12px;
    background: var(--white-color);
  }

  .ads {
    margin-bottom: 12px;
  }
}

.table-result {
  text-align: center;
  font-family: arial;
}

.table-lottery th,
.table-result td {
  padding: 0;
}

.table-result tr:nth-of-type(2n) {
  background-color: var(--alice-color);
}

.table-result thead th {
  background-color: var(--alice-color);
  font-weight: 500;
}

.table-result th {
  font-weight: 400;
  font-size: var(--text-lg);
}

.name-prize {
  width: 10%;
}

.number-prize {
  width: 90%;
}

/* Sổ KQ / bảng .table-result: hover từng dãy số (mẫu xoso — không tô nền cả <tr>) */
.table-result .font-madb span {
  display: inline-block;
  padding: 2px 5px;
  margin: 1px 2px;
  border-radius: 2px;
  line-height: 1.35;
  vertical-align: middle;
  color: var(--gray-5-color);
  font-weight: 700;
  font-size: var(--text-base);
}

.table-result td .special-prize:hover,
.table-result td .prize1:hover,
.table-result td .prize2:hover,
.table-result td .prize3:hover,
.table-result td .prize4:hover,
.table-result td .prize5:hover,
.table-result td .prize6:hover,
.table-result td .prize7:hover {
  background-color: var(--highlight-2-color);
  border-radius: 2px;
}

.code-DB1,
.code-DB10,
.code-DB11,
.code-DB12,
.code-DB13,
.code-DB14,
.code-DB15,
.code-DB2,
.code-DB3,
.code-DB4,
.code-DB5,
.code-DB6,
.code-DB7,
.code-DB8,
.code-DB9 {
  float: left;
  height: var(--input-h);
  line-height: var(--input-h);
  color: var(--accent-color);
  font-weight: 700;
}

.code-DB10,
.code-DB11,
.code-DB12,
.code-DB13,
.code-DB14,
.code-DB15,
.code-DB16,
.code-DB17,
.code-DB18,
.code-DB19,
.code-DB20 {
  float: left;
  margin: 0 6px;
  color: var(--accent-color);
  font-weight: 700;
}

.code-DB1 {
  width: 100%;
  font-size: var(--text-2xl);
}

.code-DB2 {
  width: 50%;
  font-size: var(--text-2xl);
}

.code-DB3 {
  width: 33.3%;
  font-size: var(--text-2xl);
}

.code-DB4 {
  width: 25%;
  font-size: var(--text-2xl);
}

.code-DB5 {
  width: 20%;
  font-size: var(--text-2xl);
}

.code-DB6 {
  width: 16.5%;
  font-size: var(--text-20);
}

.code-DB7 {
  width: 14%;
  font-size: var(--text-20);
}

.code-DB8 {
  width: 12.5%;
  font-size: var(--text-20);
}

.code-DB9 {
  width: 11%;
  font-size: var(--text-20);
}

.code-DB10 {
  width: 20%;
  font-size: var(--text-20);
}

.special-prize {
  float: left;
  width: 100%;
  height: var(--input-h);
  line-height: var(--input-h);
  font-size: var(--text-34);
  font-weight: 700;
  color: var(--accent-color);
}

.prize1 {
  float: left;
  width: 100%;
  height: var(--input-h);
  line-height: var(--input-h);
  font-size: var(--text-28);
  font-weight: 700;
}

.prize2 {
  float: left;
  width: 50%;
  height: var(--input-h);
  line-height: var(--input-h);
  font-size: var(--text-28);
  font-weight: 700;
}

.prize3 {
  float: left;
  width: 33.3%;
  height: var(--input-h);
  line-height: var(--input-h);
  font-size: var(--text-28);
  font-weight: 700;
}

.prize4 {
  float: left;
  width: 25%;
  height: var(--input-h);
  line-height: var(--input-h);
  font-size: var(--text-28);
  font-weight: 700;
}

.prize5 {
  float: left;
  width: 33.3%;
  height: var(--input-h);
  line-height: var(--input-h);
  font-size: var(--text-28);
  font-weight: 700;
}

.prize6 {
  float: left;
  width: 33.3%;
  height: var(--input-h);
  line-height: var(--input-h);
  font-size: var(--text-28);
  font-weight: 700;
}

.prize7 {
  float: left;
  width: 25%;
  height: var(--input-h);
  line-height: var(--input-h);
  font-weight: 700;
  font-size: var(--text-34);
  color: var(--accent-color);
}

.prize-col2 {
  width: 40%;
}

.prize-col3 {
  width: 30%;
}

.prize-col4 {
  width: 22.5%;
}

.xs_prize1 {
  float: left;
  width: 100%;
  height: var(--input-h);
  line-height: var(--input-h);
  font-size: var(--text-26);
  font-weight: 700;
}

.xs_prize2 {
  float: left;
  width: 50%;
  height: var(--input-h);
  line-height: var(--input-h);
  font-size: var(--text-26);
  font-weight: 700;
}

.xs_prize3 {
  float: left;
  width: 33.3%;
  height: var(--input-h);
  line-height: var(--input-h);
  font-size: var(--text-26);
  font-weight: 700;
}

.xs_prize4 {
  float: left;
  width: 25%;
  height: var(--input-h);
  line-height: var(--input-h);
  font-size: var(--text-26);
  font-weight: 700;
}

.prize_db {
  color: var(--accent-color);
}

.table-loto tr:nth-of-type(2n) {
  background-color: var(--alice-color);
}

.table-loto tbody tr:hover,
.table-loto tbody tr:hover:nth-of-type(2n) {
  background-color: var(--highlight-2-color);
}

.table-loto td {
  font-size: var(--text-lg);
  font-weight: 700;
}

.table-loto th {
  color: var(--accent-color);
  font-weight: 400;
}

.table-loto thead th {
  background-color: var(--alice-color);
  font-size: var(--text-base);
  color: var(--accent-color);
  font-weight: 700;
}

/* Cột Đầu/Loto (sổ kết quả): .loto-name mặc định 10% — ưu tiên utility td-w* trên thead */
.table-loto thead th.td-w20 {
  width: 20%;
}

.table-loto thead th.td-w80 {
  width: 80%;
}

.loto-name {
  width: 10%;
  text-align: center;
  color: var(--accent-color);
}

.loto-col2 {
  width: 40%;
  font-size: var(--text-lg);
  font-weight: 700;
}

.loto-col3 {
  width: 30%;
  font-size: var(--text-lg);
  font-weight: 700;
}

.loto-col4 {
  width: 22.5%;
  font-size: var(--text-lg);
  font-weight: 700;
}

@media (max-width: 960px) {
  .prize1,
  .prize2,
  .prize3,
  .prize4,
  .prize5,
  .prize6 {
    font-size: var(--text-24);
  }

  .prize7 {
    font-size: var(--text-30);
  }

  .xs_prize1,
  .xs_prize2,
  .xs_prize3,
  .xs_prize4 {
    font-size: var(--text-24);
  }

  .font4tinh {
    font-size: var(--text-2xl);
  }
}

.xs-bong {
  font-weight: 700;
  background: var(--orange-color);
  color: var(--white-color);
  border-radius: 4px;
  padding: 0 2px;
}

.div-table {
  display: flex;
  align-items: center;
  font-size: var(--text-sm);
  width: 100%;
  border-bottom: solid 1px var(--divider-color);
  padding: 4px 8px;
}

.config-item {
  background: var(--panel-gray-color);
  width: 80px;
  flex-shrink: 0;
  text-align: center;
  cursor: pointer;
  padding: 4px 0;
  border-right: solid 1px var(--divider-color);
}

.config-item:first-child {
  border-left: solid 1px var(--divider-color);
}

.config-item:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

.config-item.active {
  background: var(--primary-color);
  color: var(--white-color);
}

/* Responsive cho .div-table trên mobile */
@media (max-width: 480px) {
  .div-table {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 4px;
    justify-content: center;
  }

  .div-table > div,
  .div-table > .config-item {
    display: inline-flex;
    flex: 0 0 auto;
    border: solid 1px var(--divider-color);
    border-radius: 2px;
    padding: 4px 8px;
    font-size: 12px;
    min-width: 50px;
    justify-content: center;
    align-items: center;
  }

  .div-table > .config-item:first-child {
    border-left: solid 1px var(--divider-color);
  }

  .number-configs {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}

.number-configs {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 4px;
  flex-grow: 1;
  padding: 4px 8px;
}

.number-config {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gray-5-color);
  background: radial-gradient(circle at center, var(--gray-7-color), var(--black-2-color));
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
  color: var(--white-color);
  line-height: 24px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.number-config:hover,
.number-config.clicked {
  background: radial-gradient(circle at center, var(--gold-color), var(--black-color));
  color: var(--white-color);
}

/* Lottery number highlighting styles */
.highlight-wrapper {
  background: radial-gradient(circle at 5px 5px, var(--green-color), var(--black-2-color));
  color: var(--white-color);
  padding: 1px 7px;
  border-radius: 50%;
  font-weight: bold;
  display: inline-block;
}

.table-result span.highlighted {
  position: relative;
}

/* Highlighting for tens position (hang chuc) */
.table-result span.highlighted .highlight-wrapper.hang-chuc {
  background: radial-gradient(circle at 5px 5px, var(--green-color), var(--black-2-color));
  color: var(--white-color);
}

/* Highlighting for units position (hang don vi) */
.table-result span.highlighted .highlight-wrapper.hang-don-vi {
  background: radial-gradient(circle at 5px 5px, var(--cyan-color), var(--black-color));
  color: var(--white-color);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.6);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(76, 175, 80, 0.8);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.6);
  }
}

.table-tkxs {
  margin-bottom: 16px;
}

.table-tkxs td {
  padding: 8px;
}

.title-tkxs {
  font-size: var(--text-lg);
}

.bg-ligh {
  background: var(--panel-color);
}

.bg-db {
  background: var(--accent-color) !important;
  color: var(--white-color);
}

.site-link {
  font-family: var(--font-heading);
  width: 100%;
  float: left;
  font-size: var(--text-base);
  font-weight: 400;
  margin-top: 5px;
}

.site-link a {
  font-family: var(--font-heading);
  display: initial;
  text-decoration: underline;
}

.site-link a + a:before {
  font-family: var(--font-heading);
  padding: 0 3px;
  color: var(--gray-5-color);
  content: '/\00a0';
  display: inline-block;
}

h2.site-link,
h3.site-link {
  font-family: var(--font-heading);
  width: 100%;
  float: left;
  font-size: var(--text-base);
  font-weight: 400;
  margin-top: 5px;
}

h2.site-link a,
h3.site-link a {
  font-family: var(--font-heading);
  display: initial;
  text-decoration: underline;
  color: var(--link-color);
}

h2.site-link a + a:before,
h3.site-link a + a:before {
  padding: 0 3px;
  color: var(--gray-5-color);
  content: '/\00a0';
  display: inline-block;
}

.live-complete-status {
  float: left;
  width: 100%;
  margin-top: 3px;
  font-size: var(--text-base);
  color: var(--gray-5-color);
}

.live-complete-status span {
  color: #b75b16;
  font-weight: 700;
}

.site-link2 {
  padding: 6px 16px;
  width: 100%;
  float: left;
  font-weight: 500;
}

.site-link2 a {
  display: initial;
  text-decoration: underline;
}

.site-link2 a + a:before,
.site-link2 a + span:before {
  padding: 0 3px;
  color: var(--gray-5-color);
  content: '/\00a0';
  display: inline-block;
}

.table-result th a {
  text-decoration: underline;
}

.table-result th a:hover {
  color: var(--accent-color);
}

/* MN/MT: tên đài trong thead — Builder bọc `<h3><a>` */
.table-result thead th h3 {
  margin: 0;
  padding: 0;
  font-weight: 700;
}

.table-result thead th h3 a {
  font-weight: 700;
}

/* Giải 8 + ĐB: đủ cỡ/chữ đậm (class kép như Builder) */
.table-result span.xs_prize1.color_red,
.table-result span.xs_prize1.prize_db {
  font-size: var(--text-26);
  font-weight: 700;
  line-height: var(--input-h);
  height: var(--input-h);
}

.table-result span.xs_prize1.color_red {
  color: var(--accent-color);
}

.table-result span.xs_prize1.prize_db {
  color: var(--accent-color);
}

.table-loto th a {
  text-decoration: underline;
}

.table-loto th a:hover {
  color: var(--accent-color);
}

.head-th a {
  color: var(--link-color);
  text-decoration: underline;
}

.head-th a:hover {
  color: var(--accent-color);
}

.link-statistic {
  padding: 12px 16px;
  width: 100%;
  float: left;
}

.link-statistic-group {
  float: left;
  width: 100%;
  clear: both;
}

.link-statistic-group + .link-statistic-group {
  margin-top: 6px;
}

.link-statistic-group--with-heading .link-statistic-heading {
  display: block;
  box-sizing: border-box;
  width: 100%;
  font-size: var(--text-md);
  font-weight: 700;
  line-height: 1.4;
  color: var(--gray-3-color);
  padding: calc(var(--sp-16) / 2) var(--sp-16);
  margin: 0;
}

.link-statistic-group--with-heading .link-statistic {
  padding: 8px 16px 12px;
}

.link-statistic li {
  float: left;
  width: 100%;
  padding: 5px 0 5px 16px;
  position: relative;
}

.link-statistic--cols-2 li {
  width: 50%;
  box-sizing: border-box;
}

.link-statistic li::before {
  border-top: 4px dashed;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  color: var(--gray-4-color);
  transform: rotate(-90deg);
}

.link-statistic .ic-hot {
  display: inline-block;
  margin-left: var(--sp-5);
  padding: 0 3px;
  font-size: 9px;
  border-radius: var(--radius);
  background: var(--highlight-color);
  color: var(--accent-color);
  font-weight: 700;
  vertical-align: middle;
}

.sms-loto {
  float: left;
  width: 100%;
  border-top: dashed 0.5px var(--border-color);
  color: var(--gray-5-color);
  font-size: var(--text-base);
  padding: 12px 16px;
}

.sms-loto p {
  color: var(--gray-5-color);
}

.mega-results {
  text-align: center;
  width: 100%;
  float: left;
}

.jackpot-item {
  margin-top: 16px;
  width: 100%;
  float: left;
}

.jackpot-bonus-vnd {
  background: var(--accent-soft-color);
  border-radius: 25px;
  color: var(--white-color);
  font-size: var(--text-24);
  padding: 3px 15px;
  display: inline-block;
  font-weight: 700;
}

.font-Jackpot {
  font-size: var(--text-xl);
  font-weight: 500;
}

.btn-results {
  font-size: var(--text-24);
  font-weight: 700;
  color: var(--accent-soft-color);
  border-radius: 100%;
  border: solid 2px var(--border-color);
  display: inline-block;
  height: 44px;
  width: 44px;
  text-align: center;
  line-height: var(--input-h);
}

.bg_jackpot {
  background: var(--yellow-color);
}

.span-text {
  font-size: var(--text-base);
  color: var(--gray-2-color);
  font-weight: 300;
}

.table-xsdt th {
  font-weight: 400;
  font-size: var(--text-base);
  text-align: left;
  background: var(--alice-color);
  padding: 8px;
}

.table-xsdt td {
  font-size: var(--text-2xl);
  text-align: center;
  font-weight: 700;
  padding: 3px;
}

.notification {
  width: 100%;
  float: left;
  background: var(--highlight-color);
  text-align: center;
  color: var(--accent-color);
  font-weight: 500;
  font-size: var(--text-20);
}

.notificationnote {
  width: 100%;
  float: left;
  background: var(--highlight-color);
  text-align: center;
  color: var(--accent-color);
  font-weight: 500;
  margin-bottom: 10px;
}

.evenloto2 {
  animation: wg100-item 0.7s infinite;
}

.wg100-item {
  background: var(--danger-color);
  border-radius: 3px;
  color: var(--white-color);
  padding: 5px 0;
  font-size: var(--text-base);
  animation: wg100-item 0.7s infinite;
}

@keyframes wg100-item {
  50% {
    background: var(--success-color);
    color: var(--white-color);
  }
}

.bltt {
  text-transform: uppercase;
  padding-bottom: 6px;
  color: var(--accent-color);
  position: relative;
  padding-left: 28px;
}

.ic-live {
  position: absolute;
  left: 16px;
  top: 5px;
}

.ic-live::before {
  border-radius: 100%;
  -webkit-border-radius: 100%;
  display: block;
  width: 12px;
  height: 12px;
  background: var(--accent-color);
  position: absolute;
  right: 0;
  content: '';
  box-shadow: 0 0 0 rgba(23, 143, 214, 0.4);
  animation: live-pulse 1s infinite;
}

@keyframes live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(225, 6, 0, 0.5);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(225, 6, 0, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(225, 6, 0, 0);
  }
}

.notification2 {
  width: 100%;
  float: left;
  padding: 10px 16px;
  border-bottom: solid 0.5px var(--divider-color);
  font-weight: 700;
}

.lottery-today {
  width: 100%;
  table-layout: fixed;
  text-align: center;
  border-collapse: collapse;
}

.lottery-today a {
  font-family: var(--font-heading);
  display: block;
  width: 100%;
  color: var(--link-color);
  overflow-wrap: break-word;
  word-wrap: break-word;
  white-space: normal;
  line-height: 1.35;
}

.lottery-today td {
  width: 33.33%;
  min-height: 30px;
  vertical-align: middle;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.empty-message {
  padding: 12px 16px;
  text-align: center;
  color: var(--gray-5-color);
}

.live-lottery {
  font-family: var(--font-heading);
  float: left;
  width: 100%;
  margin-bottom: 16px;
  padding: 7px;
  text-align: center;
  position: relative;
  background: bisque;
}

.box-live {
  padding-bottom: 10px;
}

.live-title {
  font-family: var(--font-heading);
  font-weight: bold;
}

.live-box-title {
  font-size: var(--text-xl);
  text-align: center;
  font-weight: bold;
}

.live-btn {
  font-family: var(--font-heading);
  cursor: pointer;
  background: var(--primary-color);
  border-radius: var(--radius);
  color: var(--white-color);
  padding: 2px 5px;
  font-size: var(--text-base);
  display: inline-block;
  animation: live-btn 0.7s infinite;
  margin-left: 10px;
}

.live-btn:hover {
  color: var(--white-color);
}

@keyframes live-btn {
  0%,
  100% {
    background: var(--accent-color);
    color: var(--white-color);
  }

  50% {
    background: var(--google-color);
    color: var(--white-color);
  }
}

/* Sidebar live-dot */
.live-dot {
  display: inline-block;
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  background: #e74c3c;
  border-radius: 50%;
}

.live-dot.pulse {
  box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
  animation: pulse 1.2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(231, 76, 60, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
  }
}

.sms-loto a {
  text-decoration: underline;
}

@media (max-width: 960px) {
  .live-lottery {
    margin-bottom: 12px;
    padding: 0;
    background: 0 0;
  }
}

.m-xs {
  display: none;
}

.nav-panel {
  display: table;
  width: 100%;
  float: left;
}

.nav-panel li {
  display: table-cell;
  text-align: center;
  font-size: var(--text-base);
  border-left: solid 1px var(--border-color);
  color: var(--gray-2-color);
  vertical-align: top;
}

.nav-panel li:first-child {
  border-left: 0;
}

.nav-panel a.active {
  color: var(--white-color);
  background: var(--accent-color);
}

.nav-panel a {
  display: block;
  padding: 8px 2px;
  text-align: center;
}

.breadcrumb {
  font-family: var(--font-heading);
  float: left;
  width: 100%;
  min-width: 0;
  margin-bottom: var(--sp-10);
  color: var(--gray-5-color);
  font-size: var(--text-sm);
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  box-sizing: border-box;
}

.breadcrumb::-webkit-scrollbar {
  height: 6px;
}

.breadcrumb::-webkit-scrollbar-track {
  background: transparent;
}

.breadcrumb::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--gray-5-color) 35%, transparent);
  border-radius: 3px;
}

.breadcrumb a {
  display: inline;
  color: var(--gray-5-color);
}

.breadcrumb a + a:before,
.breadcrumb a + span:before {
  padding: 0 var(--sp-5);
  color: var(--gray-5-color);
  content: '/\00a0';
}

.breadcrumb a:hover {
  color: var(--accent-color);
}

.link-loto {
  width: 100%;
  float: left;
  padding: var(--sp-10) var(--sp-16);
}

.link-loto a {
  font-family: var(--font-heading);
  width: 50%;
  float: left;
  font-size: var(--text-base);
  padding: var(--sp-5) 0;
  position: relative;
  padding-left: 24px;
}

.link-loto a.link-loto__item--hot::before {
  content: 'HOT';
  position: absolute;
  background: var(--highlight-color);
  font-size: 9px;
  padding: 0 3px;
  border-radius: var(--radius);
  margin-left: -30px;
  color: var(--accent-color);
}

.link-loto a:hover {
  color: var(--accent-color);
}

.nav-panel a:not(.active):hover {
  color: var(--accent-color);
}

.nav-panel a.active:hover {
  color: var(--white-color);
}

.site-link a:hover,
.site-link2 a:hover {
  color: var(--accent-color);
}

.link-statistic a:hover {
  color: var(--accent-color);
}

.table-result .site-link a:hover,
.section-header .site-link a:hover {
  color: var(--accent-color);
}

.load-more {
  float: left;
  width: 100%;
  text-align: center;
  padding: var(--sp-10) var(--sp-16);
  margin-bottom: var(--sp-16);
  clear: both;
}

.load-more a {
  display: inline-block;
  font-weight: bold;
  color: var(--white-color) !important;
  background: var(--accent-color);
  padding: 8px 22px;
  border-radius: 999px;
  text-decoration: none;
  line-height: 1.25;
  font-size: var(--text-base);
}

.load-more a:hover {
  color: var(--white-color) !important;
  background: var(--primary-color);
  text-decoration: none;
}

.lottery-info {
  float: left;
  width: 100%;
  padding: var(--sp-16) 12px;
}

.lottery-info h2,
.lottery-info h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.lottery-info h3 {
  font-size: var(--text-xl);
}

.lottery-info p {
  margin: 6px 0;
  font-size: var(--text-base);
}

.lottery-info a {
  color: var(--link-color);
  text-decoration: underline;
}

.lottery-info a:hover,
.lottery-info h2 a:hover,
.lottery-info h3 a:hover {
  color: var(--accent-color);
}

.lottery-info a.color_red:hover {
  color: var(--accent-soft-color);
}

.lottery-info .table th.cocau,
.lottery-info .table td.cocau,
table.table .cocau {
  font-size: var(--text-sm);
  text-align: center;
  vertical-align: middle;
}

/* Mobile / tablet hẹp: ô mã loto (number-prize) + bảng cơ cấu giải (lottery-info) cuộn ngang */
@media only screen and (max-width: 960px) {
  .table-result {
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
  }

  .table-result td.number-prize {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    vertical-align: middle;
  }

  .lottery-info {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    max-width: 100%;
    box-sizing: border-box;
  }

  .lottery-info table {
    width: -moz-max-content;
    width: max-content;
    min-width: 100%;
    max-width: none;
  }
}

/* Trang tường thuật trực tiếp (XSMB / XSMN / XSMT) — dùng chung */

@media only screen and (min-width: 961px) {
  .p-xs {
    display: block;
  }
}

.page-title-xs {
  float: left;
  width: 100%;
  font-family: var(--font-heading);
  font-size: var(--text-24);
  font-weight: 700;
  margin: 0 0 var(--sp-10);
  line-height: 1.35;
  color: var(--gray-2-color);
}

#countdown.section {
  margin-bottom: var(--sp-10);
  padding: 0;
  box-shadow: none;
  float: left;
  width: 100%;
}

#countdown.section .menu-item3 {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  float: left;
  margin: 0;
  padding: 0;
  gap: 0;
  background: var(--panel-gray-color);
  border: solid 1px var(--border-light-color);
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}

#countdown.section .menu-item3 a {
  flex: 1 1 0;
  min-width: 0;
  display: block;
  padding: 10px 8px;
  border: 0;
  border-right: solid 1px var(--border-light-color);
  border-radius: 0;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--link-color);
  text-decoration: none;
  text-align: center;
  background: var(--white-color);
}

#countdown.section .menu-item3 a:last-child {
  border-right: 0;
}

#countdown.section .menu-item3 a:hover {
  color: var(--accent-color);
}

#countdown.section .menu-item3 a.active {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--white-color);
}

#countdown.section .menu-item3 a.active:hover {
  color: var(--white-color);
}

.live-reporting {
  float: left;
  width: 100%;
  border: solid 1px var(--border-light-color);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
  background: var(--white-color);
}

.box-seconds.flex-center {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-10);
  padding: var(--sp-16);
  background: var(--alice-color);
  border-bottom: solid 1px var(--border-light-color);
}

.text-seconds {
  font-weight: 600;
  color: var(--gray-2-color);
}

#countdown .count_seconds {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 48px;
}

#countdown .count_seconds span:first-child {
  display: inline-block;
  min-width: 40px;
  padding: 6px 10px;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: var(--white-color);
  background: var(--accent-color);
  border-radius: 4px;
}

#countdown .icontime {
  font-size: var(--text-sm);
  color: var(--gray-5-color);
  line-height: 1.2;
}

.box-info {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--sp-10);
  padding: var(--sp-10) var(--sp-16);
  background: var(--white-color);
}

.box-info-content {
  flex: 1 1 220px;
  font-size: var(--text-base);
  line-height: 1.45;
  color: var(--gray-2-color);
}

.box-info-content > p {
  margin: 0 0 var(--sp-10);
}

.box-info-more p {
  margin: 0 0 var(--sp-10);
}

.box-info.is-collapsed .box-info-more {
  display: none;
}

.btn-doctiep {
  flex: 0 0 auto;
  align-self: flex-end;
  font-size: var(--text-sm);
  color: var(--gray-5-color);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
}

.btn-doctiep:hover {
  color: var(--accent-color);
}

.btn-doctiep svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.box-info:not(.is-collapsed) .btn-doctiep svg {
  transform: rotate(180deg);
}

.block-live-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-10);
  padding: var(--sp-10);
  background: var(--alice-color);
  border-bottom: solid 0.5px var(--border-color);
}

.xsloader {
  width: 24px;
  height: 24px;
}

.text-grad {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-lg);
  line-height: 1.2;
  background: linear-gradient(
    270deg,
    #ff0000,
    #ffa500,
    #ffff00,
    #00ff00,
    #0000ff,
    #4b0082,
    #ee82ee,
    #ff0000
  );
  background-size: 400% 400%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: text-grad-move 5s ease infinite;
}

@keyframes text-grad-move {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .text-grad {
    animation: none;
    background: none;
    -webkit-text-fill-color: unset;
    color: var(--accent-color);
    -webkit-background-clip: unset;
    background-clip: unset;
  }
}

.btn-showresult {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray-5-color);
  transition: transform 0.25s ease;
}

/* Trực tiếp: ẩn bảng KQ tới khi bấm mũi tên cạnh "Đang chờ kết quả" */
.section:not(.open) > .block-live-result {
  display: none !important;
}

.section.open > .block-live-result {
  display: block;
}

.section.open > .block-live-text .btn-showresult {
  transform: rotate(180deg);
}

.block-live-result .section-content {
  padding: 0;
}

@media only screen and (max-width: 960px) {
  .p-xs {
    display: none;
  }

  .m-xs {
    display: block;
  }

  .breadcrumb {
    font-size: var(--text-sm);
    padding: 0 var(--sp-16) 8px;
  }
}

@media only screen and (min-width: 780px) {
  .advstickyleft {
    position: fixed;
    bottom: 8px;
    right: calc(50% + 568px);
    max-width: 200px;
    z-index: 1000;
  }

  .advstickyright {
    position: fixed;
    bottom: 8px;
    left: calc(50% + 568px);
    max-width: 200px;
    z-index: 1000;
  }

  .advfixfooter {
    display: none;
  }

  .advrightfooter {
    max-width: 500px;
    position: fixed;
    right: 0;
    bottom: 0;
  }
}

@media only screen and (max-width: 779px) {
  .advstickyleft {
    display: none;
  }

  .advstickyright {
    display: none;
  }

  .advfixfooter {
    position: fixed;
    max-height: 120px;
    width: 100%;
    z-index: 1000;
    left: 0;
    bottom: 0;
    text-align: center;
    clear: both;
    background: var(--white-color);
  }

  .advfixfooter .ads {
    padding: 0 !important;
    margin: 0 !important;
  }

  .ads {
    padding: 10px 0;
    clear: both;
    text-align: center;
  }

  .advfixfooterClose {
    position: absolute;
    width: 30px;
    height: 30px;
    top: -30px;
    right: 0;
    padding: 3px;
    z-index: 9999;
    cursor: pointer;
    background-size: 13px 13px;
    background-position: 9px;
    background-repeat: no-repeat;
    box-shadow: var(--shadow-inner);
    border: none;
    border-radius: 12px 0 0 0;
    background: var(--panel-gray-color);
  }

  .advrightfooter {
    display: none;
  }
}

.notedelay {
  position: absolute;
  top: 68px;
  left: 0;
  animation: notedelay2 0.7s 20;
  display: none;
  width: 100%;
  float: left;
  padding: 10px;
  background: var(--success-color);
  text-align: center;
  color: var(--white-color);
  font-weight: 700;
  font-size: var(--text-xl);
  border-radius: 5px;
  z-index: 1;
}

.sms-loto span {
  font-size: var(--text-base);
}

@media (max-width: 800px) {
  .section-header h1 {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
  }

  .section-header h2 {
    font-size: var(--text-xl);
  }

  .site-link {
    font-size: var(--text-sm);
  }

  .site-link a + a::before {
    padding: 0;
  }

  .table-result th {
    font-size: var(--text-base);
  }

  .table-loto th {
    font-size: var(--text-base);
  }

  .notification {
    font-size: var(--text-xl);
  }

  .lottery-today {
    font-size: var(--text-base);
  }

  .see-more a {
    font-size: var(--text-base);
  }

  .btn-results {
    font-size: var(--text-2xl);
    height: var(--input-h);
    width: 40px;
    line-height: var(--input-h);
  }

  .code-DB1,
  .code-DB2,
  .code-DB3,
  .code-DB4,
  .code-DB5,
  .code-DB6,
  .code-DB7,
  .code-DB8 {
    height: 36px;
    line-height: 36px;
  }

  .code-DB7 {
    font-size: var(--text-md);
  }

  .code-DB8 {
    font-size: var(--text-md);
  }

  .code-DB9 {
    width: 20%;
    font-size: var(--text-md);
    height: 30px;
    line-height: 30px;
  }

  .code-DB10 {
    width: 20%;
    font-size: var(--text-md);
  }

  .special-prize {
    height: 36px;
    line-height: 36px;
    font-size: var(--text-32);
  }

  .prize1 {
    height: 36px;
    line-height: 36px;
    font-size: var(--text-24);
  }

  .prize2 {
    height: 36px;
    line-height: 36px;
    font-size: var(--text-24);
  }

  .prize3 {
    height: 36px;
    line-height: 36px;
    font-size: var(--text-24);
  }

  .prize4 {
    height: 36px;
    line-height: 36px;
    font-size: var(--text-24);
  }

  .prize5 {
    height: 36px;
    line-height: 36px;
    font-size: var(--text-24);
  }

  .prize6 {
    height: 36px;
    line-height: 36px;
    font-size: var(--text-24);
  }

  .prize7 {
    height: 36px;
    line-height: 36px;
    font-size: var(--text-30);
  }

  .xs_prize1 {
    height: 36px;
    line-height: 36px;
  }

  .xs_prize2 {
    height: 36px;
    line-height: 36px;
  }

  .xs_prize3 {
    height: 36px;
    line-height: 36px;
  }
}

@media (max-width: 414px) {
  .menu-item5 a {
    font-size: var(--text-xs);
  }

  .xs_mn4 .runloto-0,
  .xs_mn4 .runloto-1,
  .xs_mn4 .runloto-2,
  .xs_mn4 .runloto-3,
  .xs_mn4 .runloto-4,
  .xs_mn4 .runloto-5,
  .xs_mn4 .runloto-6,
  .xs_mn4 .runloto-7,
  .xs_mn4 .runloto-8,
  .xs_mn4 .runloto-9 {
    font-size: var(--text-md);
    padding: 0 2px;
  }

  .xs_mn4 th {
    width: 28px;
  }

  .xs_mn4 td {
    width: calc(25% - 7px);
  }

  .xs_mn4 span {
    font-size: var(--text-21);
  }
}

.ketquamoi {
  background: var(--flash-color);
  padding: 0 5px;
  border-radius: 3px;
  float: none !important;
  width: unset !important;
}

.runloto-0,
.runloto-1,
.runloto-2,
.runloto-3,
.runloto-4,
.runloto-5,
.runloto-6,
.runloto-7,
.runloto-8,
.runloto-9 {
  border-radius: 100%;
  color: var(--white-color);
  padding: 0 3px;
  font-size: var(--text-2xl);
}

.runloto-0,
.runloto-2,
.runloto-4,
.runloto-6,
.runloto-8 {
  background: var(--gray-3-color);
  background: -webkit-gradient(
    left top,
    right bottom,
    color-stop(0, var(--gray-3-color)),
    color-stop(100%, var(--gray-3-color))
  );
  background: linear-gradient(135deg, var(--gray-3-color) 0, var(--gray-3-color) 100%);
}

.runloto-1,
.runloto-3,
.runloto-5,
.runloto-7,
.runloto-9 {
  background: var(--jackpot-color);
  background: -webkit-gradient(
    left top,
    right bottom,
    color-stop(0, var(--jackpot-color)),
    color-stop(100%, var(--jackpot-color))
  );
  background: linear-gradient(135deg, var(--jackpot-color) 0, var(--jackpot-color) 100%);
}

@keyframes notedelay2 {
  50% {
    background: var(--highlight-2-color);
    color: var(--white-color);
  }
}

.keno-pad {
  padding: 16px 16px 0 16px;
}

.keno-row {
  float: left;
  width: 100%;
  margin-bottom: 16px;
}

.layout-grid-10 {
  display: grid;
  grid-column-gap: 5px;
  grid-row-gap: 5px;
  grid-template-columns: repeat(10, 1fr);
  place-items: center;
}

.btn-number-live {
  background: var(--white-color);
  height: 44px;
  line-height: 44px;
  width: 44px;
  text-align: center;
  border-radius: 100%;
  border: solid 1px var(--primary-color);
  color: var(--primary-color);
  font-size: var(--text-24);
  font-weight: bold;
  display: inline-block;
}

.btn-number-live img {
  height: 14px;
}

.keno-rowcl {
  float: left;
  width: 100%;
}

.row-cl.fixclo2 {
  width: 23%;
  float: left;
  margin: 0 1%;
}

.row-cl {
  background: var(--white-color);
  display: block;
  line-height: 24px;
  margin: 2px 0;
  font-weight: bold;
  border-radius: 3px;
  border: solid 1px var(--primary-color);
  padding: 4px 6px;
}

.ic-cl {
  display: inline-block;
  color: var(--white-color);
  width: 24px;
  height: 24px;
  text-align: center;
  line-height: 24px;
  border-radius: 100%;
  margin-right: 6px;
}

.bg-chan {
  background: var(--facebook-color);
}

.bg-le {
  background: var(--twitter-color);
}

.ic-btnkeno.keno-icLon {
  background: var(--rss-color);
  position: relative;
}

.ic-btnkeno.keno-icLon::after {
  position: relative;
  width: 24px;
  height: 24px;
  line-height: 24px;
  color: var(--white-color);
  text-align: center;
  border-radius: 50%;
  left: 0;
  content: '>';
  font-size: var(--text-lg);
}

.ic-btnkeno.keno-icBe {
  background: var(--mail-color);
  position: relative;
}

.ic-btnkeno.keno-icBe::after {
  position: relative;
  width: 24px;
  height: 24px;
  line-height: 24px;
  color: var(--white-color);
  text-align: center;
  border-radius: 50%;
  left: 0;
  content: '<';
  font-size: var(--text-lg);
}

.red {
  color: var(--accent-color);
}

@media only screen and (max-width: 800px) {
  .layout-grid-10 {
    grid-column-gap: 3px;
    grid-row-gap: 3px;
  }

  .btn-number-live {
    width: 8vw;
    height: 8vw;
    line-height: 8.3vw;
    font-size: 5vw;
  }

  .row-cl.fixclo2 {
    width: 48%;
    float: left;
    margin: 0.5% 1%;
  }
}

.headpn {
  height: 50px;
  width: 100%;
  float: left;
}

.content-pad-12 {
  width: 100%;
  float: left;
  padding: 12px;
}

.ul-tabs-link {
  display: table;
  width: 100%;
  border: solid 1px var(--border-light-color);
  background: aliceblue;
}

.ul-tabs-link li:first-child {
  border-left: 0;
}

.ul-tabs-link li {
  display: table-cell;
  border-left: solid 1px var(--border-light-color);
  text-align: center;
  vertical-align: middle;
}

.ul-tabs-link li a {
  display: block;
  padding: 8px 3px;
  font-size: var(--text-base);
}

.ul-tabs-link li a.active {
  color: var(--white-color);
  background: var(--keno-color);
}

.ul-tabs-link li a:not(.active):hover {
  color: var(--accent-color);
  text-decoration: none;
}

.block {
  width: 100%;
  float: left;
  margin-bottom: 16px;
}

.title-block {
  font-size: var(--text-xl);
  font-weight: bold;
  margin-bottom: 0;
}

.color-red {
  color: var(--accent-color);
}

.fontDB {
  font-size: var(--text-xl);
  font-weight: bold;
}

.thongbao-city {
  text-align: center;
  font-size: var(--text-sm);
  position: relative;
  margin-bottom: 13px;
  background: var(--notice-bg-color);
  padding: 6px 24px 6px 6px;
  float: left;
  width: 100%;
}

.thongbao-city a {
  color: var(--notice-link-color);
  text-decoration: underline;
}

.close-thongbao-city {
  position: absolute;
  background: var(--white-color);
  height: 20px;
  width: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  right: 5px;
  z-index: 9;
  cursor: pointer;
  top: 5px;
}

.prize-col5 {
  width: 18%;
}

.page-province .table-city1 .name-prize,
.page-province .table-city1 tbody th {
  width: 8%;
}

.page-province .table-city1 .prize-col1,
.page-province .table-city1 tbody td {
  width: 92%;
}

.page-province .table-city1 tbody td {
  text-align: center;
}

.page-province .table-city1 .xs_prize1,
.page-province .table-city1 .xs_prize2,
.page-province .table-city1 .xs_prize3,
.page-province .table-city1 .xs_prize4 {
  float: none;
  display: inline-block;
  width: 33.3333%;
  vertical-align: top;
}

.table-city4 th a,
.table-city5 th a {
  font-size: var(--text-md);
}

.loto-col5 {
  width: 18%;
}

@media only screen and (max-width: 960px) {
  .fontDB {
    font-size: var(--text-md);
  }

  .table-city4 th a,
  .table-city5 th a {
    font-size: var(--text-base);
  }

  .table-city4 .xs_prize1,
  .table-city4 .xs_prize2,
  .table-city4 .xs_prize3,
  .table-city4 .xs_prize4,
  .table-city5 .xs_prize1,
  .table-city5 .xs_prize2,
  .table-city5 .xs_prize3,
  .table-city5 .xs_prize4 {
    font-size: var(--text-xl) !important;
  }

  .loto-city5 td {
    font-size: var(--text-base) !important;
  }
}

.section-tk-dacbiet .table-scroll-wrap,
.section-tk-dacbiet .table-scrol-x {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.section-tk-dacbiet .table-scroll-wrap table,
.section-tk-dacbiet .table-scrol-x table {
  width: -moz-max-content;
  width: max-content;
  min-width: 100%;
  max-width: none;
  border-collapse: collapse;
}

/* ===== Thong ke tan suat loto (ported from styleall.min.css) ===== */
.page-thong-ke-tan-suat-loto {
  width: 71%;
  float: left;
}

.page-thong-ke-tan-suat-loto .m-scrol {
  overflow: auto;
  white-space: nowrap;
}

.page-thong-ke-tan-suat-loto .btn-tslt {
  background: var(--white-color);
  display: inline-block;
  height: var(--sp-32);
  line-height: var(--sp-32);
  font-size: var(--text-xs);
  cursor: pointer;
  text-align: center;
  padding: 0 8px;
  border-radius: 2px;
}

.page-thong-ke-tan-suat-loto .btn-tslt.active {
  background: var(--tkts-tab-active-bg);
  color: var(--white-color);
}

.page-thong-ke-tan-suat-loto .btn-tk {
  padding: 2px;
  font-size: var(--text-xs);
  border-radius: 3px;
  border: solid 1px var(--border-light-color);
  display: inline-block;
  min-width: 40px;
  cursor: pointer;
  font-weight: 400;
  background: var(--white-color);
}

.page-thong-ke-tan-suat-loto .btn-tk:hover {
  background: var(--border-color);
}

.page-thong-ke-tan-suat-loto .bg-info {
  background-color: var(--tkts-header-bg);
}

.page-thong-ke-tan-suat-loto .table-tkth {
  border: solid 1px var(--border-color);
}

.page-thong-ke-tan-suat-loto .table-tkth td,
.page-thong-ke-tan-suat-loto .table-tkth th {
  border: 0;
}

.page-thong-ke-tan-suat-loto .table-tkth tr {
  border-bottom: solid 1px var(--border-color);
}

.page-thong-ke-tan-suat-loto .label-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.page-thong-ke-tan-suat-loto .label-checkbox .input-checkbox {
  position: static;
  z-index: auto;
  opacity: 1;
  display: inline-block;
  margin: 0;
  padding: 0;
  height: 16px;
  width: 16px;
  border: 1px solid var(--border-light-color);
  border-radius: 2px;
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  -moz-appearance: auto !important;
}

.page-thong-ke-tan-suat-loto .checkbox-indicator {
  display: none;
}

.page-thong-ke-tan-suat-loto .label-checkbox .input-checkbox:checked ~ .checkbox-indicator {
  display: none;
}

.page-thong-ke-tan-suat-loto .checkbox-indicator::after {
  content: '';
  position: absolute;
  display: none;
}

.page-thong-ke-tan-suat-loto .label-checkbox .input-checkbox:checked ~ .checkbox-indicator::after {
  display: none;
}

.page-thong-ke-tan-suat-loto .label-checkbox:hover .input-checkbox ~ .checkbox-indicator,
.page-thong-ke-tan-suat-loto .label-checkbox .input-checkbox:focus ~ .checkbox-indicator {
  display: none;
}

.page-thong-ke-tan-suat-loto
  .label-checkbox:hover
  .input-checkbox:not([disabled]):checked
  ~ .checkbox-indicator,
.page-thong-ke-tan-suat-loto .label-checkbox .input-checkbox:checked:focus ~ .checkbox-indicator {
  display: none;
}

.page-thong-ke-tan-suat-loto .label-checkbox .input-checkbox:disabled ~ .checkbox-indicator {
  display: none;
}

.page-thong-ke-tan-suat-loto .label-checkbox .input-checkbox:disabled ~ .checkbox-indicator::after {
  display: none;
}

/* Ghi đè rule checkbox global: trang này dùng checkbox native */
.page-thong-ke-tan-suat-loto .input-checkbox[type='checkbox'] {
  position: static;
  z-index: auto;
  opacity: 1;
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 0;
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  -moz-appearance: auto !important;
}

.page-thong-ke-tan-suat-loto .btn-tabs {
  display: inline-block;
  padding: 0 16px;
  height: 40px;
  font-size: var(--text-base);
  line-height: 40px;
  background-color: var(--border-input-color);
  cursor: pointer;
  text-align: center;
  border-radius: 2px;
}

.page-thong-ke-tan-suat-loto .btn-tabs.active {
  background-color: var(--tkts-tabs-selected-bg);
  color: var(--white-color);
}

.page-thong-ke-tan-suat-loto .table-scroll-tkts {
  position: relative;
  width: 100%;
  z-index: 1;
  margin: auto;
  overflow-x: scroll;
}

.page-thong-ke-tan-suat-loto .table.table-tkts {
  border: solid 1px var(--tkts-table-grid-color);
}

.page-thong-ke-tan-suat-loto .table.table-tkts th {
  border: solid 1px var(--tkts-table-grid-color);
  padding: 4px;
  width: 50px;
}

.page-thong-ke-tan-suat-loto .table-scroll-tkts th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--tkts-header-bg);
}

.page-thong-ke-tan-suat-loto .table-scroll-tkts thead th {
  background: var(--tkts-header-bg);
  position: sticky;
  top: 0;
}

.page-thong-ke-tan-suat-loto .table.table-tkts td {
  border: solid 1px var(--tkts-table-grid-color);
  width: 25px;
  padding: 0;
  height: 25px;
}

.page-thong-ke-tan-suat-loto .darkgb {
  background-color: var(--tkts-dark-cell-bg);
}

.page-thong-ke-tan-suat-loto .tansuatrow {
  background: var(--white-color);
}

.page-thong-ke-tan-suat-loto .tansuatrow:hover {
  background: var(--tkts-row-hover-bg);
}

.page-thong-ke-tan-suat-loto .tansuatrow:hover .bg-info {
  background: var(--tkts-row-hover-bg);
}

.page-thong-ke-tan-suat-loto tr.tansuatrow.bg-hover > td:not(.darkgb) {
  background-color: var(--tkts-row-hover-bg);
}

.page-thong-ke-tan-suat-loto tr.tansuatrow.bg-active > td:not(.darkgb) {
  background-color: var(--tkts-row-active-bg);
}

.page-thong-ke-tan-suat-loto tr.tansuatrow.bg-active .bg-info {
  background-color: var(--tkts-row-active-bg);
}

.page-thong-ke-tan-suat-loto .tansuat-verti .kqbackground.verti-highlight.verti-active {
  background-color: var(--tkts-row-active-bg);
}

.page-thong-ke-tan-suat-loto .tansuat-verti .verti-highlight.verti-hover {
  background-color: var(--tkts-verti-hover-bg);
}

.page-thong-ke-tan-suat-loto .tansuat-verti .table.table-tkts {
  width: -moz-max-content;
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
}

.page-thong-ke-tan-suat-loto .tansuat-verti .table.table-tkts td {
  min-width: var(--sp-32);
  text-align: center;
  white-space: nowrap;
}

.page-thong-ke-tan-suat-loto .tansuat-verti .setcolor {
  cursor: pointer;
  font-weight: 700;
  background: var(--tkts-header-bg);
  position: sticky;
  left: 0;
  z-index: 3;
}

/* Cột dọc: tbody td có cả setcolor + darkgb/kqbackground — không dùng nền header cho ô dữ liệu */
.page-thong-ke-tan-suat-loto .tansuat-verti td.setcolor.darkgb,
.page-thong-ke-tan-suat-cap-loto .tansuat-verti td.setcolor.darkgb {
  background-color: var(--tkts-dark-cell-bg);
}

.page-thong-ke-tan-suat-loto .tansuat-verti td.setcolor.kqbackground,
.page-thong-ke-tan-suat-cap-loto .tansuat-verti td.setcolor.kqbackground {
  background-color: var(--white-color);
  color: var(--black-color);
}

.page-thong-ke-tan-suat-loto .tansuat-verti td.setcolor.kqbackground.color-red,
.page-thong-ke-tan-suat-cap-loto .tansuat-verti td.setcolor.kqbackground.color-red {
  color: var(--accent-color);
}

.page-thong-ke-tan-suat-loto .tansuat-verti .date-col-head,
.page-thong-ke-tan-suat-loto .tansuat-verti .date-col {
  min-width: 88px;
  font-weight: 700;
  background: var(--tkts-header-bg);
  position: sticky;
  left: 0;
}

.page-thong-ke-tan-suat-loto .tansuat-verti .date-col-head {
  z-index: 5;
  line-height: 1.2;
}

.page-thong-ke-tan-suat-loto .tansuat-verti .date-col {
  z-index: 3;
}

.page-thong-ke-tan-suat-loto .tansuat-verti tr:first-child td {
  background: var(--tkts-header-bg);
  position: sticky;
  top: 0;
  z-index: 2;
}

.page-thong-ke-tan-suat-loto .tansuat-verti tr:first-child .setcolor {
  z-index: 4;
}

.page-thong-ke-tan-suat-loto .tansuat-verti .date-cell-link {
  color: var(--link-color);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.page-thong-ke-tan-suat-loto .tansuat-verti .date-cell-link:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.page-thong-ke-tan-suat-loto .tansuat-verti .kqbackground.verti-highlight:hover {
  background-color: var(--tkts-verti-hover-bg);
}

.page-thong-ke-tan-suat-loto .verti-active {
  background-color: var(--tkts-row-active-bg) !important;
}

.page-thong-ke-tan-suat-loto .bkg-red {
  background: var(--accent-soft-color);
  color: var(--white-color);
  font-weight: 700;
}

.page-thong-ke-tan-suat-loto .trbg-hover tbody tr:hover {
  background: var(--tkts-verti-hover-bg);
}

@media only screen and (max-width: 800px) {
  .page-thong-ke-tan-suat-loto {
    width: 100%;
    margin-bottom: 16px;
  }

  .page-thong-ke-tan-suat-loto .m-calc {
    margin-left: -12px !important;
    margin-right: -12px !important;
    width: calc(100% + 24px) !important;
  }

  .page-thong-ke-tan-suat-loto .w-touchspin {
    width: 100%;
  }

  .page-thong-ke-tan-suat-loto .btn-tabs {
    padding: 0 8px;
    height: 36px;
    line-height: 36px;
  }
}

/* ===== Thong ke tan suat cap-loto (mirror loto) ===== */
.page-thong-ke-tan-suat-cap-loto {
  width: 71%;
  float: left;
}

.page-thong-ke-tan-suat-cap-loto .m-scrol {
  overflow: auto;
  white-space: nowrap;
}

.page-thong-ke-tan-suat-cap-loto .btn-tslt {
  background: var(--white-color);
  display: inline-block;
  height: var(--sp-32);
  line-height: var(--sp-32);
  font-size: var(--text-xs);
  cursor: pointer;
  text-align: center;
  padding: 0 8px;
  border-radius: 2px;
}

.page-thong-ke-tan-suat-cap-loto .btn-tslt.active {
  background: var(--tkts-tab-active-bg);
  color: var(--white-color);
}

.page-thong-ke-tan-suat-cap-loto .btn-tk {
  padding: 2px;
  font-size: var(--text-xs);
  border-radius: 3px;
  border: solid 1px var(--border-light-color);
  display: inline-block;
  min-width: 40px;
  cursor: pointer;
  font-weight: 400;
  background: var(--white-color);
}

.page-thong-ke-tan-suat-cap-loto .btn-tk:hover {
  background: var(--border-color);
}

.page-thong-ke-tan-suat-cap-loto .bg-info {
  background-color: var(--tkts-header-bg);
}

.page-thong-ke-tan-suat-cap-loto .table-tkth {
  border: solid 1px var(--border-color);
}

.page-thong-ke-tan-suat-cap-loto .table-tkth td,
.page-thong-ke-tan-suat-cap-loto .table-tkth th {
  border: 0;
}

.page-thong-ke-tan-suat-cap-loto .table-tkth tr {
  border-bottom: solid 1px var(--border-color);
}

.page-thong-ke-tan-suat-cap-loto .label-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.page-thong-ke-tan-suat-cap-loto .label-checkbox .input-checkbox {
  position: static;
  z-index: auto;
  opacity: 1;
  display: inline-block;
  margin: 0;
  padding: 0;
  height: 16px;
  width: 16px;
  border: 1px solid var(--border-light-color);
  border-radius: 2px;
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  -moz-appearance: auto !important;
}

.page-thong-ke-tan-suat-cap-loto .checkbox-indicator {
  display: none;
}

.page-thong-ke-tan-suat-cap-loto .label-checkbox .input-checkbox:checked ~ .checkbox-indicator {
  display: none;
}

.page-thong-ke-tan-suat-cap-loto .checkbox-indicator::after {
  content: '';
  position: absolute;
  display: none;
}

.page-thong-ke-tan-suat-cap-loto
  .label-checkbox
  .input-checkbox:checked
  ~ .checkbox-indicator::after {
  display: none;
}

.page-thong-ke-tan-suat-cap-loto .label-checkbox:hover .input-checkbox ~ .checkbox-indicator,
.page-thong-ke-tan-suat-cap-loto .label-checkbox .input-checkbox:focus ~ .checkbox-indicator {
  display: none;
}

.page-thong-ke-tan-suat-cap-loto
  .label-checkbox:hover
  .input-checkbox:not([disabled]):checked
  ~ .checkbox-indicator,
.page-thong-ke-tan-suat-cap-loto
  .label-checkbox
  .input-checkbox:checked:focus
  ~ .checkbox-indicator {
  display: none;
}

.page-thong-ke-tan-suat-cap-loto .label-checkbox .input-checkbox:disabled ~ .checkbox-indicator {
  display: none;
}

.page-thong-ke-tan-suat-cap-loto
  .label-checkbox
  .input-checkbox:disabled
  ~ .checkbox-indicator::after {
  display: none;
}

/* Ghi đè rule checkbox global: trang này dùng checkbox native */
.page-thong-ke-tan-suat-cap-loto .input-checkbox[type='checkbox'] {
  position: static;
  z-index: auto;
  opacity: 1;
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 0;
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  -moz-appearance: auto !important;
}

.page-thong-ke-tan-suat-cap-loto .btn-tabs {
  display: inline-block;
  padding: 0 16px;
  height: 40px;
  font-size: var(--text-base);
  line-height: 40px;
  background-color: var(--border-input-color);
  cursor: pointer;
  text-align: center;
  border-radius: 2px;
}

.page-thong-ke-tan-suat-cap-loto .btn-tabs.active {
  background-color: var(--tkts-tabs-selected-bg);
  color: var(--white-color);
}

.page-thong-ke-tan-suat-cap-loto .table-scroll-tkts {
  position: relative;
  width: 100%;
  z-index: 1;
  margin: auto;
  overflow-x: scroll;
}

.page-thong-ke-tan-suat-cap-loto .table.table-tkts {
  border: solid 1px var(--tkts-table-grid-color);
}

.page-thong-ke-tan-suat-cap-loto .table.table-tkts th {
  border: solid 1px var(--tkts-table-grid-color);
  padding: 4px;
  width: 50px;
}

.page-thong-ke-tan-suat-cap-loto .table-scroll-tkts th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--tkts-header-bg);
}

.page-thong-ke-tan-suat-cap-loto .table-scroll-tkts thead th {
  background: var(--tkts-header-bg);
  position: sticky;
  top: 0;
}

.page-thong-ke-tan-suat-cap-loto .table.table-tkts td {
  border: solid 1px var(--tkts-table-grid-color);
  width: 25px;
  padding: 0;
  height: 25px;
}

.page-thong-ke-tan-suat-cap-loto .darkgb {
  background-color: var(--tkts-dark-cell-bg);
}

.page-thong-ke-tan-suat-cap-loto .tansuatrow {
  background: var(--white-color);
}

.page-thong-ke-tan-suat-cap-loto .tansuatrow:hover {
  background: var(--tkts-row-hover-bg);
}

.page-thong-ke-tan-suat-cap-loto .tansuatrow:hover .bg-info {
  background: var(--tkts-row-hover-bg);
}

.page-thong-ke-tan-suat-cap-loto tr.tansuatrow.bg-hover > td:not(.darkgb) {
  background-color: var(--tkts-row-hover-bg);
}

.page-thong-ke-tan-suat-cap-loto tr.tansuatrow.bg-active > td:not(.darkgb) {
  background-color: var(--tkts-row-active-bg);
}

.page-thong-ke-tan-suat-cap-loto tr.tansuatrow.bg-active .bg-info {
  background-color: var(--tkts-row-active-bg);
}

.page-thong-ke-tan-suat-cap-loto .tansuat-verti .kqbackground.verti-highlight.verti-active {
  background-color: var(--tkts-row-active-bg);
}

.page-thong-ke-tan-suat-cap-loto .tansuat-verti .verti-highlight.verti-hover {
  background-color: var(--tkts-verti-hover-bg);
}

.page-thong-ke-tan-suat-cap-loto .tansuat-verti .table.table-tkts {
  width: -moz-max-content;
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
}

.page-thong-ke-tan-suat-cap-loto .tansuat-verti .table.table-tkts td {
  min-width: var(--sp-32);
  text-align: center;
  white-space: nowrap;
}

.page-thong-ke-tan-suat-cap-loto .tansuat-verti .setcolor {
  cursor: pointer;
  font-weight: 700;
  background: var(--tkts-header-bg);
  position: sticky;
  left: 0;
  z-index: 3;
}

.page-thong-ke-tan-suat-cap-loto .tansuat-verti .date-col-head,
.page-thong-ke-tan-suat-cap-loto .tansuat-verti .date-col {
  min-width: 88px;
  font-weight: 700;
  background: var(--tkts-header-bg);
  position: sticky;
  left: 0;
}

.page-thong-ke-tan-suat-cap-loto .tansuat-verti .date-col-head {
  z-index: 5;
  line-height: 1.2;
}

.page-thong-ke-tan-suat-cap-loto .tansuat-verti .date-col {
  z-index: 3;
}

.page-thong-ke-tan-suat-cap-loto .tansuat-verti tr:first-child td {
  background: var(--tkts-header-bg);
  position: sticky;
  top: 0;
  z-index: 2;
}

.page-thong-ke-tan-suat-cap-loto .tansuat-verti tr:first-child .setcolor {
  z-index: 4;
}

.page-thong-ke-tan-suat-cap-loto .tansuat-verti .date-cell-link {
  color: var(--link-color);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.page-thong-ke-tan-suat-cap-loto .tansuat-verti .date-cell-link:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.page-thong-ke-tan-suat-cap-loto .tansuat-verti .kqbackground.verti-highlight:hover {
  background-color: var(--tkts-verti-hover-bg);
}

.page-thong-ke-tan-suat-cap-loto .verti-active {
  background-color: var(--tkts-row-active-bg) !important;
}

.page-thong-ke-tan-suat-cap-loto .bkg-red {
  background: var(--tk-cap-summary-bar-bg);
  color: var(--white-color);
  font-weight: 700;
}

.page-thong-ke-tan-suat-cap-loto .trbg-hover tbody tr:hover {
  background: var(--tkts-verti-hover-bg);
}

@media only screen and (max-width: 800px) {
  .page-thong-ke-tan-suat-cap-loto {
    width: 100%;
    margin-bottom: 16px;
  }

  .page-thong-ke-tan-suat-cap-loto .m-calc {
    margin-left: -12px !important;
    margin-right: -12px !important;
    width: calc(100% + 24px) !important;
  }

  .page-thong-ke-tan-suat-cap-loto .w-touchspin {
    width: 100%;
  }

  .page-thong-ke-tan-suat-cap-loto .btn-tabs {
    padding: 0 8px;
    height: 36px;
    line-height: 36px;
  }
}

/* Cap loto — bảng tần suất: ô to hơn baseline */
.page-thong-ke-tan-suat-cap-loto .table-scroll-tkts .table.table-tkts {
  font-size: var(--text-sm);
  line-height: 1.25;
}

.page-thong-ke-tan-suat-cap-loto .table-scroll-tkts .table.table-tkts td {
  width: 32px;
  min-width: 30px;
  max-width: 40px;
  height: 32px;
  min-height: 30px;
  padding: 3px 5px;
  vertical-align: middle;
  line-height: 1.2;
}

.page-thong-ke-tan-suat-cap-loto .table-scroll-tkts .table.table-tkts thead th {
  padding: 6px 6px;
  width: 36px;
  min-width: 32px;
  font-size: var(--text-sm);
  line-height: 1.2;
  vertical-align: middle;
}

.page-thong-ke-tan-suat-cap-loto .table-scroll-tkts .table.table-tkts thead th:first-child {
  min-width: 52px;
  width: auto;
  max-width: 72px;
  padding: 6px 8px;
}

.page-thong-ke-tan-suat-cap-loto .table-scroll-tkts .table.table-tkts tbody th {
  padding: 5px 10px;
  min-width: 52px;
  max-width: 72px;
  width: auto;
  height: 32px;
  min-height: 30px;
  font-size: var(--text-sm);
  line-height: 1.2;
  vertical-align: middle;
  white-space: nowrap;
}

.page-thong-ke-tan-suat-cap-loto .tansuat-verti .table.table-tkts td {
  min-width: 38px;
  padding: 4px 6px;
}

/*
* Tab “Chỉ chọn cặp kép” (class tkts-chon-kep do JS gắn trên #tbTanSuat1):
* bảng dọc còn ít cột — min-width:100% trên .tansuat-verti .table-tkts làm cột “Cặp số”/ngày giãn hết phần trống.
* Chỉ áp dụng khi có tbody tr.tansuat-verti (không ảnh hưởng bảng chiều ngang).
*/
.page-thong-ke-tan-suat-cap-loto #tbTanSuat1.tkts-chon-kep .tansuat-verti .table.table-tkts {
  min-width: 0;
  width: -moz-max-content;
  width: max-content;
}

.page-thong-ke-tan-suat-cap-loto
  #tbTanSuat1.tkts-chon-kep
  .table-scroll-tkts
  .table.table-tkts:has(tbody tr.tansuat-verti)
  thead
  th:first-child,
.page-thong-ke-tan-suat-cap-loto
  #tbTanSuat1.tkts-chon-kep
  .table-scroll-tkts
  .table.table-tkts:has(tbody tr.tansuat-verti)
  tbody
  th {
  width: 88px;
  min-width: 88px;
  max-width: 88px;
  box-sizing: border-box;
}

/* Cap loto — bảng “Các cặp lô về nhiều/ít nhất” (đối chiếu styleall: table td/th padding 3px; thead th #f0f8ff 15px/500; .bkg-red; .trbg-hover) */
.page-thong-ke-tan-suat-cap-loto .block.m-calc > .table.trbg-hover {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 0 0 var(--sp-16) 0;
  border: solid 1px var(--border-color);
  background: var(--white-color);
  table-layout: fixed;
  font-size: var(--text-md);
}

.page-thong-ke-tan-suat-cap-loto .block.m-calc > .table.trbg-hover th,
.page-thong-ke-tan-suat-cap-loto .block.m-calc > .table.trbg-hover td {
  padding: 3px;
  border: solid 1px var(--border-color);
  vertical-align: middle;
  line-height: 1.4;
  width: 25%;
  box-sizing: border-box;
}

.page-thong-ke-tan-suat-cap-loto .block.m-calc > .table.trbg-hover thead th {
  background: var(--alice-color);
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--black-color);
}

.page-thong-ke-tan-suat-cap-loto .block.m-calc > .table.trbg-hover thead th.bkg-red {
  background: var(--tk-cap-summary-bar-bg);
  color: var(--white-color);
  font-weight: 700;
  font-size: var(--text-md);
  padding: var(--sp-10) var(--sp-5);
  width: auto;
}

.page-thong-ke-tan-suat-cap-loto .block.m-calc > .table.trbg-hover tbody td {
  background: var(--white-color);
  font-size: var(--text-md);
  color: var(--black-color);
}

.page-thong-ke-tan-suat-cap-loto .block.m-calc > .table.trbg-hover tbody td strong {
  font-weight: 700;
}

.page-thong-ke-tan-suat-cap-loto .block.m-calc > .table.trbg-hover .color_red {
  color: var(--accent-color);
}

.page-thong-ke-tan-suat-loto thead tr,
.page-thong-ke-tan-suat-cap-loto thead tr {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--tkts-header-bg);
}

.page-thong-ke-tan-suat-loto tr.tansuatrow td:last-child,
.page-thong-ke-tan-suat-cap-loto tr.tansuatrow td:last-child {
  position: sticky;
  right: 0;
  z-index: 2;
  background: var(--tkts-header-bg);
}

.table-scroll-tkts.tkts-collapsed {
  max-height: 500px;
  overflow-y: hidden;
}

.btn-toggle-tkts {
  display: block;
  width: 100%;
  padding: 10px;
  text-align: center;
  background: #f1f1f1;
  border: 1px solid #ddd;
  border-top: none;
  cursor: pointer;
  font-weight: bold;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.btn-toggle-tkts:hover {
  background: #e1e1e1;
}

.section-tk-dacbiet .table-scroll-wrap th,
.section-tk-dacbiet .table-scroll-wrap td,
.section-tk-dacbiet .table-scrol-x th,
.section-tk-dacbiet .table-scrol-x td {
  padding: 6px 4px;
  white-space: nowrap;
}

@media only screen and (max-width: 768px) {
  .section-tk-dacbiet .ul-tabs-link {
    scrollbar-width: thin;
  }

  .section-tk-dacbiet .ul-tabs-link li a {
    padding: 10px 12px;
    font-size: var(--text-sm);
  }

  .section-tk-dacbiet .content-pad-12 {
    padding: 10px 8px;
    box-sizing: border-box;
  }

  .section-tk-dacbiet .title-block {
    font-size: var(--text-base);
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }

  .section-tk-dacbiet .fontDB {
    font-size: var(--text-sm);
  }
}

/* Trang Thống kê giải đặc biệt — theo layout mẫu (ul-tab, form 3 cột, title-table, cột cuối tuần) */
.section-tk-dacbiet > .section-header {
  background: var(--highlight-2-color);
  padding: 12px 14px;
  box-sizing: border-box;
  border: solid 1px var(--border-color);
  border-bottom: solid 1px var(--border-color);
}

.section-tk-dacbiet > .section-header h1 {
  margin: 0;
  font-size: var(--text-2xl);
  font-weight: 700;
}

.section-tk-dacbiet .form > .form-group:first-of-type {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  width: 100%;
  float: left;
  box-sizing: border-box;
}

.section-tk-dacbiet .form > .form-group:first-of-type .column3 {
  flex: 1 1 calc(33.333% - 8px);
  min-width: 160px;
  width: auto;
  float: none;
  box-sizing: border-box;
}

.section-tk-dacbiet .form .label-text {
  display: block;
  margin-bottom: 6px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-3-color);
}

.section-tk-dacbiet .form select,
.section-tk-dacbiet .form .ic_ca {
  width: 100%;
  box-sizing: border-box;
  border: solid 1px var(--border-input-color);
  border-radius: 2px;
  padding: 8px 10px;
  font-size: var(--text-base);
  background-color: var(--white-color);
}

.section-tk-dacbiet .form-group.text-right {
  width: 100%;
  float: left;
  text-align: right;
  margin-top: 8px;
  clear: both;
}

.section-tk-dacbiet .form .btn.btn-danger {
  min-width: 140px;
  font-weight: 600;
}

.section-tk-dacbiet .m-calc {
  margin-top: 16px;
  margin-bottom: 12px;
  float: left;
  width: 100%;
  clear: both;
  box-sizing: border-box;
}

.section-tk-dacbiet .ul-tabs-link {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
  border: solid 1px var(--border-light-color);
  background: var(--alice-color);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.section-tk-dacbiet .ul-tabs-link li {
  display: block;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border-left: solid 1px var(--border-light-color);
  vertical-align: middle;
}

.section-tk-dacbiet .ul-tabs-link li:first-child {
  border-left: 0;
}

.section-tk-dacbiet .ul-tabs-link li a {
  display: block;
  padding: 10px 8px;
  font-size: var(--text-sm);
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  color: var(--link-color);
}

.section-tk-dacbiet .ul-tabs-link li a.active {
  color: var(--white-color);
  background: var(--keno-color);
}

.section-tk-dacbiet #title {
  float: left;
  width: 100%;
  margin-bottom: 12px;
  box-sizing: border-box;
  padding: 12px 14px;
  text-align: center;
  background: var(--highlight-2-color);
  border: solid 1px var(--border-color);
}

.section-tk-dacbiet #title .title-block {
  font-size: var(--text-lg);
  line-height: 1.45;
  margin: 0;
  font-weight: 700;
}

.section-tk-dacbiet #title .title-block a.active {
  color: var(--accent-color);
  text-decoration: none;
}

.section-tk-dacbiet #title + .block .form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
  width: 100%;
  float: left;
  clear: both;
  box-sizing: border-box;
}

.section-tk-dacbiet .title-table {
  width: 100%;
  float: left;
  box-sizing: border-box;
  background: var(--gray-5-color);
  color: var(--white-color);
  font-weight: 700;
  text-align: center;
  padding: 10px 8px;
  font-size: var(--text-md);
  border: solid 1px var(--border-color);
  border-bottom: 0;
}

.section-tk-dacbiet .table-scrol-x {
  float: left;
  width: 100%;
  border: solid 1px var(--border-color);
  border-top: 0;
  margin-bottom: 16px;
  clear: both;
  background: var(--white-color);
}

.section-tk-dacbiet .table-scrol-x table {
  width: -moz-max-content;
  width: max-content;
  min-width: 100%;
  max-width: none;
  border-collapse: collapse;
}

.section-tk-dacbiet .table-scrol-x th,
.section-tk-dacbiet .table-scrol-x td {
  white-space: normal;
  vertical-align: middle;
  text-align: center;
  border: solid 1px var(--border-light-color);
  padding: 8px 6px;
}

.section-tk-dacbiet .table-scrol-x tbody td:empty::before {
  content: '...';
  color: var(--faint-color);
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: var(--text-sm);
}

.section-tk-dacbiet .table-scrol-x thead th {
  background: var(--alice-color);
  color: var(--gray-2-color);
  font-weight: 600;
  font-size: var(--text-sm);
}

.section-tk-dacbiet .table-scrol-x thead th:nth-child(6),
.section-tk-dacbiet .table-scrol-x thead th:nth-child(7) {
  background: var(--tk-weekend-bg);
}

.section-tk-dacbiet td.bge1f0db {
  background: var(--tk-weekend-bg);
}

.section-tk-dacbiet .number-DB {
  margin: 0 0 4px;
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.15;
  color: var(--gray-2-color);
}

.section-tk-dacbiet .number-DB .showFull {
  color: var(--gray-2-color);
}

.section-tk-dacbiet .text-date {
  margin: 0;
  font-size: var(--text-xs);
  color: var(--gray-color);
}

.section-tk-dacbiet .tk-db-placeholder {
  display: inline-block;
  color: var(--faint-color);
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: var(--text-sm);
}

.section-tk-dacbiet h3.title-block-2 {
  margin: 0;
  padding: 10px 12px;
  font-size: var(--text-base);
  font-weight: 700;
  background: var(--alice-color);
  color: var(--gray-2-color);
  border: solid 1px var(--border-color);
  border-bottom: 0;
}

.section-tk-dacbiet .title-sta {
  padding: 8px 0;
  font-size: var(--text-base);
  font-weight: 600;
  border-bottom: solid 1px var(--border-color);
}

.section-tk-dacbiet .ul-statistic {
  list-style: none;
  margin: 0;
  padding: 8px 0 0;
}

.section-tk-dacbiet .ul-statistic li {
  margin-bottom: 8px;
}

.section-tk-dacbiet .td-w20 {
  width: 20%;
}

.section-tk-dacbiet .td-w30 {
  width: 30%;
}

@media only screen and (max-width: 960px) {
  .section-tk-dacbiet .form > .form-group:first-of-type .column3 {
    flex: 1 1 100%;
    min-width: 0;
  }

  .section-tk-dacbiet .number-DB {
    font-size: var(--text-xl);
  }
}

/* ---- styleall + layout mẫu (sổ đầu đuôi MB/MN/MT): port vào globals, không CDN ---- */

/* Sidebar aside-300: widget “Kết quả theo ngày” — lịch 7 cột (fc-calendar) */
.fc-calendar-container {
  float: left;
  width: 100%;
  overflow: hidden;
  background: var(--white-color);
  box-sizing: border-box;
}

.fc-calendar {
  float: left;
  width: 100%;
  box-sizing: border-box;
}

.form-select {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  float: left;
  padding: 8px 6px;
  box-sizing: border-box;
  background: var(--white-color);
  border-bottom: solid 1px var(--border-input-color);
}

.form-select-sr-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-select .btn-list1,
.form-select .btn-list2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: var(--sp-32);
  cursor: pointer;
  box-sizing: border-box;
}

.form-select .img-c {
  display: block;
  width: 22px;
  height: 22px;
  color: var(--gray-4-color);
}

.form-select .select-item {
  flex: 1 1 52px;
  min-width: 48px;
  max-width: 96px;
  height: var(--sp-32);
  margin: 0;
  font-size: 13px;
  box-sizing: border-box;
}

.form-select .btn-select {
  flex: 1 1 64px;
  min-width: 56px;
  max-width: 110px;
  padding: 0 6px;
  height: var(--sp-32);
  line-height: 30px;
  text-align: center;
  font-size: 12px;
  border: solid 1px var(--border-light-color);
  background: var(--panel-gray-color);
  border-radius: var(--radius);
  cursor: pointer;
  box-sizing: border-box;
  white-space: nowrap;
}

.widget-title.widget_bg h3 {
  color: var(--white-color);
}

.caleandar-weks,
.caleandar-days {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  box-sizing: border-box;
}

.caleandar-weks {
  background: var(--alice-color);
  border: solid 1px var(--border-color);
  border-bottom: 0;
}

.caleandar-weks li {
  margin: 0;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  padding: 7px 2px;
  color: var(--gray-2-color);
  border-right: solid 1px var(--border-color);
  box-sizing: border-box;
}

.caleandar-weks li:last-child {
  border-right: 0;
}

.caleandar-weks li.red {
  color: var(--primary-color);
}

.caleandar-days {
  border: solid 1px var(--border-color);
  border-top: 0;
  background: var(--white-color);
}

.caleandar-days li {
  position: relative;
  margin: 0;
  min-height: 54px;
  border-right: solid 1px var(--divider-color);
  border-bottom: solid 1px var(--divider-color);
  padding: 4px 4px 20px;
  font-size: 12px;
  box-sizing: border-box;
}

.caleandar-days li:hover {
  background-color: var(--highlight-2-color);
}

.caleandar-days li:not(.disabled-ca) {
  cursor: pointer;
  padding: 4px 4px 20px;
  min-height: 54px;
  box-sizing: border-box;
}

.caleandar-days .ca-day-link {
  display: block;
  min-height: 54px;
  padding: 4px 4px 20px;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.caleandar-days .ca-day-link:hover .fc-date,
.caleandar-days .ca-day-link:hover .ca-am,
.caleandar-days li:not(.disabled-ca):hover .fc-date,
.caleandar-days li:not(.disabled-ca):hover .ca-am {
  color: var(--primary-color);
}

.caleandar-days .ca-pm-primary {
  color: var(--primary-color);
}

.caleandar-days li:nth-child(7n) {
  border-right: 0;
}

.caleandar-days li:nth-child(7n) .fc-date {
  color: var(--primary-color);
}

.caleandar-days li.disabled-ca {
  min-height: 54px;
  background: var(--panel-color);
  padding: 0;
}

.caleandar-days li.active {
  background-color: var(--gold-color);
  box-shadow: inset 0 0 0 2px var(--accent-color);
}

.caleandar-days li.fc-today {
  background-color: var(--highlight-color);
}

.caleandar-days .ca-pm {
  display: block;
  position: relative;
  padding-right: 12px;
  font-weight: 600;
  line-height: 1.25;
}

.caleandar-days .fc-date {
  font-size: 14px;
}

.caleandar-days .ca-am {
  position: absolute;
  right: 4px;
  bottom: 3px;
  font-size: 10px;
  color: var(--gray-color);
  line-height: 1.1;
  max-width: calc(100% - 8px);
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.caleandar-days .icon-hoangdao,
.caleandar-days .icon-hacdao {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
  text-indent: -9px;
}

.caleandar-days .icon-hoangdao {
  background: var(--primary-color);
}

.caleandar-days .icon-hacdao {
  background: var(--faint-color);
}

#ajaxContentContainer {
  float: left;
  width: 100%;
  margin-bottom: 12px;
  position: relative;
  background: var(--white-color);
}

.menu-item2 {
  display: table;
  width: 100%;
  float: left;
  font-family: sans-serif;
}

.menu-item2 a {
  display: table-cell;
  width: 50%;
  float: left;
  padding: 5px 0;
  text-align: center;
  font-size: 14px;
  border-left: solid 1px var(--border-color);
  border-bottom: solid 1px var(--border-color);
  background: var(--alice-color);
  color: var(--gray-2-color);
  font-family: sans-serif;
}

.menu-item2 a:hover {
  color: var(--white-color);
  background: var(--accent-color);
  border-left: solid 1px var(--accent-color);
  border-bottom: solid 1px var(--accent-color);
}

.menu-item2 a.active {
  color: var(--white-color);
  background: var(--accent-color);
  border-left: solid 1px var(--accent-color);
  border-bottom: solid 1px var(--accent-color);
}

.menu-item3 {
  display: table;
  width: 100%;
  float: left;
  font-family: sans-serif;
}

.menu-item3 a {
  display: table-cell;
  width: 33.33%;
  float: left;
  padding: 5px 0;
  text-align: center;
  font-size: 14px;
  border-left: solid 1px var(--border-color);
  border-bottom: solid 1px var(--border-color);
  background: var(--alice-color);
  color: var(--gray-2-color);
  font-family: sans-serif;
}

.menu-item3 a:hover {
  color: var(--white-color);
  background: var(--accent-color);
  border-left: solid 1px var(--accent-color);
  border-bottom: solid 1px var(--accent-color);
}

.menu-item3 a.active {
  color: var(--white-color);
  background: var(--accent-color);
  border-left: solid 1px var(--accent-color);
  border-bottom: solid 1px var(--accent-color);
}

.menu-item4 {
  display: table;
  width: 100%;
  float: left;
  font-family: sans-serif;
}

.menu-item4 a {
  display: table-cell;
  width: 25%;
  float: left;
  padding: 5px 0;
  text-align: center;
  font-size: 14px;
  border: solid 1px var(--border-color);
  border-left: 0;
  border-bottom: 0;
  color: var(--gray-2-color);
  font-family: sans-serif;
}

.menu-item4 a:nth-child(4n + 4) {
  border-right: 0;
}

.menu-item4 a:hover {
  color: var(--white-color);
  background: var(--accent-color);
  border: solid 1px var(--accent-color);
  border-left: 0;
  border-bottom: 0;
}

.menu-item4 a.active {
  color: var(--white-color);
  background: var(--accent-color);
  border: solid 1px var(--accent-color);
  border-left: 0;
  border-bottom: 0;
}

.menu-item5 {
  display: table;
  width: 100%;
  float: left;
}

.menu-item5 a {
  display: table-cell;
  width: 20%;
  float: left;
  padding: 10px 0;
  text-align: center;
  font-size: 14px;
  border: solid 1px var(--border-color);
  border-left: 0;
  border-bottom: 0;
  color: var(--gray-2-color);
}

.menu-item5 a:nth-child(5n + 5) {
  border-right: 0;
}

.menu-item5 a:hover {
  color: var(--white-color);
  background: var(--accent-color);
  border: solid 1px var(--accent-color);
  border-left: 0;
  border-bottom: 0;
}

.menu-item5 a.active {
  color: var(--white-color);
  background: var(--accent-color);
  border: solid 1px var(--accent-color);
  border-left: 0;
  border-bottom: 0;
}

@media (max-width: 400px) {
  .menu-item5 a {
    font-size: 12px;
  }
}

.list-statistic {
  padding: 8px 16px;
  float: left;
  width: 100%;
  position: relative;
}

.list-statistic h3 {
  margin-bottom: 8px;
}

.list-statistic p {
  padding: 5px 0;
}

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

.list-statistic table td,
.list-statistic table th {
  padding: 3px;
  border: solid 1px var(--border-color);
}

.list-statistic table thead th {
  background: var(--alice-color);
  font-size: 15px;
  font-weight: 500;
}

.pr7 {
  font-size: 16px;
  font-weight: bold;
}

.prdb {
  font-size: 18px;
  font-weight: bold;
}

.bgtr {
  background: var(--alice-color);
}

.nav_header .menu_a.active {
  background: var(--accent-color);
  color: var(--white-color);
}

.nav_header .menu_down a.active {
  background: var(--alice-color);
}

/* styleall — ô đài trong .table-result.result-xs (sổ đầu đuôi MN/MT) */

.table-result.result-xs {
  font-size: var(--text-sm);
  text-align: center;
}

.item_xs1 {
  float: left;
  width: 100%;
  box-sizing: border-box;
  padding: 5px;
}

.item_xs2 {
  float: left;
  width: 50%;
  border-left: solid 1px var(--border-color);
  box-sizing: border-box;
  padding: 5px;
}

.item_xs2:first-child {
  border-left: 0;
}

.item_xs3 {
  float: left;
  width: 33.33%;
  border-left: solid 1px var(--border-color);
  box-sizing: border-box;
  padding: 5px;
}

.item_xs3:first-child {
  border-left: 0;
}

.item_xs4 {
  float: left;
  width: 25%;
  border-left: solid 1px var(--border-color);
  box-sizing: border-box;
  padding: 5px;
}

.item_xs4:first-child {
  border-left: 0;
}

.xs_font {
  font-size: 18px;
  font-weight: bold;
}

/* Sổ đầu đuôi MN/MT (.result-xs) — cột Thứ + ngày rộng quá trên mobile → thu hẹp, nhường chỗ cho cột đài */
@media only screen and (max-width: 960px) {
  .table-result.result-xs {
    table-layout: fixed;
    width: 100%;
  }

  .table-result.result-xs tbody tr > td:first-child {
    width: 23%;
    max-width: 88px;
    min-width: 0;
    padding: 4px 3px;
    box-sizing: border-box;
    vertical-align: middle;
    font-size: var(--text-xs);
    line-height: 1.2;
  }

  .table-result.result-xs tbody tr > td:first-child p {
    margin: 0;
  }

  .table-result.result-xs tbody tr > td:first-child p + p {
    margin-top: 2px;
  }

  .table-result.result-xs tbody tr > td:first-child a,
  .table-result.result-xs tbody tr > td:first-child strong {
    font-size: inherit;
  }

  .table-result.result-xs tbody tr > td:last-child {
    width: 77%;
    min-width: 0;
  }
}

.block-text {
  float: left;
  width: 100%;
  border-top: dashed 0.5px #dddfe2;
  padding: 12px 16px;
}

.category-parent {
  width: 100%;
  display: table;
  float: left;
  margin-top: 10px;
  margin-right: 5px;
  text-transform: uppercase;
}

.statistic-link {
  padding: 10px;
  width: 100%;
  font-size: 14px;
  float: left;
  text-align: center;
  background: var(--highlight-color);
}

/* So noi bat trong bang thong ke lo (thay cho inline style color:#00f) */
.stat-number-highlight {
  color: var(--highlight-blue-color);
}

/* ===== Thong ke lo: Lo xien (XSMB/XSMN/XSMT) ===== */
.page-thong-ke-lo-xien .form-group:has(.btn-danger) {
  margin-bottom: var(--sp-10);
  clear: both;
}

.page-thong-ke-lo-xien form.list-statistic > .form-group:has(.column3) {
  display: block;
}

.page-thong-ke-lo-xien .form-group:has(.column3)::after {
  content: '';
  display: table;
  clear: both;
}

.page-thong-ke-lo-xien .form-group .column3 {
  float: left;
  width: 31.3%;
  margin-right: 3%;
  position: relative;
  box-sizing: border-box;
}

.page-thong-ke-lo-xien .form-group .column3:nth-child(3n + 3) {
  margin-right: 0;
}

@media (max-width: 600px) {
  .page-thong-ke-lo-xien .form-group .column3 {
    width: 100%;
    margin-right: 0;
    margin-bottom: var(--sp-8);
  }

  .page-thong-ke-lo-xien .form-group .column3:nth-child(3n + 3) {
    margin-right: 0;
  }

  .page-thong-ke-lo-xien .form-group .column3:last-child {
    margin-bottom: 0;
  }
}

.page-thong-ke-lo-xien .list-statistic .label-text {
  margin-top: 8px;
  float: left;
  width: 100%;
  font-size: var(--text-base);
  font-weight: 500;
}

.page-thong-ke-lo-xien #ajaxContentContainer {
  float: left;
  width: 100%;
  margin-bottom: 12px;
  position: relative;
  background: var(--white-color);
}

.page-thong-ke-lo-xien #ajaxContentContainer .list-statistic {
  float: left;
  width: 100%;
  position: relative;
  padding: 8px 16px;
  font-size: 15px;
}

.page-thong-ke-lo-xien #ajaxContentContainer .table .th-loxien {
  width: 36%;
}

.page-thong-ke-lo-xien .colorred {
  color: var(--accent-color);
}

.page-thong-ke-lo-xien .content-left > .section {
  background: var(--white-color);
}

.page-thong-ke-lo-xien .section-content {
  padding: var(--sp-8) 0;
}

.page-thong-ke-lo-xien .title-item {
  float: left;
  width: 100%;
  font-size: var(--text-md);
  font-weight: 700;
  padding: 0 var(--sp-16);
  margin: var(--sp-16) 0 var(--sp-8);
  clear: both;
}

.page-thong-ke-lo-xien .link-statistic {
  float: left;
  width: 100%;
  padding: 12px 16px;
  clear: both;
}

.page-thong-ke-lo-xien .link-statistic li {
  float: left;
  width: 100%;
  padding: 5px 0 5px 16px;
  position: relative;
}

.page-thong-ke-lo-xien .link-statistic li::before {
  border-top: 4px dashed;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  color: var(--gray-4-color);
  transform: rotate(-90deg);
}

.page-thong-ke-lo-xien .statistic-link2 {
  float: left;
  width: 100%;
  padding: var(--sp-16) var(--sp-16) 0 var(--sp-16);
  clear: both;
  box-sizing: border-box;
}

.page-thong-ke-lo-xien .statistic-link2:last-child {
  padding-bottom: var(--sp-16);
}

.page-thong-ke-lo-xien .statistic-link2 h3 {
  float: left;
  width: 100%;
  font-size: var(--text-lg);
  padding-bottom: var(--sp-5);
}

.page-thong-ke-lo-xien .statistic-link2 .textbold {
  float: left;
  width: 100%;
  font-size: var(--text-lg);
  font-weight: 700;
  padding-bottom: var(--sp-5);
  margin: 0;
}

.page-thong-ke-lo-xien .statistic-link2 a {
  float: left;
  width: 100%;
  padding: var(--sp-5) 0 var(--sp-5) var(--sp-16);
  position: relative;
  box-sizing: border-box;
}

.page-thong-ke-lo-xien .statistic-link2 a::before {
  border-top: 4px dashed;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  color: var(--gray-4-color);
  transform: rotate(-90deg);
}

/* ===== Thong ke lo: Lo kep (XSMB/XSMN/XSMT) ===== */
.page-thong-ke-lo-kep
  .section-content
  > .list-statistic:first-of-type
  .form-group:has(.btn-danger) {
  margin-bottom: var(--sp-10);
  clear: both;
}

.page-thong-ke-lo-kep .section-content > .list-statistic:first-of-type > .form-group:has(.column3) {
  display: block;
}

.page-thong-ke-lo-kep
  .section-content
  > .list-statistic:first-of-type
  > .form-group:has(.column3)::after {
  content: '';
  display: table;
  clear: both;
}

.page-thong-ke-lo-kep .section-content > .list-statistic:first-of-type .form-group .column3 {
  float: left;
  width: 31.3%;
  margin-right: 3%;
  position: relative;
  box-sizing: border-box;
}

.page-thong-ke-lo-kep
  .section-content
  > .list-statistic:first-of-type
  .form-group
  .column3:nth-child(3n + 3) {
  margin-right: 0;
}

@media (max-width: 600px) {
  .page-thong-ke-lo-kep .section-content > .list-statistic:first-of-type .form-group .column3 {
    width: 100%;
    margin-right: 0;
    margin-bottom: var(--sp-8);
  }

  .page-thong-ke-lo-kep
    .section-content
    > .list-statistic:first-of-type
    .form-group
    .column3:nth-child(3n + 3) {
    margin-right: 0;
  }

  .page-thong-ke-lo-kep
    .section-content
    > .list-statistic:first-of-type
    .form-group
    .column3:last-child {
    margin-bottom: 0;
  }
}

.page-thong-ke-lo-kep .list-statistic .label-text {
  padding-bottom: var(--sp-5);
  float: left;
  width: 100%;
  font-size: var(--text-base);
  font-weight: 500;
}

.page-thong-ke-lo-kep #ajaxContentContainer {
  float: left;
  width: 100%;
  margin-bottom: 12px;
  position: relative;
  background: var(--white-color);
}

.page-thong-ke-lo-kep #ajaxContentContainer .list-statistic {
  float: left;
  width: 100%;
  position: relative;
  padding: 8px 16px;
  font-size: 15px;
}

.page-thong-ke-lo-kep #ajaxContentContainer .table .th-loxien {
  width: 36%;
}

.page-thong-ke-lo-kep .colorred {
  color: var(--accent-color);
}

.page-thong-ke-lo-kep .content-left > .section {
  background: var(--white-color);
}

.page-thong-ke-lo-kep .section-content {
  padding: var(--sp-8) 0;
}

.page-thong-ke-lo-kep .title-item {
  float: left;
  width: 100%;
  font-size: var(--text-md);
  font-weight: 700;
  padding: 0 var(--sp-16);
  margin: var(--sp-16) 0 var(--sp-8);
  clear: both;
}

.page-thong-ke-lo-kep .link-statistic {
  float: left;
  width: 100%;
  padding: 12px 16px;
  clear: both;
}

.page-thong-ke-lo-kep .link-statistic li {
  float: left;
  width: 100%;
  padding: 5px 0 5px 16px;
  position: relative;
}

.page-thong-ke-lo-kep .link-statistic li::before {
  border-top: 4px dashed;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  color: var(--gray-4-color);
  transform: rotate(-90deg);
}

/* CSS Spinner for live results */
.xsloader-css {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(237, 28, 37, 0.3);
  border-top: 3px solid var(--accent-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

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

.live-rolling-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  vertical-align: middle;
}

.live-rolling-digit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 22px;
  border-radius: 999px;
  background: radial-gradient(
    circle at 35% 30%,
    #fff 0 18%,
    #ff4b4b 19%,
    #d71920 70%,
    #990b10 100%
  );
  color: var(--white-color);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1;
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.45),
    0 1px 3px rgba(0, 0, 0, 0.25);
  animation: liveDigitPulse 0.72s ease-in-out infinite;
}

.special-prize .live-rolling-digit,
.prize_db .live-rolling-digit {
  min-width: 20px;
  height: 24px;
  font-size: var(--text-md);
}

@keyframes liveDigitPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
    filter: brightness(1);
  }

  50% {
    transform: translateY(-1px) scale(1.08);
    filter: brightness(1.15);
  }
}

/* Header + footer — KHÔNG qua Tailwind purge (clone y hệt Next). */
header div:last-child {
    margin-bottom: 0
  }
.header {
    position: sticky;
    top: 0;
    z-index: 10000;
    width: 100%;
    background: var(--white-color);
    box-shadow: 0 1px 0 color-mix(in srgb, var(--border-color) 80%, transparent),
      0 4px 14px color-mix(in srgb, var(--black-color) 5%, transparent);
  }
.header-topbar {
    padding: 6px 0;
    background: var(--white-color);
    float: left;
    width: 100%;
    position: relative;
    z-index: 120
  }
.header-topbar-marquee-wrap {
    display: none
  }
.header-topbar-marquee {
    margin: 0;
    width: 100%;
    overflow: hidden;
    font-size: var(--text-lg);
    font-weight: 600;
    line-height: 1.26;
    letter-spacing: 0.01em;
    color: var(--black-color)
  }
.header-topbar-marquee__track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    gap: 0;
    animation: header-topbar-marquee-scroll var(--marquee-duration, 120s) linear infinite
  }
@keyframes header-topbar-marquee-scroll {
    0% {
      transform: translateX(0)
    }

    100% {
      transform: translateX(-50%)
    }
  }
.header-pc {
    float: left;
    width: 100%
  }
.header-content {
    float: left;
    width: 100%;
    padding: 5px 0;
    background: var(--white-color)
  }
.header-logo {
    vertical-align: middle;
    display: inline-block
  }
.header-logo img {
    height: 48px;
    display: inline-block;
    vertical-align: middle
  }
.header-time {
    color: var(--muted-color);
    font-size: var(--text-base);
    display: inline-block;
    margin-left: var(--sp-16);
    border-left: solid 1px var(--divider-color);
    padding-left: var(--sp-16)
  }
.header-right {
    float: right;
    position: relative
  }
.header-right:hover {
    color: var(--accent-color);
  }
.header-right .w-user {
    height: var(--sp-16);
  }
.icon-menu {
    display: block;
    width: var(--text-24);
    height: var(--text-24);
    color: var(--gray-3-color);
    flex-shrink: 0
  }
.btn-calendar {
    display: none;
    position: absolute;
    right: var(--sp-16);
    top: 10px;
    width: 36px;
    height: 36px;
    text-align: center
  }
.icon-calendar {
    position: relative;
    top: 8px
  }
.header-item {
    display: inline-block;
    vertical-align: middle
  }
.btn-login-head {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: relative;
    top: 14px;
    font-size: var(--text-base);
    cursor: pointer;
    color: var(--gray-3-color);
    transition: color 0.15s ease
  }
.btn-login-head:hover,
  .btn-login-head:focus-visible {
    color: var(--accent-color)
  }
.btn-login-head svg,
  .btn-login-head__icon {
    display: block;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: inherit
  }
.btn-login-head svg path {
    fill: currentColor
  }
/* Cùng chiều cao với icon 16px — line-height = chiều cao hàng để chữ căn giữa theo trục dọc */
.btn-login-head__label {
    white-space: nowrap;
    font-size: inherit;
    line-height: 15px;
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0
  }
.header-account-dropdown {
    display: inline-block;
    position: relative;
    outline: none
  }
.header-account-trigger {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    cursor: pointer;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    text-align: left;
    -webkit-tap-highlight-color: transparent
  }
.header-account-image {
    vertical-align: middle;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 100%;
    margin-right: 6px;
    background: var(--google-color);
    display: grid;
    place-items: center;
    font-weight: bold;
    font-size: var(--text-lg);
    color: var(--white-color);
  }
.header-account-text {
    flex: 0 1 auto;
    min-width: 0;
    align-self: center;
    max-width: 30ch;
    padding-right: 14px;
    position: relative;
    font-size: var(--text-base);
    font-weight: bold;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    overflow: hidden;
    overflow-wrap: break-word;
    word-break: break-word
  }
.header-account-text::after {
    border-color: var(--gray-color) transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    height: 0;
    right: 0;
    position: absolute;
    content: "";
    top: 50%;
    margin-top: -2px;
    width: 0
  }
.header-account-trigger:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--link-color) 55%, transparent);
    outline-offset: 2px;
    border-radius: 8px
  }
.header-account-image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    border-radius: 50%;
    display: block
  }
.header-account-content {
    position: absolute;
    right: 0;
    top: 100%;
    min-width: min(300px, calc(100vw - 32px));
    max-width: 320px;
    background: var(--white-color);
    border: 1px solid color-mix(in srgb, var(--border-color) 75%, transparent);
    border-radius: 10px;
    box-shadow: 0 10px 36px color-mix(in srgb, var(--black-color) 14%, transparent),
      0 2px 10px color-mix(in srgb, var(--black-color) 6%, transparent);
    overflow: hidden;
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s
  }
@media only screen and (min-width: 961px) {
    .header-account-dropdown:hover .header-account-content {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      pointer-events: auto
    }
  }
@media only screen and (max-width: 960px) {
    .header-account-dropdown.is-open .header-account-content {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      pointer-events: auto
    }
  }
.box-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 14px 12px;
    background: #fff5e6;
    border-bottom: 1px solid color-mix(in srgb, var(--border-color) 60%, transparent)
  }
.thumb-profile {
    flex-shrink: 0
  }
.box-profile .header-account-thumb {
    display: block;
    margin: 0
  }
.box-profile .header-account-image {
    width: 48px;
    height: 48px;
    margin-right: 0
  }
.tex-profile {
    min-width: 0;
    flex: 1 1 auto
  }
.row-user-name {
    font-weight: 700;
    font-size: var(--text-base);
    color: var(--black-color);
    line-height: 1.25
  }
.row-user-mail {
    margin-top: 4px;
    font-size: var(--text-sm);
    color: var(--muted-color);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
  }
.nav-account {
    list-style: none;
    margin: 0;
    padding: 0
  }
.nav-account li {
    border-bottom: 1px solid color-mix(in srgb, var(--border-color) 55%, transparent)
  }
.nav-account li:last-of-type {
    border-bottom: 0
  }
.nav-account a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--sp-10);
    padding: 12px 14px;
    font-size: var(--text-base);
    color: var(--link-color);
    text-decoration: none;
    transition: background 0.12s ease
  }
.nav-account a:hover {
    background: color-mix(in srgb, var(--alice-color) 85%, var(--white-color))
  }
.nav-account a svg {
    flex-shrink: 0;
    color: var(--gray-3-color)
  }
.nav-account a:hover svg {
    color: var(--black-color)
  }
.nav-account a path[fill-rule="evenodd"] {
    fill: currentColor
  }
.div-support-text {
    padding: 12px 14px 14px;
    font-size: var(--text-sm);
    line-height: 1.45;
    color: var(--gray-3-color);
    border-top: 1px solid color-mix(in srgb, var(--border-color) 55%, transparent);
    background: var(--white-color)
  }
.div-support-text .color-blue {
    color: var(--link-color)
  }
.div-support-text .color-red {
    color: var(--danger-color)
  }
@media only screen and (max-width: 960px) {
    .header-topbar {
      padding: 8px 0
    }

    .header-content {
      background: var(--white-color);
      position: relative;
      z-index: 9
    }

    .header-time {
      display: none
    }

    .headermobi {
      padding: 0;
      height: 56px
    }

    .header-topbar__start {
      float: left;
      width: 100%;
      text-align: center
    }

    .header-topbar__start .header-logo {
      float: none;
      width: auto;
      max-width: 100%;
      display: inline-block;
      vertical-align: middle
    }

    .header-logo {
      float: left;
      width: 100%;
      text-align: center
    }

    .header-logo img {
      height: 36px
    }

    /* Có chữ Đăng nhập (tablet ~768–960): lùi khỏi mép phải; mobile chỉ icon ghi đè ở breakpoint dưới */
    .header-topbar .header-right {
      position: absolute;
      top: 0;
      right: var(--sp-16);
      bottom: 0;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      transform: none;
      overflow: visible
    }

    .btn-calendar {
      display: block
    }

    .header-time {
      display: none
    }

    .header-topbar .btn-login-head {
      top: 0;
      line-height: 1;
      align-items: center;
      box-sizing: border-box;
      margin: 0;
      padding: 0
    }

    .header-topbar .btn-pushbar-3 {
      top: 50%;
      transform: translateY(-50%)
    }

    .header-account-dropdown {
      top: 0;
      display: flex;
      align-items: center;
      justify-content: center
    }

    .header-topbar .header-account-trigger {
      justify-content: center;
      align-items: center
    }

    .header-topbar .header-account-image {
      margin-right: 0
    }

    .header-account-text {
      display: none;
    }
  }
/* Chỉ điện thoại: ẩn chữ Đăng nhập — tablet (≥768px) và vùng 768–960px vẫn hiện chữ */
@media only screen and (max-width: 767px) {
    .header-topbar .header-right {
      right: 4px
    }

    .header-topbar .btn-login-head__label {
      display: none
    }

    .header-topbar .btn-login-head {
      justify-content: center;
      min-width: 36px;
      min-height: 36px
    }

    .header-topbar .btn-login-head svg,
    .header-topbar .btn-login-head .btn-login-head__icon {
      margin-right: 0
    }
  }
@media only screen and (min-width: 961px) {
    .header-logo-img {
      width: 135px;
      height: 48px
    }

    .header-content {
      height: 58px
    }

    .header-topbar__row {
      display: flex;
      align-items: center;
      flex-wrap: nowrap;
      -moz-column-gap: 24px;
           column-gap: 24px
    }

    .header-topbar__start {
      flex: 0 0 auto;
      display: flex;
      align-items: center;
      gap: var(--sp-16)
    }

    .header-topbar__row .header-logo {
      float: none;
      width: auto
    }

    .header-topbar-marquee-wrap {
      display: flex;
      align-items: center;
      flex: 1 1 0%;
      min-width: 0;
      min-height: 48px;
      margin: 0 12px;
      overflow: hidden
    }

    .header-topbar .header-right {
      float: none;
      flex: 0 0 auto;
      margin-left: auto;
      overflow: visible
    }

    .header-topbar .header-account-dropdown {
      top: 0;
      align-self: center
    }

    .header-topbar .header-account-trigger {
      min-height: 48px;
      align-items: center
    }

    .header-topbar .btn-login-head {
      top: 0
    }
  }
.user-sidebar {
    background: var(--alice-color);
    position: relative;
    padding: 0 var(--sp-16) var(--sp-10) var(--sp-16);
    float: left;
    width: 100%
  }
.pushbar_locked {
    overflow: hidden;
    height: 100vh;
    position: fixed;
    width: 100%
  }
.pushbar {
    background: var(--white-color);
    z-index: 99999;
    position: fixed;
    will-change: transform;
    overflow-y: auto;
    transition: transform .5s ease;
    will-change: transform
  }
.pushbar_overlay {
    z-index: -999;
    position: fixed;
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 100vh;
    top: 0;
    left: 0;
    will-change: opacity;
    opacity: 0;
    will-change: opacity;
    background: var(--overlay-color)
  }
.pushbar_locked .pushbar_overlay {
    opacity: .8;
    z-index: 999;
    transition: opacity .5s ease
  }
.pushbar.from_left {
    top: 0;
    left: 0;
    width: 300px;
    max-width: 100%;
    height: 100%;
    overflow-x: hidden;
    transform: translateZ(0) translateX(-100%)
  }
.pushbar.opened {
    transform: translateX(0) translateY(0)
  }
.btn-pushbar-close {
    margin: 0;
    border: 0;
    font: inherit;
    color: inherit;
    text-align: inherit;
    -moz-appearance: none;
         appearance: none;
    -webkit-appearance: none;
    display: flex;
    align-items: center;
    min-height: 48px;
    height: 48px;
    position: relative;
    z-index: 99;
    font-size: var(--text-30);
    cursor: pointer;
    background: var(--alice-color);
    width: 100%;
    float: left;
    box-sizing: border-box;
    padding: 0 12px 0 14px
  }
.btn-pushbar-3 {
    cursor: pointer;
    position: absolute;
    left: 8px;
    top: 10px;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 100%;
    display: none;
    color: inherit
  }
.pushbar-hide {
    display: none
  }
.icon-back {
    display: block;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    color: var(--gray-color)
  }
@media (max-width: 800px) {
    .btn-pushbar-3 {
      left: 4px;
      top: 4px;
      width: 48px;
      height: 48px;
      line-height: 48px
    }

    .header-topbar .btn-login-head {
      min-width: 48px;
      min-height: 48px
    }

    .btn-calendar {
      right: 4px;
      top: 3px;
      width: 48px;
      height: 48px;
      line-height: 48px
    }
  }
@media only screen and (max-width: 960px) {
    .pushbar-hide {
      display: block
    }

    .btn-pushbar-3 {
      display: flex;
      align-items: center;
      justify-content: center
    }
  }
.ac-menu {
    width: 100%;
    float: left
  }
.ac_item {
    position: relative;
    width: 100%;
    float: left
  }
.ac_item:last-child {
    border-bottom: 0
  }
.ac_content {
    display: none;
    width: 100%;
    float: left
  }
.ac_item.ac_open .ac_content {
    display: block
  }
.ac_icon {
    cursor: pointer;
    display: block;
    position: absolute;
    right: 10px;
    background-size: 12px;
    width: 36px;
    height: 36px;
    z-index: 2;
    top: 6px
  }
.ac_icon::before {
    border-top: 4px dashed;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    content: "";
    left: 40%;
    top: 50%;
    position: absolute;
    color: var(--muted-color);
    transition: all .4s ease-out;
    -webkit-transition: all .4s ease-out
  }
.ac_open .ac_icon::before {
    transform: rotate(180deg);
    transition: all .4s ease-out;
    -webkit-transition: all .4s ease-out
  }
.ac_title_2 {
    font-size: var(--text-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    float: left;
    padding: 12px 36px 12px var(--sp-16);
    width: 100%;
    font-weight: 500;
    color: var(--gray-2-color)
  }
.ac_ul2 {
    padding-bottom: 10px;
    float: left;
    width: 100%
  }
.ac_ul2 a {
    padding: 10px 36px 10px 56px;
    float: left;
    width: 100%;
    color: var(--gray-2-color)
  }
.ic-m {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    -o-object-fit: contain;
       object-fit: contain;
    display: block
  }
.ic-m--spacer {
    visibility: hidden
  }
.ac_item.boder_top {
    border-top: solid .5px var(--border-input-color)
  }
.ac_item.ac_open .ac_title_2 {
    color: var(--accent-color)
  }
.menu_ul {
    width: 100%;
    margin: auto;
    max-width: var(--content-max)
  }
.menu_li {
    float: left;
    position: relative
  }
.menu_a {
    font-family: var(--font-heading);
    padding: 0 14px;
    float: left;
    width: 100%;
    height: 48px;
    line-height: 48px;
    font-size: var(--text-base);
    text-transform: uppercase;
    color: var(--white-color);
    font-weight: bold
  }
.menu_a:hover {
    background: var(--accent-color);
    color: var(--white-color)
  }
.menu_down li {
    width: 100%
  }
.menu_down {
    width: 180px;
    background: var(--white-color);
    position: absolute;
    opacity: 0;
    visibility: hidden;
    z-index: 99999;
    box-shadow: var(--shadow-card);
    transition: opacity .2s linear, visibility .2s linear;
    top: 48px;
    left: 0
  }
.menu_down a {
    padding: 8px 15px;
    float: left;
    width: 100%;
    position: relative;
    color: var(--gray-2-color)
  }
.menu_down a:hover {
    background: var(--alice-color)
  }
.icon-home {
    width: 17px;
    height: 16px;
    max-width: 17px;
    position: relative;
    top: 2px
  }
.menu_ul li:hover>.menu_down {
    visibility: visible;
    opacity: 1
  }
.grecaptcha-badge {
    display: none !important
  }
@media (hover: none) {
    .menu_ul li:hover>.menu_down {
      visibility: hidden
    }
  }
@media only screen and (max-width: 1140px) {
    .menu_ul {
      overflow-y: hidden;
      -webkit-overflow-scrolling: touch;
      overflow-x: auto;
      white-space: nowrap;
      display: flex;
      flex-wrap: nowrap;
      scrollbar-width: thin;
      scrollbar-color: rgba(255, 255, 255, 0.55) rgba(0, 0, 0, 0.15)
    }

    .menu_ul::-webkit-scrollbar {
      height: 10px
    }

    .menu_ul::-webkit-scrollbar-track {
      background: rgba(0, 0, 0, 0.12);
      border-radius: 5px
    }

    .menu_ul::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.45);
      border-radius: 5px
    }

    /* Không dùng position: inherit — làm mất anchor cho .menu_down (absolute), dropdown nhảy về mép trái */
    .menu_li {
      flex-shrink: 0;
      display: block;
      text-align: center;
      position: relative
    }
  }
.nav_header {
    background: var(--primary-color);
    float: left;
    width: 100%;
    position: relative;
    margin-bottom: var(--sp-16)
  }
.nav-scrol-link-ic {
    position: absolute;
    cursor: pointer;
    left: 0;
    width: 40px;
    text-align: center;
    background: var(--primary-color);
    z-index: 99;
    line-height: 48px;
    height: 48px;
    color: var(--white-color);
    display: none
  }
@media only screen and (max-width: 960px) {
    .nav_header {
      background: var(--primary-color)
    }

    .hide {
      display: none
    }
  }
.footer {
      width: 100%;
      position: relative;
      clear: both;
      background: linear-gradient(180deg, var(--white-color) 0%, var(--alice-color) 48%);
      border-top: 1px solid var(--border-color);
      padding-bottom: 8px;
   }
.footer-inner {
      padding: 20px 16px 24px;
   }
.footer-nav {
      margin-bottom: 20px;
      padding-bottom: 16px;
      border-bottom: 1px solid var(--border-color);
   }
.footer-links {
      display: flex;
      flex-wrap: wrap;
      gap: 8px 14px;
      align-items: center;
      justify-content: flex-start;
   }
.footer-link {
      font-size: var(--text-sm);
      font-weight: 500;
      color: var(--black-color);
      line-height: 1.35;
      text-decoration: none;
      padding: 4px 0;
      border-bottom: 1px solid transparent;
      transition: color 0.15s ease, border-color 0.15s ease;
   }
.footer-link:hover {
      color: var(--accent-color);
      border-bottom-color: color-mix(in srgb, var(--accent-color) 35%, transparent);
   }
.footer-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
      gap: 28px 40px;
      align-items: start;
      margin-bottom: 24px;
   }
.footer-col--brand {
      min-width: 0;
   }
.footer-logo-link {
      display: inline-block;
      margin-bottom: 12px;
      line-height: 0;
   }
.footer .header-logo-img {
      width: 135px;
      height: auto;
      max-width: 100%;
      display: block;
   }
.footer-tagline {
      font-size: var(--text-sm);
      line-height: 1.55;
      color: var(--gray-5-color);
      margin: 0;
      max-width: 280px;
   }
.footer-heading {
      margin: 0 0 12px;
      font-size: var(--text-base);
      font-weight: 700;
      letter-spacing: 0.02em;
      text-transform: uppercase;
      color: var(--black-color);
   }
.footer-contact-list {
      list-style: none;
      margin: 0 0 var(--sp-16);
      padding: 0;
   }
.footer-contact-item {
      display: grid;
      grid-template-columns: 72px 1fr;
      gap: 4px 12px;
      margin-bottom: 10px;
      font-size: var(--text-sm);
      line-height: 1.5;
      align-items: baseline;
   }
.footer-contact-item:last-of-type {
      margin-bottom: 0;
   }
.footer-contact-label {
      font-weight: 600;
      color: var(--gray-5-color);
   }
.footer-contact-value {
      color: var(--black-color);
   }
.footer-contact-link {
      color: var(--accent-color);
      text-decoration: none;
      font-weight: 500;
   }
.footer-contact-link:hover {
      text-decoration: underline;
   }
.footer-social {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: var(--sp-10);
   }
.footer-social-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: var(--input-h);
      height: var(--input-h);
      border-radius: 10px;
      background: var(--white-color);
      border: 1px solid var(--border-color);
      transition: border-color 0.15s ease, box-shadow 0.15s ease;
   }
.footer-social-link:hover {
      border-color: color-mix(in srgb, var(--accent-color) 40%, var(--border-color));
      box-shadow: 0 2px 8px color-mix(in srgb, var(--black-color) 6%, transparent);
   }
.footer-social-link img {
      display: block;
      width: var(--text-2xl);
      height: var(--text-2xl);
      -o-object-fit: contain;
         object-fit: contain;
   }
.footer-dmca {
      display: inline-block;
      line-height: 0;
      margin-top: var(--sp-16);
   }
.footer-dmca img {
      display: block;
      max-width: 120px;
      height: auto;
   }
.footer-legal {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 12px 16px;
      padding-top: 18px;
      border-top: 1px solid var(--border-color);
      font-size: var(--text-sm);
      line-height: 1.6;
      color: var(--gray-5-color);
   }
.footer-legal-line {
      margin: 0 0 8px;
   }
.footer-legal-line--copyright {
      margin-bottom: 0;
   }
.footer-legal-line:last-child {
      margin-bottom: 0;
   }
.footer-legal-line strong {
      color: var(--black-color);
   }
.footer-legal-line a {
      color: var(--accent-color);
      text-decoration: none;
   }
.footer-legal-line a:hover {
      text-decoration: underline;
   }
.footer-legal-line--links {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: flex-end;
      gap: 6px 4px;
      margin-bottom: 0;
      margin-left: auto;
   }
.footer-legal-sep {
      color: var(--border-color);
      padding: 0 4px;
   }
.footer-disclaimer {
      margin: 14px 0 0;
      padding: 12px 14px;
      font-size: var(--text-xs);
      line-height: 1.55;
      color: var(--gray-5-color);
      background: color-mix(in srgb, var(--white-color) 70%, var(--alice-color));
      border: 1px solid var(--border-color);
      border-radius: 8px;
   }
.nav-bottom a {
      margin-right: var(--sp-16);
      color: var(--black-color);
   }
.nav-bottom {
      padding-top: var(--sp-16);
      font-size: var(--text-base);
      font-weight: 500;
   }
.backtotop {
      background-color: var(--accent-color);
      color: var(--white-color);
      position: fixed;
      bottom: var(--sp-10);
      right: max(12px, env(safe-area-inset-right, 0px));
      left: auto;
      z-index: 1002;
      border-radius: 100%;
      height: 48px;
      width: 48px;
      min-width: 48px;
      min-height: 48px;
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      text-align: center;
      box-shadow: var(--shadow-nav);
      display: none;
      align-items: center;
      justify-content: center;
      animation: animatezoom .6s;
   }
.backtotop .top-arrow {
      display: block;
      flex-shrink: 0;
      width: var(--text-2xl);
      height: var(--text-2xl);
   }
@keyframes animatezoom {
      from {
         transform: scale(0);
      }

      to {
         transform: scale(1);
      }
   }
@media only screen and (max-width: 960px) {
      .footer-inner {
         padding: 16px 12px calc(72px + env(safe-area-inset-bottom, 0px));
      }

      .footer-grid {
         grid-template-columns: 1fr;
         gap: 22px;
      }

      .footer-col--contact {
         order: 2;
      }

      .footer-col--brand {
         order: 1;
      }

      .footer-tagline {
         max-width: none;
      }

      .footer-contact-item {
         grid-template-columns: 1fr;
         gap: 2px;
      }

      .footer-contact-label {
         font-size: var(--text-xs);
      }

      .footer-links {
         gap: 6px var(--sp-10);
      }

      .nav-bottom {
         padding-top: 8px;
      }

      .nav-bottom a {
         padding-top: 10px;
         display: inline-block;
      }

      .backtotop {
         bottom: max(96px, calc(84px + env(safe-area-inset-bottom, 0px)));
         right: auto;
         left: max(8px, calc(100vw - 48px - max(16px, env(safe-area-inset-right, 0px))));
         z-index: 1002;
         animation: none;
      }
   }
@media only screen and (max-width: 400px) {
      .backtotop {
         bottom: max(112px, calc(100px + env(safe-area-inset-bottom, 0px)));
      }
   }
@supports (width: 100dvw) {
      @media only screen and (max-width: 960px) {
         .backtotop {
            left: max(8px, calc(100dvw - 48px - max(16px, env(safe-area-inset-right, 0px))));
         }
      }
   }
@media only screen and (max-width: 640px) {
      .footer-links {
         gap: 6px 8px;
      }

      .footer-link {
         font-size: var(--text-xs);
      }

      .footer-legal {
         flex-direction: column;
         align-items: flex-start;
      }

      .footer-legal-line--links {
         margin-left: 0;
         justify-content: flex-start;
      }
   }

.show_backtotop {
   display: flex;
}

.page-news-list .tin-xo-so-featured {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-16);
	align-items: flex-start;
	padding: var(--sp-16);
	border-bottom: solid 0.5px var(--border-color);
	width: 100%;
	box-sizing: border-box;
}

.page-news-list .tin-xo-so-featured::after {
	content: "";
	display: table;
	clear: both;
}

.page-news-list .tin-xo-so-featured .post-thumbnail,
.page-news-list .tin-xo-so-featured .thumb120 {
	float: none;
	flex: 0 0 auto;
	margin-right: 0;
	max-width: 140px;
}

.page-news-list .tin-xo-so-featured .thumb120 img {
	aspect-ratio: 4 / 3;
	height: auto;
}

.page-news-list .tin-xo-so-featured__body {
	flex: 1 1 200px;
	min-width: 0;
}

.page-news-list .tin-xo-so-item-title {
	margin: 0 0 var(--sp-10);
	font-family: var(--font-heading);
	font-size: var(--text-xl);
	font-weight: 700;
	line-height: var(--lh-heading);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.page-news-list .tin-xo-so-item-title a {
	color: var(--black-color);
}

.page-news-list .tin-xo-so-item-title a:hover {
	color: var(--accent-color);
}

.page-news-list .tin-xo-so-excerpt {
	margin: 0;
	font-size: var(--text-md);
	color: var(--muted-color);
	line-height: var(--lh-body);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

.page-news-list .tin-xo-so-items .tin-xo-so-item-title {
	font-size: var(--text-lg);
}

.page-news-list .tin-xo-so-items .tin-xo-so-row-meta {
	margin: 6px 0 0;
	font-size: var(--text-xs);
	color: var(--faint-color);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

/* Ảnh thumb + tiêu đề trong cùng <li> (danh sách có ảnh) */
.page-news-list .tin-xo-so-items li .post-title2 {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.page-news-list .tin-xo-so-category-note {
	margin: 0;
	padding: var(--sp-10) var(--sp-16) var(--sp-5);
	font-size: var(--text-sm);
	color: var(--muted-color);
	border-bottom: solid 0.5px var(--border-color);
}

.page-news-list .tin-xo-so-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: var(--sp-16);
	width: 100%;
	box-sizing: border-box;
	border-top: solid 0.5px var(--border-color);
}

.page-news-list .tin-xo-so-pagination a,
.page-news-list .tin-xo-so-pagination span {
	display: inline-block;
	min-width: 2.25rem;
	padding: 6px 12px;
	text-align: center;
	font-size: var(--text-sm);
	border: solid 0.5px var(--divider-color);
	border-radius: 999px;
	color: var(--muted-color);
	background: var(--white-color);
}

.page-news-list .tin-xo-so-pagination a:hover {
	color: var(--accent-color);
	border-color: var(--accent-soft-color);
}

.page-news-list .tin-xo-so-pagination .is-current {
	background: var(--accent-color);
	color: var(--white-color);
	border-color: var(--accent-color);
	font-weight: 700;
}

@media only screen and (max-width: 600px) {
	.page-news-list .tin-xo-so-featured {
		flex-direction: column;
		align-items: stretch;
	}

	/* Tránh flex-basis 200px + flex-grow làm __body cao hơn nội dung (khoảng trắng dưới excerpt) */
	.page-news-list .tin-xo-so-featured__body {
		flex: 0 1 auto;
		min-height: 0;
		align-self: stretch;
	}

	.page-news-list .tin-xo-so-featured .thumb120 {
		max-width: none;
		width: 100%;
		flex: 0 0 auto;
	}

	.page-news-list .tin-xo-so-featured .thumb120 img {
		max-height: 200px;
	}
}
.page-news-single .news-article {
	margin-bottom: var(--sp-16);
}

.page-news-single .news-article-head {
	float: left;
	width: 100%;
	box-sizing: border-box;
	padding: var(--sp-16) var(--sp-16) var(--sp-10);
	background: var(--highlight-color);
	border: solid 0.5px var(--border-color);
	border-bottom: 0;
	text-align: center;
}

.page-news-single .news-article-head__title {
	margin: 0;
	font-family: var(--font-heading);
	font-size: var(--text-2xl);
	font-weight: 700;
	line-height: var(--lh-heading);
	color: var(--gray-2-color);
}

.page-news-single .news-article-head__meta {
	margin: var(--sp-10) 0 0;
	font-size: var(--text-sm);
	color: var(--muted-color);
}

.page-news-single .news-article-head__meta time {
	font-style: normal;
}

.page-news-single .news-article-head__sep {
	margin: 0 var(--sp-4);
}

.page-news-single .news-article-head__views {
	font-style: normal;
}

.page-news-single .news-article__inner {
	padding: var(--sp-16);
	background: var(--white-color);
	border: solid 0.5px var(--border-color);
	border-top: 0;
}

.page-news-single .news-article__hero {
	float: left;
	width: 100%;
	margin: 0 0 var(--sp-16);
	padding: 0;
	background: var(--panel-gray-color);
	border: solid 0.5px var(--border-color);
	border-radius: var(--radius);
	overflow: hidden;
	text-align: center;
	box-sizing: border-box;
}

.page-news-single .news-article__hero img {
	float: none;
	width: 100%;
	max-width: 100%;
	height: auto;
	display: block;
}

.page-news-single .news-article__lead {
	margin: 0 0 var(--sp-16);
	font-size: var(--text-md);
	font-weight: 500;
	color: var(--gray-3-color);
	line-height: var(--lh-body);
}

.page-news-single .news-article__toc {
	margin: 0 0 var(--sp-20);
	padding: var(--sp-16);
	background: var(--panel-gray-color);
	border: solid 0.5px var(--border-color);
	border-left: 4px solid var(--accent-color);
	border-radius: var(--radius);
}

.page-news-single .news-article__toc strong {
	display: block;
	margin-bottom: var(--sp-10);
	font-size: var(--text-lg);
	color: var(--gray-2-color);
}

.page-news-single .news-article__toc ul {
	margin: 0;
	padding-left: var(--sp-20);
}

.page-news-single .news-article__toc li {
	margin-bottom: 6px;
	font-size: var(--text-sm);
}

.page-news-single .news-article__toc-item--level-3 {
	padding-left: var(--sp-16);
}

.page-news-single .news-article__toc-item--level-4 {
	padding-left: calc(var(--sp-16) * 2);
}

.page-news-single .news-article__toc a {
	color: var(--link-color);
}

.page-news-single .news-article__toc a:hover {
	color: var(--accent-color);
}

.page-news-single .news-article__body {
	font-size: var(--text-md);
	color: var(--gray-3-color);
	line-height: var(--lh-body);
	margin-top: 20px;
}

.page-news-single .news-article__body hr {
	display: none;
}

.page-news-single .news-article__body h2[id],
.page-news-single .news-article__body h3[id],
.page-news-single .news-article__body h4[id] {
	scroll-margin-top: 140px;
}

.page-news-single .news-article__body h2 {
	clear: both;
	margin: var(--sp-20) 0 var(--sp-10);
	font-family: var(--font-heading);
	font-size: var(--text-xl);
	font-weight: 700;
	color: var(--gray-2-color);
	line-height: var(--lh-heading);
	border: 0;
}

.page-news-single .news-article__body h2:first-child {
	margin-top: 0;
}

.page-news-single .news-article__body h3,
.page-news-single .news-article__body h4 {
	clear: both;
	margin: var(--sp-16) 0 var(--sp-10);
	font-family: var(--font-heading);
	font-weight: 700;
	color: var(--gray-2-color);
	line-height: var(--lh-heading);
	border: 0;
}

.page-news-single .news-article__body h3 {
	font-size: var(--text-lg);
}

.page-news-single .news-article__body h4 {
	font-size: var(--text-md);
}

.page-news-single .news-article__body p {
	margin: 0 0 var(--sp-15);
}

.page-news-single .news-article__body ul,
.page-news-single .news-article__body ol {
	margin: 0 0 var(--sp-15);
	padding-left: var(--sp-20);
}

.page-news-single .news-article__body li {
	margin-bottom: 6px;
}

.page-news-single .news-article__body table {
	width: 100%;
	margin: var(--sp-15) 0;
	border-collapse: collapse;
	font-size: var(--text-sm);
	border: solid 0.5px var(--border-color);
}

.page-news-single .news-article__body .cms-table-block {
	margin: var(--sp-15) 0;
}

.page-news-single .news-article__body .cms-table-block__scroll {
	overflow-x: auto;
}

.page-news-single .news-article__body .cms-table-block table {
	min-width: 520px;
	margin: 0;
}

.page-news-single .news-article__body .cms-table-block figcaption {
	margin-top: 8px;
	text-align: center;
	font-size: var(--text-sm);
	color: var(--muted-color);
}

.page-news-single .news-article__body th,
.page-news-single .news-article__body td {
	padding: 8px 10px;
	border: solid 0.5px var(--border-color);
	vertical-align: top;
}

.page-news-single .news-article__body th {
	background: var(--panel-gray-color);
	font-weight: 700;
}

.page-news-single .news-article__body a {
	color: var(--link-color);
}

.page-news-single .news-article__body a:hover {
	color: var(--accent-color);
}

.page-news-single .news-article__author {
	margin-top: var(--sp-20);
	padding-top: var(--sp-16);
	border-top: solid 0.5px var(--divider-color);
	text-align: right;
	font-size: var(--text-sm);
	color: var(--muted-color);
}

.page-news-single .news-article__author-name {
	font-weight: 700;
	color: var(--gray-3-color);
}

.page-news-single .news-related {
	float: left;
	width: 100%;
	margin-top: var(--sp-20);
	border: solid 0.5px var(--border-color);
	box-shadow: var(--shadow-card);
	background: var(--white-color);
}

.page-news-single .news-related .section-header2 h2 {
	margin: 0;
	font-size: var(--text-lg);
}

.page-news-single .news-related .section-content {
	padding: 0 var(--sp-16) var(--sp-16);
}

.page-news-single .news-related .post-news li:last-child {
	border-bottom: 0;
}

.page-news-single .news-related__list .post-title2 {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
}

.page-news-single .news-related__list li {
	padding: var(--sp-10) 0;
}

.page-news-single .news-related__excerpt {
	clear: both;
	margin: 8px 0 0;
	font-size: var(--text-sm);
	color: var(--muted-color);
	line-height: var(--lh-body);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
}

@media only screen and (max-width: 960px) {
	.page-news-single .news-article-head__title {
		font-size: var(--text-xl);
	}
}
.page-news-taxonomy .taxonomy-intro {
	margin: 0;
	padding: var(--sp-10) var(--sp-16) var(--sp-5);
	font-size: var(--text-sm);
	color: var(--muted-color);
	line-height: var(--lh-body);
	border-bottom: solid 0.5px var(--border-color);
}
/* CSS riêng cho trang page.html — scope `.page-cms` tránh đè `.section-content` KQXS. */

/* Dynamic content container - flexible for TinyMCE content */
.page-cms .section-content {
  font-family: inherit;
  line-height: 1.6;
  color: #374151;
  padding: 0 14px;
}

/* Responsive padding */
@media (max-width: 768px) {
  .page-cms .section-content {
    padding: 0 16px;
    /* Mobile padding */
  }
}

/* TinyMCE content styles - flexible and dynamic */
.page-cms .section-content h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin: 1.5rem 0 1rem 0;
  line-height: 1.2;
}

.page-cms .section-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin: 1.5rem 0 0.75rem 0;
  line-height: 1.3;
}

.page-cms .section-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin: 1.25rem 0 0.5rem 0;
  line-height: 1.4;
}

.page-cms .section-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin: 1rem 0 0.5rem 0;
  line-height: 1.4;
}

.page-cms .section-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #374151;
  margin: 0 0 1rem 0;
}

.page-cms .section-content ul,
.page-cms .section-content ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.page-cms .section-content li {
  font-size: 1rem;
  line-height: 1.6;
  color: #374151;
  margin-bottom: 0.5rem;
}

.page-cms .section-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background-color: #f9fafb;
  border-left: 4px solid #3b82f6;
  font-style: italic;
  color: #4b5563;
}

.page-cms .section-content code {
  background-color: #f3f4f6;
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  color: #d1d5db;
}

.page-cms .section-content pre {
  background-color: #1f2937;
  color: #f9fafb;
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 1rem 0;
}

.page-cms .section-content pre code {
  background-color: transparent;
  color: inherit;
  padding: 0;
}

.page-cms .section-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
}

.page-cms .section-content .cms-table-block {
  margin: 1rem 0;
}

.page-cms .section-content .cms-table-block__scroll {
  overflow-x: auto;
}

.page-cms .section-content .cms-table-block table {
  min-width: 520px;
  margin: 0;
}

.page-cms .section-content .cms-table-block figcaption {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
  text-align: center;
}

.page-cms .section-content th,
.page-cms .section-content td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.page-cms .section-content th {
  background-color: #f9fafb;
  font-weight: 600;
  color: #111827;
}

.page-cms .section-content a {
  color: #3b82f6;
  text-decoration: underline;
}

.page-cms .section-content a:hover {
  color: #2563eb;
}

.page-cms .section-content img {
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
  border-radius: 0.5rem;
}

/* Responsive adjustments for dynamic content */
@media (max-width: 768px) {
  .page-cms .section-content h1 {
    font-size: 1.75rem;
    margin: 1.25rem 0 0.75rem 0;
  }

  .page-cms .section-content h2 {
    font-size: 1.25rem;
    margin: 1.25rem 0 0.5rem 0;
  }

  .page-cms .section-content h3 {
    font-size: 1.125rem;
    margin: 1rem 0 0.5rem 0;
  }

  .page-cms .section-content p,
  .page-cms .section-content li {
    font-size: 0.95rem;
  }

  .page-cms .section-content blockquote {
    padding: 0.75rem 1rem;
    margin: 1rem 0;
  }

  .page-cms .section-content pre {
    padding: 0.75rem;
    font-size: 0.875rem;
  }

  .page-cms .section-content th,
  .page-cms .section-content td {
    padding: 0.5rem;
    font-size: 0.875rem;
  }
}
.not-found-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.not-found-page__inner {
  text-align: center;
  max-width: 600px;
}

.not-found-page__code {
  font-size: 8rem;
  font-weight: bold;
  color: var(--accent-color);
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(237, 28, 37, 0.3);
  animation: not-found-pulse 2s infinite;
  line-height: 1;
}

.not-found-page__title {
  font-size: 2rem;
  color: var(--black-color);
  margin-bottom: 1rem;
}

.not-found-page__desc {
  color: var(--gray-color);
  margin-bottom: 2rem;
}

@keyframes not-found-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.85;
    transform: scale(1.02);
  }
}
/* Xổ số theo đài — bảng lịch: cùng họ `table text-center` như bảng 3 cột cũ + chỉnh 4 cột, ô rộng, zebra */

.section-xo-so-theo-dai .section-header h1 {
    margin-bottom: 4px
}

/* Giữ look “bảng site” (thead alice, viền var(--border-color)) nhưng ô nội dung rộng, chữ căn trái cho nhiều dòng */
.section-xo-so-theo-dai .table-dai-theo-lich {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse
}

.section-xo-so-theo-dai .table-dai-theo-lich th,
.section-xo-so-theo-dai .table-dai-theo-lich td {
    padding: 10px 12px;
    border: solid 1px var(--border-light-color);
    vertical-align: top;
    font-size: var(--text-sm);
    line-height: 1.5
}

.section-xo-so-theo-dai .table-dai-theo-lich thead th {
    background: var(--alice-color);
    font-weight: 600;
    text-align: center
}

/* Cột nhãn (Khu vực / thứ): hẹp, căn giữa giống header ngày */
.section-xo-so-theo-dai .table-dai-theo-lich tbody th[scope="row"] {
    width: 8.5rem;
    max-width: 30%;
    font-weight: 600;
    color: var(--gray-3-color);
    text-align: center;
    background: var(--alice-color)
}

/* Ô đài: căn trái, nhiều link — ghi đè .text-center của bảng */
.section-xo-so-theo-dai .table-dai-theo-lich tbody td {
    text-align: left
}

.section-xo-so-theo-dai .table-dai-theo-lich tbody td a {
    color: var(--link-color);
    text-decoration: none
}

.section-xo-so-theo-dai .table-dai-theo-lich tbody td a:hover {
    color: var(--accent-color);
    text-decoration: underline
}

/* Zebra các hàng “Thứ …”: con 1 = giờ; Thứ 2 = chẵn 2,4,6… */
.section-xo-so-theo-dai .table-dai-theo-lich tbody tr:not(.tr-dai-gio-xs):nth-child(even) {
    background: var(--white-color)
}

.section-xo-so-theo-dai .table-dai-theo-lich tbody tr:not(.tr-dai-gio-xs):nth-child(odd) {
    background: var(--panel-gray-color)
}

/* Hàng Giờ xổ số — CSS riêng (nền khác thead / khác zebra) */
.section-xo-so-theo-dai .table-dai-theo-lich tbody tr.tr-dai-gio-xs th,
.section-xo-so-theo-dai .table-dai-theo-lich tbody tr.tr-dai-gio-xs td {
    background: #e3eefb;
    font-weight: 600;
    color: var(--gray-2-color);
    text-align: center;
    border-color: var(--border-color);
    padding-top: 12px;
    padding-bottom: 12px
}

.section-xo-so-theo-dai .table-dai-theo-lich tbody tr.tr-dai-gio-xs th[scope="row"] {
    background: #d5e4f7
}

@media (max-width: 640px) {
    .section-xo-so-theo-dai .table-dai-theo-lich th,
    .section-xo-so-theo-dai .table-dai-theo-lich td {
        padding: 8px 6px;
        font-size: var(--text-xs)
    }

    .section-xo-so-theo-dai .table-dai-theo-lich tbody th[scope="row"] {
        width: 5.75rem
    }
}
/* Dò vé số — bổ sung nhỏ nếu cần; .list-statistic, .column2, .form-group đã có trong globals.css */

.section-do-ve-so .title-doso {
    margin-top: 0;
    margin-bottom: var(--sp-10)
}
/* Trang dự đoán 3 miền: /thong-ke-{xsmn|xsmb|xsmt}-dd-mm-yyyy/ */

.page-prediction .tk-section {
  margin-bottom: 20px;
}

.page-prediction .tk-section .section-header2 {
  margin: 18px 0 10px;
}

/* Khớp tin-tuc: anchor mục lục không bị header che tiêu đề */
.page-prediction .tk-section .section-header2[id] {
  scroll-margin-top: 140px;
}

.page-prediction .tk-section .section-header2 h2,
.page-prediction .tk-section .section-header2 h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: #c00;
}

.page-prediction .tk-section .section-header2 h3 {
  font-size: 15px;
  color: #14579b;
}

.page-prediction .tk-caption {
  margin: 14px 0 6px;
  font-weight: 600;
}

.page-prediction .tk-inline {
  margin: 4px 0;
}

.page-prediction .tk-inline__label {
  color: #333;
}

.page-prediction .tk-province {
  padding: 8px 0;
  border-top: 1px dashed #e3e3e3;
}

.page-prediction .tk-table-wrap {
  flex: 1 1 220px;
  overflow-x: auto;
  margin: 6px 0 12px;
}

.page-prediction .tk-table-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-prediction .tk-table {
  width: 100%;
  border-collapse: collapse;
}

.page-prediction .tk-table th,
.page-prediction .tk-table td {
  border: 1px solid #e0e0e0;
  padding: 6px 8px;
}

.page-prediction .tk-table thead th {
  background: #f5f5f5;
}

.page-prediction .tk-bridge {
  margin: 6px 0 12px;
  padding-left: 18px;
  list-style: disc;
}

.page-prediction .tk-bridge li {
  margin: 3px 0;
}

.page-prediction .tk-prev-result .section {
  margin: 14px 0 20px;
}

.page-prediction .tk-footer-note {
  margin-top: 18px;
  padding: 10px 12px;
  background: #fff8e1;
  border: 1px solid #ffe0a3;
  border-radius: 4px;
  font-size: 13px;
  font-style: italic;
}
/*
 * Thống kê đầu — đuôi: bổ sung từ mẫu styleall.min.css (CDN xoso) cho các selector
 * dùng trên trang này (.list-statistic, .table.tk, form 2 cột, link-statistic).
 * Không @import cả file CDN (trùng/đè globals + Tailwind). Màu thanh cột: #505edc (mẫu .table-tk input).
 */
.page-thong-ke-dau-duoi .title-tk-block {
	font-size: var(--text-md);
	font-weight: 600;
	line-height: var(--lh-heading);
	margin-bottom: var(--sp-10);
}

/* Link trong tiêu đề: cùng cỡ/độ đậm với h2; hover đổi màu cả <strong> (tránh ghi đè bởi a strong) */
.page-thong-ke-dau-duoi .list-statistic .title-tk-block a,
.page-thong-ke-dau-duoi .list-statistic .title-tk-block a strong {
	color: var(--link-color);
	font-size: inherit;
	font-weight: inherit;
	font-family: inherit;
}

.page-thong-ke-dau-duoi .list-statistic .title-tk-block a:hover,
.page-thong-ke-dau-duoi .list-statistic .title-tk-block a:hover strong {
	color: var(--accent-color);
}

.page-thong-ke-dau-duoi .form-group--tkdd-actions {
	margin-bottom: var(--sp-10);
}

/* styleall: #ajaxContentContainer */
.page-thong-ke-dau-duoi #ajaxContentContainer {
	float: left;
	width: 100%;
	margin-bottom: 12px;
	position: relative;
	background: var(--white-color);
}

/* styleall: .list-statistic — form, khối hướng dẫn, khối trong AJAX */
.page-thong-ke-dau-duoi .list-statistic {
	float: left;
	width: 100%;
	position: relative;
	padding: 8px 16px;
}

.page-thong-ke-dau-duoi .list-statistic p {
	padding: 5px 0;
}

/* --- styleall: .table-tk (bảng Đầu / Đuôi) --- */
.page-thong-ke-dau-duoi .table.table-tk {
	font-size: var(--text-sm);
}

.page-thong-ke-dau-duoi .table.table-tk input {
	float: none;
	border: 0;
	height: 10px;
	margin: 0;
	padding: 0;
	box-shadow: none;
	appearance: none;
	border-radius: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	/* mẫu: background #505edc; chưa có token tương đương 1-1 */
	background-color: #505edc;
}

.page-thong-ke-dau-duoi .table.table-tk input:focus {
	outline: 0;
	box-shadow: none;
	border: 0;
}

.page-thong-ke-dau-duoi .table.table-tk tbody th {
	color: var(--accent-color);
	font-weight: 400;
}

.page-thong-ke-dau-duoi .table.table-tk td {
	vertical-align: middle;
}

/* Hai khối h2 + bảng nối tiếp trong vùng AJAX */
.page-thong-ke-dau-duoi #ajaxContentContainer > .list-statistic + .list-statistic {
	margin-top: var(--sp-10);
}

.page-thong-ke-dau-duoi #ajaxContentContainer > p:first-child {
	padding: var(--sp-16);
	text-align: center;
	font-size: var(--text-sm);
	color: var(--gray-3-color);
}

/* Nền khối section: styleall thường nền trắng cho card */
.page-thong-ke-dau-duoi .section.section-thk-dau-duoi {
	background: var(--white-color);
}

/* Form + nội dung section: khoảng cách từ mẫu (section-content không dùng .content-pad-12) */
.page-thong-ke-dau-duoi .section-content {
	padding: var(--sp-8) 0;
}

/* styleall: .link-statistic (ul cuối trang) */
.page-thong-ke-dau-duoi .link-statistic {
	float: left;
	width: 100%;
	padding: 12px 16px;
}

.page-thong-ke-dau-duoi .link-statistic li {
	float: left;
	width: 100%;
	padding: 5px 0 5px 16px;
	position: relative;
}

.page-thong-ke-dau-duoi .link-statistic li::before {
	border-top: 4px dashed;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
	content: "";
	position: absolute;
	left: 0;
	top: 15px;
	color: #444;
	transform: rotate(-90deg);
}
/*
 * Thống kê tần suất xuất hiện — scope .page-thong-ke-tan-suat
 * .block / .title-block: đã có globals; bổ sung vùng AJAX + link cuối trang.
 */
.page-thong-ke-tan-suat .form-group--tks-actions {
	margin-bottom: var(--sp-10);
}

.page-thong-ke-tan-suat #ajaxContentContainer {
	float: left;
	width: 100%;
	margin-bottom: 12px;
	position: relative;
	background: var(--white-color);
}

.page-thong-ke-tan-suat #ajaxContentContainer .list-statistic {
	float: left;
	width: 100%;
	position: relative;
	padding: 8px 16px;
}

.page-thong-ke-tan-suat #ajaxContentContainer .list-statistic + .list-statistic {
	margin-top: var(--sp-10);
}

/* Bảng “chưa về” — class từ mẫu styleall */
.page-thong-ke-tan-suat #ajaxContentContainer .table .td-w40 {
	width: 40%;
}

.page-thong-ke-tan-suat #ajaxContentContainer .table .td-w30 {
	width: 30%;
}

.page-thong-ke-tan-suat #ajaxContentContainer .title-block a,
.page-thong-ke-tan-suat #ajaxContentContainer .title-block a strong {
	color: var(--link-color);
	font-size: inherit;
	font-weight: inherit;
	font-family: inherit;
}

.page-thong-ke-tan-suat #ajaxContentContainer .title-block a:hover,
.page-thong-ke-tan-suat #ajaxContentContainer .title-block a:hover strong {
	color: var(--accent-color);
}

.page-thong-ke-tan-suat .section.section-thk-tan-suat {
	background: var(--white-color);
}

.page-thong-ke-tan-suat .section-content {
	padding: var(--sp-8) 0;
}

.page-thong-ke-tan-suat .list-statistic {
	float: left;
	width: 100%;
	position: relative;
	padding: 8px 16px;
}

.page-thong-ke-tan-suat .list-statistic p {
	padding: 5px 0;
}

.page-thong-ke-tan-suat .link-statistic {
	float: left;
	width: 100%;
	padding: 12px 16px;
}

.page-thong-ke-tan-suat .link-statistic li {
	float: left;
	width: 100%;
	padding: 5px 0 5px 16px;
	position: relative;
}

.page-thong-ke-tan-suat .link-statistic li::before {
	border-top: 4px dashed;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
	content: "";
	position: absolute;
	left: 0;
	top: 15px;
	color: var(--gray-4-color);
	transform: rotate(-90deg);
}
/*
 * Thống kê 00–99: cùng nhóm .list-statistic / .table-tk / #ajaxContentContainer như thống kê đầu đuôi.
 * Scope: .page-thong-ke-00-99
 */
.page-thong-ke-00-99 .form-group--tk00-actions {
	margin-bottom: var(--sp-10);
}

/* Nhóm radio: mobile (<768px) giữ khoảng cách .form-group mặc định; tablet + desktop: bỏ lề dưới, sát khối Kết quả */
@media only screen and (min-width: 768px) {
	.page-thong-ke-00-99 .form-group--tk00-prize {
		margin-bottom: 0;
	}
}

.page-thong-ke-00-99 #ajaxContentContainer {
	float: left;
	width: 100%;
	margin-bottom: 12px;
	position: relative;
	background: var(--white-color);
}

.page-thong-ke-00-99 .list-statistic {
	float: left;
	width: 100%;
	position: relative;
	padding: 8px 16px;
}

.page-thong-ke-00-99 .list-statistic p {
	padding: 5px 0;
}

/* Đoạn mở đầu trong AJAX có link tỉnh */
.page-thong-ke-00-99 #ajaxContentContainer > p a,
.page-thong-ke-00-99 #ajaxContentContainer > p a strong {
	color: var(--link-color);
	font-size: inherit;
	font-weight: inherit;
}

.page-thong-ke-00-99 #ajaxContentContainer > p a:hover,
.page-thong-ke-00-99 #ajaxContentContainer > p a:hover strong {
	color: var(--accent-color);
}

.page-thong-ke-00-99 .table.table-tk {
	font-size: var(--text-sm);
}

.page-thong-ke-00-99 .table.table-tk input {
	float: none;
	border: 0;
	height: 10px;
	margin: 0;
	padding: 0;
	box-shadow: none;
	appearance: none;
	border-radius: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-color: #505edc;
}

.page-thong-ke-00-99 .table.table-tk input:focus {
	outline: 0;
	box-shadow: none;
	border: 0;
}

.page-thong-ke-00-99 .table.table-tk tbody th {
	color: var(--accent-color);
	font-weight: 400;
}

.page-thong-ke-00-99 .table.table-tk td {
	vertical-align: middle;
}

.page-thong-ke-00-99 .section.section-thk-00-99 {
	background: var(--white-color);
}

.page-thong-ke-00-99 .section-content {
	padding: var(--sp-8) 0;
}

.page-thong-ke-00-99 .link-statistic {
	float: left;
	width: 100%;
	padding: 12px 16px;
}

.page-thong-ke-00-99 .link-statistic li {
	float: left;
	width: 100%;
	padding: 5px 0 5px 16px;
	position: relative;
}

.page-thong-ke-00-99 .link-statistic li::before {
	border-top: 4px dashed;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
	content: "";
	position: absolute;
	left: 0;
	top: 15px;
	color: #444;
	transform: rotate(-90deg);
}
/* Sổ kết quả — bố cục & bảng (bổ sung so với styleall mẫu) */

.section-so-ket-qua .form {
    width: 100%;
    float: left;
    clear: both;
    box-sizing: border-box
}

.section-so-ket-qua .form>.form-group:has(> .btn.btn-danger) {
    display: block;
    width: 100%;
    float: left;
    clear: both;
    margin-top: 4px
}

.section-so-ket-qua .form>.form-group:has(> .btn.btn-danger) .btn.btn-danger {
    min-width: 160px;
    font-weight: 600;
    padding: 0 var(--sp-20)
}

.section-so-ket-qua .form>.form-group:has(> strong:only-child) {
    display: block;
    width: 100%;
    float: left;
    clear: both;
    margin-bottom: 4px
}

.section-so-ket-qua .m-calc {
    margin-top: 8px;
    margin-bottom: 12px;
    float: left;
    width: 100%;
    clear: both;
    box-sizing: border-box
}

.section-so-ket-qua .ul-tabs-link {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
    border: solid 1px var(--border-light-color);
    background: var(--alice-color);
    overflow-x: visible;
    min-width: 0
}

.section-so-ket-qua .ul-tabs-link li {
    display: block;
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    padding: 0;
    border-left: solid 1px var(--border-light-color)
}

.section-so-ket-qua .ul-tabs-link li:first-child {
    border-left: 0
}

.section-so-ket-qua .ul-tabs-link li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 6px;
    font-size: var(--text-sm);
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    color: var(--link-color);
    text-align: center
}

/* Hẹp: nhiều tab — cuộn ngang, ô theo nội dung (tránh ép quá nhỏ) */
@media only screen and (max-width: 768px) {
    .section-so-ket-qua .ul-tabs-link {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(0, 0, 0, 0.28) transparent
    }

    .section-so-ket-qua .ul-tabs-link::-webkit-scrollbar {
        height: 8px
    }

    .section-so-ket-qua .ul-tabs-link::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.06);
        border-radius: 4px
    }

    .section-so-ket-qua .ul-tabs-link::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.22);
        border-radius: 4px
    }

    .section-so-ket-qua .ul-tabs-link li {
        flex: 0 0 auto
    }

    .section-so-ket-qua .ul-tabs-link li a {
        width: auto;
        padding: 10px 8px
    }
}

.section-so-ket-qua .ul-tabs-link li a.active {
    color: var(--white-color);
    background: var(--keno-color)
}

.section-so-ket-qua .ul-tabs-link li a:not(.active):hover {
    color: var(--accent-color)
}

.section-so-ket-qua #result {
    width: 100%;
    float: left;
    clear: both;
    overflow-x: auto;
    overflow-y: visible;
    max-width: 100%;
    box-sizing: border-box
}

.section-so-ket-qua #result .block.m-calc {
    overflow: visible;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box
}

.section-so-ket-qua .kq_result.result-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
    width: 100%;
    box-sizing: border-box
}

.section-so-ket-qua .kq_result1.table-skq1,
.section-so-ket-qua .loto_ressult.table-skq2 {
    flex: 1 1 260px;
    min-width: 0
}

@media only screen and (max-width: 960px) {
    .section-so-ket-qua .kq_result.result-flex {
        flex-direction: column;
        align-items: stretch;
        gap: 16px
    }

    .section-so-ket-qua .kq_result1.table-skq1,
    .section-so-ket-qua .loto_ressult.table-skq2 {
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
        min-width: 0
    }

    /* Bảng KQ trái hiển thị đầy đủ màn hình, không bị overflow scroll ngang */
    .section-so-ket-qua .kq_result1.table-skq1 {
        overflow-x: hidden;
        overflow-y: visible;
        max-width: 100%
    }

    .section-so-ket-qua .kq_result1 .table-result {
        table-layout: auto;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }

    .section-so-ket-qua .kq_result1 .table-result th.name-prize,
    .section-so-ket-qua .kq_result1 .table-result th {
        width: 1%;
        white-space: nowrap;
        padding: 4px;
    }

    .section-so-ket-qua .kq_result1 .table-result td {
        overflow: hidden;
        padding: 4px;
    }

    .section-so-ket-qua .kq_result1 .head-th {
        word-break: break-word;
        hyphens: auto
    }

    .section-so-ket-qua .loto_ressult.table-skq2 {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin
    }
}

.section-so-ket-qua .font-skq {
    font-size: var(--text-sm)
}

.section-so-ket-qua .table-result,
.section-so-ket-qua .table-loto {
    width: 100%;
    border-collapse: collapse;
    border: solid 1px var(--border-color);
    box-sizing: border-box
}

.section-so-ket-qua .table-result thead th {
    background: var(--highlight-2-color);
    font-weight: 700;
    border: solid 1px var(--border-color);
    padding: 8px 6px;
    vertical-align: middle
}

.section-so-ket-qua .table-loto thead th {
    background: var(--alice-color);
    font-weight: 600;
    border: solid 1px var(--border-color);
    padding: 6px 4px;
    vertical-align: middle
}

.section-so-ket-qua .table-result tbody th,
.section-so-ket-qua .table-result tbody td,
.section-so-ket-qua .table-loto tbody th,
.section-so-ket-qua .table-loto tbody td {
    border: solid 1px var(--border-color);
    padding: 4px 6px;
    vertical-align: middle
}

.section-so-ket-qua .kq_result1 .table-result tbody th {
    width: 8%;
    text-align: center;
    font-weight: 400;
}

.section-so-ket-qua .kq_result1 .table-result tbody td {
    width: 92%;
    text-align: center;
}

/* Desktop: giữ cắt ô không phải number-prize; mobile bảng trong .kq_result1 xử lý riêng (không chồng float) */
.section-so-ket-qua .table-result td:not(.number-prize) {
    overflow: hidden
}

@media only screen and (max-width: 960px) {
    /* Fallback khi không bọc .kq_result1: ô Mã vẫn cuộn được */
    .section-so-ket-qua .table-result td.number-prize {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        vertical-align: middle
    }

    .section-so-ket-qua .kq_result1 .table-result td.number-prize {
        overflow: hidden;
        white-space: normal;
    }
}

.section-so-ket-qua .table-result tbody tr:nth-of-type(2n),
.section-so-ket-qua .table-loto tbody tr:nth-of-type(2n) {
    background-color: var(--alice-color)
}

.section-so-ket-qua .table-loto tbody tr:hover,
.section-so-ket-qua .table-loto tbody tr:hover:nth-of-type(2n) {
    background-color: var(--highlight-2-color)
}

.section-so-ket-qua .head-th {
    margin: 0;
    font-size: var(--text-lg);
    font-weight: 700;
    line-height: 1.35
}

.section-so-ket-qua .font-madb {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px 8px;
    width: 100%;
    float: none;
    box-sizing: border-box
}

.section-so-ket-qua .so-ket-qua-prize-lines {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.section-so-ket-qua .so-ket-qua-prize-line {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    justify-content: center;
    -moz-column-gap: 18px;
         column-gap: 18px;
    row-gap: 4px;
    width: 100%;
    min-height: var(--input-h);
}

.section-so-ket-qua .so-ket-qua-prize-line span {
    display: block;
    text-align: center;
    float: none;
    width: auto;
    height: auto;
    line-height: 1.35;
    font-size: var(--text-26);
    font-weight: 700;
}

.section-so-ket-qua .so-ket-qua-prize-line span:only-child {
    grid-column: 1 / -1;
}

.section-so-ket-qua .so-ket-qua-prize-line .prize_db {
    font-size: var(--text-34);
    color: var(--accent-color);
}

.section-so-ket-qua .so-ket-qua-prize-line .color_red {
    color: var(--accent-color);

}

/* Chế độ xem — radio Builder */
.section-so-ket-qua .so-ket-qua-view--kq-only .so-ket-qua-loto {
    display: none !important;
}

.section-so-ket-qua .so-ket-qua-view--loto-only .so-ket-qua-kq {
    display: none !important;
}

@media only screen and (max-width: 576px) {
    /* Thu nhỏ các số trên mobile để không bị vỡ bố cục khi width: 100% */
    .section-so-ket-qua .kq_result1 .table-result .font-madb span {
        font-size: 11px;
    }
    .section-so-ket-qua .kq_result1 .table-result .special-prize {
        font-size: 22px;
    }
    .section-so-ket-qua .kq_result1 .table-result .prize1,
    .section-so-ket-qua .kq_result1 .table-result .prize2,
    .section-so-ket-qua .kq_result1 .table-result .prize3,
    .section-so-ket-qua .kq_result1 .table-result .prize4,
    .section-so-ket-qua .kq_result1 .table-result .prize5,
    .section-so-ket-qua .kq_result1 .table-result .prize6,
    .section-so-ket-qua .kq_result1 .table-result .prize7 {
        font-size: 15px;
    }
}
.page-thong-ke-gdb .section {
  float: left;
  width: 100%;
  margin-bottom: var(--sp-16);
  position: relative;
  box-shadow: var(--shadow-card);
  -webkit-box-shadow: var(--shadow-card);
  -moz-box-shadow: var(--shadow-card);
}

.page-thong-ke-gdb .section:last-child {
  margin-bottom: 0;
}

.page-thong-ke-gdb .section-tk-dacbiet > .section-header {
  float: left;
  width: 100%;
  position: relative;
  background: var(--highlight-color);
  border: solid 1px var(--border-color);
  border-bottom: 0;
  padding: var(--sp-10) var(--sp-10);
  text-align: center;
  box-sizing: border-box;
}

.page-thong-ke-gdb .section-tk-dacbiet > .section-header h1 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  text-align: center;
  font-weight: bold;
  margin: 0;
}

.page-thong-ke-gdb .section-content {
  float: left;
  width: 100%;
  position: relative;
}

.page-thong-ke-gdb .content-pad-12 {
  width: 100%;
  float: left;
  padding: 12px;
}

.page-thong-ke-gdb .block {
  width: 100%;
  float: left;
  margin-bottom: var(--sp-16);
}

.page-thong-ke-gdb div.block:has(.ul-tab) {
  margin-bottom: 12px;
}

.page-thong-ke-gdb .ul-tab {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  min-width: 0;
  background: var(--alice-color);
  box-shadow: var(--shadow-card);
  -webkit-box-shadow: var(--shadow-card);
  -moz-box-shadow: var(--shadow-card);
  list-style: none;
  margin: 0;
  padding: 0;
  float: none;
  box-sizing: border-box;
  border: solid 1px var(--border-color);
  overflow-x: visible;
}

.page-thong-ke-gdb .ul-tab li {
  flex: 1 1 0;
  margin: 0;
  padding: 0;
  text-align: center;
  border-left: solid 1px var(--border-light-color);
  min-width: 0;
}

.page-thong-ke-gdb .ul-tab li:first-child {
  border-left: 0;
}

.page-thong-ke-gdb .ul-tab a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 6px;
  font-weight: 500;
  font-size: var(--text-base);
  text-decoration: none;
  color: var(--link-color);
  background: transparent;
  white-space: nowrap;
  overflow: visible;
  text-overflow: unset;
  text-align: center;
}

.page-thong-ke-gdb .ul-tab a:hover {
  color: var(--accent-color);
}

.page-thong-ke-gdb .ul-tab a.active {
  background: var(--accent-color);
  color: var(--white-color);
}

@media only screen and (max-width: 768px) {
  .page-thong-ke-gdb .ul-tab {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .page-thong-ke-gdb .ul-tab::-webkit-scrollbar {
    height: 8px;
  }

  .page-thong-ke-gdb .ul-tab::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.06);
    border-radius: 4px;
  }

  .page-thong-ke-gdb .ul-tab::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
  }

  .page-thong-ke-gdb .ul-tab li {
    flex: 0 0 auto;
    min-width: auto;
  }

  .page-thong-ke-gdb .ul-tab li a {
    width: auto;
    padding: 8px 10px;
    font-size: var(--text-sm);
  }
}

.page-thong-ke-gdb .section-tk-dacbiet .form-group {
  float: left;
  width: 100%;
  position: relative;
  margin-bottom: var(--sp-15);
}

.page-thong-ke-gdb .section-tk-dacbiet .form-group:last-child {
  margin-bottom: 0;
}

.page-thong-ke-gdb .section-tk-dacbiet .form > .form-group:first-of-type {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--sp-10) 4px;
  box-sizing: border-box;
}

.page-thong-ke-gdb .section-tk-dacbiet .form > .form-group:first-of-type .column3 {
  float: none;
  margin-right: 0;
  flex: 1 1 0;
  min-width: 0;
  width: auto;
}

.page-thong-ke-gdb .section-tk-dacbiet .label-text {
  padding-bottom: var(--sp-5);
  float: left;
  width: 100%;
  font-size: var(--text-base);
  margin-bottom: 0;
}

.page-thong-ke-gdb .section-tk-dacbiet .form select,
.page-thong-ke-gdb .section-tk-dacbiet .form .ic_ca {
  float: left;
  width: 100%;
  height: var(--input-h);
  padding: 0 var(--sp-10);
  margin: 0;
  border: solid 1px var(--border-input-color);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: inherit;
  outline: none;
  box-shadow: none;
  box-sizing: border-box;
}

.page-thong-ke-gdb .section-tk-dacbiet .form select {
  padding-right: 28px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: var(--white-color);
  background-repeat: no-repeat;
  background-position: right var(--sp-5) center;
  background-size: 18px 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23555555' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

.page-thong-ke-gdb .section-tk-dacbiet .form select:focus,
.page-thong-ke-gdb .section-tk-dacbiet .form .ic_ca:focus {
  border: solid 1px var(--google-color);
  outline: 0;
  box-shadow:
    inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px color-mix(in srgb, var(--google-color) 45%, transparent);
  -webkit-box-shadow:
    inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px color-mix(in srgb, var(--google-color) 45%, transparent);
}

.page-thong-ke-gdb .section-tk-dacbiet .form input.ic_ca[type="date"] {
  padding-right: var(--sp-10);
  min-height: var(--input-h);
  background-image: none;
  -webkit-appearance: auto;
  -moz-appearance: auto;
       appearance: auto;
}

.page-thong-ke-gdb .section-tk-dacbiet .form-group.text-right {
  text-align: right;
  display: block;
  margin-top: 0;
}

.page-thong-ke-gdb .section-tk-dacbiet .btn.btn-danger {
  display: inline-block;
  padding: 0 var(--sp-16);
  height: var(--btn-h);
  line-height: var(--btn-h);
  background-color: var(--accent-color);
  color: var(--white-color);
  border-radius: var(--radius);
  cursor: pointer;
  border: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 400;
}

.page-thong-ke-gdb .section-tk-dacbiet .ul-tabs-link {
  border: solid 1px var(--border-color);
  background: var(--alice-color);
}

.page-thong-ke-gdb .section-tk-dacbiet .ul-tabs-link li a.active {
  color: var(--white-color);
  background: var(--accent-color);
}

.page-thong-ke-gdb .section-tk-dacbiet #title {
  background: var(--highlight-color);
  border: solid 1px var(--border-color);
  padding: var(--sp-10) 12px;
}

.page-thong-ke-gdb .section-tk-dacbiet #title .title-block {
  font-size: var(--text-xl);
  font-weight: bold;
  line-height: var(--lh-heading);
}

.page-thong-ke-gdb .section-tk-dacbiet #title .title-block a.active {
  color: var(--accent-color);
}

.page-thong-ke-gdb .section-tk-dacbiet #title + .block {
  background: var(--divider-color);
  padding: var(--sp-10) var(--sp-10);
  box-sizing: border-box;
  margin-bottom: var(--sp-16);
}

.page-thong-ke-gdb .section-tk-dacbiet #title + .block .form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  gap: 6px var(--sp-10);
  float: left;
  width: 100%;
  min-height: 36px;
  box-sizing: border-box;
  clear: both;
}

.page-thong-ke-gdb .section-tk-dacbiet #title + .block .label-radio.btn-item {
  float: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  margin-bottom: 0;
  margin-top: 0;
  margin-right: 0;
  font-size: var(--text-base);
}

.page-thong-ke-gdb .section-tk-dacbiet #title + .block .label-radio.btn-item input[type="radio"] {
  margin: 0;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  min-height: 1rem;
  position: relative;
  top: -1px;
}

.page-thong-ke-gdb .section-tk-dacbiet .title-table {
  background: var(--gray-5-color);
  color: var(--white-color);
  border-color: var(--border-color);
}

.page-thong-ke-gdb .section-tk-dacbiet .table-scrol-x {
  border-color: var(--border-color);
}

.page-thong-ke-gdb .section-tk-dacbiet .table-scrol-x thead th {
  background: var(--alice-color);
  color: var(--gray-3-color);
}

/* Chỉ trang GDB đầy đủ (3 cột); trang theo tổng (.page-thong-ke-gdb-theo-tong) giữ 2 ngày một hàng */
@media only screen and (max-width: 768px) {
  .page-thong-ke-gdb:not(.page-thong-ke-gdb-theo-tong) .section-tk-dacbiet .form > .form-group:first-of-type {
    flex-direction: column;
    align-items: stretch;
  }

  .page-thong-ke-gdb:not(.page-thong-ke-gdb-theo-tong) .section-tk-dacbiet .form > .form-group:first-of-type .column3 {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
  }
}

@media only screen and (max-width: 800px) {
  .page-thong-ke-gdb .m-calc {
    margin-left: -12px !important;
    margin-right: -12px !important;
    width: calc(100% + 24px) !important;
  }
}

/* Calendar W1 — toggle chế độ xem (Builder choiceTKGĐB / tk-spin-N) */
.page-thong-ke-gdb #ajaxContentContainer .number-DB .gdb-disp-head,
.page-thong-ke-gdb #ajaxContentContainer .number-DB .gdb-disp-tail {
  display: none;
}

.page-thong-ke-gdb #ajaxContentContainer.tk-spin-1 .number-DB .gdb-disp-full,
.page-thong-ke-gdb #ajaxContentContainer.tk-spin-1 .number-DB .gdb-disp-head,
.page-thong-ke-gdb #ajaxContentContainer.tk-spin-1 .number-DB .gdb-disp-tail {
  display: none !important;
}

.page-thong-ke-gdb #ajaxContentContainer.tk-spin-2 .number-DB .gdb-disp-full,
.page-thong-ke-gdb #ajaxContentContainer.tk-spin-2 .number-DB .gdb-disp-loto,
.page-thong-ke-gdb #ajaxContentContainer.tk-spin-2 .number-DB .gdb-disp-tail {
  display: none !important;
}

.page-thong-ke-gdb #ajaxContentContainer.tk-spin-3 .number-DB .gdb-disp-full,
.page-thong-ke-gdb #ajaxContentContainer.tk-spin-3 .number-DB .gdb-disp-loto,
.page-thong-ke-gdb #ajaxContentContainer.tk-spin-3 .number-DB .gdb-disp-head {
  display: none !important;
}

.page-thong-ke-gdb #ajaxContentContainer.tk-spin-2 .number-DB .gdb-disp-head {
  display: inline !important;
}

.page-thong-ke-gdb #ajaxContentContainer.tk-spin-3 .number-DB .gdb-disp-tail {
  display: inline !important;
}
/* Bổ sung trên nền pages/thong-ke-giai-dac-biet.css (import trong all_thong-ke-giai-dac-biet-theo-tong.css) */

/*
 * Bảng GDB theo tổng — port từ https://cdn.xsmn.cc/css/styleall.min.css?v=20250631
 * (.bg-tet{background:#e70700…}, .bg-faf2e3{background:#faf2e3})
 */
.page-thong-ke-gdb-theo-tong .bg-tet {
	background-color: var(--accent-color) !important;
	font-weight: bold;
	color: var(--white-color) !important;
}

.page-thong-ke-gdb-theo-tong .bg-tet span {
	color: inherit;
}

/* Cột thứ 7 / Chủ nhật (ô body) — styleall .bg-faf2e3 */
.page-thong-ke-gdb-theo-tong .bg-faf2e3 {
	background-color: #faf2e3;
}

/* Ghi đè globals .section-tk-dacbiet thead th:nth-child(6–7) (màu khác mẫu) + khớp hàng thead .bgf1f1f1 mẫu */
.page-thong-ke-gdb-theo-tong .section-tk-dacbiet .table-scrol-x thead tr.bgf1f1f1 th {
	background-color: var(--panel-gray-color);
	color: var(--gray-3-color);
}

.page-thong-ke-gdb-theo-tong .section-tk-dacbiet .table-scrol-x thead tr.bgf1f1f1 th:nth-child(6),
.page-thong-ke-gdb-theo-tong .section-tk-dacbiet .table-scrol-x thead tr.bgf1f1f1 th:nth-child(7) {
	background-color: #faf2e3;
}

/* styleall: .number-DB.bg-cn — giữ nếu HTML sau này dùng */
.page-thong-ke-gdb-theo-tong .number-DB.bg-cn {
	background-color: var(--bg-twitter-color);
}

/* content-left hẹp hơn mẫu: block-form + radio giống bang-dac-biet-tuan */
.page-thong-ke-gdb-theo-tong .block-form {
	width: 100%;
	float: left;
	background: var(--divider-color);
	padding: 8px var(--sp-10);
	box-sizing: border-box;
}

.page-thong-ke-gdb-theo-tong .block-form .form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	align-content: center;
	gap: 6px var(--sp-10);
	float: left;
	width: 100%;
	min-height: 36px;
	box-sizing: border-box;
}

.page-thong-ke-gdb-theo-tong .block-form .label-radio.btn-item {
	float: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	line-height: 1;
	margin-bottom: 0;
	margin-top: 0;
	font-size: var(--text-base);
}

.page-thong-ke-gdb-theo-tong .block-form .label-radio.btn-item input[type="radio"] {
	margin: 0;
	flex-shrink: 0;
	width: 1rem;
	height: 1rem;
	min-width: 1rem;
	min-height: 1rem;
	position: relative;
	top: -1px;
}

.page-thong-ke-gdb-theo-tong .hideall {
	display: none;
}

.page-thong-ke-gdb-theo-tong .tk-theo-tong-loading {
	margin: 0;
	padding: var(--sp-10);
	font-size: var(--text-base);
	color: var(--gray-5-color);
}

@media only screen and (max-width: 800px) {
	.page-thong-ke-gdb-theo-tong .m-calc {
		margin-left: -12px !important;
		margin-right: -12px !important;
		width: calc(100% + 24px) !important;
	}
}
.page-thong-ke-tong-hop .m-scrol {
	overflow: auto;
	white-space: nowrap;
	width: 100%;
	box-sizing: border-box;
}

.page-thong-ke-tong-hop .table-tkth {
	width: 100%;
	border: solid 1px var(--border-color);
	border-collapse: collapse;
	box-sizing: border-box;
}

.page-thong-ke-tong-hop .table-tkth td,
.page-thong-ke-tong-hop .table-tkth th {
	border: 0;
}

.page-thong-ke-tong-hop .table-tkth tr {
	border-bottom: solid 1px var(--border-light-color);
}

.page-thong-ke-tong-hop .bg-info {
	background: var(--alice-color);
	color: var(--gray-3-color);
}

.page-thong-ke-tong-hop .btn-tslt {
	background: var(--white-color);
	display: inline-block;
	min-height: var(--input-h);
	line-height: var(--input-h);
	font-size: var(--text-xs);
	cursor: pointer;
	text-align: center;
	padding: 0 var(--sp-10);
	margin: 2px;
	border-radius: var(--radius);
	border: solid 1px var(--border-light-color);
	box-sizing: border-box;
}

.page-thong-ke-tong-hop .btn-tslt.active {
	background: var(--gray-5-color);
	color: var(--white-color);
	border-color: var(--gray-5-color);
}

.page-thong-ke-tong-hop .btn-tk {
	padding: 2px var(--sp-5);
	font-size: var(--text-xs);
	border-radius: var(--radius);
	border: solid 1px var(--border-light-color);
	display: inline-block;
	min-width: 40px;
	cursor: pointer;
	font-weight: 400;
	background: var(--white-color);
	box-sizing: border-box;
}

.page-thong-ke-tong-hop .btn-tk:hover {
	background: var(--divider-color);
}

.page-thong-ke-tong-hop .label-checkbox {
	display: block;
	position: relative;
	cursor: pointer;
}

.page-thong-ke-tong-hop .label-checkbox .input-checkbox {
	position: absolute;
	z-index: -1;
	opacity: 0;
	width: 0;
	height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	pointer-events: none;
}

.page-thong-ke-tong-hop .checkbox-indicator {
	height: 16px;
	width: 16px;
	border-radius: 2px;
	border: solid 1px var(--border-light-color);
	display: inline-block;
	position: relative;
	vertical-align: middle;
	margin-right: 4px;
	box-sizing: border-box;
}

.page-thong-ke-tong-hop .input-checkbox:checked~.checkbox-indicator {
	background: var(--google-color);
	border-color: var(--google-color);
}

/* Dấu tick trắng khi chọn — tương tự trang mẫu (ô xanh + ✓) */
.page-thong-ke-tong-hop .input-checkbox:checked~.checkbox-indicator::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 1px;
	width: 5px;
	height: 9px;
	border: solid var(--white-color);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	box-sizing: border-box;
}

.page-thong-ke-tong-hop .w_20 {
	width: 15%;
}

.page-thong-ke-tong-hop .w_20 {
	width: 20%;
}

.page-thong-ke-tong-hop .w_25 {
	width: 25%;
}

.page-thong-ke-tong-hop .w_40 {
	width: 40%;
}

.page-thong-ke-tong-hop .w_55 {
	width: 55%;
}

.page-thong-ke-tong-hop .w_60 {
	width: 60%;
}

.page-thong-ke-tong-hop .w_70 {
	width: 70%;
}

.page-thong-ke-tong-hop .w_75 {
	width: 75%;
}

.page-thong-ke-tong-hop .w_80 {
	width: 80%;
}

.page-thong-ke-tong-hop .block.m-calc > .table.text-center {
	width: 100%;
	max-width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
}

.page-thong-ke-tong-hop .block.m-calc > .table.text-center th,
.page-thong-ke-tong-hop .block.m-calc > .table.text-center td {
	box-sizing: border-box;
}

.page-thong-ke-tong-hop .block.m-calc > .table.text-center th.text-left,
.page-thong-ke-tong-hop .block.m-calc > .table.text-center td.text-left {
	text-align: left;
}

.page-thong-ke-tong-hop .block.m-calc > .table.text-center td.text-left {
	width: 100%;
	white-space: normal;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.page-thong-ke-tong-hop .block .title-sta {
	padding: var(--sp-10) 0;
	font-size: var(--text-base);
	font-weight: 600;
	border-bottom: solid 1px var(--border-color);
}

.page-thong-ke-tong-hop .block.m-calc {
	margin-bottom: var(--sp-16);
}

/*
 * globals: .section-tk-dacbiet .m-calc { margin-top: 16px } — dùng cho form GDB.
 * Trang tổng hợp: tiêu đề trong .block + bảng trong .block.m-calc trong #ajaxContentContainer
 * bị cộng thêm margin-bottom của .block (thong-ke-giai-dac-biet) → khoảng title ↔ bảng rộng hơn mẫu.
 */
.page-thong-ke-tong-hop #ajaxContentContainer .block.m-calc {
	margin-top: 0;
}

/* Vùng AJAX (mẫu layout): dòng “Đang tải…” và fragment trả về server */
.page-thong-ke-tong-hop #ajaxContentContainer>p:first-child {
	padding: var(--sp-16);
	text-align: center;
	font-size: var(--text-sm);
	color: var(--gray-3-color);
}

@media only screen and (max-width: 800px) {
	.page-thong-ke-tong-hop .block.m-calc {
		margin-left: -12px !important;
		margin-right: -12px !important;
		width: calc(100% + 24px) !important;
	}
}
/* Ported from Builder styleall / globals */

.content-left2 {
  float: left;
  width: 71.5%;
  position: relative;
  padding-right: 16px;
}

@media only screen and (max-width: 800px) {
  .content-left2 {
    width: 100%;
    padding: 0;
  }
}

.page-thong-ke-tan-suat-cap-loto .bg-ligh-blue td {
  background-color: var(--tkts-header-bg);
  cursor: pointer;
}
/* ===== Thong ke tan suat loto (ported from styleall.min.css) ===== */
.page-thong-ke-tan-suat-loto {
  width: 71%;
  float: left;
}

.page-thong-ke-tan-suat-loto .m-scrol {
  overflow: auto;
  white-space: nowrap;
}

.page-thong-ke-tan-suat-loto .btn-tslt {
  background: var(--white-color);
  display: inline-block;
  height: var(--sp-32);
  line-height: var(--sp-32);
  font-size: var(--text-xs);
  cursor: pointer;
  text-align: center;
  padding: 0 8px;
  border-radius: 2px;
}

.page-thong-ke-tan-suat-loto .btn-tslt.active {
  background: var(--tkts-tab-active-bg);
  color: var(--white-color);
}

.page-thong-ke-tan-suat-loto .btn-tk {
  padding: 2px;
  font-size: var(--text-xs);
  border-radius: 3px;
  border: solid 1px var(--border-light-color);
  display: inline-block;
  min-width: 40px;
  cursor: pointer;
  font-weight: 400;
  background: var(--white-color);
}

.page-thong-ke-tan-suat-loto .btn-tk:hover {
  background: var(--border-color);
}

.page-thong-ke-tan-suat-loto .bg-info {
  background-color: var(--tkts-header-bg);
}

.page-thong-ke-tan-suat-loto .table-tkth {
  border: solid 1px var(--border-color);
}

.page-thong-ke-tan-suat-loto .table-tkth td,
.page-thong-ke-tan-suat-loto .table-tkth th {
  border: 0;
}

.page-thong-ke-tan-suat-loto .table-tkth tr {
  border-bottom: solid 1px var(--border-color);
}

.page-thong-ke-tan-suat-loto .label-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.page-thong-ke-tan-suat-loto .label-checkbox .input-checkbox {
  position: static;
  z-index: auto;
  opacity: 1;
  display: inline-block;
  margin: 0;
  padding: 0;
  height: 16px;
  width: 16px;
  border: 1px solid var(--border-light-color);
  border-radius: 2px;
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  -moz-appearance: auto !important;
}

.page-thong-ke-tan-suat-loto .checkbox-indicator {
  display: none;
}

.page-thong-ke-tan-suat-loto .label-checkbox .input-checkbox:checked~.checkbox-indicator {
  display: none;
}

.page-thong-ke-tan-suat-loto .checkbox-indicator::after {
  content: "";
  position: absolute;
  display: none;
}

.page-thong-ke-tan-suat-loto .label-checkbox .input-checkbox:checked~.checkbox-indicator::after {
  display: none;
}

.page-thong-ke-tan-suat-loto .label-checkbox:hover .input-checkbox~.checkbox-indicator,
.page-thong-ke-tan-suat-loto .label-checkbox .input-checkbox:focus~.checkbox-indicator {
  display: none;
}

.page-thong-ke-tan-suat-loto .label-checkbox:hover .input-checkbox:not([disabled]):checked~.checkbox-indicator,
.page-thong-ke-tan-suat-loto .label-checkbox .input-checkbox:checked:focus~.checkbox-indicator {
  display: none;
}

.page-thong-ke-tan-suat-loto .label-checkbox .input-checkbox:disabled~.checkbox-indicator {
  display: none;
}

.page-thong-ke-tan-suat-loto .label-checkbox .input-checkbox:disabled~.checkbox-indicator::after {
  display: none;
}

/* Ghi đè rule checkbox global: trang này dùng checkbox native */
.page-thong-ke-tan-suat-loto .input-checkbox[type="checkbox"] {
  position: static;
  z-index: auto;
  opacity: 1;
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 0;
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  -moz-appearance: auto !important;
}

.page-thong-ke-tan-suat-loto .btn-tabs {
  display: inline-block;
  padding: 0 16px;
  height: 40px;
  font-size: var(--text-base);
  line-height: 40px;
  background-color: var(--border-input-color);
  cursor: pointer;
  text-align: center;
  border-radius: 2px;
}

.page-thong-ke-tan-suat-loto .btn-tabs.active {
  background-color: var(--tkts-tabs-selected-bg);
  color: var(--white-color);
}

.page-thong-ke-tan-suat-loto .table-scroll-tkts {
  position: relative;
  width: 100%;
  z-index: 1;
  margin: auto;
  overflow-x: scroll;
}

.page-thong-ke-tan-suat-loto .table.table-tkts {
  border: solid 1px var(--tkts-table-grid-color);
}

.page-thong-ke-tan-suat-loto .table.table-tkts th {
  border: solid 1px var(--tkts-table-grid-color);
  padding: 4px;
  width: 50px;
}

.page-thong-ke-tan-suat-loto .table-scroll-tkts th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--tkts-header-bg);
}

.page-thong-ke-tan-suat-loto .table-scroll-tkts thead th {
  background: var(--tkts-header-bg);
  position: sticky;
  top: 0;
}

.page-thong-ke-tan-suat-loto .table.table-tkts td {
  border: solid 1px var(--tkts-table-grid-color);
  width: 25px;
  padding: 0;
  height: 25px;
}

.page-thong-ke-tan-suat-loto .darkgb {
  background-color: var(--tkts-dark-cell-bg);
}

.page-thong-ke-tan-suat-loto .tansuatrow {
  background: var(--white-color);
}

.page-thong-ke-tan-suat-loto .tansuatrow:hover {
  background: var(--tkts-row-hover-bg);
}

.page-thong-ke-tan-suat-loto .tansuatrow:hover .bg-info {
  background: var(--tkts-row-hover-bg);
}

.page-thong-ke-tan-suat-loto tr.tansuatrow.bg-hover>td:not(.darkgb) {
  background-color: var(--tkts-row-hover-bg);
}

.page-thong-ke-tan-suat-loto tr.tansuatrow.bg-active>td:not(.darkgb) {
  background-color: var(--tkts-row-active-bg);
}

.page-thong-ke-tan-suat-loto tr.tansuatrow.bg-active .bg-info {
  background-color: var(--tkts-row-active-bg);
}

.page-thong-ke-tan-suat-loto .tansuat-verti .kqbackground.verti-highlight.verti-active {
  background-color: var(--tkts-row-active-bg);
}

.page-thong-ke-tan-suat-loto .tansuat-verti .verti-highlight.verti-hover {
  background-color: var(--tkts-verti-hover-bg);
}

.page-thong-ke-tan-suat-loto .tansuat-verti .table.table-tkts {
  width: -moz-max-content;
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
}

.page-thong-ke-tan-suat-loto .tansuat-verti .table.table-tkts td {
  min-width: var(--sp-32);
  text-align: center;
  white-space: nowrap;
}

.page-thong-ke-tan-suat-loto .tansuat-verti .setcolor {
  cursor: pointer;
  font-weight: 700;
  background: var(--tkts-header-bg);
  position: sticky;
  left: 0;
  z-index: 3;
}

/* Cột dọc: tbody td có cả setcolor + darkgb/kqbackground — không dùng nền header cho ô dữ liệu */
.page-thong-ke-tan-suat-loto .tansuat-verti td.setcolor.darkgb,
.page-thong-ke-tan-suat-cap-loto .tansuat-verti td.setcolor.darkgb {
  background-color: var(--tkts-dark-cell-bg);
}

.page-thong-ke-tan-suat-loto .tansuat-verti td.setcolor.kqbackground,
.page-thong-ke-tan-suat-cap-loto .tansuat-verti td.setcolor.kqbackground {
  background-color: var(--white-color);
  color: var(--black-color);
}

.page-thong-ke-tan-suat-loto .tansuat-verti td.setcolor.kqbackground.color-red,
.page-thong-ke-tan-suat-cap-loto .tansuat-verti td.setcolor.kqbackground.color-red,
.page-thong-ke-tan-suat-loto .tansuat-verti td.kqbackground.color-red,
.page-thong-ke-tan-suat-cap-loto .tansuat-verti td.kqbackground.color-red,
.page-thong-ke-tan-suat-loto .table.table-tkts td.color-red,
.page-thong-ke-tan-suat-cap-loto .table.table-tkts td.color-red {
  color: var(--accent-color);
}

.page-thong-ke-tan-suat-loto .tansuat-verti .date-col-head,
.page-thong-ke-tan-suat-loto .tansuat-verti .date-col {
  min-width: 88px;
  font-weight: 700;
  background: var(--tkts-header-bg);
  position: sticky;
  left: 0;
  padding: 4px 10px;
  box-sizing: border-box;
}

.page-thong-ke-tan-suat-loto .tansuat-verti .date-col-head {
  z-index: 5;
  line-height: 1.2;
}

.page-thong-ke-tan-suat-loto .tansuat-verti .date-col {
  z-index: 3;
}

.page-thong-ke-tan-suat-loto .tansuat-verti .date-col .date-cell-link {
  display: inline-block;
  padding: 0 2px;
}

.page-thong-ke-tan-suat-loto .tansuat-verti tr:first-child td {
  background: var(--tkts-header-bg);
  position: sticky;
  top: 0;
  z-index: 2;
}

.page-thong-ke-tan-suat-loto .tansuat-verti tr:first-child .setcolor {
  z-index: 4;
}

.page-thong-ke-tan-suat-loto .tansuat-verti .date-cell-link {
  color: var(--link-color);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.page-thong-ke-tan-suat-loto .tansuat-verti .date-cell-link:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.page-thong-ke-tan-suat-loto .tansuat-verti .kqbackground.verti-highlight:hover {
  background-color: var(--tkts-verti-hover-bg);
}

.page-thong-ke-tan-suat-loto .tansuat-verti .verti-active,
.page-thong-ke-tan-suat-loto .verti-active {
  background-color: var(--tkts-row-active-bg) !important;
}

.page-thong-ke-tan-suat-loto .tansuat-verti td.setcolor.darkgb.verti-active,
.page-thong-ke-tan-suat-loto .tansuat-verti td.setcolor.kqbackground.verti-active,
.page-thong-ke-tan-suat-loto .tansuat-verti th.setcolor.verti-active {
  background-color: var(--tkts-row-active-bg) !important;
}

.page-thong-ke-tan-suat-loto .bkg-red {
  background: var(--accent-soft-color);
  color: var(--white-color);
  font-weight: 700;
}

.page-thong-ke-tan-suat-loto .trbg-hover tbody tr:hover {
  background: var(--tkts-verti-hover-bg);
}

@media only screen and (max-width: 800px) {
  .page-thong-ke-tan-suat-loto {
      width: 100%;
      margin-bottom: 16px;
  }

  .page-thong-ke-tan-suat-loto .m-calc {
      margin-left: -12px !important;
      margin-right: -12px !important;
      width: calc(100% + 24px) !important;
  }

  .page-thong-ke-tan-suat-loto .w-touchspin {
      width: 100%;
  }

  .page-thong-ke-tan-suat-loto .btn-tabs {
      padding: 0 8px;
      height: 36px;
      line-height: 36px;
  }
}
.page-thong-ke-tan-suat-loto thead tr,
.page-thong-ke-tan-suat-cap-loto thead tr {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--tkts-header-bg);
}

.page-thong-ke-tan-suat-loto tr.tansuatrow td:last-child,
.page-thong-ke-tan-suat-cap-loto tr.tansuatrow td:last-child {
  position: sticky;
  right: 0;
  z-index: 2;
  background: var(--tkts-header-bg);
}

/* Summary tables (mirror cap-loto) */
.page-thong-ke-tan-suat-loto .block.m-calc > .table.trbg-hover { width: 100%; max-width: 100%; border-collapse: collapse; margin: 0 0 var(--sp-16) 0; border: solid 1px var(--border-color); background: var(--white-color); table-layout: fixed; font-size: var(--text-md); }
.page-thong-ke-tan-suat-loto .block.m-calc > .table.trbg-hover th, .page-thong-ke-tan-suat-loto .block.m-calc > .table.trbg-hover td { padding: 3px; border: solid 1px var(--border-color); vertical-align: middle; line-height: 1.4; width: 25%; box-sizing: border-box; }
.page-thong-ke-tan-suat-loto .block.m-calc > .table.trbg-hover thead th { background: var(--alice-color); font-size: var(--text-md); font-weight: 500; }
.page-thong-ke-tan-suat-loto .block.m-calc > .table.trbg-hover thead th.bkg-red { background: var(--accent-soft-color); color: var(--white-color); font-weight: 700; padding: var(--sp-10) var(--sp-5); width: auto; }
.page-thong-ke-tan-suat-loto .block.m-calc > .table.trbg-hover .color_red { color: var(--accent-color); }

.page-thong-ke-tan-suat-loto .table-scroll-tkts.tkts-collapsed,
.page-thong-ke-tan-suat-cap-loto .table-scroll-tkts.tkts-collapsed {
  max-height: 500px;
  overflow-y: hidden;
}

.page-thong-ke-tan-suat-loto .btn-toggle-tkts,
.page-thong-ke-tan-suat-cap-loto .btn-toggle-tkts {
  display: block;
  width: 100%;
  padding: 10px;
  text-align: center;
  background: #f1f1f1;
  border: 1px solid #ddd;
  border-top: none;
  cursor: pointer;
  font-weight: bold;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.page-thong-ke-tan-suat-loto .btn-toggle-tkts:hover,
.page-thong-ke-tan-suat-cap-loto .btn-toggle-tkts:hover {
  background: #e1e1e1;
}

.page-thong-ke-tan-suat-loto .chontype.btn-tslt {
  text-decoration: none;
  color: inherit;
  border: none;
  margin: 0 2px;
}

.page-thong-ke-tan-suat-loto td .btn-tk {
  text-decoration: none;
  color: inherit;
}
/* Ported from Builder styleall / globals */
/* ===== Thong ke tan suat cap-loto (mirror loto) ===== */
.page-thong-ke-tan-suat-cap-loto {
  width: 71%;
  float: left;
}

.page-thong-ke-tan-suat-cap-loto .m-scrol {
  overflow: auto;
  white-space: nowrap;
}

.page-thong-ke-tan-suat-cap-loto .btn-tslt {
  background: var(--white-color);
  display: inline-block;
  height: var(--sp-32);
  line-height: var(--sp-32);
  font-size: var(--text-xs);
  cursor: pointer;
  text-align: center;
  padding: 0 8px;
  border-radius: 2px;
}

.page-thong-ke-tan-suat-cap-loto .btn-tslt.active {
  background: var(--tkts-tab-active-bg);
  color: var(--white-color);
}

.page-thong-ke-tan-suat-cap-loto .btn-tk {
  padding: 2px;
  font-size: var(--text-xs);
  border-radius: 3px;
  border: solid 1px var(--border-light-color);
  display: inline-block;
  min-width: 40px;
  cursor: pointer;
  font-weight: 400;
  background: var(--white-color);
}

.page-thong-ke-tan-suat-cap-loto .btn-tk:hover {
  background: var(--border-color);
}

.page-thong-ke-tan-suat-cap-loto .bg-info {
  background-color: var(--tkts-header-bg);
}

.page-thong-ke-tan-suat-cap-loto .table-tkth {
  border: solid 1px var(--border-color);
}

.page-thong-ke-tan-suat-cap-loto .table-tkth td,
.page-thong-ke-tan-suat-cap-loto .table-tkth th {
  border: 0;
}

.page-thong-ke-tan-suat-cap-loto .table-tkth tr {
  border-bottom: solid 1px var(--border-color);
}

.page-thong-ke-tan-suat-cap-loto .label-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.page-thong-ke-tan-suat-cap-loto .label-checkbox .input-checkbox {
  position: static;
  z-index: auto;
  opacity: 1;
  display: inline-block;
  margin: 0;
  padding: 0;
  height: 16px;
  width: 16px;
  border: 1px solid var(--border-light-color);
  border-radius: 2px;
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  -moz-appearance: auto !important;
}

.page-thong-ke-tan-suat-cap-loto .checkbox-indicator {
  display: none;
}

.page-thong-ke-tan-suat-cap-loto .label-checkbox .input-checkbox:checked~.checkbox-indicator {
  display: none;
}

.page-thong-ke-tan-suat-cap-loto .checkbox-indicator::after {
  content: "";
  position: absolute;
  display: none;
}

.page-thong-ke-tan-suat-cap-loto .label-checkbox .input-checkbox:checked~.checkbox-indicator::after {
  display: none;
}

.page-thong-ke-tan-suat-cap-loto .label-checkbox:hover .input-checkbox~.checkbox-indicator,
.page-thong-ke-tan-suat-cap-loto .label-checkbox .input-checkbox:focus~.checkbox-indicator {
  display: none;
}

.page-thong-ke-tan-suat-cap-loto .label-checkbox:hover .input-checkbox:not([disabled]):checked~.checkbox-indicator,
.page-thong-ke-tan-suat-cap-loto .label-checkbox .input-checkbox:checked:focus~.checkbox-indicator {
  display: none;
}

.page-thong-ke-tan-suat-cap-loto .label-checkbox .input-checkbox:disabled~.checkbox-indicator {
  display: none;
}

.page-thong-ke-tan-suat-cap-loto .label-checkbox .input-checkbox:disabled~.checkbox-indicator::after {
  display: none;
}

/* Ghi đè rule checkbox global: trang này dùng checkbox native */
.page-thong-ke-tan-suat-cap-loto .input-checkbox[type="checkbox"] {
  position: static;
  z-index: auto;
  opacity: 1;
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 0;
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  -moz-appearance: auto !important;
}

.page-thong-ke-tan-suat-cap-loto .btn-tabs {
  display: inline-block;
  padding: 0 16px;
  height: 40px;
  font-size: var(--text-base);
  line-height: 40px;
  background-color: var(--border-input-color);
  cursor: pointer;
  text-align: center;
  border-radius: 2px;
}

.page-thong-ke-tan-suat-cap-loto .btn-tabs.active {
  background-color: var(--tkts-tabs-selected-bg);
  color: var(--white-color);
}

.page-thong-ke-tan-suat-cap-loto .table-scroll-tkts {
  position: relative;
  width: 100%;
  z-index: 1;
  margin: auto;
  overflow-x: scroll;
}

.page-thong-ke-tan-suat-cap-loto .table.table-tkts {
  border: solid 1px var(--tkts-table-grid-color);
}

.page-thong-ke-tan-suat-cap-loto .table.table-tkts th {
  border: solid 1px var(--tkts-table-grid-color);
  padding: 4px;
  width: 50px;
}

.page-thong-ke-tan-suat-cap-loto .table-scroll-tkts th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--tkts-header-bg);
}

.page-thong-ke-tan-suat-cap-loto .table-scroll-tkts thead th {
  background: var(--tkts-header-bg);
  position: sticky;
  top: 0;
}

.page-thong-ke-tan-suat-cap-loto .table.table-tkts td {
  border: solid 1px var(--tkts-table-grid-color);
  width: 25px;
  padding: 0;
  height: 25px;
}

.page-thong-ke-tan-suat-cap-loto .darkgb {
  background-color: var(--tkts-dark-cell-bg);
}

.page-thong-ke-tan-suat-cap-loto .tansuatrow {
  background: var(--white-color);
}

.page-thong-ke-tan-suat-cap-loto .tansuatrow:hover {
  background: var(--tkts-row-hover-bg);
}

.page-thong-ke-tan-suat-cap-loto .tansuatrow:hover .bg-info {
  background: var(--tkts-row-hover-bg);
}

.page-thong-ke-tan-suat-cap-loto tr.tansuatrow.bg-hover>td:not(.darkgb) {
  background-color: var(--tkts-row-hover-bg);
}

.page-thong-ke-tan-suat-cap-loto tr.tansuatrow.bg-active>td:not(.darkgb) {
  background-color: var(--tkts-row-active-bg);
}

.page-thong-ke-tan-suat-cap-loto tr.tansuatrow.bg-active .bg-info {
  background-color: var(--tkts-row-active-bg);
}

.page-thong-ke-tan-suat-cap-loto .tansuat-verti .kqbackground.verti-highlight.verti-active {
  background-color: var(--tkts-row-active-bg);
}

.page-thong-ke-tan-suat-cap-loto .tansuat-verti .verti-highlight.verti-hover {
  background-color: var(--tkts-verti-hover-bg);
}

.page-thong-ke-tan-suat-cap-loto .tansuat-verti .table.table-tkts {
  width: -moz-max-content;
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
}

.page-thong-ke-tan-suat-cap-loto .tansuat-verti .table.table-tkts td {
  min-width: var(--sp-32);
  text-align: center;
  white-space: nowrap;
}

.page-thong-ke-tan-suat-cap-loto .tansuat-verti thead th.setcolor {
  cursor: pointer;
  font-weight: 700;
  background: var(--tkts-header-bg);
}

.page-thong-ke-tan-suat-cap-loto .tansuat-verti tbody td.setcolor {
  cursor: pointer;
  font-weight: 700;
  position: static;
  left: auto;
  z-index: auto;
}

.page-thong-ke-tan-suat-cap-loto .tansuat-verti .date-col-head,
.page-thong-ke-tan-suat-cap-loto .tansuat-verti .date-col {
  min-width: 88px;
  font-weight: 700;
  background: var(--tkts-header-bg);
  position: sticky;
  left: 0;
}

.page-thong-ke-tan-suat-cap-loto .tansuat-verti .date-col-head {
  z-index: 5;
  line-height: 1.2;
}

.page-thong-ke-tan-suat-cap-loto .tansuat-verti .date-col {
  z-index: 3;
}

.page-thong-ke-tan-suat-cap-loto .tansuat-verti tr:first-child td {
  background: var(--tkts-header-bg);
  position: sticky;
  top: 0;
  z-index: 2;
}

.page-thong-ke-tan-suat-cap-loto .tansuat-verti tr:first-child .setcolor {
  z-index: 4;
}

.page-thong-ke-tan-suat-cap-loto .tansuat-verti .date-cell-link {
  color: var(--link-color);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.page-thong-ke-tan-suat-cap-loto .tansuat-verti .date-cell-link:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.page-thong-ke-tan-suat-cap-loto .tansuat-verti .kqbackground.verti-highlight:hover {
  background-color: var(--tkts-verti-hover-bg);
}

.page-thong-ke-tan-suat-cap-loto .tansuat-verti .verti-active {
  background-color: var(--tkts-row-active-bg) !important;
}

.page-thong-ke-tan-suat-cap-loto .bkg-red {
  background: var(--tk-cap-summary-bar-bg);
  color: var(--white-color);
  font-weight: 700;
}

.page-thong-ke-tan-suat-cap-loto .trbg-hover tbody tr:hover {
  background: var(--tkts-verti-hover-bg);
}

@media only screen and (max-width: 800px) {
  .page-thong-ke-tan-suat-cap-loto {
      width: 100%;
      margin-bottom: 16px;
  }

  .page-thong-ke-tan-suat-cap-loto .m-calc {
      margin-left: -12px !important;
      margin-right: -12px !important;
      width: calc(100% + 24px) !important;
  }

  .page-thong-ke-tan-suat-cap-loto .w-touchspin {
      width: 100%;
  }

  .page-thong-ke-tan-suat-cap-loto .btn-tabs {
      padding: 0 8px;
      height: 36px;
      line-height: 36px;
  }
}

/* Cap loto — bảng tần suất: ô to hơn baseline */
.page-thong-ke-tan-suat-cap-loto .table-scroll-tkts .table.table-tkts {
  font-size: var(--text-sm);
  line-height: 1.25;
}

.page-thong-ke-tan-suat-cap-loto .table-scroll-tkts .table.table-tkts td {
  width: 32px;
  min-width: 30px;
  max-width: 40px;
  height: 32px;
  min-height: 30px;
  padding: 3px 5px;
  vertical-align: middle;
  line-height: 1.2;
}

.page-thong-ke-tan-suat-cap-loto .table-scroll-tkts .table.table-tkts thead th {
  padding: 6px 6px;
  width: 36px;
  min-width: 32px;
  font-size: var(--text-sm);
  line-height: 1.2;
  vertical-align: middle;
}

.page-thong-ke-tan-suat-cap-loto .table-scroll-tkts .table.table-tkts thead th:first-child {
  min-width: 52px;
  width: auto;
  max-width: 72px;
  padding: 6px 8px;
}

.page-thong-ke-tan-suat-cap-loto .table-scroll-tkts .table.table-tkts tbody th {
  padding: 5px 10px;
  min-width: 52px;
  max-width: 72px;
  width: auto;
  height: 32px;
  min-height: 30px;
  font-size: var(--text-sm);
  line-height: 1.2;
  vertical-align: middle;
  white-space: nowrap;
}

.page-thong-ke-tan-suat-cap-loto .tansuat-verti .table.table-tkts td {
  min-width: 38px;
  padding: 4px 6px;
}

/*
* Tab “Chỉ chọn cặp kép” (class tkts-chon-kep do JS gắn trên #tbTanSuat1):
* bảng dọc còn ít cột — min-width:100% trên .tansuat-verti .table-tkts làm cột “Cặp số”/ngày giãn hết phần trống.
* Chỉ áp dụng khi có tbody tr.tansuat-verti (không ảnh hưởng bảng chiều ngang).
*/
.page-thong-ke-tan-suat-cap-loto #tbTanSuat1.tkts-chon-kep .tansuat-verti .table.table-tkts {
  min-width: 0;
  width: -moz-max-content;
  width: max-content;
}

.page-thong-ke-tan-suat-cap-loto #tbTanSuat1.tkts-chon-kep .table-scroll-tkts .table.table-tkts:has(tbody tr.tansuat-verti) thead th:first-child,
.page-thong-ke-tan-suat-cap-loto #tbTanSuat1.tkts-chon-kep .table-scroll-tkts .table.table-tkts:has(tbody tr.tansuat-verti) tbody th {
  width: 88px;
  min-width: 88px;
  max-width: 88px;
  box-sizing: border-box;
}

/* Cap loto — bảng “Các cặp lô về nhiều/ít nhất” (đối chiếu styleall: table td/th padding 3px; thead th #f0f8ff 15px/500; .bkg-red; .trbg-hover) */
.page-thong-ke-tan-suat-cap-loto .block.m-calc>.table.trbg-hover {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 0 0 var(--sp-16) 0;
  border: solid 1px var(--border-color);
  background: var(--white-color);
  table-layout: fixed;
  font-size: var(--text-md);
}

.page-thong-ke-tan-suat-cap-loto .block.m-calc>.table.trbg-hover th,
.page-thong-ke-tan-suat-cap-loto .block.m-calc>.table.trbg-hover td {
  padding: 3px;
  border: solid 1px var(--border-color);
  vertical-align: middle;
  line-height: 1.4;
  width: 25%;
  box-sizing: border-box;
}

.page-thong-ke-tan-suat-cap-loto .block.m-calc>.table.trbg-hover thead th {
  background: var(--alice-color);
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--black-color);
}

.page-thong-ke-tan-suat-cap-loto .block.m-calc>.table.trbg-hover thead th.bkg-red {
  background: var(--tk-cap-summary-bar-bg);
  color: var(--white-color);
  font-weight: 700;
  font-size: var(--text-md);
  padding: var(--sp-10) var(--sp-5);
  width: auto;
}

.page-thong-ke-tan-suat-cap-loto .block.m-calc>.table.trbg-hover tbody td {
  background: var(--white-color);
  font-size: var(--text-md);
  color: var(--black-color);
}

.page-thong-ke-tan-suat-cap-loto .block.m-calc>.table.trbg-hover tbody td strong {
  font-weight: 700;
}

.page-thong-ke-tan-suat-cap-loto .block.m-calc>.table.trbg-hover .color_red {
  color: var(--accent-color);
}
.page-thong-ke-tan-suat-cap-loto thead tr,
.page-thong-ke-tan-suat-cap-loto thead tr {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--tkts-header-bg);
}

.page-thong-ke-tan-suat-cap-loto tr.tansuatrow td:last-child,
.page-thong-ke-tan-suat-cap-loto tr.tansuatrow td:last-child {
  position: sticky;
  right: 0;
  z-index: 2;
  background: var(--tkts-header-bg);
}

.page-thong-ke-tan-suat-cap-loto #tbTanSuat1.tkts-chon-kep .tansuat-verti .table.table-tkts {
  min-width: 0;
  width: -moz-max-content;
  width: max-content;
}

.page-thong-ke-tan-suat-cap-loto #tbTanSuat1.tkts-chon-kep .table-scroll-tkts .table.table-tkts:has(tbody tr) thead th:first-child,
.page-thong-ke-tan-suat-cap-loto #tbTanSuat1.tkts-chon-kep .tansuat-verti .table.table-tkts tbody td.bg-info.date-col,
.page-thong-ke-tan-suat-cap-loto #tbTanSuat1.tkts-chon-kep .tansuat-verti .table.table-tkts tbody td.bg-info.date-col-head {
  width: 88px;
  min-width: 88px;
  max-width: 88px;
  box-sizing: border-box;
}

.page-thong-ke-tan-suat-cap-loto .chontype.btn-tslt {
  text-decoration: none;
  color: inherit;
  border: none;
  margin: 0 2px;
}

.page-thong-ke-tan-suat-cap-loto td .btn-tk {
  text-decoration: none;
  color: inherit;
}

.page-thong-ke-tan-suat-cap-loto .w75 {
  min-width: 75px;
}

.page-thong-ke-tan-suat-cap-loto .tansuat-verti tbody th {
  background: var(--tkts-header-bg);
  font-weight: 700;
  position: sticky;
  left: 0;
  z-index: 3;
  min-width: 88px;
  padding: 4px 10px;
  box-sizing: border-box;
}

.page-thong-ke-tan-suat-cap-loto .tansuat-verti tbody th .date-cell-link {
  color: var(--link-color);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.page-thong-ke-tan-suat-cap-loto .tansuat-verti tbody th .date-cell-link:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.page-thong-ke-tan-suat-cap-loto .tansuat-verti td.kqbackground.color-red,
.page-thong-ke-tan-suat-cap-loto .tansuat-verti td.setcolor.kqbackground.color-red {
  color: var(--accent-color);
}
.page-bang-dac-biet-tuan .section {
  float: left;
  width: 100%;
  margin-bottom: var(--sp-16);
  position: relative;
  box-shadow: var(--shadow-card);
  -webkit-box-shadow: var(--shadow-card);
  -moz-box-shadow: var(--shadow-card);
}

.page-bang-dac-biet-tuan .section:last-child {
  margin-bottom: 0;
}

.page-bang-dac-biet-tuan .section-header {
  float: left;
  width: 100%;
  position: relative;
  background: var(--highlight-color);
  border: solid 1px var(--border-color);
  border-bottom: 0;
  padding: 8px var(--sp-10);
  text-align: center;
}

.page-bang-dac-biet-tuan .section-header h1 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  text-align: center;
  font-weight: bold;
  margin: 0;
}

.page-bang-dac-biet-tuan .section-header h2 {
  font-size: var(--text-2xl);
  text-align: center;
  font-weight: bold;
}

.page-bang-dac-biet-tuan .section-header h2>a {
  color: var(--accent-color);
}

.page-bang-dac-biet-tuan .section-header h2>a:hover {
  color: var(--link-color);
}

.page-bang-dac-biet-tuan .section-content {
  float: left;
  width: 100%;
  position: relative;
}

/* --- .content-pad-12, .block (styleall ~6021–6031) --- */
.page-bang-dac-biet-tuan .content-pad-12 {
  width: 100%;
  float: left;
  padding: 12px;
}

.page-bang-dac-biet-tuan .block {
  width: 100%;
  float: left;
  margin-bottom: var(--sp-16);
}

/* --- .ul-tab — một dòng, giãn đều full width (hình mẫu); hẹp quá thì cuộn --- */
.page-bang-dac-biet-tuan .ul-tab {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  min-width: 0;
  background: var(--alice-color);
  box-shadow: var(--shadow-card);
  -webkit-box-shadow: var(--shadow-card);
  -moz-box-shadow: var(--shadow-card);
  list-style: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: solid 1px var(--border-color);
  overflow-x: visible;
}

.page-bang-dac-biet-tuan .ul-tab li {
  flex: 1 1 0;
  margin: 0;
  padding: 0;
  text-align: center;
  border-left: solid 1px var(--border-light-color);
  min-width: 0;
}

.page-bang-dac-biet-tuan .ul-tab li:first-child {
  border-left: 0;
}

.page-bang-dac-biet-tuan .ul-tab li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 6px;
  font-weight: 500;
  font-size: var(--text-base);
  text-decoration: none;
  color: var(--link-color);
  white-space: nowrap;
  text-align: center;
}

.page-bang-dac-biet-tuan .ul-tab li a:hover {
  color: var(--accent-color);
}

.page-bang-dac-biet-tuan .ul-tab li a.active {
  background: var(--accent-color);
  color: var(--white-color);
}

@media only screen and (max-width: 768px) {
  .page-bang-dac-biet-tuan .ul-tab {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .page-bang-dac-biet-tuan .ul-tab::-webkit-scrollbar {
    height: 8px;
  }

  .page-bang-dac-biet-tuan .ul-tab::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.06);
    border-radius: 4px;
  }

  .page-bang-dac-biet-tuan .ul-tab::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
  }

  .page-bang-dac-biet-tuan .ul-tab li {
    flex: 0 0 auto;
    min-width: auto;
  }

  .page-bang-dac-biet-tuan .ul-tab li a {
    width: auto;
    padding: 8px 10px;
    font-size: var(--text-sm);
  }
}

/* --- Form: .form-group, .column2, .label-text (styleall) --- */
.page-bang-dac-biet-tuan .form-group {
  float: left;
  width: 100%;
  position: relative;
  margin-bottom: var(--sp-15);
  display: table;
}

.page-bang-dac-biet-tuan .form-group:last-child {
  margin-bottom: 0;
}

.page-bang-dac-biet-tuan .column2 {
  float: left;
  width: 48.5%;
  margin-right: 3%;
  position: relative;
}

.page-bang-dac-biet-tuan .column2:nth-child(2n + 2) {
  margin-right: 0;
}

/* Hai cột Tỉnh / Năm: grid đều + mỗi cột flex (nhãn → select), tránh lệch do align-items:flex-end */
.page-bang-dac-biet-tuan .form>.form-group:first-of-type {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  align-items: stretch;
  box-sizing: border-box;
}

.page-bang-dac-biet-tuan .form>.form-group:first-of-type .column2 {
  float: none;
  margin-right: 0;
  width: auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: flex-start;
}

.page-bang-dac-biet-tuan .form>.form-group:first-of-type .column2 .label-text {
  float: none;
  width: 100%;
  padding-bottom: 0;
  margin: 0;
}

.page-bang-dac-biet-tuan .form>.form-group:first-of-type .column2 select {
  float: none;
  width: 100%;
}

.page-bang-dac-biet-tuan .label-text {
  padding-bottom: var(--sp-5);
  float: left;
  width: 100%;
  font-size: var(--text-base);
}

.page-bang-dac-biet-tuan .form-group select {
  float: left;
  width: 100%;
  height: var(--input-h);
  padding: 0 var(--sp-10);
  padding-right: 28px;
  margin: 0;
  border: solid 1px var(--border-input-color);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: inherit;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: var(--white-color);
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 18px 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23555555' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

.page-bang-dac-biet-tuan .form-group select:focus {
  border: solid 1px var(--google-color);
  outline: 0;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}

.page-bang-dac-biet-tuan .form-group.text-right {
  text-align: right;
  display: block;
}

.page-bang-dac-biet-tuan .btn.btn-danger {
  display: inline-block;
  padding: 0 var(--sp-16);
  height: var(--input-h);
  line-height: var(--input-h);
  background-color: var(--accent-color);
  color: var(--white-color);
  border-radius: var(--radius);
  -webkit-border-radius: var(--radius);
  -moz-border-radius: var(--radius);
  cursor: pointer;
  border: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 400;
}

/* --- .title-block, .block-form (styleall) --- */
.page-bang-dac-biet-tuan .title-block {
  font-size: var(--text-xl);
  font-weight: bold;
}

.page-bang-dac-biet-tuan .block-form {
  width: 100%;
  float: left;
  background: var(--divider-color);
  padding: 8px var(--sp-10);
}

.page-bang-dac-biet-tuan .block-form .form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  gap: 6px var(--sp-10);
  float: left;
  width: 100%;
  min-height: 36px;
  box-sizing: border-box;
}

/* Radio + chữ: cùng hàng — chữ hay trông cao hơn vòng radio → center + nudge radio lên nhẹ */
.page-bang-dac-biet-tuan .block-form .label-radio.btn-item {
  float: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  margin-bottom: 0;
  margin-top: 0;
  font-size: var(--text-base);
}

.page-bang-dac-biet-tuan .block-form .label-radio.btn-item input[type="radio"] {
  margin: 0;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  min-height: 1rem;
  position: relative;
  top: -1px;
}

.page-bang-dac-biet-tuan .btn-item {
  margin-right: var(--sp-10);
  float: left;
}

.page-bang-dac-biet-tuan .block-form .btn-item {
  float: none;
  margin-right: 0;
}

.page-bang-dac-biet-tuan .btn-item:last-child {
  margin-right: 0;
}

/* --- .scroll-horizontal (styleall) --- */
.page-bang-dac-biet-tuan .scroll-horizontal {
  position: relative;
  width: 100%;
  z-index: 1;
  overflow-x: auto;
  border: solid 1px var(--border-light-color);
}

/* --- Bảng: .table-fixed, .number-DB, .bg-cn, .bg-tet, .bg-hover (styleall) --- */
.page-bang-dac-biet-tuan .scroll-horizontal table {
  border-collapse: separate;
}

.page-bang-dac-biet-tuan .scroll-horizontal table td,
.page-bang-dac-biet-tuan .scroll-horizontal table th {
  padding: 3px;
  border: solid 1px var(--border-color);
}

.page-bang-dac-biet-tuan .scroll-horizontal table thead th {
  background: var(--alice-color);
  font-size: var(--text-md);
  font-weight: 500;
}

.page-bang-dac-biet-tuan .table-fixed {
  border-collapse: separate;
  text-align: center;
  width: 100%;
}

.page-bang-dac-biet-tuan .table-fixed th,
.page-bang-dac-biet-tuan .table-fixed td {
  padding: var(--sp-5);
  border-right: 0;
  border-bottom: 0;
}

.page-bang-dac-biet-tuan .table-fixed thead th {
  background: var(--light-color);
  position: sticky;
  top: 0;
}

.page-bang-dac-biet-tuan .table-fixed th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--light-color);
}

.page-bang-dac-biet-tuan .table-fixed thead th:first-child {
  z-index: 5;
}

.page-bang-dac-biet-tuan .table-fixed tfoot,
.page-bang-dac-biet-tuan .table-fixed tfoot th,
.page-bang-dac-biet-tuan .table-fixed tfoot td {
  position: sticky;
  bottom: 0;
  background: var(--light-color);
  z-index: 4;
}

.page-bang-dac-biet-tuan .number-DB {
  font-size: var(--text-lg);
  font-weight: bold;
}

.page-bang-dac-biet-tuan .number-DB.bg-cn {
  background: var(--bg-twitter-color);
}

.page-bang-dac-biet-tuan .bg-tet {
  background: var(--primary-color) !important;
  font-weight: bold;
  color: var(--white-color) !important;
}

.page-bang-dac-biet-tuan .table-fixed.bg-hover .bg-tet:hover {
  color: var(--gray-2-color);
}

.page-bang-dac-biet-tuan .bg-hover .number-DB:hover {
  background: var(--highlight-color);
}

.page-bang-dac-biet-tuan .bg-hover .number-DB.active {
  background: var(--highlight-color);
}

.page-bang-dac-biet-tuan .giaidacbiet {
  float: left;
  width: 100%;
}

.page-bang-dac-biet-tuan .hideall {
  display: none;
}

/* Chế độ hiển thị calendar — toggle bằng class trên #bdb-tuan-result */
.page-bang-dac-biet-tuan .bdb-tuan-spin-0 .show2,
.page-bang-dac-biet-tuan .bdb-tuan-spin-0 .showdau,
.page-bang-dac-biet-tuan .bdb-tuan-spin-0 .showduoi,
.page-bang-dac-biet-tuan .bdb-tuan-spin-0 .showtong {
  display: none;
}

.page-bang-dac-biet-tuan .bdb-tuan-spin-1 .showFull,
.page-bang-dac-biet-tuan .bdb-tuan-spin-1 .showdau,
.page-bang-dac-biet-tuan .bdb-tuan-spin-1 .showduoi,
.page-bang-dac-biet-tuan .bdb-tuan-spin-1 .showtong {
  display: none;
}

.page-bang-dac-biet-tuan .bdb-tuan-spin-2 .showFull,
.page-bang-dac-biet-tuan .bdb-tuan-spin-2 .show2,
.page-bang-dac-biet-tuan .bdb-tuan-spin-2 .showduoi,
.page-bang-dac-biet-tuan .bdb-tuan-spin-2 .showtong {
  display: none;
}

.page-bang-dac-biet-tuan .bdb-tuan-spin-2 .showdau {
  display: inline !important;
}

.page-bang-dac-biet-tuan .bdb-tuan-spin-3 .showFull,
.page-bang-dac-biet-tuan .bdb-tuan-spin-3 .show2,
.page-bang-dac-biet-tuan .bdb-tuan-spin-3 .showdau,
.page-bang-dac-biet-tuan .bdb-tuan-spin-3 .showtong {
  display: none;
}

.page-bang-dac-biet-tuan .bdb-tuan-spin-3 .showduoi {
  display: inline !important;
}

.page-bang-dac-biet-tuan .bdb-tuan-spin-4 .showFull,
.page-bang-dac-biet-tuan .bdb-tuan-spin-4 .show2,
.page-bang-dac-biet-tuan .bdb-tuan-spin-4 .showdau,
.page-bang-dac-biet-tuan .bdb-tuan-spin-4 .showduoi {
  display: none;
}

.page-bang-dac-biet-tuan .bdb-tuan-spin-4 .showtong {
  display: inline !important;
}

.page-bang-dac-biet-tuan .font-bold {
  font-weight: bold;
}

.page-bang-dac-biet-tuan .lottery-info table {
  font-size: var(--text-sm);
}

@media only screen and (max-width: 800px) {
  .page-bang-dac-biet-tuan .m-calc {
    margin-left: -12px !important;
    margin-right: -12px !important;
    width: calc(100% + 24px) !important;
  }
}
.page-bang-dac-biet-thang .section {
  float: left;
  width: 100%;
  margin-bottom: var(--sp-16);
  position: relative;
  box-shadow: var(--shadow-card);
  -webkit-box-shadow: var(--shadow-card);
  -moz-box-shadow: var(--shadow-card);
}

.page-bang-dac-biet-thang .section:last-child {
  margin-bottom: 0;
}

.page-bang-dac-biet-thang .section-header {
  float: left;
  width: 100%;
  position: relative;
  background: var(--highlight-color);
  border: solid 1px var(--border-color);
  border-bottom: 0;
  padding: 8px var(--sp-10);
  text-align: center;
}

.page-bang-dac-biet-thang .section-header h1 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  text-align: center;
  font-weight: bold;
  margin: 0;
}

.page-bang-dac-biet-thang .section-header h2 {
  font-size: var(--text-2xl);
  text-align: center;
  font-weight: bold;
}

.page-bang-dac-biet-thang .section-header h2>a {
  color: var(--accent-color);
}

.page-bang-dac-biet-thang .section-header h2>a:hover {
  color: var(--link-color);
}

.page-bang-dac-biet-thang .section-content {
  float: left;
  width: 100%;
  position: relative;
}

/* --- .content-pad-12, .block (styleall ~6021–6031) --- */
.page-bang-dac-biet-thang .content-pad-12 {
  width: 100%;
  float: left;
  padding: 12px;
}

.page-bang-dac-biet-thang .block {
  width: 100%;
  float: left;
  margin-bottom: var(--sp-16);
}

/* --- .ul-tab — đồng bộ tuần/thống kê GDB: giãn đều desktop; ≤768px cuộn ngang --- */
.page-bang-dac-biet-thang .ul-tab {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  min-width: 0;
  background: var(--alice-color);
  box-shadow: var(--shadow-card);
  -webkit-box-shadow: var(--shadow-card);
  -moz-box-shadow: var(--shadow-card);
  list-style: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: solid 1px var(--border-color);
  overflow-x: visible;
}

.page-bang-dac-biet-thang .ul-tab li {
  flex: 1 1 0;
  margin: 0;
  padding: 0;
  text-align: center;
  border-left: solid 1px var(--border-light-color);
  min-width: 0;
}

.page-bang-dac-biet-thang .ul-tab li:first-child {
  border-left: 0;
}

.page-bang-dac-biet-thang .ul-tab li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 6px;
  font-weight: 500;
  font-size: var(--text-base);
  text-decoration: none;
  color: var(--link-color);
  white-space: nowrap;
  text-align: center;
}

.page-bang-dac-biet-thang .ul-tab li a:hover {
  color: var(--accent-color);
}

.page-bang-dac-biet-thang .ul-tab li a.active {
  background: var(--accent-color);
  color: var(--white-color);
}

@media only screen and (max-width: 768px) {
  .page-bang-dac-biet-thang .ul-tab {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .page-bang-dac-biet-thang .ul-tab::-webkit-scrollbar {
    height: 8px;
  }

  .page-bang-dac-biet-thang .ul-tab::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.06);
    border-radius: 4px;
  }

  .page-bang-dac-biet-thang .ul-tab::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
  }

  .page-bang-dac-biet-thang .ul-tab li {
    flex: 0 0 auto;
    min-width: auto;
  }

  .page-bang-dac-biet-thang .ul-tab li a {
    width: auto;
    padding: 8px 10px;
    font-size: var(--text-sm);
  }
}

/* --- Form: .form-group, .column2, .label-text (styleall) --- */
.page-bang-dac-biet-thang .form-group {
  float: left;
  width: 100%;
  position: relative;
  margin-bottom: var(--sp-15);
  display: table;
}

.page-bang-dac-biet-thang .form-group:last-child {
  margin-bottom: 0;
}

.page-bang-dac-biet-thang .column2 {
  float: left;
  width: 48.5%;
  margin-right: 3%;
  position: relative;
}

.page-bang-dac-biet-thang .column2:nth-child(2n + 2) {
  margin-right: 0;
}

/* content-left hẹp hơn mẫu full-width: bỏ margin % giữa hai .column2, dùng flex + gap */
.page-bang-dac-biet-thang .form>.form-group:first-of-type {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 4px;
  box-sizing: border-box;
}

.page-bang-dac-biet-thang .form>.form-group:first-of-type .btn-item2 {
  float: none;
  margin-right: 0;
  flex: 1 1 140px;
  min-width: 0;
  width: auto;
}

.page-bang-dac-biet-thang .form>.form-group:first-of-type .btn-item3 {
  flex: 0 0 auto;
  float: none;
}

.page-bang-dac-biet-thang .label-text {
  padding-bottom: var(--sp-5);
  float: left;
  width: 100%;
  font-size: var(--text-base);
}

.page-bang-dac-biet-thang .form-group select {
  float: left;
  width: 100%;
  height: var(--input-h);
  padding: 0 var(--sp-10);
  padding-right: 28px;
  margin: 0;
  border: solid 1px var(--border-input-color);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: inherit;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: var(--white-color);
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 18px 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23555555' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

.page-bang-dac-biet-thang .form-group select:focus {
  border: solid 1px var(--google-color);
  outline: 0;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}

.page-bang-dac-biet-thang .form-group.text-right {
  text-align: right;
  display: block;
}

@media only screen and (max-width: 768px) {
  .page-bang-dac-biet-thang .form > .form-group:first-of-type {
    flex-wrap: wrap;
    align-items: flex-end;
  }

  .page-bang-dac-biet-thang .form > .form-group:first-of-type .btn-item2:nth-child(1) {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
  }

  .page-bang-dac-biet-thang .form > .form-group:first-of-type .btn-item2:nth-child(2),
  .page-bang-dac-biet-thang .form > .form-group:first-of-type .btn-item2:nth-child(3) {
    flex: 1 1 0;
    min-width: 0;
  }

  .page-bang-dac-biet-thang .form > .form-group:first-of-type .btn-item3 {
    flex: 1 1 100%;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: var(--sp-5);
  }
}

.page-bang-dac-biet-thang .btn.btn-danger {
  display: inline-block;
  padding: 0 var(--sp-16);
  height: var(--input-h);
  line-height: var(--input-h);
  background-color: var(--accent-color);
  color: var(--white-color);
  border-radius: var(--radius);
  -webkit-border-radius: var(--radius);
  -moz-border-radius: var(--radius);
  cursor: pointer;
  border: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 400;
}

/* --- .title-block, .block-form (styleall) --- */
.page-bang-dac-biet-thang .title-block {
  font-size: var(--text-xl);
  font-weight: bold;
}

.page-bang-dac-biet-thang .block-form {
  width: 100%;
  float: left;
  background: var(--divider-color);
  padding: 8px var(--sp-10);
}

.page-bang-dac-biet-thang .block-form .form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  gap: 6px var(--sp-10);
  float: left;
  width: 100%;
  min-height: 36px;
  box-sizing: border-box;
}

/* Radio + chữ: cùng hàng — chữ hay trông cao hơn vòng radio → center + nudge radio lên nhẹ */
.page-bang-dac-biet-thang .block-form .label-radio.btn-item {
  float: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  margin-bottom: 0;
  margin-top: 0;
  font-size: var(--text-base);
}

.page-bang-dac-biet-thang .block-form .label-radio.btn-item input[type="radio"] {
  margin: 0;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  min-height: 1rem;
  position: relative;
  top: -1px;
}

.page-bang-dac-biet-thang .btn-item {
  margin-right: var(--sp-10);
  float: left;
}

.page-bang-dac-biet-thang .block-form .btn-item {
  float: none;
  margin-right: 0;
}

.page-bang-dac-biet-thang .btn-item:last-child {
  margin-right: 0;
}

/* --- .scroll-horizontal (styleall) --- */
.page-bang-dac-biet-thang .scroll-horizontal {
  position: relative;
  width: 100%;
  z-index: 1;
  overflow-x: auto;
  border: solid 1px var(--border-light-color);
}

/* --- Bảng: .table-fixed, .number-DB, .bg-cn, .bg-tet, .bg-hover (styleall) --- */
.page-bang-dac-biet-thang .scroll-horizontal table {
  border-collapse: separate;
}

.page-bang-dac-biet-thang .scroll-horizontal table td,
.page-bang-dac-biet-thang .scroll-horizontal table th {
  padding: 3px;
  border: solid 1px var(--border-color);
}

.page-bang-dac-biet-thang .scroll-horizontal table thead th {
  background: var(--alice-color);
  font-size: var(--text-md);
  font-weight: 500;
}

/* styleall.min: .table-fixed không width:100% — tránh nén 32 cột GDB tháng */
.page-bang-dac-biet-thang .table-fixed {
  border-collapse: separate;
  text-align: center;
}

.page-bang-dac-biet-thang .table-fixed th,
.page-bang-dac-biet-thang .table-fixed td {
  padding: var(--sp-5);
  border-right: 0;
  border-bottom: 0;
}

.page-bang-dac-biet-thang .table-fixed thead th {
  background: var(--light-color);
  position: sticky;
  top: 0;
}

.page-bang-dac-biet-thang .table-fixed th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--light-color);
}

.page-bang-dac-biet-thang .table-fixed thead th:first-child {
  z-index: 5;
}

.page-bang-dac-biet-thang .table-fixed tfoot,
.page-bang-dac-biet-thang .table-fixed tfoot th,
.page-bang-dac-biet-thang .table-fixed tfoot td {
  position: sticky;
  bottom: 0;
  background: var(--light-color);
  z-index: 4;
}

.page-bang-dac-biet-thang .number-DB {
  font-size: var(--text-lg);
  font-weight: bold;
}

.page-bang-dac-biet-thang .number-DB.bg-cn {
  background: var(--bg-twitter-color);
}

.page-bang-dac-biet-thang .bg-tet {
  background: var(--primary-color) !important;
  font-weight: bold;
  color: var(--white-color) !important;
}

.page-bang-dac-biet-thang .table-fixed.bg-hover .bg-tet:hover {
  color: var(--gray-2-color);
}

.page-bang-dac-biet-thang .bg-hover .number-DB:hover {
  background: var(--highlight-color);
}

.page-bang-dac-biet-thang .bg-hover .number-DB.active {
  background: var(--highlight-color);
}

.page-bang-dac-biet-thang .giaidacbiet {
  float: left;
  width: 100%;
}

.page-bang-dac-biet-thang .hideall {
  display: none;
}

.page-bang-dac-biet-thang .font-bold {
  font-weight: bold;
}

.page-bang-dac-biet-thang .lottery-info table {
  font-size: var(--text-sm);
}

/* Bả GDB tháng — theo styleall.min: .table-scroll-fixed650 + .table-fixed (+ .table-tk-gdbnam th min-width trên mẫu năm) */
.page-bang-dac-biet-thang .table-scroll-fixed650 {
  position: relative;
  width: 100%;
  z-index: 1;
  overflow: auto;
  max-height: 650px;
  -webkit-overflow-scrolling: touch;
  border: solid 1px var(--border-light-color);
}

.page-bang-dac-biet-thang .table-scroll-fixed650>.table-fixed {
  width: -moz-max-content;
  width: max-content;
  max-width: none;
  min-width: 100%;
  box-sizing: border-box;
}

/* Đầy đủ: cột đủ rộng cho 3 đầu + 2 cuối */
.page-bang-dac-biet-thang .table-scroll-fixed650 .table-fixed th:not(:first-child),
.page-bang-dac-biet-thang .table-scroll-fixed650 .table-fixed td:not(:first-child) {
  min-width: 46px;
  box-sizing: border-box;
}

.page-bang-dac-biet-thang .table-scroll-fixed650 .table-fixed th:first-child,
.page-bang-dac-biet-thang .table-scroll-fixed650 .table-fixed td:first-child {
  min-width: 58px;
  box-sizing: border-box;
}

/* 2 số cuối / Đầu / Đuôi: bảng theo nội dung, ô hẹp như layout mẫu (không kéo min-width 100%) */
.page-bang-dac-biet-thang #ajaxContentContainer.tk-spin-1 .table-scroll-fixed650>.table-fixed,
.page-bang-dac-biet-thang #ajaxContentContainer.tk-spin-2 .table-scroll-fixed650>.table-fixed,
.page-bang-dac-biet-thang #ajaxContentContainer.tk-spin-3 .table-scroll-fixed650>.table-fixed {
  min-width: 0;
}

.page-bang-dac-biet-thang #ajaxContentContainer.tk-spin-1 .table-scroll-fixed650 .table-fixed th:not(:first-child),
.page-bang-dac-biet-thang #ajaxContentContainer.tk-spin-1 .table-scroll-fixed650 .table-fixed td:not(:first-child),
.page-bang-dac-biet-thang #ajaxContentContainer.tk-spin-2 .table-scroll-fixed650 .table-fixed th:not(:first-child),
.page-bang-dac-biet-thang #ajaxContentContainer.tk-spin-2 .table-scroll-fixed650 .table-fixed td:not(:first-child),
.page-bang-dac-biet-thang #ajaxContentContainer.tk-spin-3 .table-scroll-fixed650 .table-fixed th:not(:first-child),
.page-bang-dac-biet-thang #ajaxContentContainer.tk-spin-3 .table-scroll-fixed650 .table-fixed td:not(:first-child) {
  min-width: 28px;
}

.page-bang-dac-biet-thang #ajaxContentContainer.tk-spin-1 .table-scroll-fixed650 .table-fixed th:first-child,
.page-bang-dac-biet-thang #ajaxContentContainer.tk-spin-1 .table-scroll-fixed650 .table-fixed td:first-child,
.page-bang-dac-biet-thang #ajaxContentContainer.tk-spin-2 .table-scroll-fixed650 .table-fixed th:first-child,
.page-bang-dac-biet-thang #ajaxContentContainer.tk-spin-2 .table-scroll-fixed650 .table-fixed td:first-child,
.page-bang-dac-biet-thang #ajaxContentContainer.tk-spin-3 .table-scroll-fixed650 .table-fixed th:first-child,
.page-bang-dac-biet-thang #ajaxContentContainer.tk-spin-3 .table-scroll-fixed650 .table-fixed td:first-child {
  min-width: 52px;
}

.page-bang-dac-biet-thang .table-scroll-fixed650 .number-DB {
  white-space: nowrap;
  vertical-align: middle;
}

/* Giữ inline như styleall: chế độ Đầy đủ (3 đầu + 2 cuối) cùng một hàng; block sẽ xuống dòng */
.page-bang-dac-biet-thang .table-scroll-fixed650 .number-DB .showFull,
.page-bang-dac-biet-thang .table-scroll-fixed650 .number-DB .lotoPrize {
  display: inline;
  line-height: 1.2;
}

.page-bang-dac-biet-thang .table-scroll-fixed650 .number-DB .showdau,
.page-bang-dac-biet-thang .table-scroll-fixed650 .number-DB .showduoi {
  display: none;
}

.page-bang-dac-biet-thang .table-scroll-fixed650 table {
  border-collapse: separate;
}

.page-bang-dac-biet-thang .table-scroll-fixed650 table td,
.page-bang-dac-biet-thang .table-scroll-fixed650 table th {
  padding: var(--sp-5);
  border: solid 1px var(--border-color);
}

.page-bang-dac-biet-thang .table-scroll-fixed650 thead th {
  background: var(--light-color);
  font-size: var(--text-md);
  font-weight: 500;
}

.page-bang-dac-biet-thang .number-DB.bgfdcfcf {
  background: #fdcfcf;
}

.page-bang-dac-biet-thang .title-month {
  font-size: var(--text-xl);
  font-weight: bold;
}

.page-bang-dac-biet-thang .title-sta {
  padding: 8px 0;
  font-size: var(--text-base);
  font-weight: 600;
  border-bottom: solid 1px var(--border-color);
}

.page-bang-dac-biet-thang h3.title-block-2 {
  margin: 0;
  padding: var(--sp-10) 12px;
  font-size: var(--text-base);
  font-weight: 700;
  background: var(--alice-color);
  color: var(--gray-2-color);
  border: solid 1px var(--border-color);
  border-bottom: 0;
}

.page-bang-dac-biet-thang .m-calc .table.text-center td,
.page-bang-dac-biet-thang .m-calc .table.text-center th {
  padding: 6px;
  border: solid 1px var(--border-color);
}

.page-bang-dac-biet-thang .td-w20 {
  width: 20%;
}

.page-bang-dac-biet-thang .td-w30 {
  width: 30%;
}

.page-bang-dac-biet-thang .td-w40 {
  width: 40%;
}

/* Radio GDB (choiceTKGĐB) — cùng logic fragment #ajaxContentContainer */
.page-bang-dac-biet-thang #ajaxContentContainer.tk-spin-1 .number-DB .showFull {
  display: none !important;
}

.page-bang-dac-biet-thang #ajaxContentContainer.tk-spin-2 .number-DB .showFull,
.page-bang-dac-biet-thang #ajaxContentContainer.tk-spin-2 .number-DB .lotoPrize,
.page-bang-dac-biet-thang #ajaxContentContainer.tk-spin-3 .number-DB .showFull,
.page-bang-dac-biet-thang #ajaxContentContainer.tk-spin-3 .number-DB .lotoPrize {
  display: none !important;
}

.page-bang-dac-biet-thang #ajaxContentContainer.tk-spin-2 .number-DB .showdau {
  display: inline !important;
  color: var(--accent-color);
}

.page-bang-dac-biet-thang #ajaxContentContainer.tk-spin-3 .number-DB .showduoi {
  display: inline !important;
  color: var(--accent-color);
}

@media only screen and (max-width: 800px) {
  .page-bang-dac-biet-thang .m-calc {
    margin-left: -12px !important;
    margin-right: -12px !important;
    width: calc(100% + 24px) !important;
  }
}
.page-bang-dac-biet-nam .section {
  float: left;
  width: 100%;
  margin-bottom: var(--sp-16);
  position: relative;
  box-shadow: var(--shadow-card);
  -webkit-box-shadow: var(--shadow-card);
  -moz-box-shadow: var(--shadow-card);
}

.page-bang-dac-biet-nam .section:last-child {
  margin-bottom: 0;
}

.page-bang-dac-biet-nam .section-header {
  float: left;
  width: 100%;
  position: relative;
  background: var(--highlight-color);
  border: solid 1px var(--border-color);
  border-bottom: 0;
  padding: 8px var(--sp-10);
  text-align: center;
}

.page-bang-dac-biet-nam .section-header h1 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  text-align: center;
  font-weight: bold;
  margin: 0;
}

.page-bang-dac-biet-nam .section-header h2 {
  font-size: var(--text-2xl);
  text-align: center;
  font-weight: bold;
}

.page-bang-dac-biet-nam .section-header h2>a {
  color: var(--accent-color);
}

.page-bang-dac-biet-nam .section-header h2>a:hover {
  color: var(--link-color);
}

.page-bang-dac-biet-nam .section-content {
  float: left;
  width: 100%;
  position: relative;
}

/* --- .content-pad-12, .block (styleall ~6021–6031) --- */
.page-bang-dac-biet-nam .content-pad-12 {
  width: 100%;
  float: left;
  padding: 12px;
}

.page-bang-dac-biet-nam .block {
  width: 100%;
  float: left;
  margin-bottom: var(--sp-16);
}

/* --- .ul-tab — đồng bộ tuần/thống kê GDB: giãn đều desktop; ≤768px cuộn ngang --- */
.page-bang-dac-biet-nam .ul-tab {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  min-width: 0;
  background: var(--alice-color);
  box-shadow: var(--shadow-card);
  -webkit-box-shadow: var(--shadow-card);
  -moz-box-shadow: var(--shadow-card);
  list-style: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: solid 1px var(--border-color);
  overflow-x: visible;
}

.page-bang-dac-biet-nam .ul-tab li {
  flex: 1 1 0;
  margin: 0;
  padding: 0;
  text-align: center;
  border-left: solid 1px var(--border-light-color);
  min-width: 0;
}

.page-bang-dac-biet-nam .ul-tab li:first-child {
  border-left: 0;
}

.page-bang-dac-biet-nam .ul-tab li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 6px;
  font-weight: 500;
  font-size: var(--text-base);
  text-decoration: none;
  color: var(--link-color);
  white-space: nowrap;
  text-align: center;
}

.page-bang-dac-biet-nam .ul-tab li a:hover {
  color: var(--accent-color);
}

.page-bang-dac-biet-nam .ul-tab li a.active {
  background: var(--accent-color);
  color: var(--white-color);
}

@media only screen and (max-width: 768px) {
  .page-bang-dac-biet-nam .ul-tab {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .page-bang-dac-biet-nam .ul-tab::-webkit-scrollbar {
    height: 8px;
  }

  .page-bang-dac-biet-nam .ul-tab::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.06);
    border-radius: 4px;
  }

  .page-bang-dac-biet-nam .ul-tab::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
  }

  .page-bang-dac-biet-nam .ul-tab li {
    flex: 0 0 auto;
    min-width: auto;
  }

  .page-bang-dac-biet-nam .ul-tab li a {
    width: auto;
    padding: 8px 10px;
    font-size: var(--text-sm);
  }
}

/* Chọn năm (Năm 2026…): ghi đè display:table — cuộn ngang khi chật, không tràn layout */
.page-bang-dac-biet-nam .block.m-calc > .ul-tabs-link {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.page-bang-dac-biet-nam .block.m-calc > .ul-tabs-link::-webkit-scrollbar {
  height: 8px;
}

.page-bang-dac-biet-nam .block.m-calc > .ul-tabs-link::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.06);
  border-radius: 4px;
}

.page-bang-dac-biet-nam .block.m-calc > .ul-tabs-link::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.page-bang-dac-biet-nam .block.m-calc > .ul-tabs-link li {
  display: block;
  flex: 0 0 auto;
}

.page-bang-dac-biet-nam .block.m-calc > .ul-tabs-link li a {
  white-space: nowrap;
}

/* --- Form: .form-group, .column2, .label-text (styleall) --- */
.page-bang-dac-biet-nam .form-group {
  float: left;
  width: 100%;
  position: relative;
  margin-bottom: var(--sp-15);
  display: table;
}

.page-bang-dac-biet-nam .form-group:last-child {
  margin-bottom: 0;
}

.page-bang-dac-biet-nam .column2 {
  float: left;
  width: 48.5%;
  margin-right: 3%;
  position: relative;
}

.page-bang-dac-biet-nam .column2:nth-child(2n + 2) {
  margin-right: 0;
}

/* Hai cột Tỉnh / Năm: giống bang-dac-biet-tuan — grid + mỗi cột flex (nhãn → select), select thẳng hàng */
.page-bang-dac-biet-nam .form > .form-group:first-of-type {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  align-items: stretch;
  box-sizing: border-box;
}

.page-bang-dac-biet-nam .form > .form-group:first-of-type .column2 {
  float: none;
  margin-right: 0;
  width: auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: flex-start;
}

.page-bang-dac-biet-nam .form > .form-group:first-of-type .column2 .label-text {
  float: none;
  width: 100%;
  padding-bottom: 0;
  margin: 0;
}

.page-bang-dac-biet-nam .form > .form-group:first-of-type .column2 select {
  float: none;
  width: 100%;
}

.page-bang-dac-biet-nam .label-text {
  padding-bottom: var(--sp-5);
  float: left;
  width: 100%;
  font-size: var(--text-base);
}

.page-bang-dac-biet-nam .form-group select {
  float: left;
  width: 100%;
  height: var(--input-h);
  padding: 0 var(--sp-10);
  padding-right: 28px;
  margin: 0;
  border: solid 1px var(--border-input-color);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: inherit;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: var(--white-color);
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 18px 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23555555' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

.page-bang-dac-biet-nam .form-group select:focus {
  border: solid 1px var(--google-color);
  outline: 0;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}

.page-bang-dac-biet-nam .form-group.text-right {
  text-align: right;
  display: block;
}

.page-bang-dac-biet-nam .btn.btn-danger {
  display: inline-block;
  padding: 0 var(--sp-16);
  height: var(--input-h);
  line-height: var(--input-h);
  background-color: var(--accent-color);
  color: var(--white-color);
  border-radius: var(--radius);
  -webkit-border-radius: var(--radius);
  -moz-border-radius: var(--radius);
  cursor: pointer;
  border: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 400;
}

/* --- .title-block, .block-form (styleall) --- */
.page-bang-dac-biet-nam .title-block {
  font-size: var(--text-xl);
  font-weight: bold;
}

.page-bang-dac-biet-nam .block-form {
  width: 100%;
  float: left;
  background: var(--divider-color);
  padding: 8px var(--sp-10);
}

.page-bang-dac-biet-nam .block-form .form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  gap: 6px var(--sp-10);
  float: left;
  width: 100%;
  min-height: 36px;
  box-sizing: border-box;
}

/* Radio + chữ: cùng hàng — chữ hay trông cao hơn vòng radio → center + nudge radio lên nhẹ */
.page-bang-dac-biet-nam .block-form .label-radio.btn-item {
  float: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  margin-bottom: 0;
  margin-top: 0;
  font-size: var(--text-base);
}

.page-bang-dac-biet-nam .block-form .label-radio.btn-item input[type="radio"] {
  margin: 0;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  min-height: 1rem;
  position: relative;
  top: -1px;
}

.page-bang-dac-biet-nam .btn-item {
  margin-right: var(--sp-10);
  float: left;
}

.page-bang-dac-biet-nam .block-form .btn-item {
  float: none;
  margin-right: 0;
}

.page-bang-dac-biet-nam .btn-item:last-child {
  margin-right: 0;
}

/* --- .scroll-horizontal (styleall) --- */
.page-bang-dac-biet-nam .scroll-horizontal {
  position: relative;
  width: 100%;
  z-index: 1;
  overflow-x: auto;
  border: solid 1px var(--border-light-color);
}

/* --- Bảng: .table-fixed, .number-DB, .bg-cn, .bg-tet, .bg-hover (styleall) --- */
.page-bang-dac-biet-nam .scroll-horizontal table {
  border-collapse: separate;
}

.page-bang-dac-biet-nam .scroll-horizontal table td,
.page-bang-dac-biet-nam .scroll-horizontal table th {
  padding: 3px;
  border: solid 1px var(--border-color);
}

.page-bang-dac-biet-nam .scroll-horizontal table thead th {
  background: var(--alice-color);
  font-size: var(--text-md);
  font-weight: 500;
}

/* styleall.min: .table-fixed không width:100% — tránh nén 32 cột GDB tháng */
.page-bang-dac-biet-nam .table-fixed {
  border-collapse: separate;
  text-align: center;
}

.page-bang-dac-biet-nam .table-fixed th,
.page-bang-dac-biet-nam .table-fixed td {
  padding: var(--sp-5);
  border-right: 0;
  border-bottom: 0;
}

.page-bang-dac-biet-nam .table-fixed thead th {
  background: var(--light-color);
  position: sticky;
  top: 0;
}

.page-bang-dac-biet-nam .table-fixed th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--light-color);
}

.page-bang-dac-biet-nam .table-fixed thead th:first-child {
  z-index: 5;
}

.page-bang-dac-biet-nam .table-fixed tfoot,
.page-bang-dac-biet-nam .table-fixed tfoot th,
.page-bang-dac-biet-nam .table-fixed tfoot td {
  position: sticky;
  bottom: 0;
  background: var(--light-color);
  z-index: 4;
}

.page-bang-dac-biet-nam .number-DB {
  font-size: var(--text-lg);
  font-weight: bold;
}

.page-bang-dac-biet-nam .number-DB.bg-cn {
  background: var(--bg-twitter-color);
}

.page-bang-dac-biet-nam .bg-tet {
  background: var(--primary-color) !important;
  font-weight: bold;
  color: var(--white-color) !important;
}

.page-bang-dac-biet-nam .table-fixed.bg-hover .bg-tet:hover {
  color: var(--gray-2-color);
}

.page-bang-dac-biet-nam .bg-hover .number-DB:hover {
  background: var(--highlight-color);
}

.page-bang-dac-biet-nam .bg-hover .number-DB.active {
  background: var(--highlight-color);
}

.page-bang-dac-biet-nam .giaidacbiet {
  float: left;
  width: 100%;
}

.page-bang-dac-biet-nam .hideall {
  display: none;
}

.page-bang-dac-biet-nam .font-bold {
  font-weight: bold;
}

.page-bang-dac-biet-nam .lottery-info table {
  font-size: var(--text-sm);
}

/* Bả GDB tháng — theo styleall.min: .table-scroll-fixed650 + .table-fixed (+ .table-tk-gdbnam th min-width trên mẫu năm) */
.page-bang-dac-biet-nam .table-scroll-fixed650 {
  position: relative;
  width: 100%;
  z-index: 1;
  overflow: auto;
  max-height: 650px;
  -webkit-overflow-scrolling: touch;
  border: solid 1px var(--border-light-color);
}

.page-bang-dac-biet-nam .table-scroll-fixed650>.table-fixed {
  width: -moz-max-content;
  width: max-content;
  max-width: none;
  min-width: 100%;
  box-sizing: border-box;
}

/* Đầy đủ: cột đủ rộng cho 3 đầu + 2 cuối */
.page-bang-dac-biet-nam .table-scroll-fixed650 .table-fixed th:not(:first-child),
.page-bang-dac-biet-nam .table-scroll-fixed650 .table-fixed td:not(:first-child) {
  min-width: 46px;
  box-sizing: border-box;
}

.page-bang-dac-biet-nam .table-scroll-fixed650 .table-fixed th:first-child,
.page-bang-dac-biet-nam .table-scroll-fixed650 .table-fixed td:first-child {
  min-width: 58px;
  box-sizing: border-box;
}

/* 2 số cuối / Đầu / Đuôi: bảng theo nội dung, ô hẹp như layout mẫu (không kéo min-width 100%) */
.page-bang-dac-biet-nam #ajaxContentContainer.tk-spin-1 .table-scroll-fixed650>.table-fixed,
.page-bang-dac-biet-nam #ajaxContentContainer.tk-spin-2 .table-scroll-fixed650>.table-fixed,
.page-bang-dac-biet-nam #ajaxContentContainer.tk-spin-3 .table-scroll-fixed650>.table-fixed {
  min-width: 0;
}

.page-bang-dac-biet-nam #ajaxContentContainer.tk-spin-1 .table-scroll-fixed650 .table-fixed th:not(:first-child),
.page-bang-dac-biet-nam #ajaxContentContainer.tk-spin-1 .table-scroll-fixed650 .table-fixed td:not(:first-child),
.page-bang-dac-biet-nam #ajaxContentContainer.tk-spin-2 .table-scroll-fixed650 .table-fixed th:not(:first-child),
.page-bang-dac-biet-nam #ajaxContentContainer.tk-spin-2 .table-scroll-fixed650 .table-fixed td:not(:first-child),
.page-bang-dac-biet-nam #ajaxContentContainer.tk-spin-3 .table-scroll-fixed650 .table-fixed th:not(:first-child),
.page-bang-dac-biet-nam #ajaxContentContainer.tk-spin-3 .table-scroll-fixed650 .table-fixed td:not(:first-child) {
  min-width: 28px;
}

.page-bang-dac-biet-nam #ajaxContentContainer.tk-spin-1 .table-scroll-fixed650 .table-fixed th:first-child,
.page-bang-dac-biet-nam #ajaxContentContainer.tk-spin-1 .table-scroll-fixed650 .table-fixed td:first-child,
.page-bang-dac-biet-nam #ajaxContentContainer.tk-spin-2 .table-scroll-fixed650 .table-fixed th:first-child,
.page-bang-dac-biet-nam #ajaxContentContainer.tk-spin-2 .table-scroll-fixed650 .table-fixed td:first-child,
.page-bang-dac-biet-nam #ajaxContentContainer.tk-spin-3 .table-scroll-fixed650 .table-fixed th:first-child,
.page-bang-dac-biet-nam #ajaxContentContainer.tk-spin-3 .table-scroll-fixed650 .table-fixed td:first-child {
  min-width: 52px;
}

.page-bang-dac-biet-nam .table-scroll-fixed650 .number-DB {
  white-space: nowrap;
  vertical-align: middle;
}

/* Giữ inline như styleall: chế độ Đầy đủ (3 đầu + 2 cuối) cùng một hàng; block sẽ xuống dòng */
.page-bang-dac-biet-nam .table-scroll-fixed650 .number-DB .showFull,
.page-bang-dac-biet-nam .table-scroll-fixed650 .number-DB .lotoPrize {
  display: inline;
  line-height: 1.2;
}

.page-bang-dac-biet-nam .table-scroll-fixed650 table {
  border-collapse: separate;
}

.page-bang-dac-biet-nam .table-scroll-fixed650 table td,
.page-bang-dac-biet-nam .table-scroll-fixed650 table th {
  padding: var(--sp-5);
  border: solid 1px var(--border-color);
}

.page-bang-dac-biet-nam .table-scroll-fixed650 thead th {
  background: var(--light-color);
  font-size: var(--text-md);
  font-weight: 500;
}

.page-bang-dac-biet-nam .number-DB.bgfdcfcf {
  background: #fdcfcf;
}

.page-bang-dac-biet-nam .title-month,
.page-bang-dac-biet-nam .title-year {
  font-size: var(--text-xl);
  font-weight: bold;
}

.page-bang-dac-biet-nam .title-sta {
  padding: 8px 0;
  font-size: var(--text-base);
  font-weight: 600;
  border-bottom: solid 1px var(--border-color);
}

.page-bang-dac-biet-nam .ul-statistic {
  list-style: none;
  margin: 0;
  padding: 8px 0 0;
}

.page-bang-dac-biet-nam .ul-statistic li {
  margin-bottom: 8px;
}

.page-bang-dac-biet-nam h3.title-block-2 {
  margin: 0;
  padding: var(--sp-10) 12px;
  font-size: var(--text-base);
  font-weight: 700;
  background: var(--alice-color);
  color: var(--gray-2-color);
  border: solid 1px var(--border-color);
  border-bottom: 0;
}

.page-bang-dac-biet-nam .m-calc .table.text-center td,
.page-bang-dac-biet-nam .m-calc .table.text-center th {
  padding: 6px;
  border: solid 1px var(--border-color);
}

.page-bang-dac-biet-nam .td-w20 {
  width: 20%;
}

.page-bang-dac-biet-nam .td-w30 {
  width: 30%;
}

.page-bang-dac-biet-nam .td-w40 {
  width: 40%;
}

.page-bang-dac-biet-nam .td-w10 {
  width: 10%;
}

.page-bang-dac-biet-nam .td-w50 {
  width: 50%;
}

/* GDB theo năm — bám layout mẫu (style cuối file + styleall): bảng max-content, .lotoPrize inline, nowrap */

.page-bang-dac-biet-nam .scroll-horizontal>.table-fixed.table-tk-gdbnam {
  width: -moz-max-content;
  width: max-content;
  max-width: none;
  box-sizing: border-box;
}

.page-bang-dac-biet-nam .scroll-horizontal .table-tk-gdbnam .number-DB {
  white-space: nowrap;
  vertical-align: middle;
}

.page-bang-dac-biet-nam .scroll-horizontal .table-tk-gdbnam .lotoPrize {
  display: inline;
  white-space: nowrap;
  line-height: 1.25;
}

/* Thứ 7 & Chủ nhật — styleall.min: .bg-beige / .bg-beige1 (HTML do server gắn class) */
.page-bang-dac-biet-nam .scroll-horizontal .table-tk-gdbnam .number-DB.bg-beige {
  background: #fffbea;
}

.page-bang-dac-biet-nam .scroll-horizontal .table-tk-gdbnam .number-DB.bg-beige1 {
  background: #fff6d0;
  color: var(--black-color);
}

.page-bang-dac-biet-nam .scroll-horizontal .table-tk-gdbnam .number-DB.bg-beige1 .color_red {
  color: var(--black-color);
}

.page-bang-dac-biet-nam .scroll-horizontal .table-fixed th:first-child,
.page-bang-dac-biet-nam .scroll-horizontal .table-fixed td:first-child {
  font-weight: 500;
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--light-color);
}

.page-bang-dac-biet-nam .scroll-horizontal .table-fixed thead th {
  font-weight: 500;
}

/* styleall: .tdDB-hover .number-DB:hover — nền cả ô; .color_red chỉ đổi màu chữ */
.page-bang-dac-biet-nam .scroll-horizontal .tdDB-hover .number-DB:hover {
  background: var(--dark-green-color) !important;
  color: var(--white-color) !important;
}

.page-bang-dac-biet-nam .scroll-horizontal .tdDB-hover .number-DB:hover .color_red {
  background: transparent !important;
  color: var(--white-color) !important;
}

.page-bang-dac-biet-nam .scroll-horizontal .tdDB-hover .number-DB.active {
  background: var(--dark-green-color) !important;
  color: var(--white-color) !important;
}

.page-bang-dac-biet-nam .scroll-horizontal .tdDB-hover .number-DB.active .color_red {
  color: var(--white-color) !important;
}

.page-bang-dac-biet-nam .table-tk-gdbnam th,
.page-bang-dac-biet-nam .table-tk-gdbnam th.lotonumber {
  min-width: 30px;
}

/* Đầy đủ: cột tháng đủ rộng cho cả dãy 5 chữ + 2 số đỏ cùng hàng (mẫu không xuống dòng) */
.page-bang-dac-biet-nam #ajaxContentContainer.gdb-year-0 .scroll-horizontal .table-tk-gdbnam thead th:not(:first-child),
.page-bang-dac-biet-nam #ajaxContentContainer.gdb-year-0 .scroll-horizontal .table-tk-gdbnam td.number-DB:not(:first-child) {
  min-width: 58px;
}

.page-bang-dac-biet-nam #ajaxContentContainer.gdb-year-0 .scroll-horizontal .table-tk-gdbnam th:first-child {
  min-width: 46px;
}

/* 2 số cuối / Đầu / Đuôi / Tổng: ô hẹp như mẫu */
.page-bang-dac-biet-nam #ajaxContentContainer.gdb-year-1 .scroll-horizontal .table-tk-gdbnam thead th:not(:first-child),
.page-bang-dac-biet-nam #ajaxContentContainer.gdb-year-1 .scroll-horizontal .table-tk-gdbnam td.number-DB:not(:first-child),
.page-bang-dac-biet-nam #ajaxContentContainer.gdb-year-2 .scroll-horizontal .table-tk-gdbnam thead th:not(:first-child),
.page-bang-dac-biet-nam #ajaxContentContainer.gdb-year-2 .scroll-horizontal .table-tk-gdbnam td.number-DB:not(:first-child),
.page-bang-dac-biet-nam #ajaxContentContainer.gdb-year-3 .scroll-horizontal .table-tk-gdbnam thead th:not(:first-child),
.page-bang-dac-biet-nam #ajaxContentContainer.gdb-year-3 .scroll-horizontal .table-tk-gdbnam td.number-DB:not(:first-child),
.page-bang-dac-biet-nam #ajaxContentContainer.gdb-year-4 .scroll-horizontal .table-tk-gdbnam thead th:not(:first-child),
.page-bang-dac-biet-nam #ajaxContentContainer.gdb-year-4 .scroll-horizontal .table-tk-gdbnam td.number-DB:not(:first-child) {
  min-width: 30px;
}

.page-bang-dac-biet-nam #ajaxContentContainer.gdb-year-1 .scroll-horizontal .table-tk-gdbnam th:first-child,
.page-bang-dac-biet-nam #ajaxContentContainer.gdb-year-2 .scroll-horizontal .table-tk-gdbnam th:first-child,
.page-bang-dac-biet-nam #ajaxContentContainer.gdb-year-3 .scroll-horizontal .table-tk-gdbnam th:first-child,
.page-bang-dac-biet-nam #ajaxContentContainer.gdb-year-4 .scroll-horizontal .table-tk-gdbnam th:first-child {
  min-width: 40px;
}

/* Radio GDB năm — toggle chế độ xem bằng CSS (không refetch API) */
.page-bang-dac-biet-nam #ajaxContentContainer.gdb-year-0 .lotoPrize .show2,
.page-bang-dac-biet-nam #ajaxContentContainer.gdb-year-0 .lotoPrize .showdau,
.page-bang-dac-biet-nam #ajaxContentContainer.gdb-year-0 .lotoPrize .showduoi,
.page-bang-dac-biet-nam #ajaxContentContainer.gdb-year-0 .lotoPrize .showtong {
  display: none !important;
}

.page-bang-dac-biet-nam #ajaxContentContainer.gdb-year-1 .lotoPrize .showFull,
.page-bang-dac-biet-nam #ajaxContentContainer.gdb-year-1 .lotoPrize .showdau,
.page-bang-dac-biet-nam #ajaxContentContainer.gdb-year-1 .lotoPrize .showduoi,
.page-bang-dac-biet-nam #ajaxContentContainer.gdb-year-1 .lotoPrize .showtong {
  display: none !important;
}

.page-bang-dac-biet-nam #ajaxContentContainer.gdb-year-2 .lotoPrize .showFull,
.page-bang-dac-biet-nam #ajaxContentContainer.gdb-year-2 .lotoPrize .show2,
.page-bang-dac-biet-nam #ajaxContentContainer.gdb-year-2 .lotoPrize .showduoi,
.page-bang-dac-biet-nam #ajaxContentContainer.gdb-year-2 .lotoPrize .showtong {
  display: none !important;
}

.page-bang-dac-biet-nam #ajaxContentContainer.gdb-year-3 .lotoPrize .showFull,
.page-bang-dac-biet-nam #ajaxContentContainer.gdb-year-3 .lotoPrize .show2,
.page-bang-dac-biet-nam #ajaxContentContainer.gdb-year-3 .lotoPrize .showdau,
.page-bang-dac-biet-nam #ajaxContentContainer.gdb-year-3 .lotoPrize .showtong {
  display: none !important;
}

.page-bang-dac-biet-nam #ajaxContentContainer.gdb-year-4 .lotoPrize .showFull,
.page-bang-dac-biet-nam #ajaxContentContainer.gdb-year-4 .lotoPrize .show2,
.page-bang-dac-biet-nam #ajaxContentContainer.gdb-year-4 .lotoPrize .showdau,
.page-bang-dac-biet-nam #ajaxContentContainer.gdb-year-4 .lotoPrize .showduoi {
  display: none !important;
}

/* Bôi ô / dòng — styleall: mauxanh_* (màu xanh đậm = var(--dark-green-color)) */
.page-bang-dac-biet-nam .scroll-horizontal .table-tk-gdbnam .mauxanh_active,
.page-bang-dac-biet-nam .scroll-horizontal .table-tk-gdbnam .mauxanh_active .lotoPrize {
  background: var(--dark-green-color) !important;
  color: var(--white-color) !important;
}

.page-bang-dac-biet-nam .scroll-horizontal .table-tk-gdbnam .mauxanh_active .color_red {
  background: transparent !important;
  color: var(--white-color) !important;
}

.page-bang-dac-biet-nam .scroll-horizontal .table-tk-gdbnam .activemonth.mauxanh_active1,
.page-bang-dac-biet-nam .scroll-horizontal .table-tk-gdbnam .lotonumber.mauxanh_active1 {
  background: var(--dark-green-color) !important;
  color: var(--white-color) !important;
}

.page-bang-dac-biet-nam .scroll-horizontal .table-tk-gdbnam .number-DB.mauxanh_actived,
.page-bang-dac-biet-nam .scroll-horizontal .table-tk-gdbnam .number-DB.mauxanh_activet {
  background: var(--dark-green-color);
  color: var(--white-color);
}

.page-bang-dac-biet-nam .scroll-horizontal .table-tk-gdbnam .number-DB.mauxanh_actived .color_red,
.page-bang-dac-biet-nam .scroll-horizontal .table-tk-gdbnam .number-DB.mauxanh_activet .color_red {
  color: var(--white-color);
}

@media only screen and (max-width: 800px) {
  .page-bang-dac-biet-nam .m-calc {
    margin-left: -12px !important;
    margin-right: -12px !important;
    width: calc(100% + 24px) !important;
  }
}
