/* FIVE88 (five88plus.com) - theme WordPress five88plus.
   Cảm giác: nền đen tuyền, chữ trắng, tiêu đề vàng ô liu, điểm nhấn xanh ngọc phát sáng (màu chữ FIVE trong logo),
   header tối bám dính + dải nút Đăng nhập / Đăng ký, một cột 1080px, footer logo giữa 4 cột. Font hệ thống, không webfont. */
:root {
  color-scheme: dark;
  --bg: #000;
  --surface: #060b0d;
  --surface-2: #0b1418;
  --line: #1c2a30;
  --line-2: #2a3c44;
  --text: #eef2f4;
  --muted: #a7b0b7;
  --title: #bebe0d;
  --hi: #eeee24;
  --teal: #40e0e0;
  --teal-ink: #00151a;
  --teal-dim: rgba(64, 224, 224, 0.35);
  --glow: 0 0 10px 3px rgba(64, 224, 224, 0.55);
  --charcoal: #505860;
  --login: #3b6090;
  --signup: #b9522e;
  --wrap: 1080px;
  --font: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--teal);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--hi);
}
h1,
h2,
h3,
h4 {
  line-height: 1.3;
  font-weight: 700;
}
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 15px;
}
.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 200;
  background: var(--surface-2);
  color: var(--text);
  padding: 8px 12px;
}
.ico {
  width: 18px;
  height: 18px;
  flex: none;
}
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* ---------- Nút ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 99px;
  border: 1.5px solid transparent;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: filter 0.15s, box-shadow 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover {
  filter: brightness(1.12);
}
.btn-dark {
  background: linear-gradient(180deg, #7af0f0, var(--teal));
  color: var(--teal-ink);
  border-color: #9ff5f5;
  box-shadow: 0 0 12px rgba(64, 224, 224, 0.45);
}
.btn-dark:hover {
  color: var(--teal-ink);
  box-shadow: 0 0 18px rgba(64, 224, 224, 0.7);
}
.btn-line {
  background: rgba(80, 88, 96, 0.25);
  color: var(--text);
  border-color: var(--charcoal);
}
.btn-line:hover {
  color: var(--teal);
  border-color: var(--teal);
  filter: none;
}
.btn-login,
.btn-signup {
  min-height: 38px;
  padding: 0 16px;
  font-size: 13px;
  color: #fff;
}
.btn-login {
  background: var(--login);
}
.btn-signup {
  background: var(--signup);
}
.btn-login:hover,
.btn-signup:hover {
  color: #fff;
  filter: none;
  box-shadow: inset 0 0 0 100px rgba(0, 0, 0, 0.2);
}
.play-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ---------- Header bám dính: hàng logo + menu, dải nút sáng bên dưới ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}
/* Một hàng nền tối; điểm riêng: viền đáy là đường xanh ngọc mảnh phát sáng (cùng chất với khung banner). */
.header-main {
  position: relative;
  background: rgba(0, 6, 10, 0.96);
  box-shadow: 0 1px 0 rgba(64, 224, 224, 0.75), 0 2px 10px rgba(64, 224, 224, 0.28);
  transition: box-shadow 0.2s;
}
.is-stuck .header-main {
  box-shadow: 0 1px 0 rgba(64, 224, 224, 0.85), 0 2px 12px rgba(64, 224, 224, 0.35), 0 6px 18px rgba(0, 0, 0, 0.7);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 76px;
}
.brand {
  display: inline-flex;
  flex: none;
}
.brand img {
  height: 60px;
  width: auto;
  transform-origin: left center;
  transition: transform 0.2s;
}
.is-stuck .brand img {
  transform: scale(0.85);
}
.header-acts {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.nav-acts {
  display: none;
}
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.menu,
.sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 0;
}
.menu-item {
  position: relative;
  display: flex;
  flex: none;
  align-items: stretch;
  white-space: nowrap;
}
/* Link và nút xổ cùng một khuôn: cao cố định, chữ căn giữa, gạch dưới màu nhấn khi đang xem / rê chuột. */
.menu-item > a,
.dd-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 76px;
  margin: 0;
  padding: 0 9px;
  border: 0;
  background: none;
  line-height: 1;
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}
.menu-item > a::after,
.dd-toggle::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 18px;
  height: 3px;
  background: var(--hi);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.dd-toggle .ico {
  width: 15px;
  height: 15px;
  transition: transform 0.2s;
}
.menu-item > a:hover,
.dd-toggle:hover,
.menu-item.is-current > a,
.menu-item.is-current > .dd-toggle {
  color: var(--hi);
}
.menu-item > a:hover::after,
.dd-toggle:hover::after,
.menu-item.is-current > a::after,
.menu-item.is-current > .dd-toggle::after {
  transform: scaleX(1);
}
/* Menu xổ nền tối: sát dưới mục gốc (không khe hở), viền xanh ngọc. */
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  min-width: 260px;
  padding: 6px;
  background: #071014;
  border: 1px solid var(--teal-dim);
  border-top: 2px solid var(--teal);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.8);
  display: none;
}
.has-dd.is-open > .sub-menu {
  display: block;
}
.has-dd.is-open > .dd-toggle .ico {
  transform: rotate(180deg);
}
@media (hover: hover) and (min-width: 1100px) {
  .has-dd:hover > .sub-menu,
  .has-dd:focus-within > .sub-menu {
    display: block;
  }
}
.sub-menu a {
  display: block;
  padding: 9px 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 14.5px;
  border-radius: 4px;
}
.sub-menu li + li a {
  border-top: 1px solid var(--line);
}
.sub-menu a:hover,
.sub-menu a[aria-current="page"] {
  color: var(--hi);
  background: rgba(64, 224, 224, 0.08);
}
.nav-toggle,
.nav-close {
  display: none;
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle .ico,
.nav-close .ico {
  width: 28px;
  height: 28px;
}
.nav-scrim {
  display: none;
}

/* ---------- Tiêu đề khối: chữ chuyển màu xanh ngọc → vàng, kẻ mảnh hai bên ---------- */
.sec-title {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  font-size: 26px;
  text-transform: uppercase;
  text-align: center;
}
.sec-title::before,
.sec-title::after {
  content: "";
  flex: 1 1 40px;
  min-width: 24px;
  height: 2px;
  background: rgba(190, 190, 13, 0.25);
}
.sec-title > span {
  flex: 0 1 auto;
  background: linear-gradient(-225deg, var(--teal) 0%, #fce55a 35%, #ffb800 55%, var(--teal) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: title-shift 6s linear infinite alternate;
}
@keyframes title-shift {
  to {
    background-position: 200% center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sec-title > span {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Trang chủ: banner khung phát sáng → H1 → trích dẫn mở đầu → dải chỉ số → nút ---------- */
.site-main {
  min-height: 60vh;
}
.hero {
  padding: 32px 0 10px;
  background: radial-gradient(ellipse 60% 360px at 50% 0, rgba(64, 224, 224, 0.12), rgba(0, 0, 0, 0) 70%);
}
.hero-banner {
  max-width: 800px;
  margin: 0 auto;
  border: 2px solid var(--teal);
  border-radius: 10px;
  box-shadow: var(--glow);
  overflow: hidden;
  background: var(--surface);
}
.hero-banner img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}
.hero .sec-title {
  margin: 38px 0 22px;
}
.lead-quote {
  max-width: 1000px;
  margin: 0 auto 26px;
  padding: 2px 0 2px 22px;
  border-left: 3px solid var(--login);
  font-size: 19px;
  line-height: 1.6;
  font-style: italic;
  color: var(--text);
}
.hero-stats {
  list-style: none;
  margin: 0 auto 24px;
  padding: 0;
  max-width: 800px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.hero-stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 14px 8px;
  text-align: center;
}
.hero-stats li + li {
  border-left: 1px solid var(--line-2);
}
.hero-stats strong {
  font-size: 30px;
  line-height: 1.1;
  color: var(--teal);
  text-shadow: 0 0 14px rgba(64, 224, 224, 0.55);
}
.hero-stats span {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.hero-cta {
  margin-bottom: 18px;
}
.hero .byline {
  margin-bottom: 26px;
}

/* ---------- Đầu trang con ---------- */
.page-head {
  padding-top: 22px;
  padding-bottom: 8px;
  text-align: center;
}
.page-head h1 {
  margin: 18px 0 12px;
  color: var(--title);
  font-size: 30px;
}
.page-head .lead {
  margin: 0 auto 4px;
  max-width: 860px;
  font-size: 17px;
  color: #dfe5e8;
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 15px;
  color: var(--muted);
  text-align: left;
}
.crumbs a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.crumbs a:hover {
  color: var(--hi);
}
.byline {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 10px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}
.byline span + span::before {
  content: "·";
  margin: 0 8px;
}
.byline span:first-child {
  color: var(--text);
  font-weight: 700;
}

/* ---------- Mục lục thu gọn đầu bài ---------- */
.article {
  padding-top: 18px;
  padding-bottom: 44px;
}
.toc {
  margin: 0 0 28px;
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--teal);
  border-radius: 8px;
  background: var(--surface);
}
.toc summary {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  cursor: pointer;
  padding: 12px 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--title);
}
.toc summary::-webkit-details-marker {
  display: none;
}
.toc summary small {
  font-size: 12.5px;
  font-weight: 400;
  text-transform: none;
  color: var(--muted);
}
.toc summary .ico {
  margin-left: auto;
  color: var(--teal);
  transition: transform 0.2s;
}
.toc[open] summary {
  border-bottom: 1px solid var(--line);
}
.toc[open] summary .ico {
  transform: rotate(180deg);
}
.toc ol {
  margin: 0;
  padding: 10px 16px 14px 40px;
  columns: 2;
  column-gap: 40px;
  font-size: 15px;
}
.toc li {
  break-inside: avoid;
  padding: 3px 0;
}
.toc li::marker {
  color: var(--teal);
}
.toc a {
  color: var(--text);
  text-decoration: none;
}
.toc a:hover {
  color: var(--hi);
  text-decoration: underline;
}
.post {
  min-width: 0;
}
.post-cover {
  max-width: 800px;
  margin: 0 auto 26px;
}
.post-cover img {
  width: 100%;
}

/* ---------- Văn bài ---------- */
.prose > :first-child {
  margin-top: 0;
}
.prose p {
  margin: 0 0 1em;
}
.prose h2 {
  font-size: 25px;
  margin: 1.7em 0 0.7em;
  padding-bottom: 8px;
  color: var(--title);
  border-bottom: 2px solid rgba(190, 190, 13, 0.18);
}
.prose h3 {
  font-size: 20px;
  margin: 1.4em 0 0.5em;
  color: var(--title);
}
.prose h4 {
  font-size: 17px;
  margin: 1.2em 0 0.4em;
  color: #fff;
}
.prose a {
  color: #7eeaea;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}
.prose a:hover {
  color: var(--hi);
}
.prose ul,
.prose ol {
  margin: 0 0 1.1em;
  padding-left: 1.4em;
}
.prose li {
  margin: 0.35em 0;
}
.prose li::marker {
  color: var(--teal);
}
.prose strong {
  color: #fff;
}
.prose blockquote {
  margin: 1.4em 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--login);
  font-style: italic;
}
.prose figure.img {
  max-width: 800px;
  margin: 1.6em auto;
}
.prose figure.img img {
  width: 100%;
}
.prose figcaption {
  margin-top: 8px;
  font-size: 14px;
  font-style: italic;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}
.prose img {
  height: auto;
}
/* Bảng: khung cuộn ngang riêng (functions.php bọc .table-wrap), trang không cuộn ngang. */
.table-wrap {
  margin: 0 0 1.4em;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line-2);
  border-radius: 6px;
}
.prose table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 15px;
}
.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.prose th {
  background: #0d2429;
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.prose td {
  background: var(--surface);
}
.prose tr:nth-child(even) td {
  background: #0a1215;
}

/* FAQ */
.faq details {
  border: 1px solid var(--line-2);
  border-radius: 8px;
  margin: 0 0 10px;
  background: var(--surface);
}
.faq details[open] {
  border-color: var(--teal-dim);
  box-shadow: 0 0 10px rgba(64, 224, 224, 0.15);
}
.faq summary {
  cursor: pointer;
  padding: 13px 46px 13px 16px;
  font-weight: 700;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 9px;
  font-size: 22px;
  line-height: 1.2;
  color: var(--teal);
}
.faq details[open] summary {
  color: var(--title);
}
.faq details[open] summary::after {
  content: "−";
}
.faq details p {
  margin: 0;
  padding: 0 16px 14px;
}

/* Thông tin thêm */
.more-links {
  margin: 2em 0 0;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--teal);
  border-radius: 6px;
}
.more-links-title {
  margin: 0 0 6px !important;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--title);
}
.more-links ul {
  margin: 0;
  padding-left: 1.1em;
}

/* ---------- Xem thêm, dải nút cuối trang ---------- */
.related {
  padding-bottom: 36px;
}
.related .sec-title {
  font-size: 22px;
  margin-bottom: 18px;
}
.related ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.related li {
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.related li:hover {
  border-color: var(--teal);
  box-shadow: 0 0 10px rgba(64, 224, 224, 0.3);
}
.related a {
  color: var(--title);
  font-weight: 700;
  text-decoration: none;
}
.related a:hover {
  color: var(--hi);
}
.related span {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  margin-bottom: 40px;
  padding-top: 20px;
  padding-bottom: 20px;
  border: 2px solid var(--teal);
  border-radius: 10px;
  box-shadow: var(--glow);
  background: var(--surface);
}
.cta.wrap {
  width: calc(100% - 30px);
  max-width: 1050px;
  padding-left: 24px;
  padding-right: 24px;
}
.cta p {
  margin: 0;
  font-weight: 700;
}
.cta strong {
  color: var(--title);
}

/* ---------- Footer: logo giữa, 4 cột ---------- */
.site-footer {
  background: #000;
  color: var(--text);
  font-size: 15px;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 36px;
  padding-bottom: 12px;
  text-align: center;
}
.brand-footer img {
  height: 110px;
}
.footer-about {
  max-width: 900px;
  margin: 18px 0 12px;
}
.footer-about strong {
  color: var(--title);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  color: var(--muted);
}
.footer-contact span {
  margin-right: 6px;
  color: var(--teal);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  padding-top: 26px;
  padding-bottom: 34px;
}
.footer-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
.footer-title::before,
.footer-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-2);
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-cols li {
  border-bottom: 1px solid #1a2226;
}
.footer-cols a {
  display: block;
  padding: 8px 0;
}
.site-footer a {
  color: var(--text);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--hi);
}
.footer-bottom {
  background: #2b3136;
  padding: 12px 0 14px;
  font-size: 13.5px;
  text-align: center;
  color: #dfe4e7;
}
.footer-bottom p {
  margin: 0 0 4px;
}
.footer-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 16px;
}
.footer-copy strong {
  color: #fff;
}
.footer-bottom a {
  color: #fff;
  text-decoration: underline;
}
.badge-18 {
  display: inline-block;
  padding: 0 6px;
  border: 1px solid #ff8a6d;
  color: #ff8a6d;
  font-weight: 700;
  font-size: 12px;
  line-height: 18px;
}
.dmca-badge {
  display: inline-flex;
  line-height: 0;
}
.dmca-badge img {
  height: 24px;
  width: auto;
}

/* Hàng script traffic: một hàng ngang, khoảng cách trên = dưới. */
.traffic-slots {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 22px;
  text-align: center;
}
.traffic-slots:has(.traffic-slot :not(script):not(:empty)) {
  padding-top: 22px;
  padding-bottom: 22px;
  border-top: 1px solid var(--line);
}
.traffic-slot {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 14px;
  max-width: 100%;
}
.traffic-slot > * {
  margin: 0 !important;
}
.traffic-slot:not(:has(:not(script):not(:empty))),
.traffic-slot > div:empty {
  display: none;
}
.traffic-slot img,
.traffic-slot iframe {
  max-width: 100%;
  height: auto;
}

/* ---------- 404 ---------- */
.not-found {
  padding-top: 60px;
  padding-bottom: 70px;
}
.nf-code {
  margin: 0;
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  color: var(--teal);
  text-shadow: 0 0 18px rgba(64, 224, 224, 0.6);
}

/* ---------- Thanh nút đáy (điện thoại) ---------- */
.mobile-bar {
  display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1099px) {
  html {
    scroll-padding-top: 80px;
  }
  .header-row {
    position: relative;
    justify-content: center;
    min-height: 64px;
  }
  .nav-toggle {
    display: inline-flex;
    position: absolute;
    left: 8px;
    top: 10px;
  }
  .header-acts {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    gap: 8px;
  }
  .header-acts .btn {
    min-height: 32px;
    padding: 0 12px;
    font-size: 12px;
  }
  .nav-acts {
    display: flex;
    gap: 10px;
    margin-top: 22px;
  }
  .nav-acts .btn {
    flex: 1;
  }
  .brand img {
    height: 48px;
    transform-origin: center;
  }
  /* Panel menu tối trượt từ trái + lớp phủ. */
  .main-nav {
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 150;
    width: min(300px, 86vw);
    padding: 58px 18px 40px;
    overflow-y: auto;
    background: #071014;
    border-right: 1px solid var(--teal-dim);
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 0.25s, visibility 0.25s;
  }
  .main-nav.is-open {
    transform: none;
    visibility: visible;
  }
  .nav-close {
    display: inline-flex;
    position: absolute;
    top: 8px;
    right: 8px;
  }
  body.nav-open .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 140;
    background: rgba(0, 0, 0, 0.65);
  }
  body.nav-open {
    overflow: hidden;
  }
  .menu {
    flex-direction: column;
    gap: 0;
  }
  .menu-item {
    flex-direction: column;
  }
  .menu-item > a,
  .dd-toggle {
    width: 100%;
    height: auto;
    justify-content: space-between;
    padding: 15px 4px;
    font-size: 14px;
    border-bottom: 1px solid var(--line);
  }
  .menu-item > a::after,
  .dd-toggle::after {
    display: none;
  }
  .sub-menu {
    position: static;
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    padding: 4px 0 8px 12px;
  }
  .sub-menu li + li a {
    border-top: 0;
  }
  .sub-menu a {
    color: #c9d2d7;
    font-size: 14.5px;
  }
  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .related ul {
    grid-template-columns: 1fr 1fr;
  }
}
/* Màn hẹp (< 600px): header chỉ giữ Đăng ký, Đăng nhập nằm trong panel menu. */
@media (max-width: 599px) {
  .header-acts {
    right: 12px;
  }
  .header-acts .btn-login {
    display: none;
  }
}
@media (max-width: 640px) {
  .hero {
    padding-top: 20px;
  }
  .hero-banner {
    border-radius: 8px;
  }
  .sec-title {
    font-size: 20px;
    gap: 0;
  }
  .sec-title::before,
  .sec-title::after {
    display: none;
  }
  .sec-title > span {
    flex: 1 1 auto;
  }
  .hero .sec-title {
    margin: 26px 0 16px;
  }
  .lead-quote {
    font-size: 17px;
    padding-left: 14px;
  }
  .hero-stats strong {
    font-size: 22px;
  }
  .hero-stats span {
    font-size: 11.5px;
  }
  .hero-stats li {
    padding: 12px 4px;
  }
  .play-buttons .btn {
    flex: 1 1 100%;
  }
  .page-head h1 {
    font-size: 23px;
  }
  .prose h2 {
    font-size: 21px;
  }
  .prose h3 {
    font-size: 18px;
  }
  .toc ol {
    columns: 1;
  }
  .cta.wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
  .related ul {
    grid-template-columns: 1fr;
  }
  .footer-cols {
    gap: 8px 18px;
  }
  .footer-title {
    gap: 8px;
    font-size: 14.5px;
  }
  .footer-contact {
    flex-direction: column;
  }
  .site-footer {
    padding-bottom: 62px;
  }
  .mobile-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    background: #05090b;
    border-top: 1px solid var(--teal-dim);
  }
  .mobile-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 4px 10px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
  }
  .mobile-bar a.is-main {
    background: linear-gradient(180deg, #7af0f0, var(--teal));
    color: var(--teal-ink);
  }
}

/* ---------- Thêm cho WordPress ---------- */
/* Dải báo nội dung mẫu tạm (trang có meta _bc_sample, khi chưa có bài five88plus). */
.sample-note {
  margin: 0;
  padding: 6px 14px;
  background: #3a0d0d;
  border-bottom: 1px solid #ff6a4d;
  color: #ffd2c4;
  font-size: 13px;
  text-align: center;
}
.sample-note strong {
  color: #ff8a6d;
}
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}
/* Thanh quản trị WordPress (chỉ khi đăng nhập): đẩy header bám dính xuống. */
.admin-bar .site-header {
  top: 32px;
}
@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}
