/* Lokhung247 Premium: giao diện sáng, tiêu đề đỏ. */
:root {
	--red: #d4101c;
	--red-d: #b30d17;
	--red-l: #fdecee;
	--ink: #1f2430;
	--muted: #6b7280;
	--line: #e6e8ec;
	--bg: #f4f5f7;
	--card: #fff;
	--orange: #e8541f;
	--blue: #1f74c9;
	--gold: #f5b820;
	--r: 8px;
	--shadow: 0 1px 2px rgba(20, 24, 40, .06), 0 4px 14px rgba(20, 24, 40, .05);
	--font: "Be Vietnam Pro", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 var(--font); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid #1f74c9; outline-offset: 2px; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
.lk-ico { flex: none; vertical-align: middle; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; left: 8px; top: 8px; z-index: 100; width: auto; height: auto; margin: 0; padding: 10px 14px; clip: auto; background: #fff; color: var(--red); border-radius: 6px; }
.lk-wrap { width: min(1432px, 100% - clamp(32px, 6.8vw, 104px)); margin-inline: auto; }
.lk-main { padding-bottom: 32px; }

/* Header */
.lk-header { background: #fff; }
.lk-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; padding-block: 8px; }
.lk-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.lk-brand:hover { text-decoration: none; }
.lk-brand__mark, .lk-brand__img { width: 64px; height: 64px; object-fit: contain; }
.lk-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.lk-brand__name { font-size: 30px; font-weight: 800; letter-spacing: -.01em; }
.lk-brand__num { color: var(--red); }
.lk-brand__tag { margin-top: 4px; font-size: 14px; color: #3b4150; }
.lk-now { display: flex; align-items: center; gap: 28px; color: #374151; font-size: 15px; }
.lk-now__item { display: inline-flex; align-items: center; gap: 8px; }
.lk-now__item .lk-ico { color: #4b5563; }

.lk-nav { background: linear-gradient(#d8121e, #c20f1b); color: #fff; }
.lk-nav .lk-wrap { position: relative; }
.lk-nav__toggle { display: none; align-items: center; gap: 8px; width: 100%; padding: 12px 4px; background: none; border: 0; color: #fff; font: 600 16px var(--font); cursor: pointer; }
.lk-menu { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
.lk-menu > li { position: relative; }
.lk-menu a { display: flex; align-items: center; gap: 8px; padding: 14px 20px; color: #fff; font-weight: 600; white-space: nowrap; }
.lk-menu a:hover { text-decoration: none; background: rgba(255, 255, 255, .12); }
.lk-menu > li:first-child > a { padding-left: 16px; }
.lk-menu .current-menu-item > a, .lk-menu .current_page_item > a { background: rgba(255, 255, 255, .16); }
.lk-caret { display: inline-flex; margin-left: -2px; }
.lk-menu .sub-menu { position: absolute; left: 0; top: 100%; z-index: 40; min-width: 220px; margin: 0; padding: 6px 0; list-style: none; background: #fff; border-radius: 0 0 var(--r) var(--r); box-shadow: var(--shadow); display: none; }
.lk-menu li:hover > .sub-menu, .lk-menu li:focus-within > .sub-menu, .lk-menu li.is-open > .sub-menu { display: block; }
.lk-menu .sub-menu a { color: var(--ink); padding: 10px 18px; font-weight: 500; white-space: normal; }
.lk-menu .sub-menu a:hover { background: var(--red-l); color: var(--red); }

/* Banner */
.lk-hero { position: relative; display: flex; align-items: center; min-height: 140px; margin-top: 14px; overflow: hidden; border-radius: var(--r); color: #fff; background:
	repeating-linear-gradient(115deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 26px),
	linear-gradient(100deg, #b50d19, #dc141f 55%, #c30f1b); }
.lk-hero__txt { position: relative; z-index: 1; padding: 22px 32px; }
.lk-hero h1 { margin: 0; font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: .01em; }
.lk-hero p { margin: 4px 0 12px; font-size: clamp(15px, 1.6vw, 19px); }
.lk-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; background: #fff; color: var(--red); border-radius: 999px; font-size: 14px; font-weight: 600; }
.lk-hero__art { position: absolute; right: 0; top: 0; height: 100%; width: auto; max-width: 55%; }

/* Lưới chính */
.lk-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 16px; margin-top: 16px; align-items: start; }
.lk-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.lk-card__title { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 19px; font-weight: 700; }
.lk-card__title .lk-ico { color: var(--red); }
.lk-side { display: grid; gap: 16px; min-width: 0; }
.lk-side > .lk-card { padding: 18px; }

/* Khối kết quả */
.lk-board { padding: 18px; }
.lk-board__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.lk-board__head h2 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 22px; font-weight: 700; }
.lk-board__head h2 .lk-ico { color: var(--red); }
.lk-datenav { display: flex; align-items: center; gap: 8px; }
.lk-datepill { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: 14px; color: #374151; }
.lk-iconbtn { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: #374151; }
.lk-iconbtn:hover { background: var(--red-l); color: var(--red); text-decoration: none; }
.lk-regions { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; align-items: start; }
.lk-board__more { margin: 14px 0 0; text-align: right; font-weight: 600; }
.lk-board__more a { display: inline-flex; align-items: center; gap: 6px; }

.lk-region { --c: var(--red); background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.lk-region--mt { --c: var(--orange); }
.lk-region--mn { --c: var(--blue); }
.lk-region__head { display: flex; align-items: center; gap: 10px; padding: 11px 12px; background: var(--c); color: #fff; }
.lk-region__head h2, .lk-region__head h3 { flex: 1; margin: 0; font-size: 16px; font-weight: 600; }
.lk-region__head a { color: #fff; }
.lk-region__ico { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--c); }
.lk-region__head h3 { min-width: 0; }
@media (min-width: 1200px) { .lk-region__head h3 { white-space: nowrap; } }
.lk-badge { padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .25); font-size: 11px; font-weight: 500; white-space: nowrap; }
.lk-badge.is-done { background: #fff; color: var(--c); font-weight: 600; }
.lk-region__date { margin: 0; padding: 10px 14px; border-bottom: 1px solid var(--line); color: #4b5563; font-size: 14px; }
.lk-region__prov { margin: 0; padding: 8px 14px 0; font-weight: 600; color: var(--c); }
.lk-region--plain { border: 0; }
.lk-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px 0; }
.lk-tabs button { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #374151; font: 500 13px var(--font); cursor: pointer; }
.lk-tabs button[aria-selected="true"] { background: var(--c); border-color: var(--c); color: #fff; }
.lk-pane[hidden], .lk-form[hidden] { display: none; }

.lk-table { width: 100%; border-collapse: collapse; }
.lk-table th, .lk-table td { padding: 9px 8px; border-top: 1px solid #eef0f3; vertical-align: middle; }
.lk-table tr:first-child th, .lk-table tr:first-child td { border-top: 0; }
.lk-table th { width: 82px; padding-left: 14px; text-align: left; font-size: 14px; font-weight: 400; color: #4b5563; }
.lk-nums { display: grid; grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)); gap: 6px 4px; text-align: center; font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.lk-prize--db th { color: var(--red); font-weight: 700; }
.lk-prize--db .lk-nums { color: var(--red); font-size: 26px; font-weight: 800; line-height: 1.2; }
.lk-table__empty .lk-nums { color: #c5cad3; font-weight: 400; }
.lk-prize--db.lk-table__empty .lk-nums { color: #e7b3b7; }

/* Tra cứu */
.lk-form { display: grid; gap: 10px; }
.lk-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lk-form input[type="text"], .lk-form select, .lk-pagehead input, .search-field { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); font: 15px var(--font); }
.lk-form input::placeholder { color: #9aa1ad; }
.lk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border: 0; border-radius: 6px; background: var(--red); color: #fff; font: 600 15px var(--font); cursor: pointer; }
.lk-btn:hover { background: var(--red-d); text-decoration: none; color: #fff; }
.lk-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.lk-modes button { display: grid; justify-items: center; gap: 4px; padding: 12px 6px; border: 1px solid transparent; border-radius: 6px; background: #f3f4f6; color: #6b7280; font: 500 14px var(--font); cursor: pointer; }
.lk-modes button[aria-selected="true"] { background: var(--red-l); color: var(--red); border-color: #f6c9ce; }
.lk-result { margin-bottom: 12px; padding: 12px 14px; border-radius: 6px; background: #f3f4f6; font-size: 14px; }
.lk-result.is-win { background: #eaf7ee; border: 1px solid #bfe6c9; }
.lk-result.is-lose { background: #fff7e6; border: 1px solid #f3dca4; }
.lk-result ul { margin: 6px 0; padding-left: 20px; }
.lk-result small { color: var(--muted); }

/* Vietlott */
.lk-vl__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.lk-vl__head .lk-card__title { margin: 0; }
.lk-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue); font-size: 14px; }
.lk-vl__panel { padding: 16px 18px; border-radius: 6px; color: #fff; background: linear-gradient(120deg, #8e0b14, #c10f1b); }
.lk-vl__name { margin: 0 0 6px; font-size: 15px; font-weight: 600; opacity: .95; }
.lk-vl__amount { margin: 0; font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.01em; }
.lk-vl__period { margin: 8px 0 0; font-size: 13px; opacity: .9; }
.lk-vl__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.lk-vl__tiles li > a, .lk-vl__tiles li > span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); font-size: 13px; font-weight: 500; }
.lk-vl__tiles a:hover { background: var(--red-l); text-decoration: none; }
.lk-dot { width: 26px; height: 26px; border-radius: 50%; }
.lk-dot.is-red { background: radial-gradient(circle at 35% 30%, #ff7a7a, #c10f1b); }
.lk-dot.is-coral { background: radial-gradient(circle at 35% 30%, #ff9a6a, #e0401f); }
.lk-dot.is-amber { background: radial-gradient(circle at 35% 30%, #ffd66a, #e8901a); }

/* Mã nhúng */
.lk-embed { margin-top: 16px; padding: 18px; }
.lk-embed__box { overflow-x: auto; }
.lk-embed iframe { max-width: 100%; border: 0; }

/* Thẻ tính năng */
.lk-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.lk-feature { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); color: #9aa1ad; }
.lk-feature:hover { text-decoration: none; border-color: #f0b8bd; }
.lk-feature__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; background: var(--red); color: #fff; flex: none; }
.lk-feature__txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.lk-feature__txt strong { color: var(--ink); font-size: 15px; }
.lk-feature__txt small { color: var(--muted); font-size: 12.5px; }

/* Tin & bài viết */
.lk-h2 { margin: 28px 0 14px; font-size: 22px; font-weight: 700; }
.lk-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lk-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lk-post { overflow: hidden; display: flex; flex-direction: column; }
.lk-post__thumb img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.lk-post__body { padding: 14px 16px 16px; }
.lk-post__meta { margin: 0 0 6px; color: var(--muted); font-size: 13px; }
.lk-post__title { margin: 0 0 6px; font-size: 17px; }
.lk-post__title a { color: var(--ink); }
.lk-post__title a:hover { color: var(--red); }
.lk-post__excerpt { margin: 0; color: #4b5563; font-size: 14px; }
.lk-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; margin-top: 16px; align-items: start; }
.lk-content { min-width: 0; display: grid; gap: 16px; }
.lk-pagehead { padding: 4px 2px; }
.lk-pagehead h1 { margin: 0; font-size: 26px; }
.lk-pagehead__desc { color: var(--muted); }
.lk-article { padding: 22px 24px; }
.lk-article__head h1 { margin: 0 0 6px; font-size: 28px; }
.lk-article__thumb { margin: 14px 0; }
.lk-article__thumb img { border-radius: 6px; }
.lk-entry { overflow-wrap: anywhere; line-height: 1.7; }
.lk-entry table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.lk-entry th, .lk-entry td { padding: 8px 10px; border: 1px solid var(--line); }
.lk-entry h2, .lk-entry h3 { margin-top: 1.4em; }
.lk-tags { color: var(--muted); }
.lk-empty { padding: 28px; }
.lk-404 { margin-top: 16px; text-align: center; }
.lk-widget { padding: 16px; }
.lk-widget__title { margin: 0 0 10px; font-size: 18px; }
.lk-comments { padding: 18px 22px; }
.lk-comments__list { padding-left: 18px; }
.lk-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; align-items: start; }
.navigation.pagination .nav-links, .post-navigation .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; }
.page-numbers { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); }
.page-numbers.current { background: var(--red); border-color: var(--red); color: #fff; }

/* Chân trang */
.lk-footer { background: var(--red); color: #fff; }
.lk-footer__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding-block: 14px; }
.lk-brand--light { color: #fff; }
.lk-brand--light .lk-brand__name { font-size: 24px; }
.lk-brand--light .lk-brand__num { color: #fff; }
.lk-brand--light .lk-brand__tag { color: rgba(255, 255, 255, .9); font-size: 13px; }
.lk-brand--light .lk-brand__mark, .lk-brand--light .lk-brand__img { width: 52px; height: 52px; }
.lk-brand--light .lk-brand__mark circle { fill: #fff; }
.lk-brand--light .lk-brand__mark path { stroke: var(--red); }
.lk-brand--light .lk-brand__mark text { fill: var(--red); }
.lk-footer__links { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.lk-footer__links li + li { border-left: 1px solid rgba(255, 255, 255, .45); }
.lk-footer__links a { display: block; padding: 2px 22px; color: #fff; font-size: 14px; }
.lk-footer__notice { display: flex; align-items: center; gap: 10px; }
.lk-footer__notice div { display: grid; line-height: 1.3; }
.lk-footer__notice strong { font-size: 14px; }
.lk-footer__notice span { font-size: 12px; opacity: .9; }
.lk-copy { margin: 0; padding: 10px 16px 14px; border-top: 1px solid rgba(255, 255, 255, .25); text-align: center; font-size: 12.5px; opacity: .9; }

/* Responsive */
@media (max-width: 1100px) {
	.lk-grid, .lk-layout { grid-template-columns: 1fr; }
	.lk-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lk-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
	.lk-top { flex-direction: column; align-items: flex-start; }
	.lk-now { gap: 16px; font-size: 14px; }
	.lk-nav__toggle { display: flex; }
	.lk-menu { display: none; flex-direction: column; gap: 0; padding-bottom: 8px; }
	.lk-nav.is-open .lk-menu { display: flex; }
	.lk-menu a { padding: 12px 8px; }
	.lk-menu .sub-menu { position: static; display: none; box-shadow: none; background: rgba(0, 0, 0, .12); border-radius: 0; }
	.lk-menu .sub-menu a { color: #fff; }
	.lk-menu .sub-menu a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
	.lk-menu li:hover > .sub-menu { display: none; }
	.lk-menu li.is-open > .sub-menu { display: block; }
	.lk-hero__art { opacity: .35; }
	.lk-cards, .lk-cards--2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.lk-hero__art { display: none; }
	.lk-brand__name { font-size: 24px; }
	.lk-brand__mark, .lk-brand__img { width: 52px; height: 52px; }
	.lk-features { grid-template-columns: 1fr; }
	.lk-board, .lk-side > .lk-card, .lk-article { padding: 14px; }
	.lk-hero__txt { padding: 18px; }
	.lk-footer__in { flex-direction: column; align-items: flex-start; }
	.lk-footer__links li + li { border-left: 0; }
	.lk-footer__links a { padding-left: 0; padding-right: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { animation: none !important; transition: none !important; }
}
