/* Laravel visual language, rebuilt on reusable WordPress components. */
:root {
  --brand: #e64b55;
  --sub-brand: #5966a2;
  --content: #20242b;
  --secondary: #666;
  --border: #dfe1e5;
  --highlight: #ce0707;
  --link: #414b89;
  --lotto-bg: #f7f8f9;
  --gradient: #22a58e;
  --shadow: 0 2px 4px rgb(0 0 0 / 12%);
}

body { background: #f8f8f8 url('../images/legacy-bg.webp') repeat; font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 1.5; }
a { color: var(--link); }
.site-header { border: 0; background: transparent; }
.site-header__heading { min-height: 25px; margin: 0; padding: 3px 12px; background: #fff; text-align: center; font-size: 12px; font-weight: 700; line-height: 19px; }
.site-header__inner { width: 100%; height: 80px; display: flex; justify-content: center; gap: 0; background: #fff; }
.brand { justify-content: center; }
.brand img { width: 350px; height: 70px; max-height: none; object-fit: fill; }
.nav-toggle { position: absolute; right: max(12px, calc((100vw - 1320px) / 2)); top: 43px; }
.site-nav { height: auto; margin-top: 4px; border: 0; background: transparent; }
.site-nav__inner { width: min(1320px, calc(100% - 24px)); min-height: 52px; height: auto; padding: 7px 8px; border-radius: 5px; background: #fff; box-shadow: 0 1px 4px rgb(0 0 0 / 5%); }
.site-nav a { color: #62656d; font-size: 14px; font-weight: 700; text-transform: uppercase; }
.site-nav__inner > .nav-link, .nav-item > .nav-link { min-height: 36px; padding: 0 9px; }
.site-nav__inner > .nav-link:first-child { padding: 0 10px; }
.site-nav__inner > .nav-link:hover, .nav-item:hover > .nav-link, .nav-item:focus-within > .nav-link { color: #22a58e; background: transparent; }
.site-nav .nav-link--home { min-width: 34px; justify-content: center; border-radius: 4px; background: transparent; color: #62656d; font-size: 26px; line-height: 1; }
.site-nav .nav-link--home .xsmb-icon { width: 19px; height: 19px; flex-basis: 19px; }
.site-nav .nav-link.is-current, .site-nav .nav-link.is-current:hover { color: #fff; background: #22a58e; border-radius: 4px; }
.site-nav .nav-link--home:hover { color: #22a58e; background: transparent; }
.nav-dropdown-toggle { display: none; }
.nav-dropdown { min-width: 190px; border: 0; border-radius: 4px; box-shadow: 0 6px 16px rgb(0 0 0 / 18%); }
.nav-dropdown a { min-height: 34px; color: #333; font-size: 13px; font-weight: 400; text-transform: none; }
.site-main { width: min(1320px, 100%); margin: 24px auto 40px; padding: 0 6px; }
.content-layout { grid-template-columns: 306px minmax(0, 1fr) 306px; gap: 24px; }
.content-layout > * { min-width: 0; margin: 0; }
.content-layout--wide { grid-template-columns: minmax(0, 1fr) 306px; }
.site-sidebar { min-width: 0; }
.side-card, .xsmb-editor-content, .home-related, .xsmb-card, .page-heading, .post-card, .feature-card { border-radius: 4px; box-shadow: var(--shadow); }
.side-card { padding: 8px 8px 0; margin-bottom: 20px; }
.site-sidebar--right .side-card { padding-bottom: 1px; }
.side-card h2 { display: block; margin: 0 0 6px; padding: 15px 14px; border-radius: 4px; background: #22a58e; font-size: 14px; line-height: 21px; }
.prediction-side-card { padding-bottom: 3px; }
.prediction-side-card h2 { margin-bottom: 12px; }
.side-card h2 a { color: #fff; text-decoration: none; }
.side-card h2 .xsmb-icon { display: none; }
.side-card nav a { min-height: 38px; padding: 7px 12px; border-top: 0; border-bottom: 1px solid #ededed; color: #333; font-size: 14px; line-height: 22px; }
.site-sidebar--right .side-card nav { margin-top: 16px; }
.site-sidebar--right .side-card nav a { display: flex; align-items: center; justify-content: space-between; }
.site-sidebar--right .side-card nav a.is-active { color: #f60; background: #ffe500; }
.side-card__recent-draw { display: inline-grid; width: 16px; height: 16px; margin-left: 8px; place-items: center; border-radius: 50%; background: #198f63; color: #fff; font-size: 11px; font-weight: 700; line-height: 1; }
.side-card nav a:last-child { border-bottom: 0; }
.side-card nav a:hover { color: #15977f; background: #fafafa; }
.prediction-side-item { padding: 6px 0; border-bottom: 1px solid #ececec; }
.prediction-side-item:first-of-type { margin-top: 7px; }
.prediction-side-item:last-child { border-bottom: 0; }
.prediction-side-item__region { display: block; margin: 0 0 9px; color: #2161a9; font-size: 13px; font-weight: 700; text-decoration: none; }
.prediction-side-item__region span { color: #d05f43; font-size: 21px; line-height: 13px; vertical-align: -2px; }
.prediction-side-item__article { display: flex; align-items: flex-start; gap: 5px; padding-left: 11px; color: #333; line-height: 21px; text-decoration: none; }
.prediction-side-item__article img { flex: 0 0 60px; width: 60px; height: 33px; object-fit: cover; }
.prediction-side-item__article:hover { color: #2161a9; }
.xsmb-editor-content { padding: 18px 16px; margin-bottom: 16px; }
.xsmb-editor-content > :first-child { margin-top: 0; }
.xsmb-editor-content > :last-child { margin-bottom: 0; }
.home-layout .xsmb-bottom-content { width: 100%; margin: 15px 0; font-size: 14px; line-height: 1.7; color: #333; }
.home-layout .xsmb-bottom-content h2,
.home-layout .xsmb-bottom-content h3,
.home-layout .xsmb-bottom-content h4 { margin: 10px 0 8px; color: #23b08f; }
.home-layout .xsmb-bottom-content p { margin-bottom: 10px; }
.home-layout .xsmb-bottom-content a { color: #23b08f; text-decoration: underline; }
.home-layout .xsmb-bottom-content ul,
.home-layout .xsmb-bottom-content ol { padding-left: 20px; margin-bottom: 10px; }
.home-layout .xsmb-top-content { min-height: 0; padding: 15px; }
.home-layout .xsmb-top-content h2 { margin: 10px 0 8px; font-size: 16px; font-weight: 500; line-height: 1.2; }
.home-layout .xsmb-top-content h2 strong { font-weight: 700; }
.home-layout .xsmb-top-content h2, .home-layout .xsmb-top-content strong:first-child { color: #23a18b; }
.home-layout .xsmb-top-content p { margin: 0 0 10px; line-height: 1.7; }
.home-layout .result-card { margin-bottom: 0; border: 1px solid #eb4956; border-radius: 5px; box-shadow: none; }
.home-layout .result-card__head { min-height: 78px; padding: 13px 8px 10px; }
.home-layout .result-card__head h2 { margin-bottom: 3px; font-size: 18px; line-height: 26px; }
.home-layout .result-card__head h2 a { color: #343d59; }
.home-layout .result-card__head span { color: #646ca0; font-size: 14px; }
.home-layout .result-card__head span a { color: #646ca0; }
.home-layout .result-date-label { text-decoration: underline; }
.home-layout .result-special-code { padding: 8px 10px; color: #606aa7; font-size: 15px; font-weight: 700; }
.home-layout .result-table th, .home-layout .result-table td { border-color: #e1e3e8; }
.home-layout .result-table th { width: 39px; padding: 3px 5px; text-align: left; font-size: 15px; font-weight: 700; }
.home-layout .result-table td { min-height: 40px; }
.home-layout .result-table td span { padding: 3px 1px; font-size: 22px; line-height: 1.25; }
.home-layout .result-table .prize-db th { color: #fff; background: #ea5455; }
.home-layout .result-table .prize-db { background: #f3f3f3; }
.home-layout .result-table .prize-db td { background: transparent; }
.home-layout .result-table .prize-db td span { padding: 2px 1px; color: #c90909; font-size: 34px; line-height: 34px; }
.home-layout .result-table .prize-g7 td span { color: #d30000; }
.home-layout .result-table .prize-g1 td span { font-size: 23px; }
.home-layout .result-filter { min-height: 87px; margin: 0; padding: 12px 28px; border: 0; background: #fff; font-size: 14px; }
.home-layout .result-filter__modes { gap: 25px; font-size: 14px; font-weight: 400; }
.home-layout .result-filter__modes label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.home-layout .result-filter input { accent-color: #655de0; width: 16px; height: 16px; }
.home-layout .result-filter__digits { display: none; }
.result-zoom { display: none; border: 0; background: transparent; color: #171717; font: inherit; font-weight: 700; cursor: pointer; }
.home-layout .result-zoom { display: inline-block; }
.home-layout .result-card.is-zoomed .result-table td span, .home-layout .result-card.is-zoomed .multi-result-table td span { font-size: 29px; }
.home-layout .multi-result-table { min-width: 0; }
.home-layout .multi-result-table th, .home-layout .multi-result-table td { border-color: #e1e3e8; }
.home-layout .multi-result-table thead th { padding: 9px 4px; background: #f1f1ff; color: #62699c; font-size: 14px; }
.home-layout .multi-result-table thead th:first-child { width: 47px; }
.home-layout .multi-result-table tbody th { width: 47px; padding: 4px 6px; text-align: left; font-size: 15px; }
.home-layout .multi-result-table td span { font-size: 21px; }
.home-layout .multi-result-table .prize-g8 td span, .home-layout .multi-result-table .prize-db td span { color: #c90909; }
.home-related { margin: 30px 0 18px; padding: 14px 18px; background: #fff; }
.home-related ul { margin: 0; padding-left: 14px; }
.home-related li { margin: 0 0 8px; padding-left: 0; line-height: 26px; }
.home-related li:last-child { margin-bottom: 0; }
.home-related a { color: #29346e; text-decoration: underline; }
.xsmb-region-page .xsmb-top-content { min-height: 389px; padding: 15px; font-size: 14px; line-height: 1.7; color: #333; }
.xsmb-region-page .xsmb-top-content h2 { margin: 10px 0 8px; color: #23a18b; font-size: 16px; font-weight: 500; line-height: 1.2; }
.xsmb-region-page .xsmb-top-content h2 strong { font-weight: 700; }
.xsmb-region-page .xsmb-top-content p { margin: 0 0 10px; }
.xsmb-region-page .xsmb-top-content a { color: #23a18b; text-decoration: underline; }
.bac-archive-tab { margin: 0; font-size: 14px; font-weight: 400; line-height: 19px; }
.bac-archive-tab span { background: #fff2bc; }
.bac-archive-entry { margin: 0 0 30px; background: #fff; }
.bac-archive-entry--lead { margin-bottom: 40px; }
.xsmb-region-page .result-card { margin: 0; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
.xsmb-region-page .result-card__head { min-height: 76px; padding: 13px 8px 10px; }
.xsmb-region-page .result-card__head h2 { margin-bottom: 3px; font-size: 18px; line-height: 26px; }
.xsmb-region-page .result-card__head h2 a { color: #343d59; }
.xsmb-region-page .result-card__head span, .xsmb-region-page .result-card__head span a { color: #646ca0; font-size: 14px; }
.xsmb-region-page .result-card__head span a { text-decoration: underline; }
.xsmb-region-page .result-card__head .archive-crumb { text-decoration: underline; }
.xsmb-region-page .result-special-code { padding: 8px 10px; color: #606aa7; font-size: 15px; font-weight: 700; }
.xsmb-region-page .result-table th, .xsmb-region-page .result-table td { border-color: #e1e3e8; }
.xsmb-region-page .result-table th { width: 39px; padding: 3px 5px; text-align: left; font-size: 15px; font-weight: 700; }
.xsmb-region-page .result-table td { min-height: 41px; }
.xsmb-region-page .result-table td span { padding: 3.5px 1px; font-size: 22px; line-height: 1.25; }
.xsmb-region-page .result-table .prize-db th { color: #fff; background: #ea5455; }
.xsmb-region-page .result-table .prize-db { background: #f3f3f3; }
.xsmb-region-page .result-table .prize-db td { background: transparent; }
.xsmb-region-page .result-table .prize-db td span { padding: 2px 1px; color: #c90909; font-size: 34px; line-height: 34px; }
.xsmb-region-page .result-table .prize-g7 td span { color: #d30000; }
.xsmb-region-page .result-filter { min-height: 89px; margin: 0; padding: 12px 28px; border: 0; background: #fff; font-size: 14px; }
.xsmb-region-page .result-filter__modes { gap: 25px; font-size: 14px; font-weight: 400; }
.xsmb-region-page .result-filter__modes label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.xsmb-region-page .result-filter input { accent-color: #655de0; width: 16px; height: 16px; }
.xsmb-region-page .result-filter__digits { display: none; }
.xsmb-region-page .result-zoom { display: inline-block; }
.xsmb-region-page .result-card.is-zoomed .result-table td span { font-size: 29px; }
.bac-archive-loto { margin-bottom: 20px; }
.bac-archive-entry:not(.bac-archive-entry--lead) .bac-archive-loto { margin-bottom: 0; }
.bac-archive-loto table { width: 100%; border-collapse: collapse; table-layout: fixed; background: #fff; font-size: 14px; }
.bac-archive-loto th, .bac-archive-loto td { height: 35px; padding: 5px 8px; border: 1px solid #dfe1e5; text-align: center; line-height: 22px; }
.bac-archive-loto thead th { font-size: 14px; font-weight: 700; }
.bac-archive-loto th:first-child { width: 10%; }
.bac-archive-loto th:nth-child(2) { width: 40%; }
.bac-archive-loto th:nth-child(3) { width: 38%; }
.bac-archive-loto th:last-child { width: 12%; }
.bac-archive-loto tbody th { font-weight: 700; }
.bac-archive-loto .is-special { color: #c90909; font-weight: 700; }
.bac-archive-related { padding: 15px 20px 3px; }
.bac-archive-related ul { margin: 0; padding-left: 20px; }
.bac-archive-related li { margin: 0 0 7px; line-height: 22px; }
.bac-archive-related a { color: #29346e; text-decoration: underline; }
.bac-archive-more { display: block; width: min(300px, 100%); margin: 8px auto 16px; padding: 9px 12px; border: 1px solid #d9d3cb; border-radius: 3px; background: #fff; color: #333; font: inherit; font-weight: 700; cursor: pointer; }
.bac-archive-more:hover { background: #f8f8f8; }
.bac-archive-more:disabled { cursor: wait; opacity: .7; }
.bac-archive-more[data-error]::after { content: attr(data-error); display: block; color: #c90909; font-size: 12px; font-weight: 400; }
.site-footer { background: transparent; border: 0; }
.site-footer__inner { width: min(1308px, calc(100% - 24px)); min-height: 75px; display: flex; align-items: center; padding: 20px 0; border-top: 1px solid #e0e0e0; }
.site-footer a { color: #5f6671; }
.back-to-top { position: fixed; right: 20px; bottom: 20px; z-index: 15; width: 38px; height: 38px; display: none; border: 0; border-radius: 4px; background: #22a58e; color: #fff; font-size: 22px; cursor: pointer; box-shadow: var(--shadow); }
.back-to-top.is-visible { display: block; }

/* Laravel result-book layout, shared across the three regions. */
.result-book__selector, .result-book__content { padding: 15px; margin-bottom: 20px; border-radius: 4px; background: #fff; box-shadow: var(--shadow); }
.result-book__selector { min-height: 103px; margin-bottom: 27px; text-align: center; }
.result-book__title { margin: 0 0 12px; color: #222; font-size: 16px; font-weight: 400; line-height: 1.4; }
.result-book__form { display: grid; grid-template-columns: 32% minmax(0, 1fr); align-items: center; gap: 0; text-align: left; }
.result-book__form label { font-weight: 700; }
.result-book__form select { width: 100%; height: 35px; padding: 5px 10px; border: 1px solid #ccc; border-radius: 3px; background: #fff; font: inherit; }
.result-book__content { padding: 0; overflow: hidden; }
.result-book__day { margin: 0 0 20px; background: #fff; }
.result-book__day--bac { display: grid; grid-template-columns: minmax(0, 67%) minmax(0, 33%); }
.result-book__prizes, .result-book__loto { min-width: 0; }
.result-book__mb-table, .result-book__loto table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.result-book__mb-table .result-book__prize-label { width: 36px; }
.result-book__mb-table th, .result-book__mb-table td, .result-book__loto th, .result-book__loto td { border: 1px solid #dedede; text-align: center; }
.result-book .result-book__mb-table thead th { height: 31px; padding: 3px; color: #222; background: #fff8ca; }
.result-book__mb-table thead h2 { margin: 0; font-size: 18px; line-height: 1.35; }
.result-book .result-book__mb-table tbody th { width: 36px; padding: 3px; color: #222; background: #fff; font-size: 14px; text-align: left; }
.result-book__mb-table tbody td { padding: 0; }
.result-book__numbers { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); }
.result-book__numbers--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.result-book__numbers--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.result-book__numbers--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.result-book__numbers strong { min-height: 39px; display: grid; place-items: center; border-right: 1px solid #dedede; border-bottom: 1px solid #dedede; font-size: 18px; line-height: 1.2; }
.result-book__numbers strong:nth-last-child(-n+3) { border-bottom: 0; }
.result-book__numbers--4 strong:nth-last-child(-n+4) { border-bottom: 0; }
.result-book__numbers--2 strong:nth-last-child(-n+2) { border-bottom: 0; }
.result-book__numbers--1 strong:last-child { border-bottom: 0; }
.result-book__mb-table .prize-db { background: #fff; }
.result-book__mb-table .prize-db strong { color: #c90000; font-size: 24px; }
.result-book__mb-table .prize-g7 strong { color: #c90000; }
.result-book__loto table { height: 100%; font-size: 14px; }
.result-book .result-book__loto thead th { height: 31px; padding: 3px; background: #fff8ca; color: #222; }
.result-book .result-book__loto tbody th { width: 32px; padding: 2px 4px; background: #fff; color: #222; }
.result-book .result-book__loto tbody td { padding: 2px 4px; color: #222; text-align: center; white-space: normal; font-weight: 700; }
.result-book__loto .is-special { color: #c90000; font-weight: 700; }
.result-book__day--multi { padding: 0 0 14px; border-bottom: 1px solid #dedede; }
.result-book__day-heading { margin: 0; padding: 11px 12px; color: #343b61; font-size: 18px; text-align: center; }
.result-book__day--multi .result-card, .result-book__day--multi .loto-card { margin: 0; border: 0; border-radius: 0; box-shadow: none; }
.result-book__day--multi .result-card__head { display: none; }
.result-book__day--multi .multi-result-table { border-top: 1px solid #dedede; }
.result-book .result-book__day--multi .multi-result-table thead th { padding: 8px 3px; color: #62699c; background: #f2f1ff; text-align: center; }
.result-book .result-book__day--multi .multi-result-table thead th:first-child { width: 46px; }
.result-book .result-book__day--multi .multi-result-table thead th:first-child { font-size: 0; }
.result-book .result-book__day--multi .multi-result-table thead th:first-child, .result-book .result-book__day--multi .multi-result-table tbody th { color: #222; background: #fff; }
.result-book .result-book__day--multi .multi-result-table tbody th { width: 46px; padding: 4px 6px; text-align: left; }
.result-book .result-book__day--multi .multi-result-table td { padding: 0; text-align: center; }
.result-book .result-book__day--multi .multi-result-table td span { padding: 3px 2px; font-size: 21px; }
.result-book .result-book__day--multi .multi-result-table .prize-g8 td span, .result-book .result-book__day--multi .multi-result-table .prize-db td span { color: #c90909; }
.result-book__day--multi .loto-card .xsmb-card__title { display: none; }
.result-book__day--multi .result-filter { border-bottom: 1px solid #dedede; }
.result-book__related { padding: 10px 20px 20px; line-height: 1.8; }
.result-book__related ul { margin: 5px 0; padding-left: 22px; }

/* Vietlott and điện toán pages follow the Laravel three-column shell. */
.game-breadcrumb { min-height: 21px; margin: 0 0 40px; color: #273069; font-size: 13px; }
.game-breadcrumb a { color: #273069; text-decoration: none; }
.game-page { min-width: 0; }
.game-tabs { display: flex; min-height: 34px; margin: 0; border-bottom: 1px solid #e4e4e4; }
.game-tabs a { display: grid; min-height: 34px; padding: 0 10px; place-items: center; border-right: 1px solid #e5e5e5; background: #f7f7f7; color: #252525; font-size: 13px; text-decoration: none; }
.game-tabs a.is-current { background: #fff6d4; font-weight: 700; }
.game-page--vietlott .game-tabs { border: 1px solid #ed595b; border-bottom: 0; border-radius: 4px 4px 0 0; background: #fff; }
.game-card--vietlott { margin: 0 0 30px; padding-bottom: 30px; border: 1px solid #ed595b; border-top: 0; border-radius: 0 0 4px 4px; background: #fff; }
.game-page--vietlott > .game-card--vietlott + .game-card--vietlott { border-top: 1px solid #ed595b; border-radius: 4px; }
.game-page__results .game-card--vietlott { border-top: 1px solid #ed595b; border-radius: 4px; }
.game-card__ribbon { min-height: 47px; display: flex; align-items: center; justify-content: center; gap: 5px; margin: 0; padding: 6px 8px; background: linear-gradient(90deg, #ef5257, #ce081f); color: #fff; font-size: 18px; font-weight: 400; line-height: 1.4; text-align: center; }
.game-card__ribbon a { color: inherit; text-decoration: none; }
.game-card__balls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 9px; }
.game-card__balls--vietlott { min-height: 58px; padding: 7px 8px 3px; gap: 10px; }
.game-card__balls span { display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; font-weight: 700; }
.game-card__balls--vietlott span { width: 48px; height: 48px; color: #fff; font-size: 18px; font-weight: 400; text-shadow: 0 1px 1px rgb(0 0 0 / 25%); }
.game-card__ball-0 { background: linear-gradient(135deg, #59c8f5, #0062bc); }
.game-card__ball-1 { background: linear-gradient(135deg, #f780a9, #b90039); }
.game-card__ball-2 { background: linear-gradient(135deg, #f2d776, #a46e00); }
.game-card__ball-3 { background: linear-gradient(135deg, #9edb60, #167b0e); }
.game-card__ball-4 { background: linear-gradient(135deg, #ec70d7, #9b0083); }
.game-card__ball-5 { background: linear-gradient(135deg, #ffab60, #d34b09); }
.game-card__ball-6 { background: linear-gradient(135deg, #bad1df, #527eaa); }
.game-card__jackpot { min-height: 57px; display: grid; place-content: center; padding: 4px 8px; text-align: center; }
.game-page--vietlott > .game-card--vietlott .game-card__jackpot { margin-bottom: 10px; }
.game-card--power .game-card__jackpot { min-height: 104px; }
.game-page--vietlott > .game-card--power .game-card__jackpot { min-height: 98px; margin-bottom: 16px; }
.game-page__results .game-card--power .game-card__jackpot { margin-bottom: 0; }
.game-card__jackpot p { margin: 1px 0; font-weight: 700; }
.game-card__jackpot strong { color: #e2560a; font-size: 18px; }
.game-card__prizes { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 16px; }
.game-card__prizes th, .game-card__prizes td { height: 41px; padding: 5px 6px; border: 1px solid #e1e1e1; text-align: center; font-weight: 400; }
.game-card__prizes thead th { white-space: nowrap; }
.game-card__prizes th:nth-child(1) { width: 20%; }
.game-card__prizes th:nth-child(2) { width: 29%; }
.game-card__prizes th:nth-child(3) { width: 23%; }
.game-card__prizes th:nth-child(4) { width: 28%; }
.game-card__matches { white-space: nowrap; }
.game-card__matches i { display: inline-block; width: 14px; height: 14px; margin: 0 1px; border: 1px solid #777; border-radius: 50%; vertical-align: middle; }
.game-page__more { display: block; width: 160px; margin: 14px auto 25px; padding: 9px 18px; border: 1px solid #d8d8d8; border-radius: 3px; background: #fff; color: #303030; font: inherit; font-weight: 700; cursor: pointer; }
.game-page__more:disabled { opacity: .7; cursor: wait; }
.game-page__more[data-error]::after { content: attr(data-error); display: block; color: #c90909; font-size: 12px; font-weight: 400; }
.game-page--dientoan .game-tabs { margin-bottom: 0; border: 0; }
.game-page--dientoan .game-tabs a { border: 0; background: #f8f8f8; }
.game-page--dientoan .game-tabs a.is-current { background: #fff4c8; }
.game-card--dientoan { min-height: 104px; margin: 0 0 28px; padding: 12px 10px 10px; border-radius: 4px; background: #fff; text-align: center; }
.game-card--dientoan h2 { margin: 0 0 14px; color: #283b71; font-size: 17px; line-height: 1.35; }
.game-card__balls--orange { gap: 10px; }
.game-card__balls--orange span { min-width: 40px; height: 40px; padding: 0 4px; border: 1px solid #ee9d49; background: linear-gradient(#ffe0c0, #f7a741); color: #222; font-size: 17px; }
.xsmb-route-vietlott .xsmb-top-content, .xsmb-route-mega .xsmb-top-content, .xsmb-route-power .xsmb-top-content { min-height: 0; padding: 15px; font-size: 14px; line-height: 1.7; }
.xsmb-route-vietlott .xsmb-top-content h2, .xsmb-route-mega .xsmb-top-content h2, .xsmb-route-power .xsmb-top-content h2 { margin: 10px 0 8px; color: #23a18b; font-size: 16px; line-height: 1.2; }
.xsmb-route-vietlott .xsmb-top-content p, .xsmb-route-mega .xsmb-top-content p, .xsmb-route-power .xsmb-top-content p { margin: 0 0 10px; }
.xsmb-route-mega .primary-content > .xsmb-bottom-content { width: auto; margin: 16px 0 0; padding: 15px; color: #333; font-size: 14px; line-height: 1.7; box-shadow: 0 1px 3px rgb(0 0 0 / 8%); }
.xsmb-route-mega .primary-content > .xsmb-bottom-content p { margin: 0 0 10px; }

/* Prediction lists retain the Laravel column widths and article rhythm. */
.prediction-route-breadcrumb { min-height: 21px; margin: 0 0 40px; color: #273069; font-size: 13px; }
.prediction-route-breadcrumb a { color: #273069; text-decoration: none; }
.trial-route-breadcrumb { min-height: 21px; margin: 0 0 40px; color: #273069; font-size: 13px; }
.trial-route-breadcrumb a { color: #273069; text-decoration: none; }
.xsmb-route-prediction .xsmb-top-content { min-height: 0; margin: 0 0 16px; padding: 15px; border-radius: 6px; color: #333; font-size: 14px; line-height: 1.7; box-shadow: 0 1px 3px rgb(0 0 0 / 8%); }
.xsmb-route-prediction .xsmb-top-content h2 { margin: 10px 0 8px; color: #23a18b; font-size: 16px; line-height: 1.2; }
.xsmb-route-prediction .xsmb-top-content p { margin: 0 0 10px; }
.xsmb-route-prediction .prediction-tabs, .xsmb-route-prediction_single .prediction-tabs { min-height: 34px; margin: 0; overflow: visible; border-radius: 0; background: transparent; box-shadow: none; }
.xsmb-route-prediction .prediction-tab, .xsmb-route-prediction_single .prediction-tab { flex: 0 0 auto; min-height: 34px; padding: 0 10px; border-right: 1px solid #e5e5e5; background: #f7f7f7; color: #252525; font-size: 13px; font-weight: 400; }
.xsmb-route-prediction .prediction-tab:hover, .xsmb-route-prediction_single .prediction-tab:hover { color: #252525; background: #f2f2f2; }
.xsmb-route-prediction .prediction-tab.active, .xsmb-route-prediction_single .prediction-tab.active { background: #fff6d4; color: #252525; font-weight: 700; }
.xsmb-route-prediction .prediction-tab.active::after, .xsmb-route-prediction_single .prediction-tab.active::after { display: none; }
.xsmb-route-prediction .prediction-list-card { margin: 0 0 30px; overflow: hidden; border-radius: 6px; background: #fff; color: #0a0a0a; font-size: 16px; line-height: 1.5; box-shadow: 0 1px 3px rgb(0 0 0 / 8%); }
.xsmb-route-prediction .prediction-list-title { min-height: 48px; margin: 0; padding: 16px 3px 10px; background: transparent; color: #283b71; font-size: 16px; font-weight: 700; line-height: 1.2; text-align: center; }
.xsmb-route-prediction .prediction-items { padding: 0 5px 10px; }
.xsmb-route-prediction .prediction-item { min-height: 0; margin: 0; padding: 7px 0; border-bottom: 1px solid #eee; color: #0a0a0a; }
.xsmb-route-prediction .prediction-item:last-child { border-bottom: 1px solid #eee; }
.xsmb-route-prediction .prediction-item h3 { margin: 0 0 5px; font-size: 16px; font-weight: 700; line-height: 1.3; }
.xsmb-route-prediction .prediction-item h3 a { color: #283b71; text-decoration: none; }
.xsmb-route-prediction .prediction-item__body::after { display: table; clear: both; content: ""; }
.xsmb-route-prediction .prediction-item__thumb { float: left; width: 120px; height: 67px; margin: 0 5px 0 0; overflow: hidden; border-radius: 0; background: transparent; box-shadow: none; }
.xsmb-route-prediction .prediction-item__thumb img { width: 120px; height: 67px; object-fit: cover; }
.xsmb-route-prediction .prediction-item__excerpt { display: block; margin: 0; overflow: visible; color: #0a0a0a; font-size: 16px; line-height: 24px; -webkit-line-clamp: unset; }
.xsmb-route-prediction .primary-content > .xsmb-bottom-content { width: auto; margin: 16px 0 0; }
.xsmb-route-prediction_single .prediction-article { margin: 0 0 16px; padding: 10px; border-radius: 6px; color: #0a0a0a; font-size: 16px; line-height: 20px; box-shadow: none; }
.xsmb-route-prediction_single .prediction-article > h2 { margin: 0 0 10px; color: #0a0a0a; font-size: 20px; font-weight: 700; line-height: 24px; }
.xsmb-route-prediction_single .prediction-body { color: #0a0a0a; font-size: 16px; line-height: 20px; }
.xsmb-route-prediction_single .prediction-body > :first-child { margin-top: 0; }
.xsmb-route-prediction_single .the-article-content > p { margin: 0 0 16px; line-height: 20px; }
.xsmb-route-prediction_single .the-article-content .the-article-summary { display: inline-block; width: 100%; margin: 15px 0; font-size: 16px; font-weight: 700; line-height: normal; }
.xsmb-route-prediction_single .the-article-content h2 { display: inline-block; margin: 0; color: #0a0a0a; font-size: 24px; font-weight: 700; line-height: normal; }
.xsmb-route-prediction_single .the-article-content > h3 { display: inline-block; width: auto; margin: 0; padding: 0; border: 0; color: #0a0a0a; font-size: 16px; font-weight: 700; line-height: normal; }
.xsmb-route-prediction_single .the-article-content .box { position: relative; margin-bottom: 30px; overflow: hidden; border-radius: 6px; background: #fff; }
.xsmb-route-prediction_single .the-article-content .tit-mien { padding: 16px 3px 10px; text-align: center; }
.xsmb-route-prediction_single .the-article-content .tit-mien h2 { display: inline-block; margin: 0 0 5px; color: #283b71; font-size: 24px; line-height: normal; }
.xsmb-route-prediction_single .the-article-content .sub-title { color: #7367f0; font-size: 14px; }
.xsmb-route-prediction_single .the-article-content table { width: 100%; margin: 0; border: 0; border-collapse: collapse; border-spacing: 0; color: #212529; font-size: 16px; }
.xsmb-route-prediction_single .the-article-content table td,
.xsmb-route-prediction_single .the-article-content table th { padding: 5px; border: 1px solid rgb(30 30 30 / 12%); border-left: 0; background: transparent; }
.xsmb-route-prediction_single .the-article-content .bg_ef { background: #f3f3f3; }
.xsmb-route-prediction_single .the-article-content .kqmb td.txt-giai,
.xsmb-route-prediction_single .the-article-content .one-city td.txt-giai { width: 38px; padding: 8px 2px; font-weight: 700; }
.xsmb-route-prediction_single .the-article-content .kqmb td.v-giai { padding: 0; font-size: 23px; font-weight: 700; text-align: center; }
.xsmb-route-prediction_single .the-article-content .kqmb td.v-giai span[class^="v-g"] { display: inline-block; width: 100%; min-width: 20px; padding: 2px 0; line-height: 1em; }
.xsmb-route-prediction_single .the-article-content .kqmb td.v-giai span[class^="v-g2-"] { width: 50%; }
.xsmb-route-prediction_single .the-article-content .kqmb td.v-giai span[class^="v-g3-"],
.xsmb-route-prediction_single .the-article-content .kqmb td.v-giai span[class^="v-g5-"],
.xsmb-route-prediction_single .the-article-content .kqmb td.v-giai span[class^="v-g6-"] { width: 33.333%; }
.xsmb-route-prediction_single .the-article-content .kqmb td.v-giai span[class^="v-g4-"],
.xsmb-route-prediction_single .the-article-content .kqmb td.v-giai span[class^="v-g7-"] { width: 25%; }
.xsmb-route-prediction_single .the-article-content .kqmb .db td.v-giai span { color: #e80000; font-size: 34px; }
.xsmb-route-prediction_single .the-article-content .kqmb .g7 td.v-giai { color: #e80000; font-size: 27px; }
.xsmb-route-prediction_single .the-article-content .kqmb .db .txt-giai { background: #ea5455; color: #fff; font-size: 16px; }
.xsmb-route-prediction_single .the-article-content .madb span { display: inline-block; padding: 8px 5px; color: #685dd8; font-size: 15px; font-weight: 700; }
.xsmb-route-prediction_single .the-article-content .control-panel { display: none !important; }
.xsmb-route-prediction_single .the-article-content .col-firstlast { height: auto; }
.xsmb-route-prediction_single .the-article-content .firstlast-mb { width: 50%; font-weight: 700; word-break: break-all; }
.xsmb-route-prediction_single .the-article-content .firstlast-mb.fl { float: left; }
.xsmb-route-prediction_single .the-article-content .firstlast-mb.fr { float: right; }
.xsmb-route-prediction_single .the-article-content .firstlast-mb.fl td:last-child,
.xsmb-route-prediction_single .the-article-content .firstlast-mb.fl th:last-child { padding-left: 5px; }
.xsmb-route-prediction_single .the-article-content .firstlast-mb.fr td:first-child,
.xsmb-route-prediction_single .the-article-content .firstlast-mb.fr th:first-child { padding-right: 5px; text-align: center; }
.xsmb-route-prediction_single .the-article-content .clearfix::after { display: block; clear: both; content: ""; }
.xsmb-route-prediction_single .the-article-content table.table_dudoan td,
.xsmb-route-prediction_single .the-article-content table.table_dudoan th { padding: 5px; border: 1px solid #f1f1f1; background: transparent; text-align: left !important; vertical-align: middle !important; }
.xsmb-route-prediction_single .the-article-content .table_dudoan_wrapper h3 { display: inline-block; width: auto; margin: 0; padding: 0; border: 0; color: #0a0a0a; font-size: 16px; line-height: normal; }
.xsmb-route-prediction_single .the-article-content .pascal-header { padding: 5px; background: #ffeca0; color: #000; font-weight: 700; text-align: center; }
.xsmb-route-prediction_single .the-article-content .pascal-body { padding: 10px; text-align: center; }
.xsmb-route-prediction_single .the-article-content .pascal-body p { margin: 0 0 16px; }
.xsmb-route-prediction_single .the-article-content .pascal-table .pascal-number { display: inline-flex; width: 23px; height: 23px; align-items: center; justify-content: center; border: 1px solid #ddd; border-radius: 50%; color: red; font-size: 1.1rem; font-weight: 700; }
.xsmb-route-prediction_single .the-article-content .pascal-result span { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid #ddd; border-radius: 50%; color: red; font-size: 1.5rem; font-weight: 700; }
.xsmb-route-prediction_single .prediction-result-box { margin: 10px 0 20px; }
.xsmb-route-prediction_single .the-article-content .colgiai td { padding: 0; text-align: center; }
.xsmb-route-prediction_single .the-article-content .colgiai tbody > tr:nth-of-type(even) { background: #f3f3f3; }
.xsmb-route-prediction_single .the-article-content .colgiai td > div { display: block; margin: auto; padding: 5px 0; font-size: 19px; font-weight: 700; }
.xsmb-route-prediction_single .the-article-content .colgiai td > div:hover { background: #fff4c3; }
.xsmb-route-prediction_single .the-article-content .colgiai tr td:first-child { width: 7%; padding: 5px 2px; font-size: 16px; font-weight: 700; }
.xsmb-route-prediction_single .the-article-content .colgiai th { font-size: 16px; text-align: center; }
.xsmb-route-prediction_single .the-article-content .colgiai th.first { width: 7%; }
.xsmb-route-prediction_single .the-article-content .coltwocity th:not(.first) { width: 46.5%; }
.xsmb-route-prediction_single .the-article-content .colthreecity th:not(.first) { width: 31%; }
.xsmb-route-prediction_single .the-article-content .colfourcity th:not(.first) { width: 23.25%; }
.xsmb-route-prediction_single .the-article-content .colgiai .gr-yellow th { padding: 8px; background: rgb(115 103 240 / 12%); color: #7367f0; font-size: 14px; line-height: 22px; }
.xsmb-route-prediction_single .the-article-content .colgiai .gr-yellow th a { color: #7367f0; text-decoration: none; }
.xsmb-route-prediction_single .the-article-content .colgiai .g8 div,
.xsmb-route-prediction_single .the-article-content .colgiai .gdb div { color: #e80000; font-size: 24px; }
.xsmb-route-prediction_single .the-article-content .colgiai .gdb div { font-size: 34px; line-height: 1.125em; }
.xsmb-route-prediction_single .the-article-content .colgiai .gdb td:first-child { background: #ea5455; color: #fff; }
.xsmb-route-prediction_single .the-article-content .firstlast-mn { font-weight: 700; }
.xsmb-route-prediction_single .the-article-content .firstlast-mn td,
.xsmb-route-prediction_single .the-article-content .firstlast-mn th { padding: 5px; font-size: 16px; font-weight: 400; text-align: left; }
.xsmb-route-prediction_single .the-article-content .firstlast-mn td:first-child,
.xsmb-route-prediction_single .the-article-content .firstlast-mn th:first-child { width: 7%; font-weight: 700; text-align: center; }
.xsmb-route-prediction_single .the-article-content .firstlast-mn .is-special,
.xsmb-route-prediction_single .the-article-content .firstlast-mb .is-special { color: #e80000; font-weight: 700; }
.xsmb-route-prediction_single .laravel-trial-embed { margin: 0 0 20px; border: 0; background: transparent; box-shadow: none; }
.xsmb-route-prediction_single .laravel-trial-action { margin: 0 0 20px !important; text-align: center; }
.xsmb-route-prediction_single .laravel-trial-action .trial-button { width: 200px; min-height: 38px; padding: 6px 12px; border: 1px solid #dc3545; border-radius: 4px; background: #dc3545; color: #fff; font-size: 14px; font-weight: 400; line-height: 1.5; }
.xsmb-route-prediction_single .laravel-trial-action .trial-button:hover { border-color: #c82333; background: #c82333; color: #fff; }
.xsmb-route-prediction_single .laravel-trial-action .trial-button[aria-disabled="true"] { cursor: default; opacity: 1; }
.xsmb-route-prediction_single .laravel-trial-action .live-cell-spinner { margin-left: 3px; color: #fff; font-size: inherit; }
.xsmb-route-prediction_single .laravel-trial-table .live-cell-spinner { font-size: inherit; }
.xsmb-route-prediction_single .laravel-trial-table .g8 .live-cell-spinner,
.xsmb-route-prediction_single .laravel-trial-table .gdb .live-cell-spinner,
.xsmb-route-prediction_single .laravel-trial-table .db .live-cell-spinner,
.xsmb-route-prediction_single .laravel-trial-table .g7 .live-cell-spinner { color: #e80000; }
.xsmb-route-prediction_single .prediction-more p { margin: 0 0 16px; }

/* Quay thử keeps Laravel's box order while reusing the WordPress randomizer. */
.xsmb-route-trial .xsmb-top-content { min-height: 0; margin: 0 0 16px; padding: 15px; border-radius: 6px; color: #333; font-size: 14px; line-height: 1.7; box-shadow: 0 1px 3px rgb(0 0 0 / 8%); }
.xsmb-route-trial .xsmb-top-content h2,
.xsmb-route-trial .xsmb-top-content h3 { margin: 10px 0 8px; color: #23a18b; font-size: 16px; font-weight: 500; line-height: 1.2; }
.xsmb-route-trial .xsmb-top-content p { margin: 0 0 10px; }
.xsmb-route-trial .trial-shell { margin: 0 0 30px; overflow: hidden; border-radius: 6px; background: #fff; }
.xsmb-route-trial .trial-tabs { min-height: 34px; display: flex; margin: 0; overflow: visible; border-radius: 0; background: transparent; box-shadow: none; }
.xsmb-route-trial .trial-tabs a { min-height: 34px; display: flex; flex: 0 0 auto; align-items: center; padding: 0 10px; border-right: 1px solid #e5e5e5; background: #f7f7f7; color: #252525; font-size: 13px; font-weight: 400; text-decoration: none; }
.xsmb-route-trial .trial-tabs a:hover { color: #252525; background: #f2f2f2; }
.xsmb-route-trial .trial-tabs a.active { color: #252525; background: #fff2bc; font-weight: 700; }
.xsmb-route-trial .trial-tool { margin: 0 0 30px; overflow: hidden; border-radius: 0; box-shadow: none; }
.xsmb-route-trial .trial-tool__head { padding: 0; border: 0; border-radius: 0; text-align: center; }
.xsmb-route-trial .trial-tool__head h2 { margin: 16px 3px 15px; padding: 0; color: #283b71; font-size: 18px; font-weight: 700; line-height: 21.6px; }
.xsmb-route-trial .trial-controls { display: flex; flex-wrap: wrap; gap: 8px 0; padding: 5px; background: #fff2bc; }
.xsmb-route-trial .trial-controls .trial-region-select { width: 100%; height: 40px; flex: 1 0 100%; padding: 5px; border: 1px solid #ddd; border-radius: 4px; background: #fff; font-size: 16px; }
.xsmb-route-trial .trial-controls .trial-button { min-width: 83px; min-height: 34px; margin: 0 auto; padding: 7px 14px; border: 0; border-radius: 4px; background: #e84c3d; color: #fff; font-size: 14px; font-weight: 400; }
.xsmb-route-trial .trial-controls .trial-button:hover { background: #d43c2f; }
.xsmb-route-trial .trial-result { margin: 0; border: 0; }
.xsmb-route-trial .trial-result table,
.xsmb-route-trial .trial-loto table { width: 100%; margin: 0; border: 0; border-collapse: collapse; border-spacing: 0; color: #212529; font-size: 16px; table-layout: fixed; }
.xsmb-route-trial .trial-result table td,
.xsmb-route-trial .trial-result table th,
.xsmb-route-trial .trial-loto table td,
.xsmb-route-trial .trial-loto table th { padding: 5px; border: 1px solid rgb(30 30 30 / 12%); border-left: 0; background: transparent; }
.xsmb-route-trial .trial-result .bg_ef { background: #f3f3f3; }
.xsmb-route-trial .trial-result .kqmb td.txt-giai { width: 38px; padding: 8px 2px; font-size: 16px; font-weight: 700; text-align: center; }
.xsmb-route-trial .trial-result .kqmb td.v-giai { padding: 0; font-size: 23px; font-weight: 700; text-align: center; }
.xsmb-route-trial .trial-result .kqmb td.v-giai span[class^="v-g"] { display: inline-flex; min-height: 34px; width: 100%; align-items: center; justify-content: center; padding: 2px 0; line-height: 1em; }
.xsmb-route-trial .trial-result .kqmb td.v-giai span[class^="v-g2-"] { width: 50%; }
.xsmb-route-trial .trial-result .kqmb td.v-giai span[class^="v-g3-"],
.xsmb-route-trial .trial-result .kqmb td.v-giai span[class^="v-g5-"],
.xsmb-route-trial .trial-result .kqmb td.v-giai span[class^="v-g6-"] { width: 33.333%; }
.xsmb-route-trial .trial-result .kqmb td.v-giai span[class^="v-g4-"],
.xsmb-route-trial .trial-result .kqmb td.v-giai span[class^="v-g7-"] { width: 25%; }
.xsmb-route-trial .trial-result .kqmb .db .txt-giai { background: #ea5455; color: #fff; }
.xsmb-route-trial .trial-result .kqmb .db .trial-number { color: #e80000; font-size: 34px; }
.xsmb-route-trial .trial-result .kqmb .g7 .trial-number { color: #e80000; font-size: 27px; }
.xsmb-route-trial .trial-result .colgiai td { padding: 0; text-align: center; }
.xsmb-route-trial .trial-result .colgiai tbody > tr:nth-of-type(even) { background: #f3f3f3; }
.xsmb-route-trial .trial-result .colgiai td > div { display: block; margin: auto; padding: 5px 0; font-size: 19px; font-weight: 700; }
.xsmb-route-trial .trial-result .colgiai tr td:first-child { width: 7%; padding: 5px 2px; font-size: 16px; font-weight: 700; }
.xsmb-route-trial .trial-result .colgiai th { font-size: 16px; text-align: center; }
.xsmb-route-trial .trial-result .colgiai th.first { width: 7%; }
.xsmb-route-trial .trial-result .coltwocity th:not(.first) { width: 46.5%; }
.xsmb-route-trial .trial-result .colthreecity th:not(.first) { width: 31%; }
.xsmb-route-trial .trial-result .colfourcity th:not(.first) { width: 23.25%; }
.xsmb-route-trial .trial-result .gr-yellow th { padding: 8px; background: rgb(115 103 240 / 12%); color: #7367f0; font-size: 14px; line-height: 22px; }
.xsmb-route-trial .trial-result .colgiai .g8 div,
.xsmb-route-trial .trial-result .colgiai .gdb div { color: #e80000; font-size: 24px; }
.xsmb-route-trial .trial-result .colgiai .gdb div { font-size: 34px; line-height: 1.125em; }
.xsmb-route-trial .trial-result .colgiai .gdb td:first-child { background: #ea5455; color: #fff; }
.xsmb-route-trial .trial-loto .col-firstlast { height: auto; overflow: hidden; }
.xsmb-route-trial .trial-loto .firstlast-mb { width: 50%; font-weight: 700; word-break: break-all; }
.xsmb-route-trial .trial-loto .firstlast-mb.fl { float: left; }
.xsmb-route-trial .trial-loto .firstlast-mb.fr { float: right; }
.xsmb-route-trial .trial-loto .firstlast-mn td,
.xsmb-route-trial .trial-loto .firstlast-mn th { padding: 5px; font-size: 16px; text-align: left; }
.xsmb-route-trial .trial-loto .firstlast-mn td:first-child,
.xsmb-route-trial .trial-loto .firstlast-mn th:first-child { width: 7%; font-weight: 700; text-align: center; }
.xsmb-route-trial .trial-button .live-cell-spinner { margin-left: 3px; color: #fff; font-size: inherit; }
.xsmb-route-trial .laravel-trial-table .live-cell-spinner { font-size: inherit; }
.xsmb-route-trial .trial-result .g8 .live-cell-spinner,
.xsmb-route-trial .trial-result .gdb .live-cell-spinner,
.xsmb-route-trial .trial-result .db .live-cell-spinner,
.xsmb-route-trial .trial-result .g7 .live-cell-spinner { color: #e80000; }
.xsmb-route-trial .trial-loto .is-special { color: #e80000; font-weight: 700; }
.xsmb-route-trial .trial-tool[data-trial-region="trung"]::after,
.xsmb-route-trial .trial-tool[data-trial-region="nam"]::after { display: block; height: 30px; content: ''; }
.xsmb-route-trial .trial-related { margin: 10px 0; padding: 10px; border: 1px solid #ddd; border-radius: 3px; background: #fff; color: #000; line-height: 1.5; box-shadow: 0 2px 4px rgb(0 0 0 / 12%); }
.xsmb-route-trial .trial-related__title { font-weight: 700; }
.xsmb-route-trial .trial-related ul { margin: 0; padding: 0; list-style: disc inside; }
.xsmb-route-trial .trial-related li { padding: 3px 0; }
.xsmb-route-trial .trial-related a { color: #0505a7; text-decoration: underline; }

/* Lô gan follows the Laravel three-column page while calculations stay server-side and cacheable. */
.lo-gan-route-breadcrumb { min-height: 21px; margin: 0 0 40px; color: #273069; font-size: 13px; }
.lo-gan-route-breadcrumb a { color: #273069; text-decoration: none; }
.soi-cau-breadcrumb { min-height: 21px; margin: 0 0 40px; color: #273069; font-size: 13px; }
.soi-cau-breadcrumb a { color: #273069; text-decoration: none; }
.soi-cau-page { color: #111; font-size: 16px; }
.soi-cau-box { background: #fff; border-radius: 4px; margin-bottom: 30px; overflow: hidden; }
.soi-cau-control { padding-bottom: 6px; }
.soi-cau-tabs { display: flex; flex-wrap: wrap; align-items: stretch; border-bottom: 5px solid #fff0bd; }
.soi-cau-tabs a { padding: 11px 8px; color: #222; background: #f8f8f8; border-right: 1px solid #eee; text-decoration: none; font-size: 14px; }
.soi-cau-tabs a.active { background: #fff4d4; font-weight: 700; }
.soi-cau-control h2, .soi-cau-output h2 { margin: 6px 0 12px; text-align: center; color: #27305e; font-size: 19px; line-height: 1.35; }
.soi-cau-form { display: grid; grid-template-columns: 31% minmax(0, 1fr); align-items: center; gap: 10px 12px; padding: 0 5px; }
.soi-cau-form label { font-weight: 700; }
.soi-cau-form select, .soi-cau-form input { width: 100%; height: 37px; border: 1px solid #d8dce2; border-radius: 5px; padding: 5px 10px; color: #222; background: #fff; font: inherit; }
.soi-cau-form select:disabled { opacity: 1; }
.soi-cau-form__submit { grid-column: 1 / -1; text-align: center; }
.soi-cau-form__submit button { border: 0; border-radius: 4px; padding: 8px 12px; color: #fff; background: #d95445; font-size: 14px; cursor: pointer; }
.soi-cau-output { padding: 10px 0; }
.soi-cau-output h2 { color: #151515; font-size: 16px; margin: 2px 0 12px; }
.soi-cau-grid-scroll { overflow-x: auto; }
.soi-cau-grid { width: 100%; min-width: 580px; border-collapse: collapse; table-layout: fixed; text-align: center; }
.soi-cau-grid th, .soi-cau-grid td { border: 1px solid #d5d8dc; height: 52px; }
.soi-cau-grid th { width: 65px; background: #e0f3ff; font-size: 16px; }
.soi-cau-grid td.invalid { background: #e9eaec; }
.soi-cau-grid td.valid { background: #fff; }
.soi-cau-grid td.valid.red { background: #f00; }
.soi-cau-grid td.valid.green { background: #ff5c00; }
.soi-cau-grid td.valid button { display: block; width: 100%; height: 100%; border: 0; color: inherit; background: transparent; cursor: pointer; }
.soi-cau-grid td.valid.red button, .soi-cau-grid td.valid.green button { color: #fff; }
.soi-cau-grid td.valid button strong, .soi-cau-grid td.valid button small { display: block; }
.soi-cau-grid td.valid button strong { font-size: 17px; }
.soi-cau-grid td.valid button small { margin-top: 3px; font-size: 12px; font-style: italic; }
.soi-cau-grid td.valid button.is-active { background: #ffe600; color: #111; }
.soi-cau-note { margin: 0 5px 18px; padding: 8px; border: 1px solid #ddd; background: #fafafa; font-size: 14px; line-height: 1.5; }
.soi-cau-note strong { color: #e34b35; }
.soi-cau-draw { margin: 16px 0; border: 1px solid #ddd; }
.soi-cau-draw h3 { margin: 0; padding: 9px; color: #27305e; background: #eee; text-align: center; font-size: 16px; }
.soi-cau-draw table { width: 100%; border-collapse: collapse; }
.soi-cau-draw th, .soi-cau-draw td { border: 1px solid #ddd; padding: 6px; }
.soi-cau-draw th { width: 50px; }
.soi-cau-draw__values { text-align: center; }
.soi-cau-draw__prize { display: inline-block; min-width: 22%; padding: 3px 5px; font-weight: 700; font-size: 19px; }
.soi-cau-draw__prize.is-hit { color: #d82b28; background: #fff3aa; }
.soi-cau-digit.is-cau-position { background: #1749e0; color: #fff; }
.soi-cau-draw.is-hidden { display: none; }
.soi-cau-draw h4 { margin: 0; padding: 6px; background: #f5f5f5; font-size: 14px; text-align: center; }
.soi-cau-loto { table-layout: fixed; text-align: center; }
.soi-cau-loto td { padding: 4px 1px; font-weight: 700; }
.region-board-kicker { display: inline-block; margin: 1px 0 0; padding: 2px 4px; color: #5d5000; background: #fff7bd; font-size: 16px; }
.news-list-card { overflow: hidden; margin-bottom: 20px; background: #fff; border-radius: 4px; box-shadow: var(--shadow); }
.news-list-card > h2 { margin: 0; padding: 12px 8px; color: #273069; text-align: center; font-size: 19px; }
.news-list-card ul { margin: 0; padding: 0 8px; list-style: none; }
.news-list-card li { padding: 0 0 9px; border-bottom: 1px dashed #ddd; }
.news-list-card li:last-child { border-bottom: 0; }
.news-list-card h3 { margin: 0 0 6px; font-size: 16px; line-height: 1.3; }
.news-list-card h3 a { color: #121c76; }
.news-list-item { display: flex; gap: 7px; align-items: flex-start; }
.news-list-item img { display: block; width: 120px; height: 67px; object-fit: cover; }
.news-list-item p { margin: 0; line-height: 1.45; }
.news-detail-card { overflow: hidden; padding: 10px; border-radius: 4px; background: #fff; box-shadow: var(--shadow); }
.news-detail-card > h2 { margin: 0 0 8px; color: #111; font-size: 20px; line-height: 1.3; }
.news-detail-date { margin: 0 0 16px; color: #aaa; font-size: 16px; }
.news-detail-content { margin: 0; color: #111; font-size: 16px; line-height: 1.45; }
.news-detail-content > :first-child { margin-top: 0; }
.news-detail-content img { max-width: 100%; height: auto; }
.news-detail-more { margin-top: 12px; }
.news-detail-more p { margin: 0 0 10px; }
.news-detail-tools { overflow: hidden; margin: 18px -10px -10px; border-radius: 0 0 4px 4px; }
.news-detail-tools h3 { margin: 0; padding: 12px 8px; background: var(--primary); color: #fff; font-size: 18px; text-align: center; }
.news-detail-tools ul { margin: 0; padding: 0 10px; list-style: none; }
.news-detail-tools li { border-bottom: 1px solid #eee; }
.news-detail-tools a { display: block; padding: 10px 0; color: #121c76; }
@media (max-width: 700px) { .soi-cau-breadcrumb { margin: 0 8px 15px; } .soi-cau-form { grid-template-columns: 1fr; } .soi-cau-form__submit { grid-column: auto; } .soi-cau-tabs a { font-size: 12px; } }
.xsmb-route-lo_gan .primary-content > .xsmb-top-content { min-height: 0; margin: 0 0 16px; padding: 15px; font-size: 14px; line-height: 1.7; }
.xsmb-route-lo_gan .lo-gan-tabs { min-height: 34px; display: flex; margin: 0; overflow: visible; background: transparent; font-size: 13px; }
.xsmb-route-lo_gan .lo-gan-tabs a { min-height: 34px; display: flex; align-items: center; margin-right: 10px; padding: 5px; border-radius: 5px 5px 0 0; background: #f3f3f3; color: #252525; line-height: 24px; text-decoration: none; }
.xsmb-route-lo_gan .lo-gan-tabs a.active { background: #fff2bc; color: #333; font-weight: 700; }
.xsmb-route-lo_gan .lo-gan-box { position: relative; margin: 0 0 30px; overflow: hidden; border-radius: 6px; background: #fff; box-shadow: none; }
.xsmb-route-lo_gan .lo-gan-title { margin: 0; padding: 16px 3px 10px; color: #0a0a0a; font-size: 16px; font-weight: 700; line-height: 19.2px; text-align: center; }
.xsmb-route-lo_gan .lo-gan-title strong { color: #2d3483; font-size: 18px; }
.xsmb-route-lo_gan .lo-gan-title a { color: #0a0a0a; text-decoration: underline; }
.xsmb-route-lo_gan .lo-gan-form { padding: 5px; overflow: auto; color: #0a0a0a; font-size: 16px; line-height: 24px; }
.xsmb-route-lo_gan .lo-gan-field { min-height: 0; margin-bottom: 10px; overflow: hidden; }
.xsmb-route-lo_gan .lo-gan-field label { width: 30%; float: left; margin: 0; padding-top: 3px; color: #0a0a0a; font-weight: 700; line-height: 24px; text-align: left; }
.xsmb-route-lo_gan .lo-gan-field select,
.xsmb-route-lo_gan .lo-gan-field p { width: calc(70% - 16px); float: right; }
.xsmb-route-lo_gan .lo-gan-field select { height: 38px; padding: 6px 12px; border: 1px solid #d8d8d8; border-radius: 5px; background: #fff; color: #555; font: inherit; }
.xsmb-route-lo_gan .lo-gan-field p { margin: 0; color: #0a0a0a; line-height: 24px; }
.xsmb-route-lo_gan .lo-gan-submit { clear: both; text-align: center; }
.xsmb-route-lo_gan .lo-gan-submit button { width: auto; height: 34px; min-height: 0; padding: 5px 14px; border: 0; border-radius: 4px; background: #dd4b39; color: #fff; font: inherit; cursor: pointer; }
.xsmb-route-lo_gan .lo-gan-table { width: 100%; margin: 0; border: 0; border-collapse: collapse; border-spacing: 0; color: #0a0a0a; font-size: 16px; }
.xsmb-route-lo_gan .lo-gan-table th,
.xsmb-route-lo_gan .lo-gan-table td { height: 35px; padding: 5px; border: 1px solid rgb(30 30 30 / 12%); border-left: 0; line-height: 24px; text-align: center; }
.xsmb-route-lo_gan .lo-gan-table th { background: #f3f3f3; font-weight: 700; }
.xsmb-route-lo_gan .lo-gan-table tbody td { height: 38px; }
.xsmb-route-lo_gan .lo-gan-table tbody tr:hover td { background: #fff4c3; }
.xsmb-route-lo_gan .lo-gan-table td strong { font-size: 18px; }
.xsmb-route-lo_gan .lo-gan-number { color: #e80000; font-size: 18px; font-weight: 700; }
.xsmb-route-lo_gan .lo-gan-date { color: #7367f0; font-size: 14px; }
.xsmb-route-lo_gan .lo-gan-table-scroll { width: 100%; overflow-x: auto; }
.xsmb-route-lo_gan > .xsmb-bottom-content,
.xsmb-route-lo_gan .site-main > .xsmb-bottom-content { width: calc(50% - 5px); margin: 16px 0 0 calc(25% + 2px); padding: 15px; border-radius: 4px; color: #0a0a0a; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 8%); font-size: 14px; line-height: 1.7; }
.xsmb-route-lo_gan .xsmb-bottom-content h2 { margin: 10px 0 8px; color: #0a0a0a; font-size: 16px; line-height: 19.2px; }
.xsmb-route-lo_gan .xsmb-bottom-content p { margin: 0 0 10px; font-size: 14px; line-height: 1.7; }

@media (max-width: 767px) {
  .lo-gan-route-breadcrumb { margin: 0 8px 15px; }
  .xsmb-route-lo_gan .lo-gan-field label { width: 100%; float: none; display: block; margin-bottom: 4px; }
  .xsmb-route-lo_gan .lo-gan-field select,
  .xsmb-route-lo_gan .lo-gan-field p { width: 100%; float: none; }
  .xsmb-route-lo_gan .lo-gan-field { margin-bottom: 10px; }
  .xsmb-route-lo_gan .lo-gan-table { min-width: 540px; }
  .xsmb-route-lo_gan > .xsmb-bottom-content,
  .xsmb-route-lo_gan .site-main > .xsmb-bottom-content { width: auto; margin: 16px 0 0; }
}

@media (max-width: 767px) {
  .game-breadcrumb { margin: 0 8px 15px; }
  .prediction-route-breadcrumb { margin: 0 8px 15px; }
  .trial-route-breadcrumb { margin: 0 8px 15px; }
  .game-card__ribbon { font-size: 15px; }
  .game-card__balls--vietlott { gap: 5px; }
  .game-card__balls--vietlott span { width: 38px; height: 38px; font-size: 14px; }
  .game-card__prizes { font-size: 11px; }
  .game-card__prizes th, .game-card__prizes td { padding: 4px 2px; }
  .game-card__matches i { width: 8px; height: 8px; margin: 0; }
}

@media (max-width: 767px) {
  .result-book__selector { padding: 12px 8px; }
  .result-book__title { font-size: 17px; }
  .result-book__day--bac { grid-template-columns: minmax(0, 1fr); }
  .result-book__loto table { height: auto; }
  .result-book__numbers strong { font-size: 17px; }
}

@media (max-width: 1199px) {
  .site-main { max-width: 1024px; }
  .content-layout { grid-template-columns: 220px minmax(0, 1fr) 220px; gap: 14px; }
  .content-layout--wide { grid-template-columns: minmax(0, 1fr) 220px; }
  .site-nav__inner { overflow-x: auto; }
  .site-nav__inner > .nav-link, .nav-item > .nav-link { padding: 0 7px; font-size: 13px; }
}
@media (max-width: 900px) {
  .content-layout { grid-template-columns: minmax(0, 1fr) 260px; }
  .site-sidebar--left { display: none; }
  .content-layout--wide { grid-template-columns: minmax(0, 1fr) 260px; }
}
@media (max-width: 767px) {
  .site-header__heading { padding-right: 50px; padding-left: 50px; font-size: 11px; }
  .site-header__inner { height: 70px; }
  .brand img { width: min(300px, calc(100vw - 80px)); height: 60px; }
  .nav-toggle { display: block; top: 39px; right: 10px; }
  .site-nav { position: fixed; top: 0; left: 0; z-index: 50; width: min(85%, 340px); height: 100vh; margin-top: 0; border-radius: 0 12px 12px 0; background: #fff; box-shadow: 0 0 12px rgb(0 0 0 / 20%); }
  .site-nav__inner { display: grid; width: 100%; min-height: 0; padding: 64px 0 20px; border-radius: 0; overflow-y: auto; box-shadow: none; }
  .site-nav__inner > .nav-link, .nav-item > .nav-link { min-height: 45px; padding: 0 20px; font-size: 14px; }
  .nav-item { grid-template-columns: minmax(0, 1fr) 46px; }
  .nav-dropdown-toggle { display: block; margin: 0; }
  .site-nav .nav-link--home { border-radius: 0; justify-content: flex-start; }
  .site-main { width: min(650px, 100%); margin-top: 12px; padding: 0 6px; }
  .content-layout, .content-layout--wide { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .primary-content { order: 1; }
  .site-sidebar--right { order: 2; }
  .home-layout .xsmb-top-content { min-height: 0; }
  .xsmb-region-page .xsmb-top-content { min-height: 0; }
  .xsmb-bottom-content { width: auto; margin: 0 0 15px; }
}
@media (max-width: 520px) {
  body { font-size: 14px; }
  .site-main { width: 100%; padding: 0 3px; }
  .content-layout > * { margin: 0; }
  .home-layout .result-card { border-radius: 4px; }
  .home-layout .result-card__head h2 { font-size: 17px; }
  .home-layout .result-table th { width: 37px; font-size: 13px; }
  .home-layout .result-table td span { font-size: 17px; }
  .home-layout .result-table .prize-db td span { font-size: 24px; }
  .home-layout .multi-result-table { min-width: 460px; }
  .home-layout .multi-result-table td span { font-size: 17px; }
  .home-layout .result-filter { min-height: 65px; padding: 8px 12px; flex-direction: row; align-items: center; }
  .home-layout .result-filter__modes { gap: 12px; font-size: 12px; }
  .home-layout .result-filter__modes label { gap: 3px; }
  .home-layout .result-zoom { font-size: 12px; }
  .home-related { margin-top: 20px; }
  .site-footer__inner { min-height: 65px; }
}

.dreams-page { background: #fff; padding: 10px; margin-bottom: 20px; }
.dreams-page h2 { margin: 0 0 20px; padding: 3px 0; text-align: center; color: #263669; font-size: 18px; line-height: 1.5; }
.dreams-page__search { display: grid; grid-template-columns: minmax(0, 2fr) minmax(135px, 1fr); gap: 16px; padding: 0 10px 8px; }
.dreams-page__search input { width: 100%; min-width: 0; height: 36px; padding: 6px 20px; border: 1px solid #c9cdd3; border-radius: 4px; font: inherit; }
.dreams-page__search button { min-height: 35px; border: 1px solid #d24a3c; border-radius: 4px; background: #df4d3e; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.dreams-page__search button:disabled { opacity: .6; cursor: wait; }
.dreams-page__table-wrap { overflow-x: auto; }
.dreams-page__table { width: 100%; border-collapse: collapse; text-align: center; }
.dreams-page__table th, .dreams-page__table td { padding: 6px 8px; border: 1px solid #e2e2e2; line-height: 1.45; }
.dreams-page__table th { background: #f5f5f5; font-weight: 700; }
.dreams-page__table th:first-child, .dreams-page__table td:first-child { width: 75px; }
.dreams-page__table th:last-child, .dreams-page__table td:last-child { width: 41%; }
.dreams-page__table td:last-child { font-weight: 700; color: #111; }
.dreams-page__empty { padding: 18px; text-align: center; }
.dreams-page__pagination { margin: 18px auto 5px; }
.dreams-page__pagination ul.page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.dreams-page__pagination a, .dreams-page__pagination span { display: inline-block; padding: 6px 10px; border: 1px solid #ddd; color: #1c3170; text-decoration: none; }
.dreams-page__pagination .current { background: #263669; border-color: #263669; color: #fff; }
@media (max-width: 520px) { .dreams-page__search { grid-template-columns: minmax(0, 1fr); gap: 8px; } .dreams-page__table th, .dreams-page__table td { padding: 5px 4px; font-size: 13px; } }

.vip-page, .vip-detail { background: #fff; padding: 10px; margin-bottom: 20px; }
.vip-page > h2 { margin: 0 0 10px; color: #263669; text-align: center; font-size: 18px; line-height: 1.4; }
.vip-page__list { margin: 0; padding: 0; list-style: none; }
.vip-page__list li { min-height: 88px; padding: 6px 0 10px; border-bottom: 1px dashed #dedede; overflow: hidden; }
.vip-page__list h3 { margin: 0 0 4px; font-size: 16px; line-height: 1.3; }
.vip-page__list h3 a { color: #122c70; text-decoration: none; }
.vip-page__list h3 a:hover { text-decoration: underline; }
.vip-page__image { float: left; width: 120px; height: 67px; margin: 0 6px 3px 0; }
.vip-page__image img { display: block; width: 120px; height: 67px; object-fit: cover; }
.vip-page__list p { margin: 0; line-height: 1.45; }
.vip-page__empty { padding: 15px; text-align: center; }
.vip-detail h2 { margin: 0 0 12px; font-size: 21px; line-height: 1.4; }
.vip-detail__meta { display: flex; flex-direction: column; gap: 0; margin-bottom: 15px; color: #666; font-size: 14px; }
.vip-detail__content { overflow-wrap: anywhere; }
.vip-detail__content img { max-width: 100%; height: auto; }
.vip-detail__links { margin-top: 20px; }
.vip-detail__links h3 { padding: 10px; background: #26a28c; color: #fff; font-size: 17px; }
.vip-detail__links ul { margin: 0; padding: 0 20px 10px; }
.vip-detail__links li { padding: 4px 0; }

.rss-page { background: #fff; padding: 16px; margin-bottom: 20px; box-shadow: 0 2px 8px rgb(0 0 0 / 12%); }
.rss-page h2 { margin: 0 0 5px; text-align: center; font-size: 36px; line-height: 1.4; }
.rss-page h3 { margin: 0; padding: 5px 0; font-size: 16px; font-weight: 500; }
.rss-page p { margin: 0; padding: 5px 0; line-height: 1.4; }
.rss-page__feeds { margin: 16px 0; }
.rss-page__feeds > div { display: grid; grid-template-columns: minmax(0, 1fr) 150px; border-bottom: 1px solid #eaeaea; text-align: center; }
.rss-page__feeds a, .rss-page__feeds span { padding: 12px 3px; }
.rss-page__feeds a { color: #0029ad; text-decoration: none; }
.rss-page__feeds a:hover { color: #f00000; }
.rss-page__feeds span { color: #f5821f; font-size: 12px; font-weight: 800; }
@media (max-width: 520px) { .rss-page h2 { font-size: 25px; } .rss-page__feeds > div { grid-template-columns: minmax(0, 1fr) 60px; } }
