/* Theme zbetvn — giao diện tối theo xoka.io (Flatsome), tự viết lại, không jQuery, không plugin. Màu ở :root (--st-*).
   Đổi file này → URL tự đổi ?ver (hash filemtime, functions.php st_ver()). */

/* ---------- Font Roboto tự host (biến thiên wght 100–900) ---------- */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-stretch: 100%; font-display: swap; src: url(../fonts/roboto-vietnamese.woff2) format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-stretch: 100%; font-display: swap; src: url(../fonts/roboto-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-stretch: 100%; font-display: swap; src: url(../fonts/roboto-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --st-bg: #252b38;        /* nền trang */
  --st-bg-2: #15181f;      /* nền footer, ngăn kéo, thẻ */
  --st-black: #000;        /* thanh header chính, bản quyền */
  --st-gold: #fead00;      /* tiêu đề, menu đang mở, nhấn */
  --st-link: #eeee22;      /* link trong bài / chân trang */
  --st-link-hover: #dd3333;
  --st-red: #b20000;       /* nút Đăng ký */
  --st-gray-btn: #383838;  /* nút Đăng nhập */
  --st-text: #fff;
  --st-muted: #b1aaa8;
  --st-line: rgba(255, 255, 255, .14);
  --st-cell: #ececec;      /* viền ô link chân trang */
  --st-gloss: linear-gradient(180deg, rgba(255, 255, 255, .28) 0%, rgba(255, 255, 255, .06) 50%, rgba(0, 0, 0, .1) 51%, rgba(0, 0, 0, .04) 100%);
  --st-w: 1170px;
}

/* ---------- Nền tảng ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--st-black); }
html.st-lock { overflow: hidden; }
body { margin: 0; background: var(--st-bg); color: var(--st-text); font: 400 16px/1.6 Roboto, -apple-system, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
a { color: var(--st-link); text-decoration: none; }
a:hover { color: var(--st-link-hover); }
p { margin: 0 0 1.3em; }
ul, ol { margin: 0 0 1.3em; padding-left: 1.4em; }
li { margin-bottom: .6em; }
h1, h2, h3, h4, h5, h6 { color: var(--st-gold); font-weight: 700; line-height: 1.3; margin: 0 0 .5em; }
button, input { font: inherit; }
button { cursor: pointer; }
.screen-reader-text { border: 0; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
.skip-link:focus { clip-path: none; height: auto; width: auto; left: 8px; top: 8px; z-index: 100000; background: #fff; color: #000; padding: 10px 16px; }
.st-container { width: 100%; max-width: var(--st-w); margin: 0 auto; padding: 0 15px; }
.st-center { text-align: center; }
#wrapper { background: var(--st-bg); }

/* ---------- Nút (kiểu "button alert is-gloss" của mẫu) ---------- */
.st-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 30px; padding: 0 14px; border: 0; border-radius: 9px; background: var(--st-red) var(--st-gloss); color: #fff; font-weight: 700; font-size: 11.6px; letter-spacing: .03em; text-transform: uppercase; line-height: 1; white-space: nowrap; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), 0 1px 3px rgba(0, 0, 0, .35); transition: filter .15s, box-shadow .15s; }
.st-btn:hover { color: #fff; filter: brightness(1.12); box-shadow: inset 0 0 0 100px rgba(0, 0, 0, .12); }
.st-btn--login { background-color: var(--st-gray-btn); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), 0 1px 3px rgba(0, 0, 0, .35); }
.st-btn--lg { min-height: 40px; padding: 0 22px; font-size: 14px; }
/* Cặp nút ĐĂNG KÝ / ĐĂNG NHẬP (header, hàng mobile, ngăn kéo): TO, chữ đậm, không co, không xuống dòng (chủ site 23/11). */
.st-btn--reg, .st-btn--login { min-width: 150px; min-height: 42px; padding: 0 26px; font-size: 15px; font-weight: 800; letter-spacing: .04em; flex-shrink: 0; }
.st-btn--reg { background-color: #c40000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 2px 10px rgba(196, 0, 0, .45); }

/* ---------- Header ---------- */
.st-header { position: sticky; top: -58px; z-index: 30; background: var(--st-black); }
.st-topbar { background: var(--st-bg); }
.st-topbar__inner { display: flex; align-items: center; justify-content: flex-end; height: 58px; }
.st-header__btns { display: flex; gap: 16px; align-items: center; justify-content: center; }
.st-header__main { background: var(--st-black); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.st-header__inner { display: flex; align-items: center; height: 80px; gap: 30px; transition: height .2s; }
/* Logo có khoảng thở: header 80px, logo cao 60px (đệm 10px trên/dưới); dính 70px → logo 52px (đệm 9px). Tỉ lệ gốc 400:143. */
.st-logo { display: flex; align-items: center; flex: 0 0 auto; height: 100%; padding: 10px 0; }
.st-logo__img { display: block; width: auto; height: 60px; aspect-ratio: 400 / 143; transition: height .2s; }
.st-nav { flex: 1 1 auto; min-width: 0; }
.st-nav > ul { display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; margin: 0; padding: 0; list-style: none; }
.st-nav li { position: relative; margin: 0; }
.st-nav > ul > li > a, .st-nav__label { display: flex; align-items: center; gap: 3px; padding: 10px 0; color: #fff; font-weight: 700; font-size: 14.4px; line-height: 16px; letter-spacing: .02em; text-transform: uppercase; cursor: pointer; }
.st-nav > ul > li > a svg, .st-nav__label svg { opacity: .7; }
.st-nav > ul > li > a:hover, .st-nav > ul > li:hover > a, .st-nav > ul > li:hover > .st-nav__label, .st-nav > ul > li.is-current > a, .st-nav > ul > li.is-current > .st-nav__label { color: var(--st-gold); }
.st-nav__sub { position: absolute; left: -15px; top: 100%; z-index: 5; min-width: 260px; margin: 0; padding: 0; list-style: none; background: #fff; border-top: 2px solid #ddd; box-shadow: 1px 1px 15px rgba(0, 0, 0, .15); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.st-nav__sub::before { content: ""; position: absolute; left: 24px; top: -10px; border: 5px solid transparent; border-bottom-color: #ddd; }
.st-nav__has-sub:hover > .st-nav__sub, .st-nav__has-sub:focus-within > .st-nav__sub { opacity: 1; visibility: visible; transform: none; }
.st-nav__sub li { border-top: 1px solid #ececec; }
.st-nav__sub li:first-child { border-top: 0; }
.st-nav__sub a { display: block; padding: 10px 20px; color: rgba(74, 74, 74, .85); font-size: 16px; line-height: 1.3; }
.st-nav__sub a:hover, .st-nav__sub a[aria-current] { color: #111; background: rgba(0, 0, 0, .03); }
.st-menu-btn { display: none; align-items: center; justify-content: center; width: 34px; height: 30px; padding: 0; border: 2px solid currentColor; border-radius: 5px; background: transparent; color: #fff; opacity: .9; }
.st-show-m { display: none; }
.st-header__bar { background: #f1f1f1; }
/* Hàng nút mobile: full-width, 2 nút chia đôi, cao 46px, chữ 16px */
.st-header__bar .st-header__btns { gap: 10px; padding-top: 8px; padding-bottom: 8px; }
.st-header__bar .st-btn { flex: 1 1 0; min-width: 0; min-height: 46px; padding: 0 10px; font-size: 16px; }
html.st-stuck .st-header__inner { height: 70px; }
html.st-stuck .st-logo { padding: 9px 0; }
html.st-stuck .st-logo__img { height: 52px; }

/* ---------- Trang / bài ---------- */
.st-main { display: block; }
.st-page { padding-top: 30px; padding-bottom: 40px; }
.st-breadcrumb { padding-top: 16px; font-size: 14px; color: var(--st-muted); }
.st-breadcrumb a { color: var(--st-gold); font-weight: 500; }
.st-breadcrumb__sep { margin: 0 8px; opacity: .6; }
.st-breadcrumb + .st-page { padding-top: 12px; }
.st-entry-title { margin: 0 0 30px; color: var(--st-gold); font-size: 27.2px; line-height: 1.2; letter-spacing: .05em; text-transform: uppercase; }
.st-entry-content { overflow-wrap: break-word; }
.st-entry-content h2 { font-size: 25.6px; margin: 1.4em 0 .5em; }
.st-entry-content h3 { font-size: 20px; margin: 1.2em 0 .5em; }
.st-entry-content h4 { font-size: 18px; margin: 1.1em 0 .45em; }
.st-entry-content > h2:first-child, .st-entry-content > h3:first-child { margin-top: 0; }
.st-entry-content strong, .st-entry-content b { font-weight: 700; }
.st-entry-content a:hover { color: var(--st-link-hover); }
.st-entry-content ul { list-style: disc; }
.st-entry-content ol li::marker { color: var(--st-gold); font-weight: 700; }
.st-entry-content h2[id], .st-entry-content h3[id] { scroll-margin-top: 86px; }
.st-entry-content hr { border: 0; border-top: 1px solid var(--st-line); margin: 2em 0; }
.st-entry-content blockquote { margin: 0 0 1.3em; padding: 10px 18px; border-left: 3px solid var(--st-gold); background: rgba(0, 0, 0, .15); }
.st-sapo { margin: 0 0 1.3em; }

/* Banner + ô sảnh trang chủ */
.st-hero { margin: 0 0 30px; }
.st-hero__banner { display: block; line-height: 0; }
.st-hero__banner img { display: block; width: 100%; height: auto; aspect-ratio: 1024 / 238; object-fit: cover; }
.st-games { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 20px 0 0; padding: 0; list-style: none; }
.st-games li { margin: 0; }
.st-games__item { display: block; overflow: hidden; border-radius: 9px; background: var(--st-bg-2); box-shadow: 0 2px 10px rgba(0, 0, 0, .3); transition: transform .2s, box-shadow .2s; }
.st-games__item img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.st-games__bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; }
.st-games__name { color: var(--st-gold); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .03em; }
.st-games__cta { flex: 0 0 auto; padding: 5px 10px; border-radius: 9px; background: var(--st-red) var(--st-gloss); color: #fff; font-size: 11.5px; font-weight: 700; text-transform: uppercase; line-height: 1.2; }
.st-games__item:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 0, 0, .45); }

/* Ảnh trong bài: giữa, chú thích nghiêng */
.st-entry-content figure, .st-entry-content .wp-caption { max-width: 100% !important; margin: 1.4em auto 1.8em; text-align: center; }
.st-entry-content figure img { display: block; margin: 0 auto; }
.st-entry-content figcaption, .st-entry-content .wp-caption-text { margin: 0; padding: .4em; background: rgba(0, 0, 0, .05); color: #fff; font-size: 14.4px; font-style: italic; text-align: center; }
.st-entry-content p > img:only-child { display: block; margin: 1.2em auto; }
.st-cover { margin: 0 auto 1.6em; text-align: center; }

/* Bảng */
.st-entry-content table { width: 100%; margin: 0 0 1.6em; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.st-entry-content th, .st-entry-content td { padding: 9px 12px; border: 1px solid var(--st-line); text-align: left; vertical-align: top; }
.st-entry-content thead th, .st-entry-content thead td { background: rgba(254, 173, 0, .14); color: var(--st-gold); font-weight: 700; }
.st-entry-content tbody tr:nth-child(even) { background: rgba(255, 255, 255, .03); }
.st-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1.6em; }
.st-table-scroll table { margin: 0; min-width: 520px; }

/* Mục lục (kiểu hộp ez-toc của mẫu) */
.st-toc { display: table; min-width: 320px; max-width: 100%; margin: 0 0 1.8em; padding: 10px 20px 10px 12px; border: 1px solid #aaa; border-radius: 4px; background: rgba(0, 0, 0, .12); box-shadow: 0 1px 1px rgba(0, 0, 0, .05); }
.st-toc__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; cursor: pointer; list-style: none; }
.st-toc__head::-webkit-details-marker { display: none; }
.st-toc__title { color: #fff; font-weight: 500; font-size: 17px; }
.st-toc__btn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 30px; border: 1px solid #ccc; border-radius: 4px; background: #f6f6f6; color: #999; }
.st-toc__list { margin: 8px 0 0; padding: 0 0 0 1.5em; }
.st-toc__list li { margin: 5px 0 0; }
.st-toc__list li::marker { color: #fff; font-weight: 400; }
.st-toc__list a { color: #fff; }
.st-toc__list a:hover { color: var(--st-gold); }

/* Tiêu đề khối (2 vạch) — FAQ */
.st-stitle-wrap { margin: 0; }
.st-stitle { display: flex; align-items: center; width: 100%; margin: 0 0 .7em; font-size: 22px; line-height: 1.3; }
.st-stitle b { display: block; flex: 1; height: 2px; background: currentColor; opacity: .15; }
.st-stitle__main { margin: 0 15px; text-align: center; text-transform: uppercase; }
.st-stitle--left b:first-child { display: none; }
.st-stitle--left .st-stitle__main { margin-left: 0; text-align: left; }

/* FAQ accordion */
.st-faq { margin-top: 2em; }
.st-accordion__item { border-top: 1px solid var(--st-line); }
.st-accordion__item:last-child { border-bottom: 1px solid var(--st-line); }
.st-accordion__item > summary { display: flex; align-items: center; gap: 12px; padding: 12px 4px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 500; color: #fff; }
.st-accordion__item > summary::-webkit-details-marker { display: none; }
.st-accordion__item > summary:hover { color: var(--st-gold); }
.st-accordion__icon { position: relative; flex: 0 0 26px; width: 26px; height: 26px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; }
.st-accordion__icon::before, .st-accordion__icon::after { content: ""; position: absolute; left: 7px; right: 7px; top: 11px; height: 2px; background: currentColor; transition: transform .2s; }
.st-accordion__icon::after { transform: rotate(90deg); }
.st-accordion__item[open] > summary { color: var(--st-gold); }
.st-accordion__item[open] .st-accordion__icon { border-color: var(--st-gold); }
.st-accordion__item[open] .st-accordion__icon::after { transform: rotate(0); }
.st-accordion__body { padding: 0 6px 6px 42px; }

/* Hộp tác giả (trang con) */
.st-author { display: flex; align-items: center; gap: 16px; margin: 2.2em 0 0; padding: 16px 18px; border-left: 3px solid var(--st-gold); border-radius: 4px; background: var(--st-bg-2); }
.st-author__avatar { flex: 0 0 56px; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--st-gold); color: #15181f; font-weight: 800; font-size: 20px; letter-spacing: .02em; }
.st-author__body p { margin: 0; }
.st-author__name { font-size: 16px; }
.st-author__name strong { color: var(--st-gold); }
.st-author__meta { color: var(--st-muted); font-size: 14px; }

/* Kết quả tìm kiếm (template mu-plugin) */
.st-search { list-style: none; padding: 0; }
.st-search__item { padding: 12px 0; border-bottom: 1px solid var(--st-line); }
.st-search__item span { color: var(--st-muted); font-size: 15px; }
.st-search__form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 1.5em; }
.st-search__form input { flex: 1 1 220px; height: 40px; padding: 0 12px; border: 1px solid #ddd; border-radius: 4px; background: #fff; color: #111; }
.st-search__form .st-btn { min-height: 40px; }
.st-404 { text-align: center; }

/* ---------- Footer ---------- */
.st-footer { background: var(--st-bg-2); color: #fff; }
.st-footer__section { padding: 30px 0 0; }
.st-footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; padding-bottom: 30px; }
.st-footer__col p { margin: 0 0 1em; }
.st-footer a { color: var(--st-link); }
.st-footer a:hover { color: var(--st-link-hover); }
.st-footer__logo { display: block; line-height: 0; }
.st-footer__logo-img { width: 100%; max-width: 262px; }
.st-footer__title { display: flex; align-items: center; margin: 0 0 20px; color: var(--st-gold); font-weight: 700; font-size: 18px; line-height: 1.3; text-transform: uppercase; text-align: center; }
.st-footer__title b { flex: 1; height: 2px; background: var(--st-gold); opacity: .1; }
.st-footer__title span { margin: 0 15px; }
.st-footer__links { margin: 0 0 1.2em; padding: 0; list-style: none; border: 1px solid var(--st-cell); }
.st-footer__links li { margin: 0; border-top: 1px solid var(--st-cell); }
.st-footer__links li:first-child { border-top: 0; }
.st-footer__links a { display: block; padding: 7px 2px; font-weight: 700; font-size: 14.4px; line-height: 1.4; }
.st-footer__info { margin: 0; padding: 0; list-style: none; }
.st-footer__info li { margin: 0 0 .7em; overflow-wrap: anywhere; }
.st-footer__info a { color: #fff; }
.st-footer__info a:hover { color: var(--st-gold); }
.st-footer__dmca { margin: 12px 0 0; }

/* Hàng script traffic (y khung): một hàng ngang giữa, LUÔN HIỆN (không luật ẩn ô nào: không :empty, :has, media query ẩn…). */
/* .traffic-qq (ô qq-countdown): CỐ Ý KHÔNG CÓ STYLE NÀO — vùng riêng, không ràng buộc. Đừng thêm CSS cho .traffic-qq / #qq-countdown. */
.traffic-slots {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 22px;
  max-width: 1210px;
  margin: 0 auto;
  padding: 22px 15px;
  border-top: 1px solid rgba(254, 173, 0, 0.18);
  text-align: center;
}
.traffic-slot {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 14px;
  flex: 0 1 auto;
  max-width: 100%;
  color: #fff;
  font-size: 14.5px;
}
.traffic-slot > * {
  margin: 0 !important;
}
.traffic-slot a,
.traffic-slot button {
  max-width: 100%;
}
.traffic-slot img,
.traffic-slot iframe {
  max-width: 100%;
  height: auto;
}

.st-copyright { padding: 10px 0 15px; background: var(--st-black); color: rgba(255, 255, 255, .8); font-size: 14.4px; text-align: center; }
.st-copyright strong { color: #fff; }
.st-top { position: fixed; right: 20px; bottom: 96px; z-index: 40; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 2px solid #c0c0c0; border-radius: 50%; background: rgba(0, 0, 0, .35); color: #c0c0c0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s, visibility .2s, color .2s, border-color .2s; }
.st-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.st-top:hover { color: var(--st-gold); border-color: var(--st-gold); }

/* ---------- Ngăn kéo menu (tối, kiểu off-canvas của mẫu) ---------- */
.st-drawer { position: fixed; inset: 0; z-index: 2147483100; }
.st-drawer[hidden] { display: none; }
.st-drawer__backdrop { position: absolute; inset: 0; background: rgba(11, 11, 11, .8); opacity: 0; transition: opacity .25s; }
.st-drawer__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(300px, 86vw); padding: 50px 0 24px; overflow-y: auto; background: var(--st-bg-2); box-shadow: 0 0 10px rgba(0, 0, 0, .5); transform: translateX(-100%); transition: transform .25s; }
.st-drawer.is-open .st-drawer__backdrop { opacity: 1; }
.st-drawer.is-open .st-drawer__panel { transform: none; }
.st-drawer__close { position: absolute; right: 8px; top: 8px; z-index: 2; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; background: transparent; color: #fff; opacity: .75; }
.st-drawer__close:hover { opacity: 1; }
.st-drawer__search { display: flex; margin: 0 20px 20px; }
.st-drawer__search input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid #ddd; border-right: 0; border-radius: 0; background: #fff; color: #111; font-size: 15px; }
.st-drawer__search button { flex: 0 0 40px; display: flex; align-items: center; justify-content: center; height: 40px; padding: 0; border: 0; background: var(--st-gold); color: #fff; }
.st-drawer__nav { margin: 0 0 20px; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .25); }
.st-drawer__nav > li { margin: 0; border-bottom: 1px solid rgba(255, 255, 255, .25); }
.st-drawer__nav a, .st-drawer__nav summary { display: flex; align-items: center; justify-content: space-between; min-height: 50px; padding: 0 20px; color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .02em; text-transform: uppercase; cursor: pointer; list-style: none; }
.st-drawer__nav summary::-webkit-details-marker { display: none; }
.st-drawer__nav summary svg { transition: transform .2s; }
.st-drawer__nav details[open] summary svg { transform: rotate(180deg); }
.st-drawer__nav ul { margin: 0 0 10px; padding: 0; list-style: none; }
.st-drawer__nav ul li { margin: 0; }
.st-drawer__nav ul a { min-height: 40px; padding-left: 34px; font-weight: 400; font-size: 14px; text-transform: none; color: rgba(255, 255, 255, .85); }
.st-drawer__nav a:hover, .st-drawer__nav a[aria-current] { color: var(--st-gold); }
.st-drawer__btns { display: flex; gap: 10px; padding: 0 20px; }
.st-drawer__btns .st-btn { flex: 1 1 0; min-width: 0; min-height: 46px; padding: 0 8px; font-size: 15px; }

/* ---------- Dải nút đáy ---------- */
.st-dock { position: fixed; left: 50%; bottom: max(12px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 2147483000; width: min(100%, 980px); padding: 0 12px; }
.st-dock.is-hidden { display: none; }
.st-dock__list { display: flex; gap: 10px; }
.st-dock__item { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 16px; border-radius: 9px; color: #fff; background: var(--st-red) var(--st-gloss); box-shadow: 0 4px 15px rgba(0, 0, 0, .45); line-height: 1.15; }
.st-dock__item:hover { color: #fff; filter: brightness(1.1); }
.st-dock__item--app { background-color: var(--st-gray-btn); }
.st-dock__item--gift { background-color: var(--st-gold); color: #1a1200; }
.st-dock__item--gift:hover { color: #1a1200; }
.st-dock__icon { flex: 0 0 36px; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.st-dock__txt { min-width: 0; }
.st-dock__txt strong { display: block; font-size: 15px; font-weight: 800; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-dock__txt small { display: block; font-size: 12.5px; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-dock__close { position: absolute; right: 12px; top: -32px; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: 1px solid #fff; border-radius: 50%; background: #000; color: #fff; font-size: 22px; line-height: 1; box-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
html.st-has-dock .st-copyright { padding-bottom: 92px; }

/* ---------- Tablet / mobile ---------- */
@media (max-width: 1100px) {
  .st-nav > ul { gap: 0 14px; }
  .st-nav > ul > li > a, .st-nav__label { font-size: 13px; }
  .st-header__inner { gap: 18px; }
  .st-logo__img { height: 54px; }
}
@media (max-width: 849px) {
  .st-hide-m, .st-nav { display: none; }
  .st-show-m { display: block; }
  .st-header { top: 0; }
  .st-menu-btn { display: inline-flex; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); }
  .st-header__main { position: relative; }
  .st-header__inner { position: relative; height: 70px; justify-content: center; }
  /* mobile: header 70px, logo cao 54px (đệm 8px trên/dưới), cả lúc dính */
  .st-logo, html.st-stuck .st-logo { padding: 8px 0; }
  .st-logo__img, html.st-stuck .st-logo__img { height: 54px; }
  html.st-stuck .st-header__inner { height: 70px; }
  .st-games { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .st-footer__grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .st-footer__col--brand { grid-column: 1 / -1; }
  .st-dock { padding: 0 8px; bottom: max(8px, env(safe-area-inset-bottom)); }
  .st-dock__list { gap: 6px; }
  .st-dock__item { flex-direction: column; justify-content: center; gap: 2px; height: 56px; padding: 0 6px; text-align: center; }
  .st-dock__icon { flex: 0 0 auto; width: 24px; height: 24px; background: none !important; }
  .st-dock__icon svg { width: 20px; height: 20px; }
  .st-dock__txt strong { font-size: 12px; }
  .st-dock__txt small { display: none; }
  .st-dock__close { right: 8px; }
  html.st-has-dock .st-copyright { padding-bottom: 82px; }
  .st-top { right: 12px; bottom: 80px; width: 38px; height: 38px; }
}
@media (max-width: 549px) {
  .st-entry-title { font-size: 23px; margin-bottom: 22px; }
  .st-entry-content h2 { font-size: 22px; }
  .st-entry-content h3 { font-size: 18.5px; }
  .st-entry-content table { font-size: 14px; }
  .st-page { padding-top: 22px; }
  .st-hero { margin-bottom: 24px; }
  .st-games__bar { flex-direction: column; gap: 6px; padding: 8px 8px 10px; }
  .st-games__name { font-size: 14px; white-space: nowrap; }
  .st-games__cta { padding: 5px 14px; font-size: 11px; }
  .st-toc { display: block; min-width: 0; }
  .st-footer__grid { grid-template-columns: 1fr; }
  .st-accordion__item > summary { font-size: 16px; }
  .st-accordion__body { padding: 0 4px 4px 38px; }
  .st-author { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
