.site-content {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 24px;
}

.site-content .content-area,
.site-content .widget-area {
  float: none;
  left: auto;
  min-width: 0;
  right: auto;
}

.site-content .content-area {
  order: 2;
  padding-right: 10px;
  padding-left: 10px;
}

.site-content .is-left-sidebar {
  order: 1;
  padding-right: 8px;
}

.site-content .is-right-sidebar {
  order: 3;
  padding-left: 8px;
}

.widget-area .widget_nav_menu {
  padding: 0;
  background: 0 0;
  box-shadow: none;
}

.widget-area .widget_nav_menu .menu {
  margin: 0;
  list-style: none;
}

.widget-area .widget_nav_menu .menu > li {
  margin: 0 0 14px;
  overflow: hidden;
  border: 1px solid #e0e2e6;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 2px 8px rgb(17 24 39 / 5%);
}

.widget-area .widget_nav_menu .menu > li > a {
  display: block;
  padding: 10px 11px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.widget-area .widget_nav_menu .sub-menu li {
  margin: 0;
  border-bottom: 1px solid #eef0f2;
}

.widget-area .widget_nav_menu .sub-menu li:last-child {
  border-bottom: 0;
}

.widget-area .widget_nav_menu .sub-menu a {
  display: block;
  position: relative;
  padding: 9px 4px 9px 13px;
  color: #34383d;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.widget-area .widget_nav_menu .sub-menu a::before {
  position: absolute;
  top: 50%;
  left: 1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.widget-area .widget_nav_menu .xoso-sidebar-predictions {
  display: grid;
  gap: 0;
  padding: 5px 9px 8px;
  background: #fff;
}

.widget-area .widget_nav_menu .xoso-sidebar-prediction-card {
  border-bottom: 1px solid #eceff3;
}

.widget-area .widget_nav_menu .xoso-sidebar-prediction-card:last-child {
  border-bottom: 0;
}

.widget-area .widget_nav_menu .xoso-sidebar-prediction-card > a {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 9px 2px;
  background: 0 0;
  color: #34383d;
}

.widget-area .widget_nav_menu .xoso-sidebar-prediction-card > a::before {
  display: none;
}

.xoso-sidebar-prediction-thumb {
  display: block;
  overflow: hidden;
  width: 48px;
  height: 48px;
  border: 1px solid #e3e6eb;
  border-radius: 8px;
}

.xoso-sidebar-prediction-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xoso-sidebar-prediction-copy {
  display: block;
  min-width: 0;
}

.xoso-sidebar-prediction-copy strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.xoso-sidebar-prediction-copy small {
  display: block;
  margin-top: 4px;
  color: #606870;
  font-size: 10px;
  font-weight: 600;
}

.widget-area .widget_nav_menu .xoso-sidebar-news {
  display: grid;
  gap: 0;
  padding: 3px 9px 8px;
  border-top: 1px solid #e6e9ee;
  background: #fff;
}

.widget-area .widget_nav_menu .xoso-sidebar-news-card {
  border-bottom: 1px solid #eceff3;
}

.widget-area .widget_nav_menu .xoso-sidebar-news-card:last-child {
  border-bottom: 0;
}

.widget-area .widget_nav_menu .xoso-sidebar-news-card > a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 8px 2px;
  background: 0 0;
  color: #34383d;
}

.widget-area .widget_nav_menu .xoso-sidebar-news-card > a::before {
  display: none;
}

.xoso-sidebar-news-thumb {
  display: block;
  overflow: hidden;
  width: 42px;
  height: 42px;
  border: 1px solid #e3e6eb;
  border-radius: 7px;
}

.xoso-sidebar-news-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xoso-sidebar-news-copy {
  display: block;
  min-width: 0;
}

.xoso-sidebar-news-copy strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.xoso-sidebar-news-copy small {
  display: block;
  margin-top: 3px;
  color: #606870;
  font-size: 9px;
  font-weight: 600;
}

.widget-area .widget_nav_menu .xoso-sidebar-news-card > a:focus,
.widget-area .widget_nav_menu .xoso-sidebar-news-card > a:hover {
  background: #f7f7f7;
  color: #c45d14;
}

.widget-area .widget_nav_menu .menu > .xoso-sidebar-tabs-source > a {
  display: none;
}

.xoso-sidebar-tab-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.xoso-sidebar-tab-buttons button {
  padding: 10px 5px;
  border: 0;
  border-radius: 0;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.widget-area .widget_nav_menu .xoso-sidebar-tabs-group > .sub-menu {
  padding: 0;
}

.widget-area .widget_nav_menu .sub-menu > .xoso-sidebar-tab-panel {
  border: 0;
}

.widget-area .widget_nav_menu .xoso-sidebar-tab-panel > a {
  display: none;
}

.widget-area .widget_nav_menu .xoso-sidebar-tab-panel > .sub-menu {
  display: block;
  padding: 3px 10px;
}

.xoso-route-page.inside-article {
  border-radius: 7px;
}

.xoso-route-page .entry-title {
  font-size: 26px;
}

.xoso-route-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.xoso-editorial-content {
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  box-shadow: 0 2px 8px rgb(7 7 7 / 5%);
}

.site-content > .xoso-editorial-content {
  order: 4;
  flex: 0 0 calc(100% - 20px);
  width: auto;
  margin: 18px 10px 0;
}

.xoso-editorial-content > :first-child {
  margin-top: 0;
}

.xoso-editorial-content > :last-child {
  margin-bottom: 0;
}

.xoso-editorial-content--empty {
  border-style: dashed;
  background: #f8fafc;
  color: #606870;
  font-size: 13px;
}

.separate-containers .comments-area,
.separate-containers .inside-article,
.separate-containers .page-header,
.separate-containers .paging-navigation {
  box-sizing: border-box;
  padding: 2px;
}

.xoso-home-page.inside-article {
  padding: 0;
}

.xoso-live-results {
  display: grid;
  gap: 14px;
}

.xoso-home-intro {
  border: 1px solid #dbe3ee;
}

.xoso-home-promo {
  border-bottom: 1px solid #f7f7f7;
  color: #7c2d12;
}

.xoso-home-promo strong {
  display: inline-block;
  margin-right: 5px;
  color: #fff;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.xoso-home-promo a {
  color: #e97817;
  font-weight: 800;
}

.xoso-today-schedule {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font-size: 12px;
}

.xoso-today-schedule strong {
  color: #34383d;
}

.xoso-today-schedule a {
  border: 1px solid #e2e8f0;
  font-weight: 700;
  text-decoration: none;
}

.xoso-live-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 10px;
  justify-content: space-between;
}

.xoso-live-summary em {
  margin-left: auto;
}

.xoso-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d94800;
  box-shadow: 0 0 0 4px #f7f7f7;
}

.xoso-live-summary.is-live .xoso-live-dot {
  background: #f28c28;
  box-shadow: 0 0 0 4px #f7f7f7;
  animation: 1.4s infinite xoso-live-pulse;
}

@keyframes xoso-live-pulse {
  50% {
    opacity: 0.45;
  }
}

.xoso-result-card,
.xoso-vietlott-card {
  overflow: hidden;
  border: 1px solid #dbe3ee;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 2px 8px rgb(7 7 7 / 5%);
}

.xoso-result-zoom-stage {
  position: relative;
}

.xoso-result-zoom-stage--wrapped > .xoso-result-table,
.xoso-result-zoom-stage--wrapped > .xoso-vietlott-prizes {
  width: 100%;
}

.xoso-result-zoom-toggle {
  display: grid;
  position: absolute;
  right: 7px;
  bottom: 7px;
  z-index: 8;
  place-items: center;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 1px solid;
  border-radius: 7px;
  background: rgb(7 7 7 / 58%);
  box-shadow: 0 2px 7px rgb(7 7 7 / 20%);
  color: #fff;
  cursor: pointer;
  opacity: 0.38;
  transition:
    opacity 0.18s,
    transform 0.18s,
    background-color 0.18s;
}

.xoso-result-zoom-toggle:focus-visible,
.xoso-result-zoom-toggle:hover {
  background: rgb(25 25 25 / 92%);
  opacity: 1;
  outline: #fff solid 2px;
  outline-offset: -3px;
  transform: scale(1.06);
}

.xoso-result-zoom-toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.xoso-result-zoom-toggle[aria-pressed="true"] .xoso-zoom-icon-expand,
.xoso-zoom-icon-collapse {
  display: none;
}

.xoso-result-zoom-toggle[aria-pressed="true"] .xoso-zoom-icon-collapse {
  display: block;
}

html.xoso-result-zoom-open,
html.xoso-result-zoom-open body {
  overflow: hidden;
}

.xoso-result-zoom-shell {
  display: grid;
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  grid-template-rows: auto minmax(0, 1fr);
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  overscroll-behavior: contain;
}

.xoso-result-zoom-shell:-webkit-full-screen,
.xoso-result-zoom-shell:fullscreen {
  width: 100%;
  height: 100%;
  background: #fff;
}

.xoso-result-zoom-shell > .xoso-result-card__header {
  position: relative;
  z-index: 7;
  flex: 0 0 auto;
  padding-right: 54px;
}

.xoso-result-zoom-shell > .xoso-result-zoom-stage {
  width: 100%;
  min-width: 0;
  min-height: 0;
  overflow-x: auto;
  overflow-y: hidden;
  background: #fff;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.xoso-result-zoom-shell .xoso-result-table {
  max-width: none;
  margin: 0;
  transform-origin: top left;
}

.is-xoso-zoomed .xoso-result-number {
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.45;
}

.is-xoso-zoomed .xoso-result-number--db {
  font-size: clamp(38px, 5vw, 66px);
}

.is-xoso-zoomed .xoso-result-table td,
.is-xoso-zoomed .xoso-result-table th {
  padding-top: 10px;
  padding-bottom: 10px;
}

.is-xoso-zoomed .xoso-result-table tr > :first-child {
  width: clamp(56px, 7vw, 84px);
  font-size: clamp(15px, 1.5vw, 20px);
}

.is-xoso-zoomed .xoso-result-zoom-toggle {
  position: fixed;
  top: 9px;
  right: 9px;
  bottom: auto;
  z-index: 12;
  width: 34px;
  height: 34px;
  background: rgb(7 7 7 / 76%);
  opacity: 0.86;
}

.xoso-result-card__header,
.xoso-vietlott-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 8px 13px;
  color: #fff;
}

.xoso-vietlott-card h2 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  color: inherit;
  font-size: 17px;
  line-height: 1.3;
}

.xoso-result-card__header h2 a,
.xoso-vietlott-card h2 a {
  color: inherit;
  text-decoration: none;
}

.xoso-result-card__header h2 a:hover,
.xoso-vietlott-card h2 a:hover {
  text-decoration: underline;
}

.xoso-result-card__header .xoso-heading-separator,
.xoso-vietlott-card .xoso-heading-separator {
  font-size: inherit;
  opacity: 0.75;
}

.xoso-result-card__header > span,
.xoso-vietlott-card > header > span {
  font-size: 12px;
  white-space: nowrap;
}

.xoso-result-scroll {
  overflow: visible;
}

.xoso-result-table {
  table-layout: fixed;
}

.xoso-result-table tr > :first-child {
  width: 48px;
  background: #f8fafc;
  color: #34383d;
  font-size: 12px;
  font-weight: 700;
}

.xoso-result-table thead a {
  color: inherit;
  text-decoration: none;
}

.xoso-result-table thead a:hover {
  text-decoration: underline;
}

.xoso-result-number {
  min-width: 48%;
  padding: 1px 3px;
  vertical-align: middle;
  color: #34383d;
  font-variant-numeric: tabular-nums;
}

.xoso-result-table--multi .xoso-result-number {
  display: block;
  width: 100%;
  min-width: 0;
}

.xoso-result-table--north .xoso-result-number {
  min-width: 24%;
}

.xoso-result-table--north .xoso-prize-row--g2 > td {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
}

.xoso-result-table--north .xoso-prize-row--g3 > td,
.xoso-result-table--north .xoso-prize-row--g5 > td,
.xoso-result-table--north .xoso-prize-row--g6 > td {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
}

.xoso-result-table--north .xoso-prize-row--g4 > td,
.xoso-result-table--north .xoso-prize-row--g7 > td {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
}

.xoso-result-table--north .xoso-prize-row > td > .xoso-number-pending,
.xoso-result-table--north .xoso-prize-row > td > .xoso-result-number {
  width: 100%;
  min-width: 0;
}

.xoso-result-number--db {
  min-width: auto;
  color: #f28c28;
}

.xoso-prize-row--g7 .xoso-result-number,
.xoso-prize-row--g8 .xoso-result-number {
  color: #c2410c;
  font-weight: 800;
}

.xoso-number-pending {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  padding: 4px;
  vertical-align: middle;
}

.xoso-result-table--multi .xoso-number-pending {
  display: flex;
  width: 100%;
  min-width: 0;
}

.xoso-result-table--north .xoso-number-pending {
  min-width: 24%;
}

.xoso-number-pending i {
  border: 2px solid #e2e8f0;
  border-top-color: #f28c28;
  animation: 0.8s linear infinite xoso-number-spin;
}

@keyframes xoso-number-spin {
  to {
    transform: rotate(360deg);
  }
}

.xoso-vietlott-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.xoso-result-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  border-top: 1px solid #e2e8f0;
}

.xoso-digit-filters,
.xoso-province-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.xoso-result-tools button {
  position: relative;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  background: #fff;
  color: #606870;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.xoso-digit-filters button::before {
  position: absolute;
  top: 50%;
  left: 7px;
  display: grid;
  place-items: center;
  width: 10px;
  height: 10px;
  border: 1px solid #6f757b;
  border-radius: 3px;
  content: "";
  font-size: 8px;
  transform: translateY(-50%);
}

.xoso-digit-filters button[aria-pressed="true"],
.xoso-province-tabs button[aria-selected="true"] {
  border-color: #f28c28;
  background: #f7f7f7;
}

.xoso-digit-filters button[aria-pressed="true"]::before {
  border-color: #f28c28;
  background: #f28c28;
  color: #fff;
  content: "✓";
}

.xoso-loto-panel[hidden] {
  display: none;
}

.xoso-loto-table {
  table-layout: fixed;
  font-size: 12px;
}

.xoso-loto-table td,
.xoso-loto-table th {
  font-variant-numeric: tabular-nums;
}

.xoso-loto-table tbody th {
  padding-right: 2px;
  padding-left: 2px;
  color: #e97817;
  font-size: 10px;
}

.xoso-loto-table tbody td {
  color: #34383d;
  font-weight: 700;
}

.xoso-loto-digit-col {
  width: 26px;
}

.xoso-loto-number {
  align-items: flex-start;
  line-height: 1.35;
}

.xoso-loto-number sup {
  margin: -2px 0 0 1px;
  color: #606870;
  font-size: 8px;
  font-weight: 600;
  line-height: 1;
  opacity: 0.7;
}

.xoso-loto-empty {
  color: #cbd5e1;
}

.xoso-result-navigation {
  display: grid;
  gap: 8px;
  border-top: 1px solid #e2e8f0;
}

.xoso-print-ticket {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  border: 1px solid #f28c28;
  color: #e97817;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}

.xoso-print-ticket svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.xoso-result-navigation ul {
  display: grid;
  gap: 4px;
}

.xoso-result-navigation li::before {
  color: #f28c28;
  content: "›";
  font-weight: 900;
}

.xoso-result-navigation a:hover {
  text-decoration: underline;
}

.xoso-lottery-balls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 12px 10px;
}

.xoso-lottery-balls strong {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid #f28c28;
  border-radius: 50%;
  background: #fff;
  color: #e97817;
  font-size: 18px;
}

.xoso-lottery-balls .xoso-lottery-ball--special {
  border-color: #606870;
  color: #606870;
}

.xoso-vietlott-jackpots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1px;
  margin: 0 12px 12px;
  background: #e2e8f0;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
}

.xoso-vietlott-jackpots p {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 9px;
  background: #fff7ed;
  text-align: center;
}

.xoso-vietlott-jackpots span {
  color: #606870;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.xoso-vietlott-jackpots b {
  color: #e97817;
  font-size: 14px;
}

.xoso-vietlott-prizes {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 12px;
}

.xoso-vietlott-prizes td,
.xoso-vietlott-prizes th {
  padding: 8px 6px;
  border: 1px solid #e2e8f0;
  text-align: center;
}

.xoso-vietlott-prizes thead th {
  background: #f8fafc;
  color: #606870;
}

.xoso-vietlott-prizes tbody th {
  color: #9a3412;
}

.xoso-live-error {
  display: grid;
  gap: 4px;
}

.xoso-region-tabs {
  display: flex;
  overflow-x: auto;
  border: 1px solid #dbe3ee;
  scrollbar-width: thin;
}

.xoso-region-tabs a {
  flex: 1 0 auto;
  min-width: 58px;
  border-right: 1px solid #e2e8f0;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.xoso-region-tabs a:last-child {
  border-right: 0;
}

.xoso-region-tabs a.is-active,
.xoso-region-tabs a:hover {
  background: #f28c28;
  color: #fff;
}

.xoso-region-toolbar {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  margin-bottom: 14px;
  padding: 15px 16px;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  box-shadow: 0 5px 18px rgb(7 7 7 / 7%);
}

.xoso-region-toolbar::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  content: "";
}

.xoso-region-toolbar--static {
  grid-template-columns: 1fr;
}

.xoso-toolbar-identity {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 11px;
}

.xoso-toolbar-icon {
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #fff;
  box-shadow: 0 5px 12px rgb(25 25 25 / 22%);
}

.xoso-toolbar-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.xoso-toolbar-identity div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.xoso-toolbar-identity small {
  color: #b45309;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.xoso-toolbar-identity strong {
  overflow: hidden;
  color: #34383d;
  font-size: 14px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xoso-toolbar-identity p {
  margin: 0;
  color: #606870;
  font-size: 10px;
  line-height: 1.35;
}

.xoso-region-toolbar form {
  display: grid;
  grid-template-columns: auto auto;
  align-items: end;
  gap: 5px 7px;
  padding: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: rgb(255 255 255 / 82%);
  box-shadow: 0 2px 7px rgb(7 7 7 / 5%);
  font-size: 10px;
}

.xoso-region-toolbar form > label {
  grid-column: 1/-1;
  color: #606870;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.xoso-date-control {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  min-height: 34px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 1px 2px rgb(7 7 7 / 4%);
}

.xoso-date-control svg {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  margin-left: 9px;
  fill: none;
  stroke: #f28c28;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.xoso-region-toolbar input {
  width: 125px;
  min-height: 32px;
  padding: 3px 8px;
  border: 0;
  outline: 0;
  background: 0 0;
  color: #34383d;
  font: inherit;
  font-weight: 700;
}

.xoso-toolbar-actions {
  display: flex;
  gap: 5px;
}

.xoso-region-toolbar button {
  min-height: 34px;
  padding: 5px 10px;
  border: 1px solid #f28c28;
  border-radius: 8px;
  background: #f28c28;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.xoso-region-toolbar button:hover {
  border-color: #c45d14;
  background: #c45d14;
  color: #fff;
}

.xoso-result-table--province .xoso-result-number {
  display: block;
  width: 100%;
  min-width: 0;
}

.xoso-province-result-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
}

.xoso-province-loto,
.xoso-province-result-grid > .xoso-result-zoom-stage,
.xoso-province-result-grid > .xoso-result-zoom-stage > table,
.xoso-province-result-grid > table {
  height: 100%;
}

.xoso-province-loto {
  min-width: 0;
  background: #fff;
}

.xoso-loto-stacked {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  height: 100%;
}

.xoso-loto-stacked .xoso-loto-table {
  height: 100%;
}

.xoso-loto-stacked .xoso-loto-table + .xoso-loto-table {
  border-top: 0;
}

.xoso-province-loto .xoso-loto-table {
  border-left: 0;
}

.xoso-province-loto .xoso-loto-table td,
.xoso-province-loto .xoso-loto-table th {
  padding-top: 3px;
  padding-bottom: 3px;
}

.xoso-province-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 10px 11px;
  background: #f8fafc;
}

.xoso-province-actions a {
  padding: 5px 8px;
  border: 1px solid #dbe3ee;
  border-radius: 6px;
  background: #fff;
  color: #606870;
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
}

.xoso-region-results {
  display: grid;
  gap: 14px;
}

.xoso-vietlott-archive-day {
  padding-bottom: 0;
}

.xoso-region-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
  padding: 10px;
  border: 1px solid #dbe3ee;
  border-radius: 7px;
  background: #fff;
  font-size: 12px;
}

.xoso-region-pagination button {
  padding: 6px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
  color: #606870;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.xoso-weekday-date-group {
  display: grid;
  gap: 10px;
}

.xoso-weekday-region-cards {
  display: grid;
  gap: 14px;
}

[data-xoso-archive-shell][aria-busy="true"] {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.15s;
}

.xoso-region-ajax-error {
  margin: 0 0 10px;
  padding: 8px 10px;
  border: 1px solid #dfe2e5;
  border-radius: 6px;
  background: #fff0dc;
  color: #c45d14;
  font-size: 12px;
}

.xoso-stats-filter {
  display: grid;
  grid-template-columns: minmax(145px, 1.8fr) minmax(110px, 1.35fr) minmax(
      95px,
      0.9fr
    ) auto;
  align-items: end;
  gap: 8px;
  margin: 0;
  border: 1px solid #dbe3ee;
  border-radius: 9px 9px 0 0;
}

.xoso-stats-filter label {
  display: grid;
  gap: 4px;
  color: #606870;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.xoso-stats-filter button {
  min-height: 34px;
  padding: 7px 12px;
  border: 0;
  border-radius: 10px;
  background: #e97817;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.xoso-stats-card {
  overflow: hidden;
  border: 1px solid #dbe3ee;
  border-top: 0;
  border-radius: 0 0 8px 8px;
}

.xoso-stats-card.is-standalone {
  border-top: 1px solid #dbe3ee;
  border-radius: 8px;
}

.xoso-stats-card > header {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}

.xoso-stats-card > header span {
  padding: 4px 7px;
  border-radius: 4px;
  background: #e97817;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
}

.xoso-stats-card > header h2 {
  margin: 0;
  color: inherit;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 900;
}

.xoso-stats-period {
  margin-left: auto;
}

.xoso-stats-period select {
  min-height: 29px;
  padding: 4px 25px 4px 8px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  background: #f8fafc;
  color: #34383d;
  font-size: 10px;
  font-weight: 900;
}

.xoso-result-book-excel,
.xoso-stats-excel,
.xoso-stats-table-wrap {
  overflow: auto;
  isolation: isolate;
  width: 100%;
  max-width: 100%;
  border-top: 1px solid #e2e8f0;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.xoso-stats-table {
  border-spacing: 0;
  color: #34383d;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.xoso-stats-table td,
.xoso-stats-table th {
  height: 32px;
  padding: 5px 6px;
  border: 1px solid #e2e8f0;
  text-align: center;
  vertical-align: middle;
}

.xoso-stats-table th {
  background: #f1f5f9;
  color: #606870;
  font-size: 10px;
  font-weight: 900;
}

.xoso-stats-table td {
  background: #fff;
  font-weight: 700;
}

.xoso-stats-table tbody tr:nth-child(2n) {
  background: #f8fafc;
}

.xoso-stats-table td:first-child {
  color: #e97817;
  font-weight: 800;
}

.xoso-stats-empty {
  margin: 0;
  padding: 24px;
  color: #606870;
  text-align: center;
}

.xoso-stats-table .is-sticky {
  position: sticky;
  left: 0;
  z-index: 3;
  box-sizing: border-box;
  min-width: 44px;
  width: 44px;
  max-width: 44px;
  background: #f1f5f9;
  box-shadow: 1px 0 0 #cbd5e1;
}

.xoso-stats-table thead .is-sticky {
  z-index: 6;
}

.xoso-stats-num {
  display: flex;
  align-items: center;
  color: #e97817;
  font-size: 11px;
}

.xoso-stats-table small {
  display: block;
  margin-top: 2px;
  color: #606870;
  font-size: 8px;
  font-weight: 800;
  line-height: 1.05;
}

.xoso-stats-empty-mark {
  color: #6f757b;
  font-size: 10px;
  opacity: 0.55;
}

.xoso-result-book-table,
.xoso-stats-table--province-grid,
.xoso-stats-table--year-grid {
  width: max-content;
  min-width: 100%;
  table-layout: auto;
}

.xoso-stats-table--year-grid .is-sticky {
  min-width: 48px;
  width: 48px;
  max-width: 48px;
}

.xoso-stats-table--year-grid td,
.xoso-stats-table--year-grid th:not(.is-sticky) {
  box-sizing: border-box;
  min-width: 48px;
  width: 48px;
  max-width: 48px;
  padding: 3px 2px;
}

.xoso-stats-table--province-grid td {
  min-width: 70px;
  height: 40px;
  padding: 3px 4px;
}

.xoso-result-book-table td,
.xoso-result-book-table th {
  min-width: 58px;
  width: 58px;
  padding: 3px 4px;
}

.xoso-result-book-table .is-sticky {
  min-width: 54px;
  width: 54px;
  z-index: 4;
}

.xoso-result-book-table thead th strong {
  display: block;
  color: #34383d;
  font-size: 10px;
}

.xoso-result-book-stack {
  display: grid;
  gap: 2px;
}

.xoso-stats-mode {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 8px 10px;
  border-top: 1px solid #e2e8f0;
}

.xoso-stats-mode button {
  position: relative;
  padding: 4px 8px 4px 22px;
  border: 0;
  background: 0 0;
  color: #606870;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.xoso-stats-mode button::before {
  position: absolute;
  top: 50%;
  left: 4px;
  width: 11px;
  height: 11px;
  border: 1px solid #6f757b;
  border-radius: 50%;
  background: #fff;
  content: "";
  transform: translateY(-50%);
}

.xoso-stats-mode button[aria-pressed="true"] {
  color: #e97817;
}

.xoso-stats-mode button[aria-pressed="true"]::before {
  border: 3px solid #e97817;
}

.xoso-result-insights {
  margin: 2px 0 0;
}

.xoso-stats-sheets {
  display: grid;
  gap: 6px;
  padding: 6px;
}

.xoso-stats-sheet {
  overflow: hidden;
  min-width: 0;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  background: #fff;
}

.xoso-stats-sheet h3 {
  margin: 0;
  padding: 5px 8px;
  border: 0;
  border-bottom: 1px solid #e2e8f0;
  background: #eef2f7;
  color: #34383d;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.3;
}

.xoso-stats-sheet .xoso-stats-excel {
  overflow: hidden;
  border: 0;
}

.xoso-stats-sheet .xoso-stats-table td,
.xoso-stats-sheet .xoso-stats-table th {
  height: 28px;
  padding: 4px 5px;
}

.xoso-stats-sheet .xoso-stats-table tbody tr:nth-child(2n) td {
  background: #f8fafc;
}

.xoso-stats-sheet .xoso-stats-table td:first-child {
  color: #e97817;
}

.xoso-stats-sheet .xoso-stats-table tr:first-child > * {
  border-top: 0;
}

.xoso-stats-sheet .xoso-stats-table tr:last-child > * {
  border-bottom: 0;
}

.xoso-stats-sheet .xoso-stats-table tr > :first-child {
  border-left: 0;
}

.xoso-stats-sheet .xoso-stats-table tr > :last-child {
  border-right: 0;
}

.xoso-stats-matrix-table,
.xoso-stats-special-table {
  min-width: 0;
  table-layout: fixed;
}

.xoso-stats-matrix-table td,
.xoso-stats-special-table td {
  width: 20%;
}

.xoso-stats-sheet .xoso-stats-matrix-table td {
  height: 34px;
  padding: 3px 4px;
}

.xoso-stats-matrix-value {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  white-space: nowrap;
}

.xoso-stats-matrix-value strong {
  color: #e97817;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.xoso-stats-matrix-value small {
  display: inline;
  margin: 0;
  color: #606870;
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  opacity: 0.72;
}

.xoso-stats-sheet .xoso-stats-special-table td {
  height: 42px;
  padding: 3px 2px;
}

.xoso-stats-special-value {
  display: grid;
  justify-items: center;
  gap: 2px;
}

.xoso-stats-special-value strong {
  color: #e97817;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.05;
}

.xoso-stats-special-value small {
  display: block;
  margin: 0;
  color: #606870;
  font-size: 8px;
  font-weight: 600;
  line-height: 1;
  opacity: 0.65;
}

.xoso-stats-north-special-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

.xoso-stats-north-special-table td,
.xoso-stats-north-special-table th {
  width: 14.285%;
}

.xoso-stats-sheet .xoso-stats-north-special-table thead th {
  height: 23px;
  padding: 3px 1px;
  border-bottom: 1px solid #e2e8f0;
  color: #606870;
  font-size: 9px;
}

.xoso-stats-sheet .xoso-stats-north-special-table tbody td {
  height: 40px;
  padding: 3px 1px;
}

.xoso-stats-post-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: stretch;
  min-height: 84px;
}

.xoso-stats-post-thumb {
  display: block;
  overflow: hidden;
  min-height: 84px;
  border-right: 1px solid #e2e8f0;
  background: #f8fafc;
}

.xoso-stats-post-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 84px;
  object-fit: cover;
}

.xoso-stats-post-copy {
  display: grid;
  align-content: center;
  gap: 3px;
  min-width: 0;
  padding: 7px 9px;
}

.xoso-stats-post-copy h4 {
  margin: 0;
  color: #34383d;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
}

.xoso-stats-post-copy h4 a {
  display: -webkit-box;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.xoso-stats-post-copy h4 a:hover {
  color: #e97817;
}

.xoso-stats-post-copy p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #606870;
  font-size: 9px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.xoso-stats-post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #6f757b;
  font-size: 8px;
  font-weight: 700;
}

.xoso-stats-post-meta a {
  color: #606870;
  text-decoration: none;
  white-space: nowrap;
}

.xoso-stats-post-meta a:hover {
  text-decoration: underline;
}

.xoso-province-special-stats {
  margin: 0 10px 10px;
}

.xoso-province-special-stats + .xoso-province-actions {
  padding-top: 0;
}

.xoso-book-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 8px;
}

.xoso-book-tabs a {
  padding: 9px 7px;
  border: 1px solid #ead8ba;
  border-radius: 8px;
  background: #fff;
  color: #29231c;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.xoso-book-tabs a[aria-current="page"] {
  border-color: #f97316;
  color: #ff9b4a;
}

.xoso-book-filter {
  display: flex;
  align-items: end;
  gap: 8px;
  padding: 10px;
  border: 1px solid #ead8ba;
  border-radius: 8px 8px 0 0;
  background: #fffaf2;
}

.xoso-book-filter label {
  display: grid;
  flex: 1;
  gap: 4px;
  color: #70685e;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.xoso-book-filter select {
  min-height: 35px;
  padding: 5px 10px;
  border: 1px solid #d5d5d5;
  border-radius: 8px;
  background: #fff;
  color: #29231c;
  font-weight: 800;
}

.xoso-book-filter button {
  min-height: 35px;
  padding: 7px 13px;
  border: 0;
  border-radius: 8px;
  color: #191512;
  font-size: 11px;
  font-weight: 900;
}

.xoso-book-filter + .xoso-book-card {
  border-radius: 0 0 8px 8px;
}

.xoso-book-card {
  border-top: 1px solid #ead8ba;
}

.xoso-book-card > .xoso-stats-excel {
  border-top: 0;
}

.xoso-archive-grid .site-main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.xoso-archive-grid .site-main > .no-results,
.xoso-archive-grid .site-main > .paging-navigation,
.xoso-archive-grid .site-main > .xoso-author-profile,
.xoso-archive-grid .site-main > .xoso-editorial-content--archive {
  grid-column: 1/-1;
}

.xoso-author-profile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid #ead9bc;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgb(25 25 25 / 7%);
}

.xoso-author-profile__avatar {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  padding: 4px;
  border: 1px solid #dfe2e5;
  border-radius: 50%;
  background: #fff;
}

.xoso-author-avatar {
  display: block;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  object-fit: cover;
}

.xoso-author-profile__copy {
  min-width: 0;
}

.xoso-author-profile__eyebrow {
  display: inline-block;
  margin-bottom: 5px;
  color: #b45309;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.xoso-author-profile h2 {
  margin: 0 0 6px;
  color: #a84b10;
  font-size: 21px;
  line-height: 1.25;
}

.xoso-author-profile p {
  max-width: 680px;
  margin: 0;
  color: #57534e;
  font-size: 12px;
  line-height: 1.65;
}

.xoso-author-profile__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.xoso-author-profile__meta span {
  padding: 5px 9px;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  background: #fff;
  color: #78716c;
  font-size: 10px;
  font-weight: 700;
}

.xoso-author-profile__meta strong {
  color: #c45d14;
}

.author .xoso-headline-image--author {
  border-radius: 50%;
}

.xoso-archive-grid .site-main > article {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 12px rgb(7 7 7 / 5%);
  transition:
    border-color 0.18s,
    box-shadow 0.18s,
    transform 0.18s;
}

.xoso-archive-grid .site-main > article:hover {
  border-color: #dfe2e5;
  box-shadow: 0 7px 18px rgb(25 25 25 / 9%);
  transform: translateY(-1px);
}

.xoso-archive-grid .site-main > article > .inside-article {
  display: grid;
  grid-template-columns: minmax(96px, 2fr) minmax(0, 3fr);
  grid-template-areas: "image header" "image summary" "image footer";
  align-content: start;
  height: 100%;
  column-gap: 12px;
  padding: 12px;
}

.xoso-archive-grid article .entry-header {
  grid-area: header;
  min-width: 0;
}

.xoso-archive-grid article .entry-title {
  margin: 0 0 4px;
  font-size: 15px;
  line-height: 1.4;
}

.xoso-archive-grid article .entry-title a {
  color: #34383d;
  text-decoration: none;
}

.xoso-archive-grid article .entry-title a:focus,
.xoso-archive-grid article .entry-title a:hover {
  color: #e97817;
}

.xoso-archive-grid article .entry-meta {
  color: #6f757b;
  font-size: 9px;
  line-height: 1.45;
}

.xoso-archive-grid article .post-image {
  grid-area: image;
  align-self: stretch;
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: #f8fafc;
}

.xoso-archive-grid article .post-image a,
.xoso-archive-grid article .post-image img {
  display: block;
  width: 100%;
  height: 100%;
}

.xoso-archive-grid article .post-image img {
  min-height: 124px;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.xoso-archive-grid article .entry-summary {
  display: -webkit-box;
  grid-area: summary;
  min-width: 0;
  margin: 5px 0 0;
  overflow: hidden;
  color: #606870;
  font-size: 11px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.xoso-archive-grid article .entry-summary p {
  margin: 0;
}

.xoso-archive-grid article .read-more {
  color: #e97817;
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
}

.xoso-archive-grid article footer.entry-meta {
  grid-area: footer;
  align-self: end;
  margin-top: 7px;
  padding-top: 6px;
  border-top: 1px solid #eef2f7;
}

.xoso-archive-grid .paging-navigation {
  margin: 0;
  border: 1px solid #dbe3ee;
  border-radius: 9px;
  background: #fff;
}

.xoso-archive-grid .paging-navigation .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

.xoso-archive-grid .paging-navigation a,
.xoso-archive-grid .paging-navigation span {
  padding: 6px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}

.xoso-archive-grid .paging-navigation .current {
  background: #e97817;
  color: #fff;
}

.xoso-trial-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-bottom: 9px;
  padding: 5px;
  border: 1px solid #dbe3ee;
  border-radius: 9px;
  background: #f8fafc;
}

.xoso-trial-nav.is-province {
  grid-template-columns: repeat(4, 1fr);
}

.xoso-trial-nav a {
  display: grid;
  place-items: center;
  min-height: 38px;
  padding: 7px 8px;
  border: 1px solid #dbe3ee;
  background: #fff;
  color: #34383d;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.xoso-trial-nav a:nth-child(2) {
  background: #fff7ed;
  color: #9a3412;
}

.xoso-trial-nav a:nth-child(3) {
  background: #eff6ff;
  color: #606870;
}

.xoso-trial-nav a:nth-child(4) {
  background: #f0fdf4;
  color: #d94800;
}

.xoso-trial-nav a[aria-current="page"] {
  border-color: #c45d14;
  background: #e97817;
  color: #fff;
  box-shadow: inset 0 -3px 0 rgb(25 25 25 / 45%);
}

.xoso-trial-shell {
  overflow: hidden;
  border: 1px solid #dbe3ee;
  border-radius: 9px;
  background: #fff;
}

.xoso-trial-hero {
  padding: 14px;
  border-bottom: 1px solid #e2e8f0;
}

.xoso-trial-hero.has-run-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.xoso-trial-hero__content {
  min-width: 0;
}

.xoso-trial-hero__content > span {
  display: inline-block;
  padding: 4px 7px;
  border-radius: 4px;
  background: #e97817;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
}

.xoso-trial-run {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 34px;
  padding: 7px 11px;
  border: 0;
  border-radius: 8px;
  background: #e97817;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.xoso-trial-run svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.xoso-trial-run:disabled {
  opacity: 0.65;
}

.xoso-trial-run.is-spinning svg {
  animation: 0.55s linear infinite xoso-spin;
}

.xoso-trial-hero h2 {
  margin: 7px 0 3px;
  color: #34383d;
  font-size: 18px;
}

.xoso-trial-hero p {
  margin: 0;
  color: #606870;
  font-size: 11px;
  line-height: 1.5;
}

.xoso-trial-toolbar {
  display: flex;
  align-items: end;
  gap: 8px;
  padding: 10px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.xoso-trial-toolbar label {
  display: block;
  flex: 1;
}

.xoso-trial-toolbar label[hidden] {
  display: none;
}

.xoso-trial-toolbar label > span {
  display: block;
  margin-bottom: 4px;
  color: #606870;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.xoso-trial-toolbar select {
  width: 100%;
  min-height: 36px;
  padding: 5px 28px 5px 9px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #34383d;
  font-size: 11px;
  font-weight: 800;
}

.xoso-trial-toolbar button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 13px;
  border: 0;
  border-radius: 8px;
  background: #e97817;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.xoso-trial-toolbar button svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.xoso-trial-toolbar button:disabled {
  opacity: 0.65;
}

.xoso-trial-toolbar button.is-spinning svg {
  animation: 0.55s linear infinite xoso-spin;
}

.xoso-trial-status {
  display: flex;
  justify-content: space-between;
  padding: 7px 11px;
  border-bottom: 1px solid #e2e8f0;
  color: #606870;
  font-size: 9px;
}

.xoso-trial-results {
  display: grid;
  gap: 10px;
  padding: 10px;
}

.xoso-trial-results .xoso-result-card {
  margin: 0;
}

.xoso-trial-results .xoso-result-card__header h2 {
  margin: 0;
  color: inherit;
  font-size: 16px;
}

.xoso-trial-vietlott {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 18px;
}

.xoso-trial-ball {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid #e97817;
  border-radius: 50%;
  background: #fff;
  color: #e97817;
  font-size: 15px;
  font-weight: 900;
}

.xoso-trial-ball.is-special {
  border-color: #d97706;
  background: #fffbeb;
  color: #b45309;
}

.xoso-trial-history {
  margin: 0 10px 10px;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

.xoso-trial-history h3 {
  margin: 0 0 7px;
  color: #34383d;
  font-size: 11px;
}

.xoso-trial-history p {
  margin: 0;
  color: #6f757b;
  font-size: 10px;
}

.xoso-trial-history ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.xoso-trial-history li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 5px;
  border-bottom: 1px dashed #cbd5e1;
  color: #606870;
  font-size: 9px;
}

.xoso-trial-history li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.xoso-trial-history strong {
  color: #e97817;
}

.xoso-trial-disclaimer {
  margin: 0;
  padding: 8px 10px;
  border-top: 1px solid #e2e8f0;
  background: #f7f7f7;
  color: #a84b10;
  font-size: 9px;
  text-align: center;
}

.xoso-trial-board {
  overflow: hidden;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  background: #fff;
}

.xoso-trial-board > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: #e97817;
  color: #fff;
}

.xoso-trial-board > header h3 {
  margin: 0;
  color: inherit;
  font-size: 13px;
}

.xoso-trial-board > header span {
  font-size: 9px;
  font-weight: 800;
  opacity: 0.85;
}

@keyframes xoso-spin {
  to {
    transform: rotate(360deg);
  }
}

.xoso-cau-intro,
.xoso-cau-posts {
  padding: 14px;
  border: 1px solid #dbe3ee;
  border-radius: 9px;
  background: #fff;
}

.xoso-cau-eyebrow {
  display: inline-block;
  margin: 0 0 7px;
  padding: 4px 7px;
  border-radius: 4px;
  background: #e97817;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
}

.xoso-cau-intro h2,
.xoso-cau-posts > h2 {
  margin: 0 0 7px;
  color: #34383d;
  font-size: 17px;
}

.xoso-cau-intro > p:not(.xoso-cau-eyebrow) {
  margin: 0;
  color: #606870;
  font-size: 12px;
  line-height: 1.6;
}

.xoso-cau-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.xoso-cau-tabs a {
  padding: 6px 9px;
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  color: #606870;
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
}

.xoso-cau-tabs a[aria-current="page"] {
  border-color: #e97817;
  background: #f7f7f7;
  color: #e97817;
}

.xoso-cau-guide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 9px 0;
}

.xoso-cau-guide a {
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  text-decoration: none;
}

.xoso-cau-guide strong {
  color: #e97817;
  font-size: 12px;
}

.xoso-cau-guide span {
  color: #606870;
  font-size: 10px;
  line-height: 1.45;
}

.xoso-cau-posts {
  margin-top: 9px;
}

.xoso-cau-post-grid {
  display: grid;
  gap: 9px;
}

.xoso-cau-post {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  padding-bottom: 9px;
  border-bottom: 1px solid #e2e8f0;
}

.xoso-cau-post:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.xoso-cau-post__image {
  display: grid;
  overflow: hidden;
  place-items: center;
  min-height: 70px;
  border-radius: 7px;
  background: #f7f7f7;
  color: #e97817;
  font-weight: 900;
  text-decoration: none;
}

.xoso-cau-post__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xoso-cau-post h3 {
  margin: 0 0 3px;
  font-size: 13px;
  line-height: 1.4;
}

.xoso-cau-post h3 a {
  color: #34383d;
  text-decoration: none;
}

.xoso-cau-post time {
  color: #6f757b;
  font-size: 9px;
}

.xoso-cau-post p {
  margin: 4px 0 0;
  color: #606870;
  font-size: 10px;
  line-height: 1.45;
}

.xoso-cau-empty {
  padding: 18px;
  border-radius: 8px;
  background: #f8fafc;
  color: #606870;
  text-align: center;
}

.xoso-cau-empty strong {
  color: #34383d;
}

.xoso-cau-empty p {
  margin: 6px 0 0;
  font-size: 11px;
  line-height: 1.55;
}

.xoso-cau-tool-cta {
  display: grid;
  gap: 5px;
  margin-top: 20px;
  padding: 14px;
  border: 1px solid #dfe2e5;
  border-radius: 8px;
  background: #f7f7f7;
}

.xoso-cau-tool-cta strong {
  color: #a84b10;
}

.xoso-cau-tool-cta span {
  color: #606870;
  font-size: 12px;
}

.xoso-cau-tool-cta a {
  justify-self: start;
  margin-top: 3px;
  padding: 7px 11px;
  border-radius: 6px;
  background: #e97817;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}

.xoso-cau-tool-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.xoso-cau-tool-nav a {
  border: 1px solid #dbe3ee;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.xoso-cau-tool-nav a[aria-current="page"] {
  border-color: #e97817;
  background: #e97817;
  color: #fff;
}

.xoso-cau-tool-card,
.xoso-cau-tool-intro {
  overflow: hidden;
  border: 1px solid #dbe3ee;
  border-radius: 9px;
  background: #fff;
}

.xoso-cau-tool-intro {
  padding: 15px;
}

.xoso-cau-tool-card > header > span,
.xoso-cau-tool-intro > span {
  display: inline-block;
  padding: 4px 7px;
  border-radius: 4px;
  background: #e97817;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
}

.xoso-cau-tool-card h2,
.xoso-cau-tool-intro h2 {
  margin: 7px 0 4px;
  color: #34383d;
  font-size: 17px;
}

.xoso-cau-tool-card header p,
.xoso-cau-tool-intro p {
  margin: 0;
  color: #606870;
  font-size: 11px;
  line-height: 1.55;
}

.xoso-cau-tool-intro dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 12px 0 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

.xoso-cau-tool-intro dl div {
  padding: 9px;
  border-right: 1px solid #e2e8f0;
  text-align: center;
}

.xoso-cau-tool-intro dl div:last-child {
  border-right: 0;
}

.xoso-cau-tool-intro dt {
  color: #e97817;
  font-size: 14px;
  font-weight: 900;
}

.xoso-cau-tool-intro dd {
  margin: 2px 0 0;
  color: #606870;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.xoso-cau-tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 8px;
}

.xoso-cau-tool-grid a {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
}

.xoso-cau-tool-grid a > small {
  color: #606870;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.xoso-cau-tool-grid strong {
  color: #e97817;
  font-size: 13px;
}

.xoso-cau-tool-grid span {
  color: #606870;
  font-size: 10px;
  line-height: 1.45;
}

.xoso-cau-tool-grid em {
  color: #34383d;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}

.xoso-cau-filter {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 7px;
  border: 1px solid #dbe3ee;
  border-radius: 9px 9px 0 0;
}

.xoso-cau-filter label {
  display: grid;
  gap: 4px;
  color: #606870;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.xoso-cau-filter select {
  width: 100%;
  min-height: 35px;
  padding: 5px 27px 5px 8px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #34383d;
  font-size: 11px;
  font-weight: 800;
  text-transform: none;
}

.xoso-cau-filter button {
  min-height: 35px;
  padding: 7px 12px;
  border: 0;
  border-radius: 8px;
  background: #e97817;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.xoso-cau-tool-card {
  border-top: 0;
  border-radius: 0 0 9px 9px;
}

.xoso-cau-tool-card > header {
  padding: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.xoso-cau-tool-output {
  padding: 10px;
}

.xoso-cau-highlight {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 10px;
  margin-bottom: 10px;
  border: 1px solid #dfe2e5;
  border-radius: 8px;
}

.xoso-cau-highlight > span {
  color: #a84b10;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.xoso-cau-highlight > strong {
  grid-row: 1/3;
  grid-column: 2;
  color: #e97817;
  font-size: 30px;
  line-height: 1;
}

.xoso-cau-highlight > small {
  color: #606870;
  font-size: 9px;
}

.xoso-cau-tool-output .xoso-stats-table-wrap {
  margin-top: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
}

.xoso-cau-principles {
  overflow: hidden;
  margin-top: 8px;
  border: 1px solid #dbe3ee;
  border-radius: 9px;
  background: #fff;
}

.xoso-cau-principles > header {
  padding: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.xoso-cau-principles > header span {
  color: #e97817;
  font-size: 8px;
  font-weight: 900;
}

.xoso-cau-principles h3 {
  margin: 3px 0 0;
  color: #34383d;
  font-size: 15px;
}

.xoso-cau-principles > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px;
}

.xoso-cau-principles article {
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.xoso-cau-principles article > strong {
  color: #f28c28;
  font-size: 18px;
}

.xoso-cau-principles h4 {
  margin: 4px 0;
  color: #34383d;
  font-size: 11px;
}

.xoso-cau-principles footer,
.xoso-cau-principles p {
  margin: 0;
  color: #606870;
  font-size: 9px;
  line-height: 1.5;
}

.xoso-cau-principles footer {
  padding: 9px 11px;
  border-top: 1px solid #fed7aa;
  background: #fff7ed;
  color: #9a3412;
}

.xoso-cau-explanation {
  margin: 0 10px 10px;
  padding: 11px;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  background: #f8fafc;
}

.xoso-cau-explanation h3 {
  margin: 0 0 8px;
  color: #34383d;
  font-size: 13px;
}

.xoso-cau-explanation > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.xoso-cau-explanation article {
  padding: 9px;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  background: #fff;
}

.xoso-cau-explanation article strong {
  color: #e97817;
  font-size: 9px;
  text-transform: uppercase;
}

.xoso-cau-explanation article p {
  margin: 4px 0 0;
  color: #606870;
  font-size: 9px;
  line-height: 1.5;
}

.xoso-cau-disclaimer {
  margin: 0;
  padding: 9px 12px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #606870;
  font-size: 9px;
  text-align: center;
}

.kqxs-du-doan-article,
.xoso-prediction-dashboard {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.xoso-prediction-banner {
  display: block;
  clear: both;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0 0 14px;
  border: 1px solid #ead9bc;
  border-radius: 10px;
  background: #c45d14;
  box-shadow: 0 4px 14px rgb(25 25 25 / 12%);
}

.xoso-prediction-banner-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.xoso-prediction-visual {
  overflow: hidden;
  margin: 0;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 12px rgb(7 7 7 / 5%);
}

.xoso-prediction-visual__image {
  display: block;
  width: 100%;
  height: auto;
}

.xoso-prediction-visual figcaption {
  margin: 0;
  padding: 8px 12px;
  border-top: 1px solid #e2e8f0;
  color: #606870;
  font-size: 10px;
  line-height: 1.4;
}

.xoso-prediction-toc {
  margin: 0 0 14px;
  padding: 13px 15px;
  border: 1px solid #dbe3ee;
  border-left: 4px solid #e97817;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 3px 12px rgb(7 7 7 / 5%);
}

.xoso-prediction-toc__title {
  display: block;
  margin-bottom: 8px;
  color: #a84b10;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.xoso-prediction-toc ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: prediction-toc;
}

.xoso-prediction-toc li {
  position: relative;
  min-width: 0;
  padding-left: 22px;
  counter-increment: prediction-toc;
}

.xoso-prediction-toc li::before {
  position: absolute;
  top: 1px;
  left: 0;
  color: #e97817;
  font-size: 10px;
  font-weight: 900;
  content: counter(prediction-toc) ".";
}

.xoso-prediction-toc a {
  display: block;
  overflow: hidden;
  color: #34383d;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xoso-prediction-toc a:focus,
.xoso-prediction-toc a:hover {
  color: #e97817;
  text-decoration: underline;
}

.xoso-prediction-toc__level-3 {
  margin-left: 8px;
}

.kqxs-du-doan-section,
.xoso-prediction-dashboard > section,
.xoso-prediction-primary article {
  overflow: hidden;
  margin: 0;
  padding: 15px;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 12px rgb(7 7 7 / 5%);
}

.kqxs-du-doan-section--lead {
  border-left: 5px solid #f28c28;
}

.kqxs-du-doan-article[data-prediction-template="unified"]
  .kqxs-du-doan-section--responsible {
  border-left: 3px solid #cbd5e1;
}

.kqxs-du-doan-article[data-prediction-template="unified"]
  .kqxs-du-doan-section--history,
.kqxs-du-doan-article[data-prediction-template="unified"]
  .kqxs-du-doan-section--picks,
.kqxs-du-doan-article[data-prediction-template="unified"]
  .kqxs-du-doan-section--stations,
.kqxs-du-doan-article[data-prediction-template="unified"]
  .kqxs-du-doan-section--stats,
.kqxs-du-doan-article[data-prediction-template="unified"]
  .kqxs-du-doan-section--trends {
  border-top: 3px solid #e97817;
}

.kqxs-du-doan-section h2,
.kqxs-du-doan-section h3 {
  margin: 0 0 8px;
  color: #34383d;
}

.kqxs-du-doan-section h2 {
  font-size: 20px;
}

.kqxs-du-doan-section--lead > h2 {
  margin-bottom: 5px;
}

.kqxs-du-doan-heading-text {
  min-width: 0;
}

.kqxs-du-doan-editor {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
  padding: 4px 7px;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  background: #fff;
  color: #7c2d12;
  font-size: 9px;
  line-height: 1;
}

.kqxs-du-doan-editor small {
  color: #9a3412;
  font-size: 8px;
  font-weight: 700;
}

.kqxs-du-doan-editor strong {
  font-size: 9px;
}

.kqxs-du-doan-section h3 {
  font-size: 15px;
}

.kqxs-du-doan-section p {
  margin: 0;
  color: #606870;
  font-size: 13px;
  line-height: 1.65;
}

.kqxs-du-doan-section p + p {
  margin-top: 8px;
}

.kqxs-du-doan-section--lead .xoso-prediction-station-intro {
  padding: 8px 10px;
  border-left: 3px solid #ff6500;
  border-radius: 0 7px 7px 0;
  background: #fffdf5;
  font-size: 12px;
  line-height: 1.55;
}

.xoso-prediction-station-intro a {
  color: #9a3412;
  font-weight: 800;
  text-decoration: none;
}

.xoso-prediction-station-intro a:focus,
.xoso-prediction-station-intro a:hover {
  color: #e97817;
  text-decoration: underline;
}

.kqxs-du-doan-section--history p {
  padding: 8px 10px;
  border-radius: 7px;
  background: #f8fafc;
  font-size: 12px;
  line-height: 1.55;
}

.kqxs-du-doan-section--history p + p {
  margin-top: 6px;
}

.kqxs-du-doan-section--history p strong {
  color: #a84b10;
  font-weight: 800;
}

.xoso-prediction-picks,
.xoso-prediction-stat-lines,
.xoso-prediction-stations {
  margin: 0;
  padding: 0;
  list-style: none;
}

.xoso-prediction-picks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.xoso-prediction-picks li {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 7px;
  min-height: 92px;
  padding: 11px;
  border: 1px solid #ead9bc;
  border-radius: 9px;
}

.xoso-prediction-picks li.is-wide {
  grid-column: 1/-1;
  min-height: 74px;
}

.xoso-prediction-picks small {
  flex-basis: 100%;
  color: #7c2d12;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.xoso-prediction-picks .is-primary small {
  color: #f7f7f7;
}

.xoso-prediction-pick-number {
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  padding: 0 6px;
  border: 1px solid #dfe2e5;
  border-radius: 50%;
  background: #fff;
  color: #e97817;
  font-size: 13px;
  line-height: 1;
}

.xoso-prediction-pick-number.is-featured {
  min-width: 48px;
  height: 48px;
  border-color: #ff8730;
  background: #fff;
  font-size: 21px;
  box-shadow: 0 4px 12px rgb(7 7 7 / 18%);
}

.xoso-prediction-stat-lines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.xoso-prediction-stat-lines li {
  padding: 9px 10px;
  border-left: 3px solid #f28c28;
  background: #f8fafc;
  color: #34383d;
  font-size: 11px;
  line-height: 1.55;
}

.xoso-prediction-stat-lines span {
  display: block;
  margin-bottom: 2px;
  color: #606870;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.xoso-prediction-stations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
}

.xoso-prediction-stations > li {
  overflow: hidden;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  background: #fff;
}

.xoso-prediction-stations h4 {
  margin: 0;
  padding: 8px 10px;
  background: #f7f7f7;
  color: #a84b10;
  font-size: 14px;
}

.xoso-prediction-stations h4 small {
  display: block;
  margin-bottom: 1px;
  color: #9a3412;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.xoso-prediction-stations dl {
  display: grid;
  grid-template-columns: minmax(70px, auto) minmax(0, 1fr);
  margin: 0;
}

.xoso-prediction-stations dd,
.xoso-prediction-stations dt {
  display: flex;
  align-items: center;
  min-height: 42px;
  margin: 0;
  padding: 6px 8px;
  border-top: 1px solid #e2e8f0;
}

.xoso-prediction-stations dt {
  color: #606870;
  font-size: 9px;
  font-weight: 700;
}

.xoso-prediction-stations dd {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.xoso-prediction-stations .xoso-prediction-pick-number {
  min-width: 27px;
  height: 27px;
  padding: 0 4px;
  font-size: 11px;
}

.kqxs-du-doan-table-wrap,
.xoso-prediction-table-wrap {
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.kqxs-du-doan-table,
.xoso-prediction-history table {
  width: 100%;
  min-width: 720px;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  font-size: 12px;
}

.kqxs-du-doan-table td,
.kqxs-du-doan-table th,
.xoso-prediction-history td,
.xoso-prediction-history th {
  padding: 9px 8px;
  border: 1px solid #e2e8f0;
  text-align: center;
  vertical-align: middle;
}

.kqxs-du-doan-table th,
.xoso-prediction-history th {
  background: #e97817;
  color: #fff;
  font-size: 10px;
  text-transform: uppercase;
}

.kqxs-du-doan-table tbody tr:nth-child(2n),
.xoso-prediction-history tbody tr:nth-child(2n) {
  background: #f8fafc;
}

.kqxs-du-doan-table td strong {
  display: block;
  color: #e97817;
  font-size: 15px;
}

.kqxs-du-doan-table td small {
  display: block;
  margin-top: 2px;
  color: #606870;
}

.category-du-doan .site-main,
.category-du-doan-xsmb .site-main,
.category-du-doan-xsmn .site-main,
.category-du-doan-xsmt .site-main {
  display: grid;
  gap: 12px;
}

.category-du-doan .site-main > article,
.category-du-doan-xsmb .site-main > article,
.category-du-doan-xsmn .site-main > article,
.category-du-doan-xsmt .site-main > article {
  margin: 0;
  padding: 0;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 12px rgb(7 7 7 / 5%);
}

.category-du-doan .site-main > article > .inside-article,
.category-du-doan-xsmb .site-main > article > .inside-article,
.category-du-doan-xsmn .site-main > article > .inside-article,
.category-du-doan-xsmt .site-main > article > .inside-article {
  display: grid;
  grid-template-columns: minmax(108px, 3fr) minmax(0, 7fr);
  grid-template-areas: "image header" "image summary" "image footer";
  align-items: start;
  column-gap: 14px;
  padding: 14px;
}

.category-du-doan .post-image,
.category-du-doan-xsmb .post-image,
.category-du-doan-xsmn .post-image,
.category-du-doan-xsmt .post-image {
  grid-area: image;
  align-self: stretch;
  margin: 0;
}

.category-du-doan .post-image a,
.category-du-doan-xsmb .post-image a,
.category-du-doan-xsmn .post-image a,
.category-du-doan-xsmt .post-image a {
  display: block;
  overflow: hidden;
  height: 100%;
  min-height: 118px;
  aspect-ratio: 1;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  background: #f8fafc;
}

.category-du-doan .post-image img,
.category-du-doan-xsmb .post-image img,
.category-du-doan-xsmn .post-image img,
.category-du-doan-xsmt .post-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 118px;
  aspect-ratio: 1;
  object-fit: cover;
}

.category-du-doan .entry-header,
.category-du-doan-xsmb .entry-header,
.category-du-doan-xsmn .entry-header,
.category-du-doan-xsmt .entry-header {
  grid-area: header;
  min-width: 0;
}

.category-du-doan .entry-summary,
.category-du-doan-xsmb .entry-summary,
.category-du-doan-xsmn .entry-summary,
.category-du-doan-xsmt .entry-summary {
  grid-area: summary;
  min-width: 0;
  margin: 7px 0 0;
}

.category-du-doan .entry-summary p,
.category-du-doan-xsmb .entry-summary p,
.category-du-doan-xsmn .entry-summary p,
.category-du-doan-xsmt .entry-summary p {
  margin: 0;
  color: #606870;
  font-size: 12px;
  line-height: 1.55;
}

.category-du-doan .inside-article > footer.entry-meta,
.category-du-doan-xsmb .inside-article > footer.entry-meta,
.category-du-doan-xsmn .inside-article > footer.entry-meta,
.category-du-doan-xsmt .inside-article > footer.entry-meta {
  grid-area: footer;
  min-width: 0;
  margin-top: 7px;
  font-size: 10px;
}

.category-du-doan .entry-title,
.category-du-doan-xsmb .entry-title,
.category-du-doan-xsmn .entry-title,
.category-du-doan-xsmt .entry-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.xoso-prediction-dashboard {
  overflow: hidden;
  border: 1px solid #dbe3ee;
  border-radius: 11px;
  background: #f8fafc;
}

.xoso-prediction-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px;
  color: #fff;
}

.xoso-prediction-hero small {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.xoso-prediction-hero h2 {
  margin: 3px 0;
  color: inherit;
  font-size: 20px;
}

.xoso-prediction-hero p {
  max-width: 620px;
  margin: 0;
  opacity: 0.88;
  font-size: 11px;
}

.xoso-prediction-hero time {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid;
  border-radius: 8px;
  background: rgb(255 255 255 / 12%);
  font-size: 12px;
  font-weight: 800;
}

.xoso-prediction-hero time small {
  display: block;
  margin-bottom: 2px;
  font-size: 8px;
  line-height: 1;
  opacity: 0.8;
}

.xoso-prediction-primary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
}

.xoso-prediction-primary article {
  display: grid;
  align-content: center;
  gap: 6px;
  text-align: center;
}

.xoso-prediction-primary article > span {
  color: #606870;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.xoso-prediction-latest {
  color: #34383d;
  font-size: 19px;
}

.xoso-prediction-primary small {
  color: #e97817;
  font-weight: 800;
}

.xoso-prediction-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0 12px 12px;
}

.xoso-prediction-groups section {
  padding: 13px;
  border: 1px solid #dbe3ee;
  border-radius: 9px;
  background: #fff;
}

.xoso-prediction-groups h3,
.xoso-prediction-history h3 {
  margin: 0 0 5px;
  color: #34383d;
  font-size: 13px;
}

.xoso-prediction-groups p {
  min-height: 34px;
  margin: 0 0 9px;
  color: #606870;
  font-size: 10px;
}

.xoso-prediction-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.xoso-prediction-numbers strong {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 6px;
  border: 1px solid #dfe2e5;
  border-radius: 50%;
  background: #fff7ed;
  color: #e97817;
  font-size: 13px;
}

.xoso-prediction-numbers.is-featured strong {
  min-width: 52px;
  height: 52px;
  background: #e97817;
  color: #fff;
  font-size: 22px;
  box-shadow: 0 5px 14px rgb(25 25 25 / 22%);
}

.xoso-prediction-history {
  margin: 0 12px 12px;
}

.xoso-prediction-note {
  padding: 10px 13px;
  border-top: 1px solid #fed7aa;
  background: #fff7ed;
  color: #9a3412;
  font-size: 10px;
}

.xoso-dream {
  display: grid;
  gap: 12px;
  color: #34383d;
}

.xoso-dream-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  overflow: hidden;
  padding: 20px;
  border: 1px solid #dfe2e5;
  border-radius: 12px;
  color: #fff;
  box-shadow: 0 8px 22px rgb(25 25 25 / 16%);
}

.xoso-dream-hero > div {
  max-width: 650px;
}

.xoso-dream-directory header small,
.xoso-dream-guide article > small,
.xoso-dream-hero small,
.xoso-dream-number-index header small,
.xoso-dream-popular small {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.xoso-dream-hero h2 {
  margin: 4px 0 5px;
  color: inherit;
  font-size: 24px;
  line-height: 1.2;
}

.xoso-dream-hero p {
  margin: 0;
  color: rgb(255 255 255 / 86%);
  font-size: 12px;
  line-height: 1.55;
}

.xoso-dream-hero dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  flex: 0 0 auto;
  margin: 0;
  border: 1px solid;
  border-radius: 10px;
  background: rgb(255 255 255 / 10%);
}

.xoso-dream-hero dl div {
  min-width: 74px;
  padding: 10px 8px;
  border-right: 1px solid;
  text-align: center;
}

.xoso-dream-hero dl div:last-child {
  border-right: 0;
}

.xoso-dream-hero dt {
  font-size: 16px;
  font-weight: 900;
}

.xoso-dream-hero dd {
  margin: 2px 0 0;
  font-size: 8px;
  font-weight: 800;
  opacity: 0.8;
  text-transform: uppercase;
}

.xoso-dream-search {
  display: flex;
  gap: 7px;
  padding: 9px;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 12px rgb(7 7 7 / 5%);
}

.xoso-dream-search label {
  position: relative;
  flex: 1;
}

.xoso-dream-search svg {
  position: absolute;
  top: 50%;
  left: 11px;
  width: 17px;
  fill: none;
  stroke: #606870;
  stroke-width: 2;
  transform: translateY(-50%);
}

.xoso-dream-search input {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px 8px 37px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  color: #34383d;
  font-size: 12px;
}

.xoso-dream-search input:focus {
  border-color: #e97817;
  outline: solid 2px;
}

.xoso-dream-more,
.xoso-dream-search > button {
  padding: 7px 13px;
  border: 0;
  border-radius: 8px;
  background: #e97817;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.xoso-dream-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 7px;
  border: 1px solid #dbe3ee;
  border-radius: 9px;
  background: #f8fafc;
}

.xoso-dream-categories button {
  padding: 6px 9px;
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  background: #fff;
  color: #606870;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}

.xoso-dream-categories button[aria-pressed="true"] {
  border-color: #e97817;
  background: #e97817;
  color: #fff;
}

.xoso-dream-directory,
.xoso-dream-faq,
.xoso-dream-number-index,
.xoso-dream-popular {
  overflow: hidden;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 12px rgb(7 7 7 / 5%);
}

.xoso-dream-directory {
  display: flex;
  flex-direction: column;
  max-height: 1180px;
}

.xoso-dream-directory .xoso-dream-table {
  overflow-y: auto;
  min-height: 0;
  scrollbar-color: #cbd5e1 #f8fafc;
  scrollbar-width: thin;
}

.xoso-dream-directory .xoso-dream-table__head {
  position: sticky;
  top: 0;
  z-index: 3;
}

.xoso-dream-directory .xoso-dream-more {
  flex: 0 0 auto;
}

.xoso-dream-directory > header,
.xoso-dream-number-index > header,
.xoso-dream-popular > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  border-bottom: 1px solid #e2e8f0;
}

.xoso-dream-directory h3,
.xoso-dream-faq h3,
.xoso-dream-guide h3,
.xoso-dream-number-index h3,
.xoso-dream-popular h3 {
  margin: 2px 0 0;
  color: #34383d;
  font-size: 15px;
}

.xoso-dream-popular > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  padding: 10px;
}

.xoso-dream-popular button {
  display: grid;
  grid-template-columns: 31px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 7px;
  padding: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: #34383d;
  text-align: left;
  cursor: pointer;
}

.xoso-dream-popular button > span {
  display: grid;
  grid-row: 1/3;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #f7f7f7;
  color: #e97817;
  font-size: 13px;
  font-weight: 900;
}

.xoso-dream-popular button strong {
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xoso-dream-popular button small {
  color: #e97817;
  font-size: 8px;
  letter-spacing: 0;
}

.xoso-dream-number-index header p {
  margin: 0;
  color: #606870;
  font-size: 10px;
}

.xoso-dream-number-index > div {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 4px;
  padding: 9px;
}

.xoso-dream-number-index button {
  position: relative;
  min-height: 38px;
  padding: 4px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #f8fafc;
  color: #e97817;
  cursor: pointer;
}

.xoso-dream-number-index button strong {
  font-size: 11px;
}

.xoso-dream-number-index button small {
  position: absolute;
  top: 2px;
  right: 3px;
  color: #606870;
  font-size: 7px;
}

.xoso-dream-number-index button.is-empty {
  color: #6f757b;
  opacity: 0.55;
}

.xoso-dream-directory > header > strong {
  padding: 4px 7px;
  border-radius: 999px;
  background: #f7f7f7;
  color: #e97817;
  font-size: 9px;
}

.xoso-dream-item,
.xoso-dream-table__head {
  display: grid;
  grid-template-columns: minmax(120px, 1.1fr) minmax(90px, 0.8fr) minmax(
      105px,
      0.85fr
    ) minmax(240px, 2.25fr);
  align-items: center;
}

.xoso-dream-table__head {
  min-height: 34px;
  background: #e97817;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.xoso-dream-table__head span {
  padding: 7px 9px;
  border-right: 1px solid;
}

.xoso-dream-item {
  min-height: 55px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 10px;
}

.xoso-dream-item:nth-child(2n) {
  background: #f8fafc;
}

.xoso-dream-item > div,
.xoso-dream-item > p {
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 8px 9px;
  border-right: 1px solid #e2e8f0;
}

.xoso-dream-item > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  gap: 4px;
}

.xoso-dream-item > div:first-child {
  display: grid;
  gap: 2px;
}

.xoso-dream-item > div:first-child strong {
  color: #34383d;
  font-size: 11px;
}

.xoso-dream-item > div:first-child small {
  overflow: hidden;
  color: #6f757b;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xoso-dream-category-label {
  padding: 4px 6px;
  border-radius: 4px;
  background: #eef2ff;
  color: #34383d;
  font-size: 8px;
  font-weight: 800;
}

.xoso-dream-numbers button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid #dfe2e5;
  border-radius: 50%;
  background: #fff7ed;
  color: #e97817;
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
}

.xoso-dream-item > p {
  display: flex;
  align-items: center;
  border-right: 0;
  color: #606870;
  line-height: 1.45;
}

.xoso-dream-empty {
  margin: 0;
  padding: 25px;
  color: #606870;
  text-align: center;
}

.xoso-dream-more {
  display: block;
  margin: 10px auto;
}

.xoso-dream-guide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.xoso-dream-guide article,
.xoso-dream-guide aside {
  padding: 14px;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  background: #fff;
}

.xoso-dream-guide article li,
.xoso-dream-guide article p,
.xoso-dream-guide aside p {
  color: #606870;
  font-size: 11px;
  line-height: 1.6;
}

.xoso-dream-guide article p {
  margin: 7px 0;
}

.xoso-dream-guide ol {
  margin: 8px 0 0 17px;
  padding: 0;
}

.xoso-dream-guide aside {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 12px;
  border-color: #fed7aa;
  background: #fff7ed;
}

.xoso-dream-guide aside strong {
  flex: 0 0 auto;
  color: #9a3412;
}

.xoso-dream-guide aside p {
  margin: 0;
  color: #7c2d12;
}

.xoso-dream-faq {
  padding: 14px;
}

.xoso-dream-faq h3 {
  margin: 0 0 8px;
}

.xoso-dream-faq details {
  border-top: 1px solid #e2e8f0;
}

.xoso-dream-faq summary {
  padding: 10px 2px;
  color: #34383d;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.xoso-dream-faq details p {
  margin: 0 0 10px;
  color: #606870;
  font-size: 10px;
  line-height: 1.55;
}

.tag .site-main {
  display: grid;
  gap: 12px;
}

.xoso-tag-archive-intro {
  overflow: hidden;
  margin: 0;
  border: 1px solid #e5d8c2;
  border-radius: 11px;
  box-shadow: 0 4px 15px rgb(25 25 25 / 7%);
}

.xoso-tag-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-bottom: 1px solid #f0e5d5;
  color: #78716c;
  font-size: 10px;
}

.xoso-tag-breadcrumb a {
  color: #c45d14;
  font-weight: 700;
  text-decoration: none;
}

.xoso-tag-archive-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
}

.xoso-tag-archive-copy > div {
  min-width: 0;
}

.xoso-tag-archive-copy small {
  display: block;
  margin-bottom: 4px;
  color: #b45309;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.xoso-tag-archive-copy strong {
  display: block;
  margin-bottom: 5px;
  color: #a84b10;
  font-size: 20px;
  line-height: 1.25;
}

.xoso-tag-archive-copy p {
  max-width: 660px;
  margin: 0;
  color: #57534e;
  font-size: 12px;
  line-height: 1.65;
}

.xoso-tag-count {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  min-width: 76px;
  min-height: 66px;
  padding: 8px;
  border: 1px solid #dfe2e5;
  border-radius: 10px;
  background: #fff;
  color: #a84b10;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.1;
}

.xoso-tag-count b {
  font-size: 22px;
}

.xoso-related-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 10px 13px;
  border-top: 1px solid #f0e5d5;
  background: rgb(255 255 255 / 60%);
}

.xoso-related-tags span {
  margin-right: 2px;
  color: #57534e;
  font-size: 10px;
  font-weight: 800;
}

.xoso-related-tags a {
  padding: 4px 7px;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  background: #fff;
  color: #9a3412;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.xoso-related-tags a:focus,
.xoso-related-tags a:hover {
  border-color: #f28c28;
  background: #fff7ed;
  color: #c45d14;
}

.tag .site-main > article {
  margin: 0;
  padding: 0;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 12px rgb(7 7 7 / 5%);
}

.tag .site-main > article > .inside-article {
  display: grid;
  grid-template-columns: minmax(112px, 3fr) minmax(0, 7fr);
  grid-template-areas: "image header" "image summary" "image footer";
  align-items: start;
  column-gap: 14px;
  padding: 12px;
}

.tag .site-main article .entry-header {
  grid-area: header;
  min-width: 0;
}

.tag .site-main article .entry-title {
  margin: 0 0 5px;
  font-size: 16px;
  line-height: 1.35;
}

.tag .site-main article .entry-title a {
  color: #34383d;
}

.tag .site-main article .entry-title a:focus,
.tag .site-main article .entry-title a:hover {
  color: #e97817;
}

.tag .site-main article .entry-meta {
  color: #78716c;
  font-size: 9px;
}

.tag .site-main article .post-image {
  grid-area: image;
  align-self: stretch;
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: #f8fafc;
}

.tag .site-main article .post-image a,
.tag .site-main article .post-image img {
  display: block;
  width: 100%;
  height: 100%;
}

.tag .site-main article .post-image img {
  min-height: 118px;
  max-height: 158px;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.tag .site-main article .entry-summary {
  grid-area: summary;
  min-width: 0;
  margin-top: 5px;
  color: #606870;
  font-size: 11px;
  line-height: 1.6;
}

.tag .site-main article .entry-summary p {
  margin: 0;
}

.tag .site-main article .read-more {
  display: inline-flex;
  margin-left: 4px;
  color: #e97817;
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
}

.tag .site-main article footer.entry-meta {
  grid-area: footer;
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid #eef2f7;
}

.tag .paging-navigation {
  margin: 0;
  border: 1px solid #dbe3ee;
  border-radius: 9px;
  background: #fff;
}

.tag .paging-navigation .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

.tag .paging-navigation a,
.tag .paging-navigation span {
  padding: 6px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}

.tag .paging-navigation .current {
  background: #e97817;
  color: #fff;
}

.xoso-utilities-page {
  display: grid;
  gap: 12px;
}

.xoso-utility-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  border: 1px solid #dbe3ee;
}

.xoso-utility-nav a {
  border: 1px solid #e2e8f0;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.xoso-utility-nav a[aria-current="page"] {
  border-color: #e97817;
  background: #e97817;
  color: #fff;
}

.xoso-calendar-card,
.xoso-checker-card,
.xoso-embed-manager,
.xoso-utility-index {
  overflow: hidden;
  border: 1px solid #dbe3ee;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 4px 15px rgb(7 7 7 / 6%);
}

.xoso-calendar-card > header,
.xoso-checker-card > header,
.xoso-embed-manager > header,
.xoso-utility-index > header {
  padding: 17px;
  color: #fff;
}

.xoso-calendar-card header small,
.xoso-checker-card header small,
.xoso-embed-manager header small,
.xoso-utility-index header small {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.xoso-calendar-card h2,
.xoso-checker-card h2,
.xoso-embed-manager h2,
.xoso-utility-index h2 {
  margin: 3px 0;
  color: inherit;
  font-size: 20px;
}

.xoso-checker-card header p,
.xoso-embed-manager header p,
.xoso-utility-index header p {
  margin: 0;
  opacity: 0.88;
  font-size: 11px;
}

.xoso-utility-index > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
}

.xoso-utility-index > div > a {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid #dbe3ee;
  border-radius: 9px;
  background: #f8fafc;
  text-decoration: none;
}

.xoso-utility-index > div > a:hover {
  border-color: #dfe2e5;
  background: #fff7ed;
}

.xoso-utility-index strong {
  color: #e97817;
  font-size: 15px;
}

.xoso-utility-index span {
  color: #606870;
  font-size: 11px;
}

.xoso-calendar-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.xoso-calendar-card > header > span {
  padding: 5px 8px;
  border: 1px solid;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
}

.xoso-calendar-table-wrap {
  overflow: visible;
  padding: 10px;
  background: #f8fafc;
}

.xoso-calendar-card table {
  display: grid;
  gap: 6px;
  width: 100%;
  min-width: 0;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.xoso-calendar-card tbody,
.xoso-calendar-card thead {
  display: grid;
  gap: 6px;
}

.xoso-calendar-card tr {
  display: grid;
  grid-template-columns: 68px repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  background: #fff;
}

.xoso-calendar-card td,
.xoso-calendar-card th {
  min-width: 0;
  padding: 8px 6px;
  border: 0;
  border-right: 1px solid #e2e8f0;
  vertical-align: middle;
}

.xoso-calendar-card tr > :last-child {
  border-right: 0;
}

.xoso-calendar-card thead th {
  background: #fff;
  color: #9a3412;
  font-size: 9px;
  text-transform: uppercase;
}

.xoso-calendar-card tbody > tr > th {
  width: auto;
  background: #f1f5f9;
  color: #34383d;
  font-size: 11px;
}

.xoso-calendar-card tr.is-today {
  border-color: #dfe2e5;
  box-shadow: 0 3px 10px rgb(25 25 25 / 9%);
}

.xoso-calendar-card tr.is-today > th {
  box-shadow: inset 3px 0 #f28c28;
  background: #f7f7f7;
  color: #e97817;
}

.xoso-calendar-card td small,
.xoso-calendar-card th small {
  display: block;
  margin-top: 5px;
  color: #6f757b;
  font-size: 8px;
}

.xoso-calendar-card td a {
  display: inline-block;
  margin: 1px 2px 2px 0;
  padding: 2px 5px;
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  background: #fff;
  color: #606870;
  font-size: 8px;
  font-weight: 800;
  text-decoration: none;
}

.xoso-calendar-card td::before {
  display: none;
  content: attr(data-region-label);
}

.xoso-checker-card form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 8px;
  background: #f8fafc;
}

.xoso-checker-card label {
  display: grid;
  gap: 4px;
  color: #606870;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.xoso-checker-card input,
.xoso-checker-card select {
  width: 100%;
  min-height: 38px;
  padding: 6px 9px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  background: #fff;
  color: #34383d;
  font-size: 12px;
  font-weight: 700;
}

.xoso-checker-card button,
.xoso-embed-config button {
  min-height: 38px;
  padding: 7px 14px;
  border: 0;
  border-radius: 7px;
  background: #e97817;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.xoso-checker-result p {
  margin: 0;
  color: #606870;
  font-size: 12px;
}

.xoso-checker-result.is-win {
  background: #f0fdf4;
}

.xoso-checker-result.is-lose {
  background: #fff7ed;
}

.xoso-checker-result h3 {
  margin: 0 0 7px;
  color: #606870;
  font-size: 15px;
}

.xoso-checker-matches {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.xoso-embed-config {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 10px 12px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.xoso-embed-config label {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #606870;
  font-size: 10px;
}

.xoso-embed-config input {
  padding: 5px 7px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
}

.xoso-embed-manager textarea {
  box-sizing: border-box;
  width: calc(100% - 24px);
  margin: 12px;
  padding: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  background: #34383d;
  color: #e2e8f0;
  font: 10px/1.6 monospace;
  resize: vertical;
}

.xoso-embed-preview {
  display: grid;
  gap: 7px;
  padding: 0 12px 12px;
}

.xoso-embed-preview > strong {
  color: #34383d;
  font-size: 11px;
}

.xoso-embed-preview iframe {
  width: 100%;
  height: 600px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
}

.xoso-embed-guide {
  margin: 0 12px 12px;
  padding: 12px;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  background: #fff7ed;
}

.xoso-embed-guide h3 {
  margin: 0 0 6px;
  color: #9a3412;
  font-size: 12px;
}

.xoso-embed-guide ul {
  margin: 0;
  padding-left: 18px;
  color: #7c2d12;
  font-size: 10px;
}

body.xoso-embed-body {
  margin: 0;
  background: #f8fafc;
  --xoso-embed-accent: #f97316;
  --xoso-embed-dark: #9a3412;
  --xoso-embed-soft: #fff7ed;
}

.xoso-embed-body .xoso-embed-widget {
  box-sizing: border-box;
  width: 100%;
  padding: 8px;
}

.xoso-embed-widget > .xoso-calendar-card,
.xoso-embed-widget > .xoso-checker-card,
.xoso-embed-widget > .xoso-result-card {
  margin: 0;
}

.xoso-embed-widget > footer {
  padding: 6px;
  text-align: right;
}

.xoso-embed-widget > footer a {
  color: #606870;
  font-size: 9px;
  text-decoration: none;
}

.xoso-embed-body .xoso-result-navigation {
  display: none;
}

.xoso-embed-config select {
  min-width: 210px;
  min-height: 36px;
  padding: 5px 28px 5px 8px;
  border: 1px solid #d9c29c;
  border-radius: 6px;
  background: #fff;
  color: #29231c;
  font-size: 11px;
  font-weight: 800;
}

.xoso-embed-config {
  display: grid;
  grid-template-columns: minmax(118px, 1.7fr) minmax(66px, 0.8fr) minmax(
      70px,
      0.8fr
    ) minmax(78px, 0.9fr) auto;
  align-items: end;
  gap: 6px;
  flex-wrap: nowrap;
}

.xoso-embed-config > select,
.xoso-embed-config input,
.xoso-embed-config label,
.xoso-embed-config label select {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

.xoso-embed-config label {
  display: grid;
  align-items: stretch;
  gap: 2px;
}

.xoso-embed-config label span {
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.xoso-embed-config > select,
.xoso-embed-config button,
.xoso-embed-config input,
.xoso-embed-config label select {
  min-height: 36px;
}

.xoso-checker-result:empty {
  display: none;
}

.xoso-checker-result.is-loading {
  display: grid;
  place-items: center;
}

.xoso-checker-loader {
  width: 20px;
  height: 20px;
  border: 2px solid #f1dfc4;
  border-top-color: #f97316;
  border-radius: 50%;
  animation: 0.7s linear infinite xoso-utility-spin;
}

.xoso-checker-card form {
  padding: 16px;
}

.xoso-checker-card form label {
  letter-spacing: 0.025em;
}

.xoso-checker-card form input:focus,
.xoso-checker-card form select:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgb(249 115 22 / 12%);
  outline: 0;
}

.xoso-checker-card [data-check-number] {
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.xoso-checker-result {
  min-height: 0;
  padding: 16px;
}

.xoso-checker-status {
  display: flex;
  align-items: center;
  gap: 12px;
}

.xoso-checker-status h3,
.xoso-checker-status p {
  margin: 0;
}

.xoso-checker-status h3 {
  font-size: 14px;
}

.xoso-checker-number {
  display: inline-grid;
  place-items: center;
  min-width: 84px;
  padding: 9px 12px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: #fff;
  font-size: 18px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.07em;
}

.is-win .xoso-checker-number {
  color: #d94800;
}

.is-lose .xoso-checker-number {
  color: #c2410c;
}

.xoso-checker-matches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 13px;
}

.xoso-checker-matches article {
  display: grid;
  gap: 2px;
  padding: 10px;
  border: 1px solid #f7f7f7;
  border-radius: 8px;
  background: #fff;
}

.xoso-checker-matches small,
.xoso-checker-matches span {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: 0 0;
  color: #70685e;
  font-size: 9px;
  font-style: normal;
  font-weight: 600;
}

.xoso-checker-matches strong {
  color: #606870;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.xoso-embed-body [data-xoso-archive-shell] {
  display: block;
  width: 100%;
}

.xoso-embed-body .xoso-region-results {
  display: grid;
  gap: 10px;
}

.xoso-embed-color--blue {
  --xoso-embed-accent: #f59e0b;
  --xoso-embed-dark: #92400e;
  --xoso-embed-soft: #fffbeb;
}

.xoso-embed-color--green {
  --xoso-embed-accent: #d94800;
  --xoso-embed-dark: #713f12;
  --xoso-embed-soft: #fefce8;
}

.xoso-embed-color--orange {
  --xoso-embed-accent: #ea580c;
  --xoso-embed-dark: #9a3412;
  --xoso-embed-soft: #fff7ed;
}

.xoso-embed-color--purple {
  --xoso-embed-accent: #ff8730;
  --xoso-embed-dark: #854d0e;
  --xoso-embed-soft: #fefce8;
}

.xoso-embed-body .xoso-print-ticket,
.xoso-embed-body .xoso-prize-row--db .xoso-result-number,
.xoso-embed-body .xoso-region-pagination button {
  color: var(--xoso-embed-dark);
}

.xoso-embed-body .xoso-digit-filters button[aria-pressed="true"],
.xoso-embed-body .xoso-print-ticket,
.xoso-embed-body .xoso-province-tabs button[aria-selected="true"] {
  border-color: var(--xoso-embed-accent);
  background: var(--xoso-embed-soft);
}

.xoso-embed-body .xoso-digit-filters button[aria-pressed="true"]::before {
  border-color: var(--xoso-embed-accent);
  background: var(--xoso-embed-accent);
}

@keyframes xoso-utility-spin {
  to {
    transform: rotate(360deg);
  }
}

.xoso-print-page {
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  border: 1px solid #dbe3ee;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 4px 15px rgb(7 7 7 / 6%);
}

.xoso-print-page__intro {
  margin-bottom: 14px;
  padding: 18px;
  border-bottom: 1px solid #dbe3ee;
}

.xoso-print-page__title {
  margin: 0 0 14px;
  color: #c45d14;
  font-size: 24px;
  font-weight: 700;
}

.xoso-agency-information {
  display: grid;
  gap: 3px;
  padding: 12px;
  border-left: 4px solid #f28c28;
  background: #fff7ed;
}

.xoso-agency-information h2,
.xoso-agency-information p {
  margin: 0;
}

.xoso-agency-information h2 {
  font-size: 15px;
}

.xoso-agency-information p {
  font-size: 13px;
}

.xoso-agency-editor > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 9px;
}

.xoso-agency-editor label {
  display: grid;
  gap: 4px;
  color: #606870;
  font-size: 10px;
  font-weight: 800;
}

.xoso-agency-editor label.is-wide {
  grid-column: 1/-1;
}

.xoso-agency-editor input {
  box-sizing: border-box;
  width: 100%;
  min-height: 39px;
  padding: 7px 9px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  background: #fff;
  color: #34383d;
  font: inherit;
  font-size: 12px;
}

.xoso-agency-editor input::placeholder {
  color: #6f757b;
  opacity: 0.62;
  font-weight: 500;
}

.xoso-print-options {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px;
  margin-top: 14px;
}

.xoso-print-options label {
  display: grid;
  gap: 4px;
  color: #606870;
  font-size: 10px;
  font-weight: 800;
}

.xoso-print-options select {
  box-sizing: border-box;
  min-width: 145px;
  min-height: 35px;
  padding: 6px 30px 6px 9px;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  background-color: #fff;
  color: #34383d;
  font: inherit;
  font-size: 12px;
}

.xoso-print-layouts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

[data-print-output][aria-busy="true"] {
  opacity: 0.55;
  pointer-events: none;
}

.xoso-print-options button {
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  background: #fff;
  color: #34383d;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.xoso-print-options button[aria-pressed="true"] {
  border-color: #f28c28;
  background: #f7f7f7;
  color: #e97817;
}

.xoso-print-options .xoso-print-now {
  border-color: #e97817;
  background: #e97817;
  color: #fff;
}

.xoso-ticket-sheet {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 0 14px 14px;
}

.xoso-ticket-sheet[data-layout="4"],
.xoso-ticket-sheet[data-layout="6"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.xoso-ticket-sheet[data-layout="1"] .xoso-check-ticket:nth-child(n + 2),
.xoso-ticket-sheet[data-layout="4"] .xoso-check-ticket:nth-child(n + 5) {
  display: none;
}

.xoso-check-ticket {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  box-sizing: border-box;
  border: 1px dashed #606870;
  background: #fff;
  color: #34383d;
}

.xoso-check-ticket > header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 8px;
  border-bottom: 1px solid #cbd5e1;
  font-size: 13px;
}

.xoso-check-ticket h2 {
  margin: 6px 4px 1px;
  color: #e97817;
  font-size: 21px;
  text-align: center;
}

.xoso-check-ticket__date {
  margin: 0 4px 5px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.xoso-check-ticket table {
  width: 100%;
  height: 100%;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.xoso-check-ticket td,
.xoso-check-ticket th {
  padding: 3px 4px;
  border: 1px solid #6f757b;
  text-align: center;
}

.xoso-check-ticket th {
  width: 44px;
  background: #f1f5f9;
  font-size: 13px;
}

.xoso-check-ticket td b {
  display: inline-block;
  min-width: 23%;
  font-size: 24px;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
}

.xoso-print-result-table--multi thead th:first-child {
  width: 44px;
}

.xoso-print-result-table--multi thead th {
  background: #fff0dc;
  color: #c45d14;
  font-size: 12px;
}

.xoso-print-result-table--multi td b {
  display: block;
  min-width: 0;
}

.xoso-check-ticket .xoso-ticket-prize--db b {
  color: #f28c28;
  font-size: 34px;
}

.xoso-check-ticket footer {
  padding: 4px 7px;
  font-size: 9px;
  text-align: center;
}

.xoso-ticket-sheet[data-layout="4"] .xoso-check-ticket h2,
.xoso-ticket-sheet[data-layout="6"] .xoso-check-ticket h2 {
  font-size: 14px;
}

.xoso-ticket-sheet[data-layout="4"] .xoso-check-ticket > header {
  font-size: 10px;
}

.xoso-ticket-sheet[data-layout="4"] .xoso-check-ticket th {
  width: 36px;
  font-size: 11px;
}

.xoso-ticket-sheet[data-layout="4"] .xoso-check-ticket td b {
  font-size: 15px;
}

.xoso-ticket-sheet[data-layout="6"] .xoso-check-ticket > header {
  font-size: 8px;
}

.xoso-ticket-sheet[data-layout="6"] .xoso-check-ticket h2 {
  font-size: 12px;
}

.xoso-ticket-sheet[data-layout="6"] .xoso-check-ticket th {
  width: 32px;
  font-size: 9px;
}

.xoso-ticket-sheet[data-layout="6"] .xoso-check-ticket td b {
  font-size: 12px;
}

.xoso-ticket-sheet[data-layout="4"]
  .xoso-check-ticket
  .xoso-ticket-prize--db
  b {
  font-size: 21px;
}

.xoso-ticket-sheet[data-layout="6"]
  .xoso-check-ticket
  .xoso-ticket-prize--db
  b {
  font-size: 17px;
}

.xoso-ticket-sheet[data-layout="6"] .xoso-check-ticket td,
.xoso-ticket-sheet[data-layout="6"] .xoso-check-ticket th {
  padding-top: 1px;
  padding-bottom: 1px;
}

@page {
  size: A4 portrait;
  margin: 0;
}

:root {
  --km-radius-lg: 24px;
  --km-radius: 16px;
  --km-radius-sm: 10px;
  --contrast: var(--km-ink);
  --contrast-2: var(--km-muted);
  --base: var(--km-line);
  --base-2: var(--km-canvas);
  --base-3: var(--km-surface);
  --accent: var(--km-coral);
  --km-container: 1080px;
  --km-gold-surface: #fff;
  --km-gold-muted: #756651;
  --km-red-900: #700008;
  --km-red-800: #97000b;
  --km-red-700: #c40012;
  --km-red-600: #e60018;
  --km-red-50: #fff2f3;
  --km-coral: var(--km-red-600);
  --km-coral-dark: var(--km-red-800);
  --km-teal: #1d1d1d;
  --km-amber: #ff6500;
  --km-blue: #3a3a3a;
  --km-gold: #ff6500;
  --km-gold-bright: #ff8730;
  --km-gold-pale: #fff0e6;
  --km-gold-900: #2a0b00;
  --km-gold-800: #5c1800;
  --km-gold-700: #992d00;
  --km-gold-600: #d94800;
  --km-gold-500: #ff6500;
  --km-gold-400: #ff7a1a;
  --km-gold-50: #fff0e6;
  --km-navy: #171717;
  --km-navy-deep: #070707;
  --km-ink: #191919;
  --km-muted: #656565;
  --km-gold-border: #ff9d5c;
  --km-gold-border-soft: #ffd4b8;
  --xoso-embed-accent: #ff6500;
  --km-canvas: #f2f2f2;
  --km-surface: #fff;
  --km-surface-soft: #f7f7f7;
  --km-line: #d9d9d9;
  --km-line-soft: #ececec;
  --km-metal: #e60018;
  --km-metal-soft: #fff3ed;
  --km-shadow: 0 6px 18px rgba(0, 0, 0, 0.075);
  --km-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.055);
}

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

html {
  scroll-padding-top: 92px;
  scroll-behavior: auto;
}

body.kqxsmn-ui {
  margin: 0;
  color: var(--km-ink);
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.kqxsmn-ui a {
  color: var(--km-navy);
  text-decoration: none;
  transition:
    color 0.18s,
    background-color 0.18s,
    border-color 0.18s,
    transform 0.18s,
    box-shadow 0.18s;
}

body.kqxsmn-ui a:focus,
body.kqxsmn-ui a:hover {
  color: var(--km-coral-dark);
}

body.kqxsmn-ui img {
  max-width: 100%;
  height: auto;
}

body.kqxsmn-ui button,
body.kqxsmn-ui input,
body.kqxsmn-ui select,
body.kqxsmn-ui textarea {
  font: inherit;
}

body.kqxsmn-ui button,
body.kqxsmn-ui input[type="button"],
body.kqxsmn-ui input[type="submit"] {
  border-radius: var(--km-radius-sm);
}

body.kqxsmn-ui :focus-visible {
  outline: rgba(255, 43, 43, 0.32) solid 3px;
  outline-offset: 3px;
  outline-color: rgba(224, 0, 22, 0.58);
}

.km-container {
  width: min(calc(100% - 36px), var(--km-container));
  margin-inline: auto;
}

.skip-link {
  z-index: 10001;
}

.km-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
}

.km-header.has-scrolled {
  box-shadow: 0 10px 34px rgba(112, 0, 8, 0.12);
}

.admin-bar .km-header {
  top: 32px;
}

.km-trustbar {
  min-height: 34px;
  background: var(--km-navy-deep);
  color: #d7e3ee;
  font-size: 11px;
}

.km-trustbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 34px;
}

.km-trustbar p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.km-trustbar strong {
  color: #fff;
  font-weight: 750;
}

.km-live-pulse {
  display: inline-block;
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d94800;
  box-shadow: 0 0 0 0 rgba(255, 101, 0, 0.45);
  animation: 2s infinite km-live-pulse;
}

@keyframes km-live-pulse {
  70% {
    box-shadow: 0 0 0 7px rgba(255, 101, 0, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 101, 0, 0);
  }
}

.km-brandbar {
  background: #fff;
}

.km-brandbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.km-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--km-navy);
}

.km-brand:focus,
.km-brand:hover {
  color: var(--km-navy);
}

.km-brand__mark {
  display: grid;
  position: relative;
  flex: 0 0 48px;
  place-items: center;
  overflow: hidden;
  background: var(--km-coral);
  box-shadow: 0 9px 20px rgba(240, 84, 94, 0.25);
  font-size: 14px;
  font-style: normal;
  letter-spacing: -0.03em;
}

.km-brand__mark b {
  position: relative;
  z-index: 1;
}

.km-brand__mark i {
  position: absolute;
  right: -9px;
  bottom: -13px;
  width: 34px;
  height: 34px;
  border: 7px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}

.km-brand__copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.km-brand__copy strong {
  color: var(--km-navy);
  font-weight: 900;
  letter-spacing: -0.045em;
}

.km-brand__copy strong span {
  color: var(--km-coral);
}

.km-brand__copy small {
  margin-top: 5px;
  color: var(--km-muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.035em;
}

.km-brand__custom .custom-logo-link,
.km-brand__custom img {
  display: block;
  max-width: 260px;
  max-height: 58px;
  width: auto;
}

.km-brandbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.km-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--km-line);
  border-radius: 999px;
  background: var(--km-surface-soft);
  color: var(--km-navy);
  font-weight: 750;
}

.km-header-cta span {
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--km-blue);
}

.km-header-cta:hover {
  transform: translateY(-1px);
}

.km-menu-toggle {
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--km-line);
}

.km-menu-toggle i {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 3px;
  background: var(--km-navy);
  transition:
    transform 0.2s,
    opacity 0.2s;
}

.km-menu-toggle[aria-expanded="true"] i:first-of-type {
  transform: translateY(6px) rotate(45deg);
}

.km-menu-toggle[aria-expanded="true"] i:nth-of-type(2) {
  opacity: 0;
}

.km-menu-toggle[aria-expanded="true"] i:nth-of-type(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.km-primary-nav {
  border-top: 1px solid var(--km-line-soft);
  border-bottom: 1px solid var(--km-line-soft);
  background: #fff;
}

.km-footer-menu,
.km-primary-menu,
.km-primary-menu ul,
.km-quick-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.km-primary-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  min-height: 48px;
}

.km-primary-menu > li {
  position: relative;
}

.km-primary-menu > li > a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 13px;
  border-radius: 9px;
  color: #34383d;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.km-primary-menu > li.menu-item-has-children > a::after {
  margin-left: 6px;
  color: #6f757b;
  content: "⌄";
  font-size: 12px;
}

.km-primary-menu > li.current-menu-ancestor > a,
.km-primary-menu > li.current-menu-item > a,
.km-primary-menu > li:focus-within > a,
.km-primary-menu > li:hover > a {
  background: #f0f5fa;
  color: var(--km-coral-dark);
}

.km-primary-menu .sub-menu {
  display: grid;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 50;
  min-width: 220px;
  padding: 9px;
  border: 1px solid var(--km-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--km-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity 0.18s,
    transform 0.18s,
    visibility 0.18s;
}

.km-primary-menu > li:nth-last-child(-n + 3) .sub-menu {
  right: 0;
  left: auto;
}

.km-primary-menu li:focus-within > .sub-menu,
.km-primary-menu li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.km-primary-menu .sub-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: #606870;
  font-size: 12px;
  font-weight: 650;
}

.km-primary-menu .sub-menu .current-menu-item > a,
.km-primary-menu .sub-menu a:focus,
.km-primary-menu .sub-menu a:hover {
  background: #f3f6fa;
  color: var(--km-coral-dark);
}

.km-quick-nav {
  display: none;
  border-bottom: 1px solid var(--km-line);
  background: #fff;
}

.km-quick-menu {
  display: flex;
  gap: 8px;
  padding: 10px 0;
}

.km-quick-menu a {
  display: block;
  padding: 8px 13px;
  border: 1px solid var(--km-line);
  border-radius: 999px;
  background: var(--km-surface-soft);
  color: var(--km-navy);
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.km-context-head {
  position: relative;
  overflow: hidden;
  padding: 25px 0 28px;
  color: #fff;
}

.km-context-head::after {
  position: absolute;
  right: -42px;
  bottom: -70px;
  width: 260px;
  height: 150px;
  border: 30px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  content: "";
  transform: rotate(-12deg);
}

.km-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  color: #6f757b;
  font-size: 11px;
}

.km-breadcrumbs a {
  color: #dfe2e5;
}

.km-breadcrumbs span:last-child {
  max-width: 70ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.km-context-head h1 {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.km-page.grid-container {
  width: min(calc(100% - 36px), var(--km-container));
  max-width: var(--km-container);
  margin: 24px auto 54px;
}

.km-site-content.site-content {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.km-site-content .content-area {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
}

.km-site-content .widget-area.is-right-sidebar {
  flex: 0 0 265px;
  width: 265px;
  padding: 0;
}

.km-site-content .site-main {
  margin: 0;
}

body.kqxsmn-ui .comments-area,
body.kqxsmn-ui .inside-article,
body.kqxsmn-ui .page-header,
body.kqxsmn-ui .paging-navigation {
  padding: 2px;
  border: 1px solid var(--km-line);
  border-radius: var(--km-radius);
  background: #fff;
  box-shadow: var(--km-shadow-sm);
}

body.kqxsmn-ui .site-main > * + * {
  margin-top: 18px;
}

body.kqxsmn-ui .entry-title {
  color: var(--km-navy);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

body.kqxsmn-ui .entry-content {
  color: #34383d;
}

body.kqxsmn-ui .entry-content h2,
body.kqxsmn-ui .entry-content h3,
body.kqxsmn-ui .entry-content h4 {
  color: var(--km-navy);
  letter-spacing: -0.02em;
}

body.kqxsmn-ui .entry-content a {
  color: #606870;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body.home .km-page.grid-container {
  width: 100%;
  max-width: none;
  margin-bottom: 0;
}

body.home .km-site-content {
  display: block;
}

.km-home {
  width: 100%;
}

.km-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: clamp(32px, 6vw, 82px);
  padding: 56px max(18px, calc((100% - var(--km-container)) / 2)) 62px;
  overflow: hidden;
  color: #fff;
}

.km-home-hero__copy {
  max-width: 670px;
}

.km-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: #dfe2e5;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.km-eyebrow span {
  width: 28px;
  height: 2px;
  background: var(--km-coral);
}

.km-home-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(44px, 6vw, 74px);
  font-weight: 880;
  letter-spacing: -0.065em;
  line-height: 0.99;
}

.km-home-hero h1 em {
  color: #ff6500;
  font-style: normal;
}

.km-home-hero__lead {
  max-width: 590px;
  margin: 24px 0 0;
  color: #dfe2e5;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.65;
}

.km-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.km-hero-links a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 170px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 11px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.km-hero-links a:first-child {
  border-color: var(--km-coral);
  background: var(--km-coral);
}

.km-hero-links a:hover {
  border-color: #fff;
  background: #fff;
  color: var(--km-navy);
  transform: translateY(-2px);
}

.km-home-hero__board {
  position: relative;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(15px);
}

.km-home-hero__board::before {
  position: absolute;
  top: -13px;
  right: 26px;
  padding: 6px 11px;
  border-radius: 999px;
  background: #d94800;
  color: #606870;
  content: "LIVE";
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.km-home-hero__board > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 4px 13px;
  color: #dfe2e5;
  font-size: 11px;
}

.km-home-hero__board > header strong {
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.km-draw-time {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 7px;
  padding: 12px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--km-ink);
}

.km-draw-time > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: #fff6f1;
  color: var(--km-teal);
  font-size: 11px;
  font-weight: 900;
}

.km-draw-time--mt > span {
  background: #fff3dc;
  color: #c77b00;
}

.km-draw-time--mb > span {
  background: #f7f7f7;
  color: var(--km-coral-dark);
}

.km-draw-time p {
  margin: 0;
  line-height: 1.35;
}

.km-draw-time p small,
.km-draw-time p strong {
  display: block;
}

.km-draw-time p strong {
  color: var(--km-navy);
  font-size: 12px;
}

.km-draw-time p small {
  margin-top: 3px;
  color: var(--km-muted);
  font-size: 9px;
}

.km-draw-time > b {
  color: var(--km-navy);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.km-home-hero__board > footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 4px 2px;
  color: #dfe2e5;
  font-size: 10px;
}

.km-region-launcher {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(calc(100% - 36px), var(--km-container));
  margin: -25px auto 30px;
  border: 1px solid var(--km-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--km-shadow);
  overflow: hidden;
}

.km-region-launcher__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 18px 22px;
  border-right: 1px solid var(--km-line);
  color: var(--km-navy);
}

.km-region-launcher__item:last-child {
  border-right: 0;
}

.km-region-launcher__item > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff6f1;
  color: var(--km-teal);
  font-size: 10px;
  font-weight: 900;
}

.km-region-launcher__item--mt > span {
  background: #fff3dc;
  color: #c77b00;
}

.km-region-launcher__item--mb > span {
  background: #f7f7f7;
  color: var(--km-coral-dark);
}

.km-region-launcher__item p {
  margin: 0;
  line-height: 1.35;
}

.km-region-launcher__item p small,
.km-region-launcher__item p strong {
  display: block;
}

.km-region-launcher__item p strong {
  font-size: 13px;
}

.km-region-launcher__item p small {
  margin-top: 4px;
  color: var(--km-muted);
  font-size: 10px;
}

.km-region-launcher__item > b {
  color: #6f757b;
  font-size: 18px;
}

.km-region-launcher__item:hover {
  position: relative;
  z-index: 1;
  background: var(--km-surface-soft);
  color: var(--km-coral-dark);
}

.km-region-launcher__item:hover > b {
  color: var(--km-coral);
  transform: translateX(3px);
}

.km-home > .xoso-editorial-content,
.km-home-grid,
.km-latest {
  width: min(calc(100% - 36px), var(--km-container));
  margin-inline: auto;
}

.km-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 22px;
  padding-bottom: 48px;
}

.km-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 17px;
}

.km-section-heading p {
  margin: 0 0 3px;
  color: var(--km-coral-dark);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.km-section-heading h2 {
  margin: 0;
  color: var(--km-navy);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.km-section-heading > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid #dfe2e5;
  color: var(--km-muted);
  font-size: 11px;
  font-weight: 750;
}

.km-section-heading > a:hover {
  border-color: var(--km-coral);
  color: var(--km-coral-dark);
}

.km-home-sidebar {
  display: grid;
  gap: 16px;
  padding-top: 54px;
}

.km-side-card {
  overflow: hidden;
  border: 1px solid var(--km-line);
  border-radius: var(--km-radius);
  background: #fff;
  box-shadow: var(--km-shadow-sm);
}

.km-side-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 16px;
  border-bottom: 1px solid var(--km-line-soft);
}

.km-side-card__head p {
  margin: 0;
  line-height: 1.35;
}

.km-side-card__head p span,
.km-side-card__head p strong {
  display: block;
}

.km-side-card__head p span {
  color: var(--km-muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.km-side-card__head p strong {
  margin-top: 2px;
  color: var(--km-navy);
  font-size: 14px;
}

.km-side-card__head > a {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #eff4f8;
  color: var(--km-navy);
}

.km-schedule-list {
  padding: 5px 15px 10px;
}

.km-schedule-list > div {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--km-line-soft);
}

.km-schedule-list > div:last-child {
  border-bottom: 0;
}

.km-schedule-list > div > span {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 9px;
  background: #fff6f1;
  color: var(--km-teal);
  font-size: 9px;
  font-weight: 900;
}

.km-schedule-list > div > span.is-mt {
  background: #fff3dc;
  color: #b67100;
}

.km-schedule-list > div > span.is-mb {
  background: #f7f7f7;
  color: var(--km-coral-dark);
}

.km-schedule-list p {
  margin: 0;
  line-height: 1.35;
}

.km-schedule-list small,
.km-schedule-list strong {
  display: block;
}

.km-schedule-list strong {
  color: var(--km-navy);
  font-size: 11px;
}

.km-schedule-list small {
  margin-top: 4px;
  color: var(--km-muted);
  font-size: 9px;
  line-height: 1.5;
}

.km-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--km-line-soft);
}

.km-tool-grid a {
  display: grid;
  place-items: center;
  gap: 7px;
  min-height: 92px;
  padding: 12px 8px;
  background: #fff;
  color: #606870;
  font-size: 10px;
  font-weight: 750;
  text-align: center;
}

.km-tool-grid a b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: #edf3ff;
  color: var(--km-blue);
  font-size: 15px;
}

.km-tool-grid a:nth-child(2) b {
  background: #fff3dc;
  color: #bd7600;
}

.km-tool-grid a:nth-child(3) b {
  background: #fff6f1;
  color: var(--km-teal);
}

.km-tool-grid a:nth-child(4) b {
  background: #f7f7f7;
  color: var(--km-coral-dark);
}

.km-tool-grid a:hover {
  background: #f8fafc;
  color: var(--km-coral-dark);
}

.km-side-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 15px;
  border: 1px solid #dfe2e5;
  border-radius: 14px;
  background: #eff5ff;
  color: #606870;
}

.km-side-note > span {
  display: grid;
  flex: 0 0 25px;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--km-blue);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 13px;
  font-weight: 700;
}

.km-side-note strong {
  display: block;
  color: var(--km-navy);
  font-size: 11px;
}

.km-side-note p {
  margin: 4px 0 0;
  font-size: 9px;
  line-height: 1.55;
}

.km-side-card--links > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  border-bottom: 1px solid var(--km-line-soft);
  color: #606870;
  font-size: 10px;
  font-weight: 700;
}

.km-side-card--links > a:last-child {
  border-bottom: 0;
}

.km-side-card--links > a span {
  color: #6f757b;
}

.km-post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.km-post-grid article {
  overflow: hidden;
  border: 1px solid var(--km-line);
  border-radius: var(--km-radius);
  background: #fff;
  box-shadow: var(--km-shadow-sm);
}

.km-post-card__media {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.km-post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.km-post-card__media > span {
  display: grid;
  place-items: center;
  height: 100%;
  color: rgba(255, 255, 255, 0.88);
  font-size: 32px;
  font-weight: 900;
}

.km-post-grid article:hover img {
  transform: scale(1.04);
}

.km-post-grid article > div {
  padding: 15px;
}

.km-post-grid small {
  color: var(--km-coral-dark);
  font-size: 9px;
  font-weight: 750;
}

.km-post-grid h3 {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.45;
}

.km-home > .xoso-editorial-content {
  margin-bottom: 55px;
  padding: 25px;
  border: 1px solid var(--km-line);
  border-radius: var(--km-radius);
  background: #fff;
  box-shadow: var(--km-shadow-sm);
}

.xoso-api-output {
  display: grid;
  gap: 17px;
  font-family: inherit;
}

.xoso-home-intro {
  overflow: hidden;
  border: 1px solid var(--km-line);
  border-radius: 13px;
  background: #fff;
  box-shadow: none;
}

.xoso-home-promo {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 10px 14px;
  border-bottom: 1px solid var(--km-line-soft);
  background: #f8fafc;
  color: var(--km-muted);
  font-size: 10px;
}

.xoso-home-promo strong {
  padding: 3px 7px;
  border-radius: 999px;
  background: #fff6f1;
  color: var(--km-teal);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.xoso-today-schedule {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
}

.xoso-today-schedule strong {
  margin-right: 3px;
  color: var(--km-navy);
  font-size: 10px;
}

.xoso-today-schedule a {
  padding: 4px 8px;
  border: 1px solid var(--km-line);
  border-radius: 999px;
  background: #fff;
  color: #606870;
  font-size: 9px;
  font-weight: 650;
}

.xoso-live-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0;
  padding: 10px 13px;
  border: 1px solid #f7f7f7;
  border-radius: 12px;
  color: #d94800;
  font-size: 9px;
}

.xoso-live-summary strong {
  color: #606870;
  font-size: 10px;
}

.xoso-live-summary .xoso-live-dot {
  width: 7px;
  height: 7px;
  background: var(--km-teal);
  box-shadow: 0 0 0 4px rgba(196, 0, 18, 0.13);
}

.xoso-live-summary em {
  color: #a46100;
  font-style: normal;
  font-weight: 700;
}

.xoso-live-error {
  display: grid;
  gap: 5px;
  padding: 20px;
  border: 1px solid #fff0dc;
  border-radius: 14px;
  background: #fff5f5;
  color: #bf0011;
}

.xoso-api-output .xoso-result-card,
.xoso-api-output .xoso-vietlott-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 1px solid var(--km-line);
  border-top: 4px solid var(--km-teal);
  border-radius: var(--km-radius);
  background: #fff;
  box-shadow: var(--km-shadow-sm);
}

.xoso-api-output .xoso-result-card[data-xoso-region^="mt"] {
  border-top-color: var(--km-amber);
}

.xoso-api-output .xoso-result-card[data-xoso-region^="mb"] {
  border-top-color: var(--km-coral);
}

.xoso-result-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 55px;
  padding: 12px 15px;
  border-bottom: 1px solid var(--km-line);
  background: #fff;
  color: var(--km-navy);
  text-align: left;
}

.xoso-result-card__header h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px;
  margin: 0;
  color: var(--km-navy);
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.xoso-result-card__header h2 a {
  color: var(--km-navy);
}

.xoso-result-card__header .xoso-heading-date {
  width: 100%;
  color: var(--km-muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0;
}

.xoso-heading-separator {
  color: #6f757b;
}

.xoso-result-draw {
  padding: 5px 8px;
  border-radius: 999px;
  background: #f1f5f8;
  color: var(--km-muted);
  font-size: 9px;
  font-weight: 750;
}

.xoso-result-scroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.xoso-loto-table,
.xoso-result-book-table,
.xoso-result-table,
.xoso-stats-table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  color: var(--km-ink);
  table-layout: fixed;
}

.xoso-result-table td,
.xoso-result-table th {
  padding: 8px 7px;
  border: 0;
  border-right: 1px solid var(--km-line-soft);
  border-bottom: 1px solid var(--km-line-soft);
  background: #fff;
  color: var(--km-ink);
  text-align: center;
  vertical-align: middle;
}

.xoso-result-table td:last-child,
.xoso-result-table th:last-child {
  border-right: 0;
}

.xoso-result-table tr:last-child td,
.xoso-result-table tr:last-child th {
  border-bottom: 0;
}

.xoso-result-table thead th {
  padding: 9px 7px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.xoso-result-table thead th a {
  color: var(--km-navy);
}

.xoso-result-table tbody th {
  width: 48px;
  color: var(--km-muted);
  font-size: 9px;
  font-weight: 800;
}

.xoso-result-number {
  display: inline-block;
  margin: 1px 4px;
  color: var(--km-navy);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(16px, 2vw, 21px);
  font-weight: 850;
  letter-spacing: 0.035em;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
  cursor: zoom-in;
}

.xoso-prize-row--db .xoso-result-number,
.xoso-result-number--db {
  color: var(--km-coral-dark);
  font-size: clamp(21px, 3vw, 29px);
  font-weight: 900;
}

.xoso-number-pending {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 18px;
  margin: 3px;
  border-radius: 99px;
}

.xoso-number-pending i,
.xoso-number-pending::after,
.xoso-number-pending::before {
  width: 4px;
  height: 4px;
  margin: 0 2px;
  border-radius: 50%;
  background: #6f757b;
  content: "";
}

.xoso-result-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 10px 12px;
  border-top: 1px solid var(--km-line-soft);
  border-bottom: 1px solid var(--km-line-soft);
}

.xoso-digit-filters,
.xoso-province-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.xoso-cau-tool-nav a,
.xoso-digit-filters button,
.xoso-province-tabs button,
.xoso-region-tabs a,
.xoso-stats-mode-bar a,
.xoso-utility-nav a {
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid var(--km-line);
  border-radius: 999px;
  background: #fff;
  color: #606870;
  font-size: 9px;
  font-weight: 750;
  line-height: 1.25;
  align-items: center;
  justify-content: center;
  display: flex;
}

.xoso-cau-tool-nav a.is-active,
.xoso-digit-filters button[aria-pressed="true"],
.xoso-province-tabs button[aria-selected="true"],
.xoso-region-tabs a.is-active,
.xoso-stats-mode-bar a.is-active,
.xoso-utility-nav a.is-active {
  border-color: var(--km-navy);
  background: var(--km-navy);
  color: #fff;
}

.xoso-loto-panels {
  padding: 0;
}

.xoso-loto-table td,
.xoso-loto-table th {
  padding: 5px 7px;
  border: 0;
  border-right: 1px solid var(--km-line-soft);
  border-bottom: 1px solid var(--km-line-soft);
  background: #fff;
  color: #606870;
  font-size: 9px;
  text-align: left;
}

.xoso-loto-table thead th {
  padding: 8px 7px;
  color: var(--km-navy);
  font-weight: 800;
  text-align: center;
}

.xoso-loto-table tbody th {
  width: 28px;
  color: var(--km-coral-dark);
  font-weight: 850;
  text-align: center;
}

.xoso-loto-number {
  display: inline-block;
  margin: 1px 4px 1px 0;
  color: #34383d;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 750;
}

.xoso-loto-number sup {
  color: var(--km-coral-dark);
}

.xoso-result-navigation {
  padding: 12px 14px 14px;
  border-top: 1px solid var(--km-line-soft);
  background: #fff;
}

.xoso-result-navigation ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.xoso-result-navigation li {
  position: relative;
  padding-left: 13px;
  color: var(--km-muted);
  font-size: 9px;
  line-height: 1.5;
}

.xoso-result-navigation li::before {
  position: absolute;
  top: 0.63em;
  left: 1px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--km-coral);
  content: "";
}

.xoso-result-navigation a {
  text-decoration: none;
  color: #606870;
  font-weight: 700;
}

.xoso-print-ticket {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 9px;
  padding: 7px 10px;
  border: 1px solid var(--km-line);
  border-radius: 8px;
  background: #f8fafc;
  font-size: 9px;
  font-weight: 800;
}

.xoso-print-ticket svg {
  width: 13px;
  height: 13px;
}

.xoso-vietlott-grid {
  display: grid;
  gap: 15px;
}

.xoso-api-output .xoso-vietlott-card {
  padding: 16px;
  border-top-color: var(--km-blue);
}

.xoso-vietlott-card header h2 {
  margin: 0;
  color: var(--km-navy);
  font-size: 14px;
}

.xoso-vietlott-card header p {
  color: var(--km-muted);
  font-size: 9px;
}

.xoso-vietlott-balls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}

.xoso-vietlott-ball {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border: 2px solid #d4e0eb;
  border-radius: 50%;
  background: #fff;
  color: var(--km-navy);
  font-size: 12px;
  font-weight: 900;
}

.xoso-route-page.inside-article {
  padding: 0;
  border: 0;
  background: 0 0;
  box-shadow: none;
}

.xoso-route-page .xoso-api-output {
  min-width: 0;
}

.xoso-cau-tool-nav,
.xoso-region-tabs,
.xoso-stats-mode-bar,
.xoso-utility-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
  padding: 10px;
  border: 1px solid var(--km-line);
  border-radius: 13px;
  background: #fff;
  box-shadow: var(--km-shadow-sm);
}

.xoso-cau-filter,
.xoso-cau-highlight,
.xoso-dream-card,
.xoso-result-book-card,
.xoso-result-book-filter,
.xoso-route-toolbar,
.xoso-stats-card,
.xoso-stats-filter,
.xoso-trial-controls,
.xoso-utility-card {
  padding: 16px;
  border: 1px solid var(--km-line);
  border-radius: var(--km-radius);
  background: #fff;
  box-shadow: var(--km-shadow-sm);
}

.xoso-dream-card h2,
.xoso-result-book-card h2,
.xoso-route-toolbar h2,
.xoso-stats-card h2,
.xoso-utility-card h2 {
  margin-top: 0;
  color: var(--km-navy);
  letter-spacing: -0.025em;
}

.xoso-route-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 9px 12px;
  border: 1px solid #ececec;
  border-radius: 10px;
  background: #fff9ec;
  color: #7a2100;
  font-size: 10px;
}

.xoso-api-output form label {
  color: #606870;
  font-size: 10px;
  font-weight: 750;
}

.xoso-api-output input[type="date"],
.xoso-api-output input[type="number"],
.xoso-api-output input[type="search"],
.xoso-api-output input[type="text"],
.xoso-api-output select,
.xoso-api-output textarea {
  min-height: 40px;
  padding: 8px 10px;
  background: #fff;
  color: var(--km-ink);
}

.xoso-api-output .button,
.xoso-api-output button[type="submit"],
.xoso-api-output input[type="submit"] {
  min-height: 40px;
  padding: 8px 14px;
  border: 0;
  border-radius: 9px;
  background: var(--km-navy);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.xoso-api-output .button:hover,
.xoso-api-output button[type="submit"]:hover,
.xoso-api-output input[type="submit"]:hover {
  background: var(--km-coral-dark);
}

.xoso-editorial-content {
  clear: both;
  margin-top: 20px;
  padding: 23px;
  border: 1px solid var(--km-line);
  border-radius: var(--km-radius);
  background: #fff;
  box-shadow: var(--km-shadow-sm);
}

.km-site-content > .xoso-editorial-content {
  flex: 0 0 100%;
}

.widget-area .widget {
  margin-bottom: 16px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--km-line);
  border-radius: var(--km-radius);
  background: #fff;
  box-shadow: var(--km-shadow-sm);
}

.widget-area .widget-title,
.widget-area .widget_nav_menu > .widget-title {
  margin: 0;
  padding: 13px 15px;
  border-bottom: 1px solid var(--km-line);
  background: #f8fafc;
  color: var(--km-navy);
  font-size: 12px;
  font-weight: 850;
}

.widget-area .widget_nav_menu ul {
  margin: 0;
  padding: 5px 0;
  list-style: none;
}

.widget-area .widget_nav_menu li {
  margin: 0;
  padding: 0;
  border: 0;
}

.widget-area .widget_nav_menu li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-bottom: 1px solid var(--km-line-soft);
  background: #fff;
  color: #606870;
  font-size: 10px;
  font-weight: 650;
}

.widget-area .widget_nav_menu li:last-child > a {
  border-bottom: 0;
}

.widget-area .widget_nav_menu .current-menu-item > a,
.widget-area .widget_nav_menu li > a:hover {
  background: #f5f8fb;
  color: var(--km-coral-dark);
}

.widget-area .widget_nav_menu .sub-menu {
  margin: 0;
  list-style: none;
  padding: 0 0 4px 9px;
  background: #f8fafc;
}

.widget-area .widget_nav_menu .sub-menu a {
  background: 0 0;
  font-size: 9px;
}

.widget-area .widget_nav_menu .xoso-sidebar-section > a {
  background: var(--km-navy);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.km-post-listing,
.site-main .xoso-cau-post-grid {
  display: grid;
  gap: 16px;
}

.km-article-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--km-line);
  border-radius: var(--km-radius);
  background: #fff;
  box-shadow: var(--km-shadow-sm);
}

.km-article-card__image {
  min-height: 150px;
}

.km-article-card__image img {
  object-fit: cover;
}

.km-article-card > div {
  padding: 18px;
}

.km-article-card__meta {
  margin: 0 0 5px;
  color: var(--km-coral-dark);
  font-size: 9px;
  font-weight: 750;
}

.km-article-card h2 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.km-article-card p:last-child {
  margin-bottom: 0;
  color: var(--km-muted);
  font-size: 12px;
}

.xoso-cau-post,
body.archive .site-main article,
body.search .site-main article {
  overflow: hidden;
  border: 1px solid var(--km-line);
  border-radius: var(--km-radius);
  background: #fff;
  box-shadow: var(--km-shadow-sm);
}

.xoso-cau-post h2,
.xoso-cau-post h3 {
  color: var(--km-navy);
}

.navigation.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.navigation.pagination .page-numbers {
  display: grid;
  place-items: center;
  min-width: 35px;
  height: 35px;
  padding: 0 9px;
  border: 1px solid var(--km-line);
  border-radius: 9px;
  background: #fff;
  color: var(--km-navy);
  font-size: 10px;
  font-weight: 750;
}

.navigation.pagination .page-numbers.current {
  border-color: var(--km-navy);
  background: var(--km-navy);
  color: #fff;
}

.km-empty-state,
.km-not-found {
  display: grid;
  place-items: center;
  padding: 50px 24px;
  border: 1px solid var(--km-line);
  border-radius: var(--km-radius-lg);
  background: #fff;
  text-align: center;
}

.km-not-found {
  width: 100%;
  min-height: 440px;
}

.km-not-found > strong {
  color: #e7edf3;
  font-size: clamp(90px, 18vw, 180px);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.km-not-found h2 {
  margin: 25px 0 8px;
  color: var(--km-navy);
  font-size: 28px;
}

.km-not-found > p:not(.km-eyebrow) {
  max-width: 560px;
  margin: 0;
  color: var(--km-muted);
}

.km-not-found > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.km-empty-state a,
.km-not-found > div a {
  padding: 10px 14px;
  border: 1px solid var(--km-line);
  border-radius: 9px;
  background: #fff;
  color: var(--km-navy);
  font-size: 11px;
  font-weight: 750;
}

.km-not-found > div a:first-child {
  border-color: var(--km-coral);
  background: var(--km-coral);
  color: #fff;
}

.km-footer {
  position: relative;
  overflow: hidden;
  padding: 45px 0 0;
  background: var(--km-navy-deep);
  color: #dfe2e5;
}

.km-footer__accent {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
}

.km-footer__accent i:first-child {
  background: var(--km-teal);
}

.km-footer__accent i:nth-child(2) {
  background: var(--km-amber);
}

.km-footer__accent i:nth-child(3) {
  background: var(--km-coral);
}

.km-footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.7fr 0.7fr 1fr;
  gap: clamp(25px, 4vw, 58px);
  padding-bottom: 40px;
}

.km-brand--footer .km-brand__copy strong {
  color: #fff;
}

.km-brand--footer .km-brand__copy small {
  color: #6f757b;
}

.km-footer__brand > p {
  max-width: 340px;
  margin: 17px 0 0;
  font-size: 11px;
  line-height: 1.75;
}

.km-footer h2 {
  margin: 4px 0 13px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.km-footer ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.km-footer li,
.km-footer p {
  font-size: 10px;
}

.km-footer a {
  color: #dfe2e5;
}

.km-footer a:hover {
  color: #fff;
}

.km-footer__notice {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.km-footer__notice h2 {
  margin-top: 0;
}

.km-footer__notice p {
  margin: 0 0 13px;
  line-height: 1.65;
}

.km-footer__notice > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 10px;
  font-weight: 750;
}

.km-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 61px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.km-footer__bottom p {
  margin: 0;
}

.km-footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px 16px;
}

.km-footer-menu a {
  font-size: 9px;
}

.km-mobile-dock {
  display: none;
}

.km-hero-strip,
.km-trustbar {
  display: none;
}

.km-header {
  border-bottom: 1px solid #7a2100;
  backdrop-filter: none;
}

.km-header.has-scrolled {
  box-shadow: 0 9px 28px rgba(23, 23, 23, 0.2);
}

.km-brandbar {
  position: relative;
  overflow: hidden;
}

.km-brandbar::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.km-brandbar__inner {
  display: grid;
  position: relative;
  grid-template-columns: max-content minmax(300px, 1fr) max-content;
  align-items: center;
  gap: 22px;
  min-height: 70px;
}

.km-brand__mark {
  flex-basis: 42px;
  width: 42px;
  height: 42px;
  border-radius: 12px 12px 12px 4px;
  box-shadow:
    0 8px 18px rgba(23, 23, 23, 0.3),
    inset 0 1px rgba(255, 255, 255, 0.5);
}

.km-brandbar .km-brand__copy strong {
  font-size: 20px;
}

.km-brandbar .km-brand__copy strong span {
  color: var(--km-gold-bright);
}

.km-brandbar__summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  height: 34px;
  padding: 0 12px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 135, 48, 0.24);
  border-bottom: 1px solid rgba(255, 135, 48, 0.24);
  color: #ececec;
}

.km-brandbar__live {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.km-brandbar__live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 135, 48, 0.12);
}

@keyframes km-brand-live {
  50% {
    opacity: 0.45;
  }
}

.km-brandbar__summary h1 {
  flex: 0 1 auto;
  max-width: 330px;
  margin: 0;
  overflow: hidden;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.km-brandbar__summary h1::after {
  margin-left: 10px;
  color: #d94800;
  content: "•";
}

.km-brandbar__ticker {
  flex: 1 1 auto;
  min-width: 80px;
  font-size: 9px;
  font-weight: 650;
  white-space: nowrap;
}

.km-brandbar__ticker p {
  margin: 0;
}

.km-brandbar__ticker:hover p {
  animation-play-state: paused;
}

@keyframes km-brand-ticker {
  from {
    transform: translateX(18%);
  }

  to {
    transform: translateX(-100%);
  }
}

.km-brandbar__summary time {
  flex: 0 0 auto;
  font-size: 9px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.km-brandbar__actions {
  gap: 8px;
}

.km-header-cta {
  padding: 8px 12px;
  font-size: 10px;
}

.km-header-cta span {
  width: 18px;
  height: 18px;
}

.km-page.grid-container,
body.home .km-page.grid-container {
  width: min(calc(100% - 24px), var(--km-container));
  margin-top: 14px;
}

.km-site-content.site-content,
body.home .km-site-content.site-content {
  display: grid;
  grid-template-columns: 188px minmax(520px, 1fr) 210px 210px;
  align-items: start;
}

.km-site-content > .km-left-rail {
  grid-column: 1;
}

.km-site-content > #left-sidebar,
.km-site-content > #right-sidebar,
.km-site-content > .content-area,
.km-site-content > .km-home-sidebar,
.km-site-content > .km-left-rail {
  grid-row: 1;
  order: 0;
}

.km-site-content > .content-area {
  grid-column: 2;
}

.km-site-content > #left-sidebar,
.km-site-content > #right-sidebar,
.km-site-content > .km-home-sidebar {
  width: 100%;
  min-width: 0;
  padding: 0;
  float: none;
}

.km-site-content > #left-sidebar,
.km-site-content > .km-home-sidebar {
  grid-column: 3;
}

.km-site-content > #right-sidebar,
body.home .km-site-content > #left-sidebar {
  grid-column: 4;
}

.km-site-content > .xoso-editorial-content,
body.no-sidebar .km-site-content > .content-area {
  grid-column: 2/-1;
}

.inside-left-sidebar,
.inside-right-sidebar,
.km-home-sidebar,
.widget-area.is-left-sidebar,
.widget-area.is-right-sidebar {
  min-width: 0;
}

.inside-left-sidebar,
.inside-right-sidebar,
.km-home-sidebar {
  display: grid;
  align-content: start;
  gap: 10px;
}

.inside-left-sidebar .widget,
.inside-right-sidebar .widget {
  margin-bottom: 0;
}

.km-left-rail {
  background: #fffdf8;
  box-shadow: 0 6px 18px rgba(58, 26, 11, 0.07);
  position: sticky;
  overscroll-behavior: contain;
  scrollbar-color: var(--km-gold-400) var(--km-gold-50);
  scrollbar-width: thin;
}

.km-vertical-menu > li {
  position: relative;
  counter-increment: none;
}

.km-vertical-menu > li > a::after,
.km-vertical-menu > li > a::before {
  display: none;
  content: none;
}

.km-vertical-menu .xoso-menu-row {
  grid-template-columns: minmax(0, 1fr) 27px;
  align-items: center;
  border-bottom: 1px solid #f0e6d0;
}

.km-vertical-menu > li:last-child > .xoso-menu-row {
  border-bottom-color: transparent;
}

.km-vertical-menu .xoso-menu-row > a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  line-height: 1.25;
}

.km-vertical-menu .xoso-menu-row > a[aria-label="Trang chủ"]::after {
  content: "Trang chủ";
}

.km-vertical-menu .xoso-menu-icon {
  flex: 0 0 27px;
  border: 1px solid #d5d5d5;
  stroke-width: 1.7;
}

.km-vertical-menu .xoso-submenu-toggle {
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: 0 0;
  color: #992d00;
  cursor: pointer;
}

.km-vertical-menu .xoso-submenu-toggle::before {
  width: 6px;
  height: 6px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  content: "";
  transform: rotate(45deg);
  transition: transform 0.17s;
}

.km-vertical-menu .xoso-submenu-toggle::after {
  display: none;
  content: none;
}

.km-vertical-menu > li.current-menu-ancestor > .xoso-menu-row > a,
.km-vertical-menu > li.current-menu-item > .xoso-menu-row > a,
.km-vertical-menu > li.is-expanded > .xoso-menu-row > a,
.km-vertical-menu > li:focus-within > .xoso-menu-row > a,
.km-vertical-menu > li:hover > .xoso-menu-row > a {
  color: #7a2100;
}

.km-vertical-menu > li.current-menu-ancestor > .xoso-menu-row .xoso-menu-icon,
.km-vertical-menu > li.current-menu-item > .xoso-menu-row .xoso-menu-icon,
.km-vertical-menu > li.is-expanded > .xoso-menu-row .xoso-menu-icon,
.km-vertical-menu > li:focus-within > .xoso-menu-row .xoso-menu-icon,
.km-vertical-menu > li:hover > .xoso-menu-row .xoso-menu-icon {
  border-color: #d94800;
  color: #3a1a0b;
}

.km-vertical-menu
  > li.is-expanded
  > .xoso-menu-row
  .xoso-submenu-toggle::before {
  transform: rotate(135deg);
}

.km-vertical-menu .xoso-submenu {
  position: absolute;
  top: -7px;
  left: calc(100% + 8px);
  z-index: 80;
  width: 218px;
  margin: 0;
  padding: 7px;
  border: 1px solid #d5d5d5;
  border-radius: 12px;
  background: #fffdf8;
  box-shadow: 0 17px 40px rgba(58, 26, 11, 0.18);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-5px);
  transition:
    opacity 0.16s,
    transform 0.16s,
    visibility 0.16s;
}

.km-vertical-menu .xoso-submenu::before {
  position: absolute;
  top: 18px;
  left: -5px;
  width: 9px;
  height: 9px;
  border-bottom: 1px solid #d5d5d5;
  border-left: 1px solid #d5d5d5;
  background: #fffdf8;
  content: "";
  transform: rotate(45deg);
}

.km-vertical-menu li.is-expanded > .xoso-submenu,
.km-vertical-menu li:focus-within > .xoso-submenu,
.km-vertical-menu li:hover > .xoso-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.km-vertical-menu .xoso-submenu a {
  display: block;
  padding: 7px 9px;
  border-radius: 7px;
  color: #7a2100;
  font-size: 9px;
  font-weight: 650;
}

.km-vertical-menu .xoso-submenu .current-menu-item > a,
.km-vertical-menu .xoso-submenu a:focus,
.km-vertical-menu .xoso-submenu a:hover {
  background: #f7f7f7;
  color: #7a2100;
}

.km-home-sidebar .km-side-card,
.widget-area.is-left-sidebar .widget,
.widget-area.is-right-sidebar .widget {
  border-radius: 11px;
  box-shadow: 0 4px 14px rgba(62, 42, 8, 0.045);
}

.km-home-sidebar .km-side-card__head,
.widget-area.is-left-sidebar .widget-title,
.widget-area.is-right-sidebar .widget-title {
  padding: 10px 11px 10px 14px;
  font-size: 10px;
}

.widget-area.is-left-sidebar .widget_nav_menu li > a,
.widget-area.is-right-sidebar .widget_nav_menu li > a {
  min-height: 31px;
  padding: 6px 10px;
  font-size: 8.5px;
}

.widget-area.is-left-sidebar .widget_nav_menu .sub-menu a,
.widget-area.is-right-sidebar .widget_nav_menu .sub-menu a {
  font-size: 8px;
}

.widget-area.is-left-sidebar
  .widget_nav_menu
  .menu
  > li.menu-item-has-children
  > a::after,
.widget-area.is-right-sidebar
  .widget_nav_menu
  .menu
  > li.menu-item-has-children
  > a::after {
  color: #992d00;
  content: "+";
  font-size: 12px;
  font-weight: 500;
}

.widget-area.is-left-sidebar
  .widget_nav_menu
  .menu
  > li.menu-item-has-children
  > .sub-menu,
.widget-area.is-right-sidebar
  .widget_nav_menu
  .menu
  > li.menu-item-has-children
  > .sub-menu {
  display: none;
}

.widget-area.is-left-sidebar
  .widget_nav_menu
  .menu
  > li.current-menu-ancestor
  > .sub-menu,
.widget-area.is-left-sidebar
  .widget_nav_menu
  .menu
  > li.current-menu-item
  > .sub-menu,
.widget-area.is-left-sidebar
  .widget_nav_menu
  .menu
  > li.menu-item-has-children:focus-within
  > .sub-menu,
.widget-area.is-left-sidebar
  .widget_nav_menu
  .menu
  > li.menu-item-has-children:hover
  > .sub-menu,
.widget-area.is-right-sidebar
  .widget_nav_menu
  .menu
  > li.current-menu-ancestor
  > .sub-menu,
.widget-area.is-right-sidebar
  .widget_nav_menu
  .menu
  > li.current-menu-item
  > .sub-menu,
.widget-area.is-right-sidebar
  .widget_nav_menu
  .menu
  > li.menu-item-has-children:focus-within
  > .sub-menu,
.widget-area.is-right-sidebar
  .widget_nav_menu
  .menu
  > li.menu-item-has-children:hover
  > .sub-menu {
  display: block;
}

.widget-area.is-left-sidebar
  .widget_nav_menu
  .menu
  > li.current-menu-ancestor
  > a::after,
.widget-area.is-left-sidebar
  .widget_nav_menu
  .menu
  > li.current-menu-item
  > a::after,
.widget-area.is-left-sidebar
  .widget_nav_menu
  .menu
  > li.menu-item-has-children:focus-within
  > a::after,
.widget-area.is-left-sidebar
  .widget_nav_menu
  .menu
  > li.menu-item-has-children:hover
  > a::after,
.widget-area.is-right-sidebar
  .widget_nav_menu
  .menu
  > li.current-menu-ancestor
  > a::after,
.widget-area.is-right-sidebar
  .widget_nav_menu
  .menu
  > li.current-menu-item
  > a::after,
.widget-area.is-right-sidebar
  .widget_nav_menu
  .menu
  > li.menu-item-has-children:focus-within
  > a::after,
.widget-area.is-right-sidebar
  .widget_nav_menu
  .menu
  > li.menu-item-has-children:hover
  > a::after {
  content: "−";
}

.widget-area .widget_nav_menu .menu > li > a {
  color: #ff8730;
}

.widget-area .widget_nav_menu .sub-menu a::before {
  background: #d94800;
}

.widget-area .widget_nav_menu .sub-menu .current-menu-item > a,
.widget-area .widget_nav_menu .sub-menu a:hover,
.widget-area .widget_nav_menu .xoso-sidebar-prediction-card > a:focus,
.widget-area .widget_nav_menu .xoso-sidebar-prediction-card > a:hover {
  background: #f7f7f7;
  color: #7a2100;
}

.xoso-sidebar-tab-buttons {
  gap: 1px;
  background: #992d00;
}

.xoso-sidebar-tab-buttons button {
  color: #3a1a0b;
}

.xoso-sidebar-tab-buttons button.is-active {
  background: #7a2100;
  box-shadow: inset 0 -3px 0 #ff8730;
  color: #f7f7f7;
}

.xoso-sidebar-news-thumb,
.xoso-sidebar-prediction-thumb {
  border-color: #d5d5d5;
  background: #fff8e4;
}

.km-home-sidebar .km-schedule-list {
  padding-inline: 10px;
}

.km-home-sidebar .km-schedule-list > div {
  grid-template-columns: 30px minmax(0, 1fr);
  padding: 8px 0;
}

.km-home-sidebar .km-schedule-list > div > span {
  width: 30px;
  height: 30px;
  font-size: 8px;
}

.km-home-sidebar .km-schedule-list strong {
  font-size: 9px;
}

.km-home-sidebar .km-schedule-list small {
  font-size: 8px;
}

.km-home-sidebar .km-tool-grid a {
  min-height: 70px;
  font-size: 8px;
}

.km-right-sidebar .inside-right-sidebar {
  gap: 12px;
}

.km-right-sidebar .km-nav-card {
  border-color: var(--km-gold-border);
  box-shadow: 0 7px 20px rgba(112, 67, 0, 0.1);
}

.km-right-overview__head {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  min-height: 52px;
  padding: 8px;
  border-bottom: 1px solid #d94800;
  color: var(--km-gold-900);
}

.km-right-overview__head p {
  min-width: 0;
  margin: 0;
  line-height: 1.2;
}

.km-right-overview__head p small,
.km-right-overview__head p strong {
  display: block;
}

.km-right-overview__head p small {
  margin-bottom: 4px;
  color: var(--km-gold-700);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.km-right-overview__head p strong {
  color: var(--km-gold-900);
  font-size: 12.5px;
  font-weight: 900;
}

.km-right-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  border: 1px solid rgba(84, 48, 0, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--km-gold-800);
  font-size: 8px;
  font-weight: 900;
  white-space: nowrap;
}

.km-right-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--km-gold-500);
  box-shadow: 0 0 0 3px rgba(217, 72, 0, 0.17);
}

.km-right-date {
  display: grid;
  gap: 2px;
  padding: 9px 10px;
  border-bottom: 1px solid var(--km-gold-border-soft);
}

.km-right-date span {
  color: var(--km-gold-600);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.km-right-date strong {
  color: var(--km-gold-900);
  font-size: 10.5px;
}

.km-right-schedule {
  display: grid;
  padding: 4px 9px;
}

.km-right-schedule__item {
  padding: 5px 0 7px;
  border-bottom: 1px solid #ececec;
}

.km-right-schedule__item:last-child {
  border-bottom: 0;
}

.km-right-schedule__main {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 3px 1px;
  color: #3e3018;
}

.km-right-schedule__main > span {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid var(--km-gold-border);
  border-radius: 9px;
  background: var(--km-metal-soft);
  color: var(--km-gold-700);
  font-size: 9px;
  font-weight: 900;
}

.km-right-schedule__main p {
  min-width: 0;
  margin: 0;
  line-height: 1.25;
}

.km-right-schedule__main small,
.km-right-schedule__main strong {
  display: block;
}

.km-right-schedule__main strong {
  color: var(--km-gold-900);
  font-size: 10.5px;
}

.km-right-schedule__main small {
  margin-top: 2px;
  color: var(--km-gold-muted);
  font-size: 8.5px;
}

.km-right-schedule__main time {
  padding: 4px 5px;
  border: 1px solid var(--km-gold-border-soft);
  border-radius: 6px;
  background: #fff8dc;
  color: var(--km-gold-700);
  font-size: 8px;
  font-weight: 900;
}

.km-right-schedule__main:focus,
.km-right-schedule__main:hover {
  color: var(--km-gold-800);
}

.km-right-provinces {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0 0 1px 38px;
}

.km-right-provinces a {
  padding: 3px 5px;
  border: 1px solid var(--km-gold-border-soft);
  border-radius: 999px;
  background: #fffdf5;
  color: #6b4a13;
  font-size: 8px;
  font-weight: 800;
  line-height: 1.25;
}

.km-right-provinces a:focus,
.km-right-provinces a:hover {
  border-color: var(--km-gold-500);
  background: #f7f7f7;
  color: var(--km-gold-900);
}

.km-right-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 35px;
  padding: 7px 10px;
  border-top: 1px solid var(--km-gold-border-soft);
  color: var(--km-gold-700);
  font-size: 9px;
  font-weight: 900;
}

.km-right-card-footer span {
  font-size: 14px;
  transition: transform 0.16s;
}

.km-right-card-footer:focus,
.km-right-card-footer:hover {
  background: #f7f7f7;
  color: var(--km-gold-900);
}

.km-right-card-footer:focus span,
.km-right-card-footer:hover span {
  transform: translateX(2px);
}

.km-right-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--km-gold-border-soft);
}

.km-right-tools a {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  align-items: center;
  gap: 5px;
  min-height: 58px;
  padding: 7px 5px;
  background: var(--km-gold-surface);
  color: #3a1a0b;
}

.km-right-tools a:focus,
.km-right-tools a:hover {
  background: #f7f7f7;
}

.km-right-tool-icon {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid var(--km-gold-border);
  border-radius: 9px;
  background: var(--km-metal-soft);
  color: var(--km-gold-700);
}

.km-right-tool-icon svg {
  width: 15px;
  height: 15px;
}

.km-right-tools p {
  min-width: 0;
  margin: 0;
  line-height: 1.22;
}

.km-right-tools small,
.km-right-tools strong {
  display: block;
}

.km-right-tools strong {
  color: var(--km-gold-900);
  font-size: 9px;
  font-weight: 900;
}

.km-right-tools small {
  margin-top: 3px;
  color: var(--km-gold-muted);
  font-size: 8px;
}

.km-right-data-links {
  display: grid;
  padding: 4px 8px 6px;
}

.km-right-data-links a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 5px 2px;
  border-bottom: 1px solid #ececec;
  color: #3a1a0b;
}

.km-right-data-links a:last-child {
  border-bottom: 0;
}

.km-right-data-links a > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 2px;
  border: 1px solid var(--km-gold-border);
  border-radius: 9px;
  color: var(--km-gold-700);
  font-size: 8px;
  font-weight: 900;
  text-align: center;
}

.km-right-data-links p {
  min-width: 0;
  margin: 0;
  line-height: 1.25;
}

.km-right-data-links small,
.km-right-data-links strong {
  display: block;
}

.km-right-data-links strong {
  color: var(--km-gold-900);
  font-size: 10px;
  font-weight: 850;
}

.km-right-data-links small {
  margin-top: 3px;
  color: var(--km-gold-muted);
  font-size: 8px;
}

.km-right-data-links i {
  color: var(--km-gold-500);
  font-size: 17px;
  font-style: normal;
  transition: transform 0.16s;
}

.km-right-data-links a:focus,
.km-right-data-links a:hover {
  padding-left: 5px;
  background: #fff7d8;
}

.km-right-data-links a:focus i,
.km-right-data-links a:hover i {
  transform: translateX(2px);
}

.km-right-chip-grid {
  display: grid;
  gap: 5px;
  padding: 9px;
}

.km-right-chip-grid a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 8px;
  border: 1px solid var(--km-gold-border-soft);
  border-radius: 8px;
  color: #3a1a0b;
  font-size: 9.5px;
  font-weight: 800;
}

.km-right-chip-grid a span {
  color: var(--km-gold-500);
  font-size: 8px;
}

.km-right-chip-grid a:focus,
.km-right-chip-grid a:hover {
  border-color: var(--km-gold-500);
  background: #f7f7f7;
  color: var(--km-gold-900);
}

.km-right-disclaimer {
  margin: 0;
  padding: 8px 10px;
  border-top: 1px solid var(--km-gold-border-soft);
  background: #fff8dd;
  color: var(--km-gold-muted);
  font-size: 8px;
  line-height: 1.45;
  text-align: center;
}

.km-right-vietlott {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  padding: 9px;
}

.km-right-vietlott a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  min-height: 35px;
  padding: 6px 7px;
  border: 1px solid var(--km-gold-border-soft);
  border-radius: 8px;
  background: #fffdf5;
  color: #3a1a0b;
  font-size: 8.5px;
  font-weight: 850;
}

.km-right-vietlott a:last-child {
  grid-column: 1/-1;
}

.km-right-vietlott a span {
  color: var(--km-gold-500);
  font-size: 14px;
}

.km-right-vietlott a:focus,
.km-right-vietlott a:hover {
  border-color: var(--km-gold-500);
  background: var(--km-metal-soft);
  color: var(--km-gold-900);
}

.km-sidebar-posts--rich {
  padding-top: 4px;
}

.km-sidebar-posts--rich > a {
  grid-template-columns: 50px minmax(0, 1fr);
  min-height: 70px;
}

.km-sidebar-posts--rich > a > span svg {
  width: 20px;
  height: 20px;
}

.km-sidebar-posts--rich strong {
  font-size: 10px;
  -webkit-line-clamp: 3;
}

.km-sidebar-posts--rich small {
  color: var(--km-gold-600);
  font-size: 8px;
  white-space: normal;
}

.km-right-note {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  padding: 11px;
  border: 1px solid var(--km-gold-border);
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(112, 67, 0, 0.08);
}

.km-right-note__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--km-gold-border);
  border-radius: 9px;
  background: var(--km-metal);
  color: var(--km-gold-800);
}

.km-right-note__icon svg {
  width: 17px;
  height: 17px;
}

.km-right-note p {
  margin: 0;
  line-height: 1.35;
}

.km-right-note small,
.km-right-note strong {
  display: block;
}

.km-right-note strong {
  margin-bottom: 3px;
  color: var(--km-gold-900);
  font-size: 10px;
}

.km-right-note small {
  color: var(--km-gold-muted);
  font-size: 8px;
}

.km-site-content.site-content,
body.home .km-site-content.site-content {
  display: grid;
  grid-template-columns: 188px minmax(520px, 1fr) 254px;
  align-items: start;
  gap: 13px;
  padding: 0;
}

.km-site-content > .content-area {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  min-width: 0;
}

.km-site-content > #right-sidebar {
  width: 100%;
  min-width: 0;
  padding: 0;
  float: none;
  grid-column: 3;
  grid-row: 1;
}

.km-rail-tools,
.km-site-content > #left-sidebar,
.km-site-content > .km-home-sidebar {
  display: none;
}

.km-left-rail > header {
  position: sticky;
  top: 0;
  z-index: 3;
}

.km-left-rail nav {
  min-height: 0;
}

.km-right-sidebar,
.km-right-sidebar .inside-right-sidebar,
.km-site-content > #right-sidebar {
  position: relative;
  top: auto;
  max-height: none;
  overflow: visible;
}

.km-right-sidebar .inside-right-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--km-gold-border);
  border-radius: 10px;
  background: var(--km-gold-surface);
  box-shadow: 0 5px 16px rgba(50, 35, 20, 0.08);
  overflow: hidden;
}

.km-right-sidebar .km-nav-card,
.km-right-sidebar .km-right-note {
  flex: 0 0 auto;
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--km-gold-border);
  border-radius: 0;
}

.km-right-sidebar .km-right-note:last-child {
  border-bottom: 0;
}

.km-right-sidebar .km-right-overview {
  order: 1;
}

.km-right-sidebar .km-right-section--results {
  order: 2;
}

.km-right-sidebar .km-right-section--tools {
  order: 3;
}

.km-right-sidebar .km-right-section--stats {
  order: 4;
}

.km-right-sidebar .km-right-section--cau {
  order: 5;
}

.km-right-sidebar .km-right-section--vietlott {
  order: 6;
}

.km-right-sidebar .km-right-section--predictions {
  order: 7;
}

.km-right-sidebar .km-right-section--news {
  order: 8;
}

.km-right-sidebar .km-right-note {
  order: 9;
}

.km-right-sidebar .km-nav-card__head,
.km-right-sidebar .km-right-overview__head {
  border-radius: 0;
}

.km-vertical-menu .xoso-menu-row {
  grid-template-columns: minmax(0, 1fr) 27px;
}

.km-vertical-menu .xoso-menu-icon {
  flex-basis: 26px;
}

.km-vertical-menu .xoso-submenu-toggle {
  width: 26px;
  height: 26px;
}

.km-vertical-menu .xoso-submenu {
  margin-left: 34px;
}

.km-nav-card__head {
  gap: 6px;
  min-height: 46px;
  padding: 7px;
}

.km-nav-card__icon {
  flex-basis: 27px;
  width: 27px;
  height: 27px;
}

.km-nav-list {
  padding: 3px 7px 6px;
}

.km-nav-list > a {
  grid-template-columns: 25px minmax(0, 1fr) auto;
  gap: 6px;
  min-height: 37px;
  padding: 4px 2px;
}

.km-nav-list > a > span {
  width: 25px;
  height: 25px;
  border-radius: 7px;
}

.km-nav-list strong {
  font-size: 10px;
}

.km-nav-list small {
  font-size: 8px;
}

.km-weekday-grid {
  gap: 4px;
  padding: 7px;
}

.km-weekday-grid a {
  min-height: 30px;
  font-size: 9px;
}

.km-site-content > .km-left-rail {
  grid-column: 1;
  grid-row: 1;
}

.km-site-content > .content-area {
  grid-column: 2;
  grid-row: 1;
}

.km-site-content > .xoso-editorial-content,
body.no-sidebar .km-site-content > .content-area {
  grid-column: 2/4;
}

.km-left-rail {
  position: sticky;
  top: 12px;
  bottom: auto;
  left: auto;
  z-index: 40;
  width: auto;
  max-height: calc(100dvh - 24px);
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid #ff6500;
  box-shadow: 0 8px 22px rgba(116, 72, 0, 0.12);
  visibility: visible;
  transform: none;
  transition: none;
}

.admin-bar .km-left-rail {
  top: 44px;
  max-height: calc(100dvh - 56px);
}

.km-menu-toggle,
.km-rail-close {
  display: none;
}

body.km-menu-open {
  overflow: visible;
  touch-action: auto;
}

body.km-menu-open::after {
  display: none;
}

.km-site-content.site-content,
body.home .km-site-content.site-content {
  grid-template-columns: 176px minmax(0, 1fr) 244px;
  gap: 12px;
}

.km-right-sidebar .km-right-section--week {
  order: 4;
}

.km-right-sidebar .km-right-section--stats {
  order: 5;
}

.km-right-sidebar .km-right-section--cau {
  order: 6;
}

.km-right-sidebar .km-right-section--vietlott {
  order: 7;
}

.km-right-sidebar .km-right-section--predictions {
  order: 8;
}

.km-right-sidebar .km-right-section--news {
  order: 9;
}

.km-right-sidebar .km-right-note {
  order: 10;
}

.km-right-weekly {
  display: grid;
  padding: 4px 8px 7px;
}

.km-right-weekly__day {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 6px;
  padding: 6px 2px;
  border-bottom: 1px solid #ececec;
}

.km-right-weekly__day:last-child {
  border-bottom: 0;
}

.km-right-weekly__day.is-today {
  margin-inline: -4px;
  padding-inline: 6px;
  border: 1px solid var(--km-gold-border);
  border-radius: 9px;
}

.km-right-weekly__label {
  display: grid;
  align-content: start;
  gap: 3px;
}

.km-right-weekly__label strong {
  color: var(--km-gold-800);
  font-size: 9px;
  font-weight: 900;
}

.km-right-weekly__label small {
  color: var(--km-gold-600);
  font-size: 8px;
  font-weight: 900;
}

.km-right-weekly__regions {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.km-right-weekly__regions p {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 5px;
  margin: 0;
  line-height: 1.35;
}

.km-right-weekly__regions b {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid var(--km-gold-border);
  border-radius: 6px;
  background: var(--km-metal-soft);
  color: var(--km-gold-700);
  font-size: 8px;
  font-weight: 900;
}

.km-right-weekly__regions p > span {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 5px;
  min-width: 0;
}

.km-right-weekly__regions a {
  position: relative;
  color: #7a2100;
  font-size: 8px;
  font-weight: 750;
}

.km-right-weekly__regions a:not(:last-child)::after {
  position: absolute;
  right: -4px;
  color: var(--km-gold-400);
  content: "·";
}

.km-right-weekly__regions a:focus,
.km-right-weekly__regions a:hover {
  color: var(--km-gold-700);
  text-decoration: underline;
  text-decoration-color: var(--km-gold-400);
  text-underline-offset: 2px;
}

.km-footer-v2 {
  position: relative;
  margin-top: 34px;
  padding: 0;
}

.km-footer-v2::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-size: 26px 26px;
  content: "";
  opacity: 0.22;
}

.km-footer-v2 .km-footer__accent {
  display: grid;
  grid-template-columns: 1fr;
  height: 4px;
}

.km-footer-v2__inner {
  position: relative;
  z-index: 1;
  padding-top: 38px;
}

.km-footer-v2__mast {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
  gap: 38px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 135, 48, 0.18);
}

.km-footer-v2__intro {
  max-width: 580px;
}

.km-footer-v2 .km-brand--footer {
  display: inline-flex;
  margin-bottom: 18px;
}

.km-footer-v2 .km-brand--footer .km-brand__mark {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.km-footer-v2 .km-brand--footer .km-brand__copy strong {
  font-size: 21px;
}

.km-footer-v2 .km-brand--footer .km-brand__copy small {
  font-size: 8.5px;
}

.km-footer-v2__eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.km-footer-v2__eyebrow i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff8730;
  box-shadow: 0 0 0 4px rgba(255, 135, 48, 0.12);
}

.km-footer-v2__intro h2 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(23px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.km-footer-v2__intro > p {
  max-width: 570px;
  margin: 13px 0 0;
  font-size: 11px;
  line-height: 1.7;
}

.km-footer-v2__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.km-footer-v2__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 39px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 135, 48, 0.3);
  border-radius: 9px;
  font-size: 9px;
  font-weight: 900;
}

.km-footer-v2__draws {
  display: grid;
  align-content: center;
  gap: 8px;
}

.km-footer-v2__draws a {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 58px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 135, 48, 0.2);
  border-radius: 11px;
}

.km-footer-v2__draws a > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 155, 74, 0.28);
  border-radius: 10px;
}

.km-footer-v2__draws svg {
  width: 18px;
  height: 18px;
}

.km-footer-v2__draws p {
  margin: 0;
  line-height: 1.2;
}

.km-footer-v2__draws small,
.km-footer-v2__draws strong {
  display: block;
}

.km-footer-v2__draws small {
  margin-bottom: 3px;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.km-footer-v2__draws strong {
  font-size: 10px;
}

.km-footer-v2__draws time {
  padding: 5px 7px;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 900;
}

.km-footer-v2__draws a:focus,
.km-footer-v2__draws a:hover {
  transform: translateX(2px);
}

.km-footer-v2__links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 135, 48, 0.18);
}

.km-footer-v2__links section {
  min-width: 0;
}

.km-footer-v2__links h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 900;
}

.km-footer-v2__links h2 > span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(255, 155, 74, 0.22);
  border-radius: 8px;
}

.km-footer-v2__links h2 svg {
  width: 14px;
  height: 14px;
}

.km-footer-v2__links ul {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.km-footer-v2__links li {
  margin: 0;
  padding: 0;
}

.km-footer-v2__links li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  min-height: 31px;
  padding: 5px 1px;
  border-bottom: 1px solid rgba(255, 135, 48, 0.07);
  font-size: 9px;
  font-weight: 650;
}

.km-footer-v2__links li a span {
  color: #992d00;
  font-size: 14px;
}

.km-footer-v2__links li a:focus,
.km-footer-v2__links li a:hover {
  padding-left: 4px;
}

.km-footer-v2__links li a:focus span,
.km-footer-v2__links li a:hover span {
  color: #ff8730;
}

.km-footer-v2__provinces {
  display: grid;
  grid-template-columns: 175px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 135, 48, 0.18);
}

.km-footer-v2__provinces > div small {
  display: block;
  margin-bottom: 4px;
  color: #d94800;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.km-footer-v2__provinces h2 {
  margin: 0;
  font-size: 12px;
  font-weight: 900;
}

.km-footer-v2__provinces nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.km-footer-v2__provinces nav a {
  padding: 6px 8px;
  border: 1px solid rgba(255, 135, 48, 0.16);
  border-radius: 999px;
  font-size: 8px;
  font-weight: 750;
}

.km-footer-v2__trust {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
}

.km-footer-v2__notice {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  max-width: 650px;
}

.km-footer-v2__notice > span {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid rgba(255, 155, 74, 0.24);
  border-radius: 9px;
}

.km-footer-v2__notice svg {
  width: 17px;
  height: 17px;
}

.km-footer-v2__notice p {
  margin: 0;
  line-height: 1.4;
}

.km-footer-v2__notice small,
.km-footer-v2__notice strong {
  display: block;
}

.km-footer-v2__notice strong {
  margin-bottom: 3px;
  font-size: 9px;
}

.km-footer-v2__notice small {
  font-size: 8px;
}

.km-footer-v2__badges {
  display: flex;
  gap: 6px;
}

.km-footer-v2__badges span {
  display: grid;
  place-items: center;
  min-width: 61px;
  min-height: 45px;
  padding: 6px;
  border: 1px solid rgba(255, 135, 48, 0.15);
  border-radius: 9px;
  font-size: 8px;
  font-weight: 750;
}

.km-footer-v2__badges b {
  margin-bottom: 2px;
  color: #ff6500;
  font-size: 8px;
}

.km-footer-v2 .km-footer-v2__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  color: #656565;
}

.km-footer-v2__bottom > p {
  margin: 0;
  font-size: 8px;
}

.km-footer-v2 .km-footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 14px;
  margin: 0;
}

.km-footer-v2 .km-footer-menu a {
  font-size: 8px;
}

.km-header,
.km-header.has-scrolled {
  border-bottom-color: #e00016;
  background: rgba(17, 16, 15, 0.98);
  box-shadow: 0 4px 16px rgba(17, 16, 15, 0.18);
  transition: none;
}

.km-brand__mark,
.km-footer-v2 .km-brand--footer .km-brand__mark {
  box-shadow: 0 4px 12px rgba(224, 0, 22, 0.22);
}

.km-brandbar .km-brand__copy strong {
  color: #fff;
  text-shadow: none;
}

.km-brandbar__summary,
.km-header-cta,
.km-menu-toggle {
  border-color: rgba(255, 155, 74, 0.3);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.km-brandbar__live,
.km-brandbar__summary h1,
.km-brandbar__summary time,
.km-brandbar__ticker,
.km-header-cta {
  color: #f7f7f7;
}

.km-brandbar__live i {
  background: #e00016;
  box-shadow: 0 0 0 4px rgba(224, 0, 22, 0.16);
  animation: 1.8s ease-in-out infinite km-brand-live;
}

.km-brandbar__ticker {
  overflow: hidden;
}

.km-brandbar__ticker p {
  width: max-content;
  overflow: visible;
  animation: 24s linear infinite km-brand-ticker;
  text-overflow: clip;
}

.km-header-cta span {
  background: #e00016;
}

.km-header-cta:focus,
.km-header-cta:hover,
.km-menu-toggle:focus,
.km-menu-toggle:hover {
  border-color: #ff9b4a;
  transform: none;
}

.km-menu-toggle i {
  background: #ff9b4a;
}

.km-left-rail {
  border-color: var(--km-line);
  border-radius: 10px;
  background: var(--km-surface);
  box-shadow: var(--km-shadow-sm);
}

.km-left-rail > header {
  min-height: 44px;
  padding: 7px 9px;
  border-bottom-color: #e00016;
  border-radius: 9px 9px 0 0;
}

.km-left-rail > header span,
.km-left-rail > header strong {
  color: #fff;
  text-shadow: none;
}

.km-left-rail > header span {
  color: #ff9b4a;
  font-size: 8px;
}

.km-left-rail > header strong {
  font-size: 11px;
}

.km-vertical-menu {
  counter-reset: none;
  margin: 0;
  padding: 4px;
  list-style: none;
}

.km-vertical-menu > li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.km-vertical-menu .xoso-menu-row {
  display: block;
  min-height: 34px;
  border-bottom-color: var(--km-line-soft);
  border-radius: 6px;
  box-shadow: none;
  transition: background-color 0.1s ease-out;
}

.km-vertical-menu .xoso-menu-row > a {
  gap: 6px;
  min-height: 34px;
  padding: 3px 5px;
  color: #332b23;
  font-size: 10.5px;
  font-weight: 700;
}

.km-vertical-menu .xoso-menu-icon {
  flex-basis: 24px;
  width: 24px;
  height: 24px;
  padding: 5px;
  border-color: #ececec;
  border-radius: 7px;
  background: #fff7e2;
  color: #c45a0c;
  box-shadow: none;
  transition: none;
}

.km-vertical-menu .sub-menu,
.km-vertical-menu .xoso-submenu,
.km-vertical-menu .xoso-submenu-toggle {
  display: none;
}

.km-vertical-menu .sub-menu,
.km-vertical-menu .xoso-submenu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.km-vertical-menu > li.current-menu-ancestor > .xoso-menu-row,
.km-vertical-menu > li.current-menu-item > .xoso-menu-row,
.km-vertical-menu > li:focus-within > .xoso-menu-row,
.km-vertical-menu > li:hover > .xoso-menu-row {
  background: #f7f7f7;
  box-shadow: inset 3px 0 #e00016;
  transform: none;
}

.km-vertical-menu > li.current-menu-ancestor > .xoso-menu-row .xoso-menu-icon,
.km-vertical-menu > li.current-menu-item > .xoso-menu-row .xoso-menu-icon,
.km-vertical-menu > li:focus-within > .xoso-menu-row .xoso-menu-icon,
.km-vertical-menu > li:hover > .xoso-menu-row .xoso-menu-icon {
  border-color: #ff8730;
  color: #24170c;
}

:where(
  .km-right-sidebar .inside-right-sidebar,
  .km-right-sidebar .km-nav-card,
  .km-right-sidebar .km-right-note,
  .km-home .km-region-launcher,
  .km-home .km-region-launcher__item,
  .xoso-result-card,
  .xoso-vietlott-card,
  .xoso-route-toolbar,
  .xoso-region-toolbar,
  .xoso-stats-filter,
  .xoso-cau-filter,
  .xoso-result-book-filter,
  .xoso-trial-controls,
  .xoso-utility-card,
  .xoso-dream-card,
  .xoso-cau-highlight,
  .xoso-stats-card,
  .xoso-result-book-card,
  .xoso-editorial-content,
  body.kqxsmn-ui .inside-article
) {
  border-color: var(--km-line);
  background: var(--km-surface);
  box-shadow: var(--km-shadow-sm);
}

.km-nav-card__head,
.km-right-overview__head,
.xoso-result-card__header,
.xoso-stats-card > header,
.xoso-vietlott-card > header {
  border-color: #ff6500;
  background: var(--km-metal);
  color: #20170e;
}

.xoso-result-card__header,
.xoso-stats-card > header,
.xoso-vietlott-card > header {
  border-bottom-color: #e00016;
}

body.kqxsmn-ui .xoso-result-card__header :is(h2, h3, a, span, small),
body.kqxsmn-ui .xoso-stats-card > header :is(h2, h3, a, span, small),
body.kqxsmn-ui .xoso-vietlott-card > header :is(h2, h3, a, span, small) {
  color: inherit;
}

.xoso-loto-table thead th,
.xoso-result-table thead th {
  background: #f7f7f7;
  color: #3d2b17;
}

.xoso-loto-table tbody th,
.xoso-loto-table tbody tr:nth-child(2n) > *,
.xoso-result-table tbody th,
.xoso-result-table tbody tr:nth-child(2n):not(.xoso-prize-row--db) > * {
  background: #fffaf2;
}

.xoso-result-table .xoso-prize-row--db > * {
  background: #fff0d6;
}

.xoso-loto-table tbody tr:hover > *,
.xoso-result-table tbody tr:hover > * {
  background: #f7f7f7;
}

.km-footer-v2 {
  border-top: 3px solid #e00016;
}

.km-footer-v2 .km-footer__accent i:first-child {
  display: block;
}

.km-footer-v2 .km-footer-v2__bottom,
.km-footer-v2__links,
.km-footer-v2__mast,
.km-footer-v2__provinces {
  border-color: rgba(255, 155, 74, 0.16);
}

.km-footer-v2 .km-brand--footer .km-brand__copy strong,
.km-footer-v2 .km-brand--footer .km-brand__copy strong span,
.km-footer-v2__draws strong,
.km-footer-v2__intro h2,
.km-footer-v2__links h2,
.km-footer-v2__notice strong,
.km-footer-v2__provinces h2 {
  color: #fff;
}

.km-footer-v2 .km-brand--footer .km-brand__copy small,
.km-footer-v2__bottom > p,
.km-footer-v2__draws small,
.km-footer-v2__eyebrow,
.km-footer-v2__intro > p,
.km-footer-v2__notice small {
  color: #d8c9b7;
}

.km-footer-v2__actions a,
.km-footer-v2__badges span,
.km-footer-v2__draws a,
.km-footer-v2__provinces nav a {
  border-color: rgba(255, 155, 74, 0.22);
  background: rgba(255, 255, 255, 0.055);
  color: #f8ead6;
  box-shadow: none;
}

.km-footer-v2__actions a.is-primary {
  border-color: #e00016;
  background: var(--km-metal);
  box-shadow: none;
}

.km-footer-v2__draws a > span,
.km-footer-v2__draws time,
.km-footer-v2__links h2 > span,
.km-footer-v2__notice > span {
  color: #ff9b4a;
}

.km-footer-v2 .km-footer-menu a,
.km-footer-v2__links li a,
.km-footer-v2__provinces nav a {
  color: #eadbc8;
}

.km-footer-v2__links li a {
  border-bottom-color: rgba(255, 155, 74, 0.08);
}

.km-footer-v2 .km-footer-menu a:focus,
.km-footer-v2 .km-footer-menu a:hover,
.km-footer-v2__actions a:focus,
.km-footer-v2__actions a:hover,
.km-footer-v2__draws a:focus,
.km-footer-v2__draws a:hover,
.km-footer-v2__links li a:focus,
.km-footer-v2__links li a:hover,
.km-footer-v2__provinces nav a:focus,
.km-footer-v2__provinces nav a:hover {
  border-color: #e00016;
  background: rgba(224, 0, 22, 0.13);
  color: #fff;
  transform: none;
}

.km-right-note {
  border-color: #ff6500;
  color: #392618;
}

.km-sidebar-posts--rich > a {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  min-width: 0;
}

.km-sidebar-posts--rich > a > span,
.km-sidebar-posts--rich img {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}

.km-sidebar-posts--rich p,
.km-sidebar-posts--rich small,
.km-sidebar-posts--rich strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.km-sidebar-posts--rich strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.km-article-card__image {
  display: block;
  overflow: hidden;
  background: #f7f7f7;
}

.km-article-card__image img,
.km-article-card__thumb {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

body.kqxsmn-ui .xoso-prediction-banner,
body.kqxsmn-ui .xoso-prediction-visual {
  overflow: hidden;
  border-color: #ff6500;
  background: #171513;
}

body.kqxsmn-ui .xoso-prediction-banner-image,
body.kqxsmn-ui .xoso-prediction-visual__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

body.kqxsmn-ui .xoso-prediction-toc {
  border-color: #ead8ba #ead8ba #ead8ba #e00016;
  background: #fffaf2;
}

body.kqxsmn-ui .kqxs-du-doan-section,
body.kqxsmn-ui .xoso-prediction-primary article {
  border-color: #ead8ba;
  background: #fff;
  color: #33271d;
}

body.kqxsmn-ui
  .kqxs-du-doan-article[data-prediction-template="unified"]
  :where(
    .kqxs-du-doan-section--picks,
    .kqxs-du-doan-section--history,
    .kqxs-du-doan-section--stats,
    .kqxs-du-doan-section--stations,
    .kqxs-du-doan-section--trends
  ) {
  border-top-color: #e00016;
}

body.kqxsmn-ui .xoso-prediction-picks li {
  border-color: #ececec;
  color: #3f2a17;
}

body.kqxsmn-ui .xoso-prediction-picks li.is-primary,
body.kqxsmn-ui .xoso-prediction-primary article > span {
  border-color: #e00016;
  color: #fff;
}

body.kqxsmn-ui .xoso-prediction-picks .is-primary small {
  color: #ff9b4a;
}

body.kqxsmn-ui .xoso-prediction-numbers strong,
body.kqxsmn-ui .xoso-prediction-pick-number {
  border-color: #ff8730;
  background: #fff;
  color: #6f0008;
}

body.kqxsmn-ui .xoso-prediction-numbers.is-featured strong,
body.kqxsmn-ui .xoso-prediction-pick-number.is-featured {
  border-color: #e00016;
}

body.kqxsmn-ui :is(a, button, [role="button"]) {
  transition-duration: 0.1s;
  transition-timing-function: ease-out;
}

body.kqxsmn-ui
  :is(
    .km-region-launcher__item,
    .km-nav-list a,
    .km-right-tools a,
    .xoso-utility-card,
    .xoso-stats-card
  ):hover {
  transform: none;
}

body.kqxsmn-ui {
  color: var(--km-ink);
}

body.kqxsmn-ui :is(a, button, input, select, textarea):focus-visible {
  outline-color: rgba(255, 101, 0, 0.9);
  box-shadow: 0 0 0 3px rgba(230, 0, 24, 0.18);
}

.km-brandbar,
.km-header,
.km-header.has-scrolled {
  border-bottom-color: var(--km-gold);
  box-shadow: 0 10px 30px rgba(7, 7, 7, 0.22);
}

.km-brand__mark,
.km-footer-v2 .km-brand--footer .km-brand__mark {
  background: var(--km-metal);
  box-shadow:
    0 5px 14px rgba(0, 0, 0, 0.2),
    inset 0 1px rgba(255, 255, 255, 0.6);
}

.km-brandbar .km-brand__copy strong span,
.km-brandbar__live,
.km-brandbar__summary time {
  color: var(--km-gold-bright);
}

.km-brandbar .km-brand__copy small {
  color: #fff;
}

.km-brandbar__live i,
.km-header-cta span {
  border: 1px solid rgba(255, 173, 115, 0.74);
  background: var(--km-metal);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.km-header-cta:focus,
.km-header-cta:hover,
.km-menu-toggle:focus,
.km-menu-toggle:hover {
  border-color: var(--km-gold-bright);
  background: rgba(255, 101, 0, 0.2);
  color: #fff;
}

.xoso-home-page.inside-article,
body.kqxsmn-ui .inside-article,
body.kqxsmn-ui .page-header,
body.kqxsmn-ui .paging-navigation {
  border-color: transparent;
  background: 0 0;
  box-shadow: none;
}

.km-latest,
.km-results {
  padding: 12px;
  border: 1px solid var(--km-gold-border-soft);
  border-radius: 15px;
  background: var(--km-surface);
  box-shadow: var(--km-shadow);
}

.km-region-launcher {
  border-color: var(--km-gold-border);
  box-shadow: var(--km-shadow-sm);
}

.km-region-launcher__item {
  border: 0;
  border-right: 1px solid var(--km-gold-border-soft);
  background: 0 0;
}

.km-region-launcher__item > span {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  box-shadow: 0 4px 10px rgba(7, 7, 7, 0.17);
}

.xoso-cau-highlight,
.xoso-dream-card,
.xoso-result-book-card,
.xoso-result-card,
.xoso-stats-card,
.xoso-utility-card,
.xoso-vietlott-card {
  border-color: var(--km-gold-border-soft);
  background: var(--km-surface);
  box-shadow: var(--km-shadow-sm);
}

.xoso-result-card__header,
.xoso-stats-card > header,
.xoso-vietlott-card > header {
  border-bottom-color: var(--km-gold);
  color: #fff;
}

.xoso-loto-table thead th,
.xoso-result-table thead th,
.xoso-stats-table th {
  background: var(--km-metal-soft);
  color: var(--km-navy-deep);
}

.xoso-loto-table tbody th,
.xoso-result-table tbody th,
.xoso-stats-table tbody th {
  background: var(--km-red-50);
  color: var(--km-red-800);
}

.xoso-loto-table td,
.xoso-result-table td,
.xoso-stats-table td {
  background: var(--km-surface);
}

.xoso-loto-table tbody tr:hover > *,
.xoso-result-table .xoso-prize-row--db > *,
.xoso-result-table tbody tr:hover > *,
.xoso-stats-table tbody tr:hover > * {
  background: var(--km-gold-pale);
}

.xoso-prize-row--db .xoso-result-number,
.xoso-result-number--db,
.xoso-stats-matrix-value strong,
.xoso-stats-num,
.xoso-stats-special-value strong,
.xoso-stats-table td:first-child {
  color: var(--km-red-700);
}

.xoso-live-summary,
.xoso-loto-panels,
.xoso-result-tools,
.xoso-stats-filter,
.xoso-stats-mode,
.xoso-stats-sheets,
.xoso-trial-controls {
  border-color: var(--km-line);
  background: 0 0;
}

body.kqxsmn-ui
  :is(
    .xoso-stats-filter button,
    .xoso-book-filter button,
    .xoso-cau-filter button,
    .xoso-region-toolbar button,
    .xoso-trial-controls button,
    .xoso-checker-card button,
    .xoso-dream-search button
  ) {
  border-color: var(--km-red-800);
  color: #fff;
  box-shadow: 0 4px 10px rgba(7, 7, 7, 0.12);
}

.km-left-rail,
.km-right-sidebar .inside-right-sidebar {
  border-color: var(--km-gold-border-soft);
  box-shadow: var(--km-shadow-sm);
}

.km-left-rail > header {
  border-bottom-color: var(--km-gold);
}

.km-nav-card__head,
.km-right-overview__head {
  border-color: var(--km-gold-border-soft);
  background: var(--km-metal-soft);
  color: var(--km-red-900);
}

body.kqxsmn-ui .km-nav-card__head :is(p, strong, small, span, svg),
body.kqxsmn-ui .km-right-overview__head :is(p, strong, small, span, svg) {
  color: inherit;
  stroke: currentColor;
  display: inline-block;
}

.km-nav-card__head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.km-nav-card__icon {
  margin-top: 2px;
}

body.kqxsmn-ui .inside-article .post-image {
  float: none;
  clear: both;
  width: 100%;
}

body.kqxsmn-ui .inside-article .post-image img {
  display: block;
  width: 100%;
  height: auto;
}

body.kqxsmn-ui .inside-article .entry-summary {
  clear: both;
}

.km-right-sidebar .km-nav-card,
.km-right-sidebar .km-right-note {
  border-color: var(--km-line);
  background: 0 0;
  box-shadow: none;
}

body.kqxsmn-ui .widget-area .widget_nav_menu .menu > li > a,
body.kqxsmn-ui .xoso-sidebar-tab-buttons button,
body.kqxsmn-ui .xoso-sidebar-tab-buttons button.is-active {
  border-color: var(--km-red-800);
  color: #fff;
  box-shadow: 0 4px 10px rgba(7, 7, 7, 0.12);
}

body.kqxsmn-ui .widget-area .widget_nav_menu .sub-menu .current-menu-item > a,
body.kqxsmn-ui .widget-area .widget_nav_menu .sub-menu a:hover {
  background: var(--km-gold-pale);
  color: var(--km-red-900);
}

.km-right-chip-grid > a:hover,
.km-right-data-links > a:hover,
.km-right-tools > a:hover,
.km-right-vietlott > a:hover,
.km-sidebar-posts--rich > a:hover,
.km-vertical-menu > li.current-menu-ancestor > .xoso-menu-row,
.km-vertical-menu > li.current-menu-item > .xoso-menu-row,
.km-vertical-menu > li:focus-within > .xoso-menu-row,
.km-vertical-menu > li:hover > .xoso-menu-row {
  background: var(--km-gold-pale);
  box-shadow: inset 3px 0 var(--km-red-600);
}

.km-nav-card__icon,
.km-right-data-links > a > span,
.km-right-status,
.km-right-tool-icon,
.km-vertical-menu .xoso-menu-icon {
  border-color: var(--km-gold-border-soft);
  background: var(--km-metal-soft);
  color: var(--km-red-700);
}

.km-footer-v2 {
  border-top-color: var(--km-gold);
  color: #fff;
  box-shadow: inset 0 3px rgba(255, 101, 0, 0.38);
}

.km-footer-v2__actions a.is-primary {
  border-color: var(--km-gold);
  background: var(--km-metal);
  color: #fff;
}

.km-footer-v2__draws a > span,
.km-footer-v2__draws time,
.km-footer-v2__links h2 > span,
.km-footer-v2__notice > span {
  border-color: rgba(255, 135, 48, 0.34);
  background: rgba(230, 0, 24, 0.28);
  color: var(--km-gold-bright);
}

.km-footer-v2
  :where(
    .km-footer-v2__actions a,
    .km-footer-v2__draws a,
    .km-footer-v2__links li a,
    .km-footer-v2__provinces nav a,
    .km-footer-menu a
  ):is(:hover, :focus) {
  border-color: var(--km-gold);
  background: rgba(255, 101, 0, 0.16);
  color: #fff;
}

body.kqxsmn-ui
  :is(
    .xoso-trial-shell,
    .xoso-stats-card,
    .xoso-book-card,
    .xoso-author-profile,
    .xoso-cau-tool-intro,
    .xoso-cau-tool-card,
    .xoso-cau-principles,
    .xoso-cau-intro,
    .xoso-cau-posts,
    .xoso-dream-popular,
    .xoso-dream-number-index,
    .xoso-dream-directory,
    .xoso-dream-faq,
    .xoso-dream-guide article,
    .xoso-dream-guide aside,
    .xoso-prediction-visual,
    .xoso-prediction-toc,
    .kqxs-du-doan-section,
    .xoso-prediction-dashboard > section,
    .xoso-prediction-primary article,
    .xoso-utility-index,
    .xoso-calendar-card,
    .xoso-checker-card,
    .xoso-embed-manager
  ) {
  border-color: var(--km-gold-border-soft);
  background: var(--km-surface);
  box-shadow: var(--km-shadow-sm);
}

body.kqxsmn-ui
  :is(
    .xoso-trial-nav,
    .xoso-trial-toolbar,
    .xoso-stats-filter,
    .xoso-stats-mode,
    .xoso-stats-sheets,
    .xoso-book-filter,
    .xoso-cau-filter,
    .xoso-cau-explanation,
    .xoso-dream-search,
    .xoso-dream-categories,
    .xoso-utility-nav,
    .xoso-calendar-table-wrap,
    .xoso-region-toolbar
  ) {
  border-color: var(--km-gold-border-soft);
  background: 0 0;
  box-shadow: none;
}

body.kqxsmn-ui
  :is(
    .xoso-trial-nav a,
    .xoso-cau-tool-nav a,
    .xoso-cau-tool-grid a,
    .xoso-cau-guide a,
    .xoso-cau-principles article,
    .xoso-cau-explanation article,
    .xoso-dream-popular button,
    .xoso-dream-number-index button,
    .xoso-dream-item,
    .xoso-utility-nav a,
    .xoso-utility-index > div > a,
    .xoso-calendar-card tr
  ) {
  border-color: var(--km-gold-border-soft);
  background: rgba(255, 255, 255, 0.92);
  color: var(--km-ink);
}

body.kqxsmn-ui
  :is(
    .xoso-dream-hero,
    .xoso-prediction-hero,
    .xoso-toolbar-icon,
    .xoso-utility-index > header,
    .xoso-calendar-card > header,
    .xoso-checker-card > header,
    .xoso-embed-manager > header,
    .xoso-result-card__header,
    .xoso-vietlott-card > header,
    .xoso-stats-card > header
  ) {
  border-color: var(--km-gold);
  color: #fff;
  box-shadow: 0 8px 20px rgba(7, 7, 7, 0.16);
}

body.kqxsmn-ui
  :is(
    .xoso-trial-nav a[aria-current="page"],
    .xoso-cau-tool-nav a[aria-current="page"],
    .xoso-cau-tabs a[aria-current="page"],
    .xoso-dream-categories button[aria-pressed="true"],
    .xoso-utility-nav a[aria-current="page"],
    .xoso-book-tabs a[aria-current="page"],
    .xoso-stats-filter button,
    .xoso-book-filter button,
    .xoso-cau-filter button,
    .xoso-region-toolbar button,
    .xoso-trial-controls button,
    .xoso-trial-run,
    .xoso-trial-toolbar button,
    .xoso-checker-card button,
    .xoso-dream-search button,
    .xoso-dream-more
  ) {
  border-color: var(--km-gold-700);
  background: var(--km-metal);
  color: #fff;
  box-shadow: 0 4px 10px rgba(151, 0, 11, 0.18);
}

body.kqxsmn-ui
  :is(
    .xoso-trial-nav a:not([aria-current="page"]),
    .xoso-dream-category-label,
    .xoso-dream-numbers button,
    .xoso-dream-guide aside,
    .xoso-cau-principles footer,
    .xoso-calendar-card thead th,
    .xoso-calendar-card tbody > tr > th,
    .xoso-stats-table th,
    .xoso-stats-sheet h3,
    .xoso-dream-item:nth-child(2n)
  ) {
  border-color: var(--km-gold-border-soft);
  background: var(--km-surface-soft);
  color: var(--km-navy);
}

body.kqxsmn-ui
  :is(
    .xoso-cau-tool-intro h2,
    .xoso-cau-tool-card h2,
    .xoso-cau-principles h3,
    .xoso-cau-principles h4,
    .xoso-cau-intro h2,
    .xoso-cau-posts > h2,
    .xoso-cau-post h3 a,
    .xoso-dream-popular h3,
    .xoso-dream-number-index h3,
    .xoso-dream-directory h3,
    .xoso-dream-guide h3,
    .xoso-dream-faq h3,
    .xoso-trial-hero h2
  ) {
  color: var(--km-ink);
}

body.kqxsmn-ui
  :is(.km-brandbar__summary h1, .km-brandbar__ticker, .km-header-cta) {
  color: #fff;
}

body.kqxsmn-ui .km-right-sidebar .km-right-note,
body.kqxsmn-ui .kqxs-du-doan-section,
body.kqxsmn-ui .xoso-prediction-primary article,
body.kqxsmn-ui .xoso-prediction-toc {
  border-color: var(--km-gold-border-soft);
  background: var(--km-surface);
  color: var(--km-ink);
}

body.kqxsmn-ui .xoso-prediction-banner,
body.kqxsmn-ui .xoso-prediction-visual {
  border-color: var(--km-gold);
  box-shadow: var(--km-shadow-sm);
}

body.kqxsmn-ui
  .kqxs-du-doan-article[data-prediction-template="unified"]
  :where(
    .kqxs-du-doan-section--picks,
    .kqxs-du-doan-section--history,
    .kqxs-du-doan-section--stats,
    .kqxs-du-doan-section--stations,
    .kqxs-du-doan-section--trends
  ) {
  border-top-color: var(--km-gold-border-soft);
}

body.kqxsmn-ui .xoso-prediction-picks li {
  border-color: var(--km-gold-border-soft);
  background: var(--km-surface);
  color: var(--km-ink);
}

body.kqxsmn-ui .xoso-prediction-numbers.is-featured strong,
body.kqxsmn-ui .xoso-prediction-pick-number.is-featured,
body.kqxsmn-ui .xoso-prediction-picks li.is-primary,
body.kqxsmn-ui .xoso-prediction-primary article > span {
  border-color: var(--km-gold-700);
  background: var(--km-metal);
  color: #fff;
  box-shadow: 0 5px 12px rgba(151, 0, 11, 0.2);
}

body.kqxsmn-ui .xoso-prediction-picks .is-primary small {
  color: var(--km-red-900);
}

body.kqxsmn-ui .xoso-prediction-numbers strong,
body.kqxsmn-ui .xoso-prediction-pick-number,
body.kqxsmn-ui
  :is(
    .km-vertical-menu > li:hover,
    .km-vertical-menu > li:focus-within,
    .km-vertical-menu > li.current-menu-item,
    .km-vertical-menu > li.current-menu-ancestor
  )
  > .xoso-menu-row
  .xoso-menu-icon {
  border-color: var(--km-gold-border-soft);
  background: var(--km-metal-soft);
  color: var(--km-red-700);
}

.km-brand,
.km-brand__copy {
  min-width: 0;
}

.km-brand__copy strong {
  font-size: 18px;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.km-brand__mark b {
  font-size: 13px;
}

body.kqxsmn-ui {
  background: var(--km-canvas);
}

body.kqxsmn-ui [class],
body.kqxsmn-ui [class]::after,
body.kqxsmn-ui [class]::before {
  background-image: none;
}

.km-brandbar,
.km-footer-v2,
.km-header,
.km-header.has-scrolled {
  background-color: #171717;
}

.km-brand__mark,
.km-footer-v2 .km-brand--footer .km-brand__mark {
  border-color: transparent;
  background: var(--km-red-600);
  color: #fff;
  box-shadow: none;
}

body.kqxsmn-ui
  :is(
    .km-results,
    .km-latest,
    .km-region-launcher,
    .km-left-rail,
    .km-right-sidebar .inside-right-sidebar,
    .xoso-result-card,
    .xoso-vietlott-card,
    .xoso-stats-card,
    .xoso-result-book-card,
    .xoso-utility-card,
    .xoso-dream-card,
    .xoso-cau-highlight,
    .xoso-trial-shell,
    .xoso-book-card,
    .xoso-author-profile,
    .xoso-tag-archive-intro,
    .xoso-cau-tool-intro,
    .xoso-cau-tool-card,
    .xoso-cau-principles,
    .xoso-cau-intro,
    .xoso-cau-posts,
    .xoso-dream-popular,
    .xoso-dream-number-index,
    .xoso-dream-directory,
    .xoso-dream-faq,
    .xoso-prediction-dashboard,
    .xoso-prediction-visual,
    .xoso-prediction-toc,
    .kqxs-du-doan-section,
    .xoso-prediction-dashboard > section,
    .xoso-utility-index,
    .xoso-calendar-card,
    .xoso-checker-card,
    .xoso-embed-manager,
    .xoso-archive-grid .site-main > article,
    .tag .site-main > article
  ) {
  border-color: var(--km-line);
  background-color: var(--km-surface);
  box-shadow: var(--km-shadow-sm);
}

body.kqxsmn-ui
  :is(
    .xoso-result-card__header,
    .xoso-vietlott-card > header,
    .xoso-stats-card > header,
    .km-left-rail > header,
    .xoso-dream-hero,
    .xoso-prediction-hero,
    .xoso-utility-index > header,
    .xoso-calendar-card > header,
    .xoso-checker-card > header,
    .xoso-embed-manager > header,
    .xoso-toolbar-icon
  ) {
  border-color: var(--km-red-700);
  background-color: var(--km-red-600);
  color: #fff;
  box-shadow: none;
}

body.kqxsmn-ui
  :is(
    .km-nav-card__head,
    .km-right-overview__head,
    .xoso-dream-popular > header,
    .xoso-dream-number-index > header,
    .xoso-dream-directory > header,
    .xoso-cau-principles > header,
    .xoso-trial-hero,
    .xoso-stats-sheet h3
  ) {
  border-color: var(--km-line);
  background-color: transparent;
  color: var(--km-ink);
  box-shadow: none;
}

body.kqxsmn-ui
  :is(
    .xoso-cau-tool-grid a,
    .xoso-cau-guide a,
    .xoso-cau-principles article,
    .xoso-cau-explanation,
    .xoso-cau-explanation article,
    .xoso-dream-popular button,
    .xoso-dream-number-index button,
    .xoso-dream-item,
    .xoso-dream-guide article,
    .xoso-dream-guide aside,
    .xoso-prediction-primary article,
    .xoso-prediction-groups section,
    .xoso-prediction-picks li,
    .xoso-trial-history,
    .xoso-cau-tool-intro dl,
    .xoso-dream-hero dl,
    .xoso-utility-index > div > a,
    .xoso-related-tags,
    .km-nav-card,
    .km-right-note
  ) {
  background-color: transparent;
  box-shadow: none;
}

body.kqxsmn-ui
  :is(
    .xoso-result-table tbody th,
    .xoso-loto-table tbody th,
    .xoso-stats-table tbody th,
    .xoso-result-table td,
    .xoso-loto-table td,
    .xoso-stats-table td
  ) {
  background-color: #fff;
}

body.kqxsmn-ui .xoso-result-table .xoso-prize-row--db > * {
  background-color: #fff3f3;
}

body.kqxsmn-ui
  :is(
    .xoso-result-table tbody tr:hover > *,
    .xoso-loto-table tbody tr:hover > *,
    .xoso-stats-table tbody tr:hover > *,
    .km-right-data-links > a:hover,
    .km-right-tools > a:hover,
    .km-right-vietlott > a:hover,
    .km-right-chip-grid > a:hover,
    .km-sidebar-posts--rich > a:hover
  ) {
  background-color: #fff3ed;
}

body.kqxsmn-ui
  :is(
    .km-brandbar__live,
    .km-right-status,
    .km-footer-v2__eyebrow,
    .km-footer-v2__badges span,
    .xoso-cau-eyebrow,
    .xoso-cau-tool-intro > span,
    .xoso-cau-tool-card > header > span,
    .xoso-trial-hero__content > span,
    .xoso-author-profile__eyebrow,
    .xoso-dream-category-label,
    .xoso-dream-directory > header > strong,
    .xoso-route-meta
  ) {
  padding-right: 0;
  padding-left: 0;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  box-shadow: none;
}

body.kqxsmn-ui
  :is(
    .xoso-live-summary,
    .xoso-prediction-hero time,
    .xoso-prediction-note,
    .xoso-cau-principles footer,
    .xoso-cau-disclaimer,
    .xoso-dream-guide aside,
    .xoso-author-profile__meta span,
    .xoso-tag-count,
    .xoso-related-tags a,
    .km-footer-v2__draws a > span,
    .km-footer-v2__links h2 > span,
    .km-footer-v2__notice > span,
    .km-footer-v2__draws time
  ) {
  background-color: transparent;
  box-shadow: none;
}

body.kqxsmn-ui
  :is(
    .km-brandbar__summary,
    .km-header-cta,
    .km-header-cta span,
    .km-footer-v2__actions a:not(.is-primary),
    .km-footer-v2__draws a,
    .km-footer-v2__provinces nav a,
    .km-footer-v2__badges span
  ) {
  background-color: transparent;
  box-shadow: none;
}

body.kqxsmn-ui .km-brandbar__summary {
  border-color: transparent;
}

body.kqxsmn-ui .km-header-cta span {
  border: 0;
  color: var(--km-gold-bright);
}

body.kqxsmn-ui
  :is(
    .xoso-prediction-note,
    .xoso-cau-principles footer,
    .xoso-cau-disclaimer,
    .xoso-dream-guide aside
  ) {
  border: 0;
  border-left: 3px solid var(--km-gold);
  border-radius: 0;
}

body.kqxsmn-ui
  :is(
    .xoso-trial-nav a,
    .xoso-cau-tool-nav a,
    .xoso-cau-tabs a,
    .xoso-dream-categories button,
    .xoso-utility-nav a,
    .xoso-book-tabs a,
    .xoso-sidebar-tab-buttons button,
    .widget-area .widget_nav_menu .menu > li > a
  ) {
  background-color: transparent;
  color: var(--km-ink);
  box-shadow: none;
}

body.kqxsmn-ui
  :is(
    .xoso-trial-nav a[aria-current="page"],
    .xoso-cau-tool-nav a[aria-current="page"],
    .xoso-cau-tabs a[aria-current="page"],
    .xoso-dream-categories button[aria-pressed="true"],
    .xoso-utility-nav a[aria-current="page"],
    .xoso-book-tabs a[aria-current="page"],
    .xoso-sidebar-tab-buttons button.is-active,
    .widget-area .widget_nav_menu .current-menu-item > a,
    .widget-area .widget_nav_menu .current-menu-ancestor > a
  ) {
  border-color: var(--km-red-600);
  background-color: transparent;
  color: var(--km-red-700);
  box-shadow: inset 0 -2px var(--km-red-600);
}

body.kqxsmn-ui
  :is(
    .xoso-stats-filter button,
    .xoso-book-filter button,
    .xoso-cau-filter button,
    .xoso-region-toolbar button,
    .xoso-trial-controls button,
    .xoso-checker-card button,
    .xoso-dream-search button
  ) {
  border: 1px solid var(--km-red-600);
  background-color: #fff;
  color: var(--km-red-700);
  box-shadow: none;
}

body.kqxsmn-ui
  :is(
    .xoso-trial-run,
    .xoso-trial-toolbar button,
    .xoso-dream-more,
    .xoso-cau-tool-cta a,
    .km-footer-v2__actions a.is-primary
  ) {
  border-color: var(--km-red-600);
  background-color: var(--km-red-600);
  color: #fff;
  box-shadow: none;
}

body.kqxsmn-ui
  :is(
    .km-region-launcher__item > span,
    .xoso-prediction-pick-number,
    .xoso-prediction-numbers strong,
    .xoso-dream-numbers button,
    .xoso-dream-popular button > span,
    .xoso-trial-ball,
    .xoso-checker-number
  ) {
  border-color: var(--km-red-600);
  background-color: #fff;
  color: var(--km-red-700);
  box-shadow: none;
}

body.kqxsmn-ui
  :is(
    .xoso-prediction-picks li.is-primary,
    .xoso-prediction-pick-number.is-featured,
    .xoso-prediction-numbers.is-featured strong
  ) {
  border-color: var(--km-red-600);
  background-color: #fff;
  color: var(--km-red-700);
  box-shadow: none;
}

body.kqxsmn-ui .xoso-prediction-primary article > span {
  padding: 0;
  border: 0;
  background-color: transparent;
  color: var(--km-muted);
  box-shadow: none;
}

body.kqxsmn-ui
  :is(
    .km-right-data-links > a > span,
    .km-right-tool-icon,
    .km-nav-card__icon,
    .km-vertical-menu .xoso-menu-icon
  ) {
  border-color: transparent;
  background-color: transparent;
  color: var(--km-red-600);
  box-shadow: none;
}

.km-route-sidebar .inside-left-sidebar,
.km-route-sidebar .inside-right-sidebar {
  margin: 0;
}

.km-sidebar-posts {
  display: grid;
  padding: 4px 8px 7px;
}

.km-sidebar-posts > a {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  min-height: 62px;
  padding: 6px 2px;
  border-bottom: 1px solid var(--km-line-soft);
  color: var(--km-ink);
}

.km-sidebar-posts > a:last-child {
  border-bottom: 0;
}

.km-sidebar-posts > a > span,
.km-sidebar-posts img {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}

.km-sidebar-posts p {
  min-width: 0;
  margin: 0;
}

@media (max-width: 768px) {
  .site-content {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    padding-top: 12px;
  }

  .site-content .content-area,
  .site-content .is-left-sidebar,
  .site-content .is-right-sidebar {
    width: 100%;
    max-width: 100%;
    padding-right: 10px;
    padding-left: 10px;
  }

  .site-content .content-area {
    order: 1;
  }

  .site-content .is-left-sidebar {
    display: block;
    order: 2;
  }

  .site-content .is-right-sidebar {
    order: 3;
  }

  .xoso-route-page.inside-article {
    padding: 18px;
  }

  .is-left-sidebar .widget_nav_menu .menu > li:nth-child(n + 3) .sub-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 14px;
  }

  .xoso-result-card__header,
  .xoso-vietlott-card > header {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .is-xoso-zoomed .xoso-result-number {
    font-size: clamp(23px, 7vw, 38px);
  }

  .is-xoso-zoomed .xoso-result-number--db {
    font-size: clamp(31px, 9vw, 48px);
  }

  .xoso-live-summary em {
    width: 100%;
    margin-left: 19px;
  }

  .xoso-result-tools {
    align-items: flex-start;
    flex-direction: column;
  }

  .xoso-province-tabs {
    width: 100%;
  }

  .xoso-loto-table td,
  .xoso-loto-table th {
    padding: 5px 4px;
    font-size: 11px;
  }

  .xoso-loto-table tbody th {
    padding-right: 1px;
    padding-left: 1px;
    font-size: 9px;
  }

  .xoso-region-toolbar,
  .xoso-region-toolbar form {
    grid-template-columns: 1fr;
  }

  .xoso-date-control {
    min-width: 0;
  }

  .xoso-region-toolbar input {
    width: 100%;
  }

  .xoso-toolbar-identity p {
    display: none;
  }

  .xoso-province-result-grid {
    grid-template-columns: 1fr;
  }

  .xoso-province-loto .xoso-loto-table {
    border-left: 1px solid #e2e8f0;
  }

  .xoso-region-toolbar form > label {
    grid-column: auto;
  }

  .xoso-toolbar-actions {
    width: 100%;
  }

  .xoso-toolbar-actions button {
    flex: 1;
  }

  .xoso-stats-filter {
    grid-template-columns: 1fr 1fr;
  }

  .xoso-stats-filter button {
    grid-column: 1/-1;
  }

  .xoso-stats-table {
    font-size: 10px;
  }

  .xoso-stats-table .is-sticky {
    min-width: 40px;
    width: 40px;
    max-width: 40px;
  }

  .xoso-stats-table--year-grid .is-sticky,
  .xoso-stats-table--year-grid td,
  .xoso-stats-table--year-grid th:not(.is-sticky) {
    min-width: 44px;
    width: 44px;
    max-width: 44px;
  }

  .xoso-stats-mode {
    gap: 7px;
  }

  .xoso-stats-sheets {
    padding: 5px;
    gap: 5px;
  }

  .xoso-stats-sheet h3 {
    font-size: 9px;
  }

  .xoso-stats-matrix-value {
    gap: 2px;
  }

  .xoso-stats-matrix-value strong {
    font-size: 14px;
  }

  .xoso-stats-matrix-value small {
    font-size: 7px;
  }

  .xoso-stats-special-value strong {
    font-size: 11px;
  }

  .xoso-stats-special-value small {
    font-size: 7px;
  }

  .xoso-stats-post-card {
    grid-template-columns: 72px minmax(0, 1fr);
    min-height: 76px;
  }

  .xoso-stats-post-image,
  .xoso-stats-post-thumb {
    min-height: 76px;
  }

  .xoso-stats-post-copy {
    padding: 6px 7px;
  }

  .xoso-stats-post-copy h4 {
    font-size: 11px;
  }

  .xoso-stats-post-copy p {
    font-size: 8px;
  }

  .xoso-province-special-stats {
    margin: 0 7px 8px;
  }

  .xoso-book-tabs {
    gap: 4px;
  }

  .xoso-book-tabs a {
    padding: 8px 3px;
    font-size: 10px;
  }

  .xoso-book-filter {
    align-items: stretch;
    flex-direction: column;
  }

  .xoso-book-filter button {
    width: 100%;
  }

  .xoso-archive-grid .site-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .xoso-author-profile {
    align-items: start;
    gap: 12px;
    padding: 13px;
    grid-template-columns: 1fr;
  }

  .xoso-author-profile h2 {
    font-size: 17px;
  }

  .xoso-author-profile p {
    font-size: 11px;
  }

  .xoso-archive-grid .site-main > article > .inside-article {
    column-gap: 10px;
    padding: 10px;
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .xoso-archive-grid article .entry-title {
    font-size: 14px;
  }

  .xoso-archive-grid article .entry-summary {
    display: none;
  }

  .xoso-author-profile__avatar {
    width: 62px;
    height: 62px;
  }

  .xoso-author-avatar {
    width: 54px;
    height: 54px;
  }

  .xoso-trial-nav,
  .xoso-trial-nav.is-province {
    grid-template-columns: repeat(2, 1fr);
  }

  .xoso-trial-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .xoso-trial-toolbar button,
  .xoso-trial-toolbar label {
    width: 100%;
  }

  .xoso-trial-ball {
    width: 37px;
    height: 37px;
  }

  .xoso-cau-guide {
    grid-template-columns: 1fr;
  }

  .xoso-cau-post {
    grid-template-columns: 72px 1fr;
  }

  .xoso-cau-tool-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .xoso-cau-tool-grid {
    grid-template-columns: 1fr;
  }

  .xoso-cau-filter {
    grid-template-columns: 1fr 1fr;
  }

  .xoso-cau-filter button {
    grid-column: 1/-1;
  }

  .xoso-cau-explanation > div,
  .xoso-cau-principles > div {
    grid-template-columns: 1fr;
  }

  .xoso-cau-tool-intro dl div {
    padding: 7px 3px;
  }

  .category-du-doan .site-main > article > .inside-article,
  .category-du-doan-xsmb .site-main > article > .inside-article,
  .category-du-doan-xsmn .site-main > article > .inside-article,
  .category-du-doan-xsmt .site-main > article > .inside-article {
    grid-template-columns: minmax(92px, 3fr) minmax(0, 7fr);
    column-gap: 10px;
    padding: 10px;
  }

  .category-du-doan .entry-summary,
  .category-du-doan .inside-article > footer.entry-meta,
  .category-du-doan-xsmb .entry-summary,
  .category-du-doan-xsmb .inside-article > footer.entry-meta,
  .category-du-doan-xsmn .entry-summary,
  .category-du-doan-xsmn .inside-article > footer.entry-meta,
  .category-du-doan-xsmt .entry-summary,
  .category-du-doan-xsmt .inside-article > footer.entry-meta {
    display: none;
  }

  .category-du-doan .entry-title,
  .category-du-doan-xsmb .entry-title,
  .category-du-doan-xsmn .entry-title,
  .category-du-doan-xsmt .entry-title {
    font-size: 14px;
  }

  .xoso-prediction-toc ol {
    grid-template-columns: 1fr;
  }

  .xoso-prediction-toc a {
    white-space: normal;
  }

  .xoso-prediction-groups,
  .xoso-prediction-primary,
  .xoso-prediction-stat-lines,
  .xoso-prediction-stations {
    grid-template-columns: 1fr;
  }

  .xoso-prediction-picks {
    gap: 6px;
  }

  .xoso-prediction-picks li {
    min-height: 82px;
    padding: 9px 6px;
  }

  .xoso-prediction-picks li.is-wide {
    min-height: 68px;
  }

  .xoso-prediction-pick-number {
    min-width: 29px;
    height: 29px;
    padding: 0 4px;
  }

  .xoso-prediction-pick-number.is-featured {
    min-width: 43px;
    height: 43px;
  }

  .xoso-prediction-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .xoso-prediction-groups p {
    min-height: 0;
  }

  .kqxs-du-doan-section {
    padding: 12px;
  }

  .kqxs-du-doan-section--lead > h2,
  .xoso-dream-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .xoso-dream-hero dl {
    width: 100%;
  }

  .xoso-dream-hero dl div {
    min-width: 0;
  }

  .xoso-dream-popular > div {
    grid-template-columns: 1fr 1fr;
  }

  .xoso-dream-number-index > div {
    grid-template-columns: repeat(5, 1fr);
  }

  .xoso-dream-directory {
    max-height: 980px;
  }

  .xoso-dream-table__head {
    display: none;
  }

  .xoso-dream-item {
    grid-template-columns: 1fr auto;
    gap: 0;
    margin: 7px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
  }

  .xoso-dream-item > div,
  .xoso-dream-item > p {
    height: auto;
    border-right: 0;
  }

  .xoso-dream-item > div:nth-child(2) {
    justify-content: flex-end;
  }

  .xoso-dream-item > .xoso-dream-numbers {
    grid-column: 1/-1;
    border-top: 1px dashed #e2e8f0;
  }

  .xoso-dream-item > p {
    grid-column: 1/-1;
    border-top: 1px solid #e2e8f0;
  }

  .xoso-dream-guide {
    grid-template-columns: 1fr;
  }

  .xoso-dream-search {
    align-items: stretch;
    flex-direction: column;
  }

  .xoso-dream-search > button {
    min-height: 34px;
  }

  .xoso-tag-archive-copy {
    align-items: flex-start;
    padding: 13px;
  }

  .xoso-tag-archive-copy strong {
    font-size: 17px;
  }

  .xoso-tag-count {
    min-width: 62px;
    min-height: 58px;
  }

  .tag .site-main > article > .inside-article {
    column-gap: 10px;
    padding: 10px;
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .tag .site-main article .post-image img {
    min-height: 104px;
    max-height: 136px;
  }

  .xoso-tag-archive-copy p {
    font-size: 11px;
  }

  .tag .site-main article .entry-title {
    font-size: 14px;
  }

  .tag .site-main article .entry-summary {
    display: none;
  }

  .xoso-utility-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .xoso-checker-card form,
  .xoso-utility-index > div {
    grid-template-columns: 1fr;
  }

  .xoso-calendar-card thead {
    display: none;
  }

  .xoso-calendar-card table,
  .xoso-calendar-card tbody {
    gap: 8px;
  }

  .xoso-calendar-card tr {
    grid-template-columns: 1fr;
  }

  .xoso-calendar-card td,
  .xoso-calendar-card th {
    border-right: 0;
    border-bottom: 1px solid #e2e8f0;
  }

  .xoso-calendar-card tr > :last-child {
    border-bottom: 0;
  }

  .xoso-calendar-card td {
    position: relative;
    padding-left: 80px;
  }

  .xoso-calendar-card td::before {
    position: absolute;
    top: 9px;
    left: 8px;
    display: block;
    color: #606870;
    font-size: 8px;
    font-weight: 900;
    text-transform: uppercase;
  }

  .xoso-embed-config {
    align-items: stretch;
    flex-direction: column;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .xoso-embed-config label {
    justify-content: space-between;
  }

  .xoso-embed-config input {
    flex: 1;
  }

  .xoso-embed-preview iframe {
    height: 520px;
  }

  .xoso-embed-config > select {
    grid-column: 1/-1;
    width: 100%;
  }

  .xoso-embed-config button {
    grid-column: 1/-1;
  }

  .xoso-checker-status {
    align-items: flex-start;
    flex-direction: column;
  }

  .xoso-checker-matches {
    grid-template-columns: 1fr;
  }

  .xoso-print-page {
    padding: 12px;
  }

  .xoso-print-page__title {
    font-size: 19px;
  }

  .xoso-agency-editor > div,
  .xoso-ticket-sheet[data-layout="4"],
  .xoso-ticket-sheet[data-layout="6"] {
    grid-template-columns: 1fr;
  }

  .xoso-agency-editor label.is-wide {
    grid-column: auto;
  }

  .xoso-print-options label,
  .xoso-print-options select {
    width: 100%;
  }

  .km-home-grid {
    grid-template-columns: minmax(0, 1fr) 275px;
  }

  .km-site-content .widget-area.is-right-sidebar {
    flex-basis: 240px;
    width: 100%;
    margin-top: 18px;
  }

  .km-current-date {
    display: none;
  }

  .km-home-hero {
    grid-template-columns: 1fr minmax(330px, 0.75fr);
    gap: 34px;
  }

  .km-home-grid {
    grid-template-columns: 1fr;
  }

  .km-home-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 0;
  }

  .km-side-note {
    align-self: start;
  }

  .km-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .km-footer__grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
  }

  .km-footer__notice {
    grid-column: 1/-1;
  }

  html {
    scroll-padding-top: 98px;
    scroll-padding-bottom: 72px;
  }

  .admin-bar .km-header {
    top: 46px;
  }

  .km-trustbar {
    display: none;
  }

  .km-brand__mark {
    flex-basis: 42px;
  }

  .km-primary-nav {
    display: block;
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 1000;
    width: min(88vw, 360px);
    padding: 12px 0 90px;
    overflow-y: auto;
    border: 0;
    border-left: 1px solid var(--km-line);
    background: #fff;
    box-shadow: -20px 25px 50px rgba(23, 23, 23, 0.18);
    visibility: hidden;
    transform: translateX(102%);
    transition:
      transform 0.24s,
      visibility 0.24s;
    top: 60px;
  }

  .km-primary-nav.is-open {
    visibility: visible;
    transform: translateX(0);
  }

  body.km-menu-open::after {
    position: fixed;
    inset: 0;
    z-index: 2100;
    background: rgba(23, 23, 23, 0.6);
    content: "";
    backdrop-filter: blur(2px);
  }

  .km-primary-menu {
    display: block;
    min-height: 0;
  }

  .km-primary-menu > li > a {
    padding-inline: 9px;
    min-height: 43px;
    padding: 0 15px;
    border-bottom: 1px solid var(--km-line-soft);
    border-radius: 0;
    font-size: 12px;
  }

  .km-primary-menu .sub-menu {
    display: block;
    position: static;
    min-width: 0;
    padding: 4px 8px 8px 18px;
    border: 0;
    border-radius: 0;
    background: #f7f9fc;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .km-primary-menu .sub-menu a {
    padding: 7px 9px;
  }

  .km-quick-nav {
    display: block;
  }

  .km-quick-nav__scroll {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .km-quick-nav__scroll::-webkit-scrollbar {
    display: none;
  }

  .km-context-head {
    padding-block: 20px 22px;
  }

  .km-site-content.site-content {
    display: block;
  }

  .km-home-hero__copy {
    max-width: 720px;
  }

  .km-region-launcher {
    margin-top: -19px;
  }

  .km-region-launcher__item {
    padding-inline: 15px;
  }

  .km-region-launcher__item p small {
    display: none;
  }

  .km-container,
  .km-home > .xoso-editorial-content,
  .km-home-grid,
  .km-latest,
  .km-page.grid-container {
    width: min(calc(100% - 24px), var(--km-container));
  }

  .km-context-head h1 {
    font-size: 24px;
  }

  .km-breadcrumbs {
    font-size: 9px;
  }

  .km-home-hero {
    grid-template-columns: 1fr;
    padding: 34px 12px 44px;
  }

  .km-home-hero__lead {
    margin-top: 18px;
    font-size: 14px;
  }

  .km-home-hero__board {
    max-width: 620px;
    padding: 10px;
  }

  .km-region-launcher {
    grid-template-columns: 1fr;
    width: calc(100% - 24px);
  }

  .km-region-launcher__item {
    min-height: 68px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--km-line);
  }

  .km-region-launcher__item:last-child {
    border-bottom: 0;
  }

  .km-home-grid {
    padding-bottom: 35px;
  }

  .km-section-heading {
    align-items: flex-start;
  }

  .km-section-heading > a {
    max-width: 120px;
    text-align: right;
  }

  .km-home-sidebar,
  .km-post-grid {
    grid-template-columns: 1fr;
  }

  .xoso-result-number {
    font-size: 16px;
  }

  .xoso-prize-row--db .xoso-result-number,
  .xoso-result-number--db {
    font-size: 22px;
  }

  .xoso-loto-stacked,
  .xoso-vietlott-grid {
    grid-template-columns: 1fr;
  }

  .km-footer {
    padding-top: 35px;
  }

  .km-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }

  .km-footer__bottom {
    display: block;
    padding: 18px 0;
  }

  .km-footer-menu {
    justify-content: flex-start;
    margin-top: 9px;
  }

  .km-mobile-dock {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid var(--km-line);
    box-shadow: 0 -8px 25px rgba(23, 23, 23, 0.09);
    backdrop-filter: blur(14px);
  }

  .km-mobile-dock a {
    display: grid;
    place-items: center;
    align-content: center;
    color: #606870;
  }

  .km-mobile-dock b {
    display: grid;
    place-items: center;
    min-width: 23px;
    font-size: 9px;
  }

  .km-mobile-dock a.is-current {
    color: var(--km-coral-dark);
  }

  .km-mobile-dock a.is-current b {
    background: #f7f7f7;
  }

  .km-article-card {
    grid-template-columns: 1fr;
  }

  .km-article-card__image {
    aspect-ratio: 16/9;
    min-height: 0;
  }

  .km-brand__mark {
    flex-basis: 38px;
  }

  .admin-bar .km-primary-nav {
    top: 106px;
  }

  .km-home-hero h1 {
    font-size: 42px;
  }

  .km-hero-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .km-hero-links a {
    min-width: 0;
    gap: 8px;
    padding-inline: 12px;
  }

  .km-draw-time {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 9px;
    padding: 10px;
  }

  .km-draw-time > span {
    width: 38px;
    height: 38px;
  }

  .km-draw-time > b {
    font-size: 14px;
  }

  .xoso-result-card__header {
    align-items: flex-start;
  }

  .xoso-result-card__header h2 {
    font-size: 13px;
  }

  .xoso-result-tools {
    align-items: flex-start;
  }

  .km-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .km-site-content.site-content,
  body.home .km-site-content.site-content {
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) 220px;
  }

  .km-brandbar__inner {
    gap: 15px;
    grid-template-columns: minmax(0, 1fr) max-content;
  }

  .km-menu-toggle {
    display: block;
  }

  .km-brandbar__summary h1 {
    max-width: 260px;
  }

  .km-brandbar__ticker {
    display: none;
  }

  .km-site-content > #left-sidebar,
  .km-site-content > .km-home-sidebar {
    grid-column: 2;
  }

  .km-site-content > #right-sidebar,
  body.home .km-site-content > #left-sidebar {
    grid-column: 3;
  }

  .km-rail-close {
    display: grid;
    place-items: center;
    min-width: 38px;
    min-height: 38px;
  }

  .km-vertical-menu .xoso-submenu {
    display: none;
    position: static;
    width: auto;
    margin: 2px 0 6px 35px;
    padding: 5px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .km-vertical-menu .xoso-submenu::before {
    display: none;
  }

  .km-vertical-menu li.is-expanded > .xoso-submenu {
    display: grid;
  }

  .km-vertical-menu
    > li.is-expanded
    > .xoso-menu-row
    .xoso-submenu-toggle::before {
    transform: rotate(135deg);
  }

  .km-brandbar__summary h1::after,
  .km-brandbar__summary time {
    display: none;
  }

  .km-site-content > #left-sidebar,
  .km-site-content > #right-sidebar,
  .km-site-content > .km-home-sidebar,
  body.home .km-site-content > #left-sidebar {
    grid-column: 2;
    grid-row: auto;
  }

  .km-site-content > #left-sidebar,
  .km-site-content > #right-sidebar,
  .km-site-content > .content-area,
  .km-site-content > .km-home-sidebar,
  .km-site-content > .xoso-editorial-content,
  body.home .km-site-content > #left-sidebar,
  body.no-sidebar .km-site-content > .content-area {
    grid-column: 1;
    grid-row: auto;
  }

  .inside-left-sidebar,
  .inside-right-sidebar,
  .km-home-sidebar {
    grid-template-columns: 1fr;
  }

  .km-right-sidebar .km-right-note,
  .km-right-sidebar .km-right-overview {
    grid-column: 1/-1;
  }

  .km-right-overview .km-right-schedule {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .km-right-overview .km-right-schedule__main {
    grid-template-columns: 31px minmax(0, 1fr);
  }

  .km-right-overview .km-right-schedule__main time {
    justify-self: start;
    grid-column: auto;
  }

  .km-right-overview .km-right-schedule {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 4px 9px;
  }

  .km-right-overview .km-right-schedule__item {
    padding: 5px 0 7px;
    border: 0;
    border-bottom: 1px solid #ececec;
    border-radius: 0;
    background: 0 0;
  }

  .km-right-overview .km-right-schedule__main {
    grid-template-columns: 31px minmax(0, 1fr) auto;
    padding: 3px 1px;
  }

  .km-right-overview .km-right-provinces {
    padding: 0 0 1px 38px;
  }

  .km-site-content.site-content,
  body.home .km-site-content.site-content {
    grid-template-columns: minmax(0, 1fr) 252px;
    gap: 9px;
  }

  .km-menu-toggle {
    display: grid;
    place-items: center;
  }

  .km-left-rail {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 2200;
    width: min(88vw, 310px);
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    border: 0;
    border-radius: 0 16px 16px 0;
    box-shadow: 24px 0 55px rgba(23, 23, 23, 0.3);
    visibility: hidden;
    transform: translateX(-103%);
    transition:
      transform 0.24s,
      visibility 0.24s;
  }

  .admin-bar .km-left-rail {
    top: 0;
    max-height: none;
  }

  .km-left-rail.is-open {
    visibility: visible;
    transform: translateX(0);
  }

  .km-left-rail > header {
    position: sticky;
    top: 0;
    z-index: 2;
    border-radius: 0;
  }

  body.km-menu-open {
    overflow: hidden;
    touch-action: none;
  }

  .km-site-content > #right-sidebar {
    margin-top: 2px;
    grid-column: 2;
  }

  body.kqxsmn-ui {
    padding-bottom: calc(62px + env(safe-area-inset-bottom));
    font-size: 13px;
  }

  .km-page.grid-container,
  body.home .km-page.grid-container {
    margin-top: 7px;
    width: min(calc(100% - 8px), var(--km-container));
  }

  .km-brandbar__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    min-height: 56px;
  }

  .km-brandbar__summary,
  .km-header-cta {
    display: none;
  }

  .km-brand {
    min-width: 0;
  }

  .km-brand__mark {
    flex-basis: 35px;
  }

  .km-brand__copy {
    min-width: 0;
  }

  .km-brandbar .km-brand__copy strong {
    font-size: 16px;
    white-space: nowrap;
  }

  .km-brandbar .km-brand__copy small {
    overflow: hidden;
    max-width: 190px;
    font-size: 8.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: none;
  }

  .km-menu-toggle {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 11px;
  }

  body.kqxsmn-ui .inside-article {
    padding: 10px;
    border-radius: 10px;
  }

  .km-home .km-region-launcher {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
  }

  .km-home {
    display: flex;
    flex-direction: column;
  }

  .km-home > .km-results {
    order: -1;
  }

  .km-home .km-region-launcher__item,
  .km-home .km-region-launcher__item:last-child {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 5px;
    min-height: 48px;
    padding: 6px;
    border: 0;
    border-radius: 8px;
  }

  .km-home .km-region-launcher__item > span {
    width: 30px;
    height: 30px;
    font-size: 8px;
  }

  .km-home .km-region-launcher__item p strong {
    line-height: 1.2;
    font-size: 8.5px;
  }

  .km-home .km-region-launcher__item > b,
  .km-home .km-region-launcher__item p small {
    display: none;
  }

  .km-section-heading {
    align-items: center;
    gap: 8px;
    min-height: 52px;
    padding: 8px 9px;
  }

  .km-section-heading h2 {
    font-size: 18px;
    line-height: 1.18;
  }

  .km-section-heading > a {
    flex: 0 0 auto;
    padding: 6px 7px;
    font-size: 8px;
  }

  body.kqxsmn-ui .xoso-region-toolbar {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 10px;
  }

  .xoso-region-toolbar form {
    width: 100%;
  }

  .kqxs-du-doan-table-wrap,
  .xoso-calendar-table-wrap,
  .xoso-dream-directory .xoso-dream-table,
  .xoso-prediction-table-wrap,
  .xoso-result-book-excel,
  .xoso-result-scroll,
  .xoso-result-zoom-shell > .xoso-result-zoom-stage,
  .xoso-stats-excel,
  .xoso-stats-table-wrap {
    max-width: 100%;
    overflow: visible;
  }

  .kqxs-du-doan-table,
  .xoso-loto-table,
  .xoso-prediction-history table,
  .xoso-result-book-table,
  .xoso-result-table,
  .xoso-stats-table,
  .xoso-vietlott-prizes {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    table-layout: fixed;
    white-space: normal;
  }

  .xoso-result-table--multi {
    min-width: 0;
  }

  .xoso-result-zoom-shell .xoso-result-table {
    max-width: 100%;
  }

  .xoso-result-table td,
  .xoso-result-table th {
    min-width: 0;
    padding: 5px 2px;
    font-size: clamp(7px, 2.25vw, 10px);
    overflow-wrap: anywhere;
  }

  .xoso-result-table .xoso-result-number {
    min-width: 0;
    margin: 0;
    padding: 1px;
    font-size: clamp(10px, 3.2vw, 14px);
    letter-spacing: 0;
  }

  .xoso-result-table .xoso-result-number--db,
  .xoso-result-table .xoso-prize-row--db .xoso-result-number {
    font-size: clamp(14px, 4.2vw, 19px);
  }

  .xoso-result-table tr > :first-child,
  .xoso-result-table tbody th {
    width: 32px;
  }

  .xoso-loto-table td,
  .xoso-loto-table th,
  .xoso-vietlott-prizes td,
  .xoso-vietlott-prizes th {
    min-width: 0;
    padding: 4px 2px;
    overflow-wrap: anywhere;
  }

  .kqxs-du-doan-table td,
  .kqxs-du-doan-table th,
  .xoso-prediction-history td,
  .xoso-prediction-history th,
  .xoso-result-book-table td,
  .xoso-result-book-table th,
  .xoso-stats-table td,
  .xoso-stats-table th {
    min-width: 0;
    width: auto;
    max-width: none;
    padding: 3px 1px;
    font-size: clamp(6px, 2vw, 9px);
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .xoso-stats-table .is-sticky {
    position: static;
    min-width: 0;
    width: auto;
    max-width: none;
    box-shadow: none;
  }

  .xoso-stats-num,
  .xoso-stats-table small {
    font-size: clamp(6px, 1.8vw, 8px);
  }

  .xoso-cau-tool-nav,
  .xoso-region-tabs,
  .xoso-stats-mode-bar,
  .xoso-trial-nav,
  .xoso-utility-nav {
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .xoso-cau-tool-nav > *,
  .xoso-region-tabs > *,
  .xoso-stats-mode-bar > *,
  .xoso-trial-nav > *,
  .xoso-utility-nav > * {
    scroll-snap-align: start;
  }

  body.kqxsmn-ui
    :is(
      .xoso-region-tabs a,
      .xoso-stats-mode-bar a,
      .xoso-utility-nav a,
      .xoso-cau-tool-nav a,
      .xoso-trial-nav a,
      .xoso-province-tabs button,
      .xoso-digit-filters button
    ) {
    min-height: 40px;
  }

  .km-home .km-post-grid {
    gap: 8px;
    grid-template-columns: 1fr;
  }

  .km-footer {
    padding-bottom: 20px;
  }

  .km-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px 16px;
  }

  .km-footer__brand,
  .km-footer__notice {
    grid-column: 1;
  }

  .km-mobile-dock {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2000;
    min-height: 60px;
    padding: 4px 4px env(safe-area-inset-bottom);
    border-top: 1px solid var(--km-gold-border);
    background: rgba(255, 253, 242, 0.97);
    box-shadow: 0 -7px 22px rgba(103, 61, 0, 0.15);
    backdrop-filter: blur(15px);
  }

  .km-mobile-dock a {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 2px;
    min-width: 0;
    min-height: 52px;
    border-radius: 10px;
    color: var(--km-gold-700);
  }

  .km-mobile-dock b {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border-radius: 8px;
    color: inherit;
  }

  .km-mobile-dock b svg {
    width: 17px;
    height: 17px;
  }

  .km-mobile-dock span {
    overflow: hidden;
    max-width: 100%;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 8px;
  }

  .km-mobile-dock a.is-current,
  .km-mobile-dock a[aria-current="page"] {
    color: var(--km-gold-900);
  }

  .km-mobile-dock a.is-current b,
  .km-mobile-dock a[aria-current="page"] b {
    background: var(--km-metal);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.7);
  }

  .km-home .km-region-launcher__item {
    grid-template-columns: 1fr;
    place-items: center;
    text-align: center;
  }

  .km-post-card__media {
    aspect-ratio: 16/8;
    min-height: 0;
  }

  .km-right-sidebar .inside-right-sidebar {
    border-radius: 11px;
  }

  .km-footer__grid {
    grid-template-columns: 1fr;
  }

  .km-section-heading > a span {
    display: none;
  }

  .km-right-tools,
  .km-right-vietlott {
    grid-template-columns: 1fr;
  }

  .km-right-vietlott a:last-child {
    grid-column: auto;
  }

  .km-site-content.site-content,
  body.home .km-site-content.site-content {
    gap: 11px;
    grid-template-columns: minmax(0, 1fr);
  }

  .km-site-content > .content-area {
    grid-column: 1;
  }

  .km-site-content > .xoso-editorial-content,
  body.no-sidebar .km-site-content > .content-area {
    grid-column: 1/-1;
  }

  .km-site-content > #right-sidebar,
  .km-site-content > .content-area,
  .km-site-content > .xoso-editorial-content,
  body.no-sidebar .km-site-content > .content-area {
    grid-column: 1;
    grid-row: auto;
  }

  .km-footer-v2__mast {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-bottom: 24px;
  }

  .km-footer-v2__draws {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .km-footer-v2__draws a {
    grid-template-columns: 36px minmax(0, 1fr) auto;
  }

  .km-footer-v2__draws a > span {
    width: 34px;
    height: 34px;
  }

  .km-footer-v2__draws time {
    grid-column: 2;
    justify-self: start;
  }

  .km-footer-v2__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px 34px;
  }

  .km-footer-v2__provinces,
  .km-footer-v2__trust {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .km-footer-v2__badges {
    justify-content: flex-start;
  }

  .km-footer-v2 {
    margin-top: 22px;
  }

  .km-footer-v2__inner {
    padding-top: 28px;
  }

  .km-footer-v2__intro h2 {
    font-size: 24px;
  }

  .km-footer-v2__draws {
    grid-template-columns: 1fr;
  }

  .km-footer-v2__draws time {
    grid-column: auto;
    justify-self: auto;
  }

  .km-footer-v2__links {
    gap: 24px 18px;
    grid-template-columns: 1fr;
  }

  .km-footer-v2__provinces,
  .km-footer-v2__trust {
    padding: 20px 0;
  }

  .km-footer-v2 .km-footer-v2__bottom {
    display: block;
    padding: 15px 0 18px;
  }

  .km-footer-v2 .km-footer-menu {
    justify-content: flex-start;
    margin-top: 8px;
  }

  .km-footer-v2__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .km-footer-v2__badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .km-latest,
  .km-results {
    padding: 7px;
  }

  .km-region-launcher__item {
    border-right: 0;
    border-bottom: 1px solid var(--km-gold-border-soft);
  }

  .km-brandbar__inner {
    gap: 10px;
  }

  .km-brand__mark {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    border-radius: 12px 12px 12px 5px;
  }

  .km-brand__copy small {
    font-size: 8px;
    letter-spacing: 0;
    display: none;
  }

  .km-brand__copy strong {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xoso-number-pending i {
    animation-duration: 1.8s;
  }

  .km-brandbar__live i,
  .km-brandbar__ticker p {
    animation: none;
  }

  body.kqxsmn-ui :is(*, [class]),
  body.kqxsmn-ui :is(*, [class])::after,
  body.kqxsmn-ui :is(*, [class])::before {
    scroll-behavior: auto;
    animation-duration: 1ms;
    animation-iteration-count: 1;
    transition-duration: 1ms;
  }
}

@media print {
  .xoso-result-zoom-toggle {
    display: none;
  }

  html,
  body.xoso-print-utility {
    width: 210mm;
    min-width: 210mm;
    margin: 0;
    padding: 0;
    background: #fff;
  }

  .xoso-print-utility .main-navigation,
  .xoso-print-utility .site-footer,
  .xoso-print-utility .site-header,
  .xoso-print-utility .widget-area,
  .xoso-print-utility .xoso-editorial-content,
  .xoso-print-utility .xoso-header,
  .xoso-print-utility .xoso-print-page__intro,
  .xoso-print-utility .xoso-utility-nav {
    display: none;
  }

  .xoso-print-utility .site-content {
    display: block;
    width: 210mm;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .xoso-print-utility .content-area {
    float: none;
    width: 100%;
  }

  .xoso-print-utility .site-main {
    margin: 0;
  }

  .xoso-print-utility .inside-article {
    padding: 0;
  }

  .xoso-print-page {
    overflow: visible;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
  }

  .xoso-ticket-sheet {
    box-sizing: border-box;
    grid-template-columns: 210mm;
    grid-template-rows: 297mm;
    width: 210mm;
    height: 297mm;
    max-width: none;
    margin: 0;
    padding: 0;
    gap: 0;
  }

  .xoso-ticket-sheet[data-layout="4"] {
    grid-template-columns: repeat(2, 105mm);
    grid-template-rows: repeat(2, 148.5mm);
  }

  .xoso-ticket-sheet[data-layout="6"] {
    grid-template-columns: repeat(2, 105mm);
    grid-template-rows: repeat(3, 99mm);
  }

  .xoso-check-ticket {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .xoso-ticket-sheet[data-layout="1"] .xoso-check-ticket {
    height: 297mm;
  }

  .xoso-ticket-sheet[data-layout="4"] .xoso-check-ticket,
  .xoso-ticket-sheet[data-layout="6"] .xoso-check-ticket {
    height: auto;
  }

  .xoso-check-ticket table {
    min-height: 0;
  }

  .xoso-ticket-sheet[data-layout="1"] .xoso-check-ticket > header {
    padding: 2mm 3mm;
    font-size: 10pt;
  }

  .xoso-ticket-sheet[data-layout="1"] .xoso-check-ticket h2 {
    margin: 2.5mm 2mm 0.8mm;
    font-size: 16pt;
  }

  .xoso-ticket-sheet[data-layout="1"] .xoso-check-ticket__date {
    margin-bottom: 2mm;
    font-size: 10pt;
  }

  .xoso-ticket-sheet[data-layout="1"] .xoso-check-ticket th {
    width: 12mm;
    font-size: 12pt;
  }

  .xoso-ticket-sheet[data-layout="1"] .xoso-print-result-table--multi thead th {
    font-size: 11pt;
  }

  .xoso-ticket-sheet[data-layout="1"] .xoso-check-ticket td b {
    font-size: 22pt;
  }

  .xoso-ticket-sheet[data-layout="1"]
    .xoso-check-ticket
    .xoso-ticket-prize--db
    b {
    font-size: 32pt;
  }

  .xoso-ticket-sheet[data-layout="1"] .xoso-check-ticket footer {
    padding: 1.5mm 2mm;
    font-size: 8pt;
  }

  .xoso-ticket-sheet[data-layout="4"] .xoso-check-ticket > header,
  .xoso-ticket-sheet[data-layout="6"] .xoso-check-ticket > header {
    padding: 1mm 1.5mm;
    font-size: 7pt;
    line-height: 1.1;
  }

  .xoso-ticket-sheet[data-layout="4"] .xoso-check-ticket h2,
  .xoso-ticket-sheet[data-layout="6"] .xoso-check-ticket h2 {
    margin: 1mm 1mm 0.3mm;
    font-size: 9pt;
    line-height: 1.1;
  }

  .xoso-ticket-sheet[data-layout="4"] .xoso-check-ticket__date,
  .xoso-ticket-sheet[data-layout="6"] .xoso-check-ticket__date {
    margin-bottom: 1mm;
    font-size: 7pt;
    line-height: 1.1;
  }

  .xoso-ticket-sheet[data-layout="4"] .xoso-check-ticket td,
  .xoso-ticket-sheet[data-layout="4"] .xoso-check-ticket th,
  .xoso-ticket-sheet[data-layout="6"] .xoso-check-ticket td,
  .xoso-ticket-sheet[data-layout="6"] .xoso-check-ticket th {
    padding: 0.45mm 0.7mm;
    font-size: 8pt;
    line-height: 1.05;
  }

  .xoso-ticket-sheet[data-layout="4"] .xoso-check-ticket td b {
    font-size: 11pt;
    line-height: 1.08;
  }

  .xoso-ticket-sheet[data-layout="4"]
    .xoso-check-ticket
    .xoso-ticket-prize--db
    b {
    font-size: 16pt;
  }

  .xoso-ticket-sheet[data-layout="6"] .xoso-check-ticket td b {
    font-size: 7.5pt;
    line-height: 1.05;
  }

  .xoso-ticket-sheet[data-layout="6"]
    .xoso-check-ticket
    .xoso-ticket-prize--db
    b {
    font-size: 11pt;
  }

  .xoso-ticket-sheet[data-layout="4"] .xoso-check-ticket footer,
  .xoso-ticket-sheet[data-layout="6"] .xoso-check-ticket footer {
    padding: 0.7mm 1mm;
    font-size: 6pt;
    line-height: 1.1;
  }
}
