
/* ============================================================
   xoso_8 — Data Dense
   Palette + layout rieng. Contrast guard: khong de chu trung nen.
   ============================================================ */
:root {
  --xs-nav: var(--xs-accent-dark);
  --xs-accent: #c8102e;
  --xs-accent-dark: #8f0b1f;
  --xs-gold: #ffc107;
  --xs-bg: #e7efe9;
  --xs-ink: #121e16;
  --xs-muted: #4a6154;
  --xs-card: #ffffff;
  --xs-border: #c9dccf;
  --xs-radius: 6px;
  --xs-max: 1260px;
  --xs-title-bg: #e2f4e8;
  --xs-title-ink: #11562a;
  --xs-footer-bg: #0d1a12;
  --xs-footer-ink: #c2d3c7;
  --xs-footer-link: #ffc107;
  --xs-font: "Be Vietnam Pro",Arial,sans-serif;
  --xs-display: "Oswald",Arial,sans-serif;
  --xs-shadow: 0 8px 24px rgba(15,20,35,.10);
  --xs-shadow-sm: 0 2px 8px rgba(15,20,35,.07);
}

/* ---------- base ---------- */
body.xs-theme-8 { font-family: var(--xs-font); background: var(--xs-bg); color: var(--xs-ink); }
body.xs-theme-8 a { color: var(--xs-accent-dark); }
body.xs-theme-8 a:hover { color: var(--xs-accent); }
.xs-theme-8 img { max-width: 100%; height: auto; }

/* ---------- HEADER (contrast fix) ----------
   base.css: .taskbar{background:#fbfbfb} + .top-info{background:#fff}
   -> phai reset, neu khong chu trang se trung nen trang. */
.xs-theme-8 header { background: #166b35; box-shadow: var(--xs-shadow-sm); }
.xs-theme-8 header .main {
  max-width: var(--xs-max); margin: 0 auto; padding: 10px 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.xs-theme-8 .taskbar,
.xs-theme-8 header .taskbar {
  background: transparent !important; border: 0 !important;
  color: #fff !important; margin: 0; padding: 0;
  font-family: var(--xs-display); font-size: 17px; line-height: 1.25;
  letter-spacing: .3px; text-transform: uppercase;
}
.xs-theme-8 .top-info,
.xs-theme-8 header .top-info { background: transparent !important; padding: 0 !important; margin: 0 !important; border: 0 !important; }
.xs-theme-8 .top-info .navbar-toggle { background: rgba(255,255,255,.16); border-radius: 8px; padding: 8px 9px; border: 0; }
.xs-theme-8 .navbar-toggle .icon-bar { background: #fff !important; }
/* base.css chi style .navbar-toggle trong @media(max-width:1023px) nhung khong an o desktop
   -> nut hamburger bi lo tren header PC. An han tu breakpoint desktop. */
@media (min-width: 1024px) {
  .xs-theme-8 .navbar-toggle,
  .xs-theme-8 .top-info .navbar-toggle,
  .xs-theme-8 header .navbar-toggle,
  .xs-theme-8 #menu-mobile-backdrop { display: none !important; }
}
@media (max-width: 1023px) {
  .xs-theme-8 .navbar-toggle, .xs-theme-8 header .navbar-toggle { display: inline-block; }
}
.xs-theme-8 .logo { margin: 0; }
.xs-theme-8 .txtlogo { color: #fff !important; }
.xs-theme-8 .txtlogo img { max-height: 40px; width: auto; display: block; }

/* ---------- NAV ---------- */
.xs-theme-8 nav#nav { background: #11562a; }
.xs-theme-8 nav#nav li > a { color: #fff; }
.xs-theme-8 nav#nav li:hover > a, .xs-theme-8 nav#nav li.active > a { background: var(--xs-gold); color: #1a1a1a; }
/* drawer mobile: base cho nen trang + chu den -> giu nguyen, chi fix header row */
.xs-theme-8 .nav-horizontal li a { color: #111; }
.xs-theme-8 .nav-horizontal li.menu-header, .xs-theme-8 .nav-horizontal li.menu-header a { background: var(--xs-accent); color: #fff; }
.xs-theme-8 .nav-horizontal li.active > a, .xs-theme-8 .nav-horizontal li:hover > a { background: var(--xs-accent); color: #fff; }

/* ---------- TITLES (contrast guard) ----------
   base: .content-right .title-r{bg:#f60;color:#fff} va .title-r a{color:#fff}
   -> dung nen dam + chu trang cho ca link ben trong. */
.xs-theme-8 .title-r,
.xs-theme-8 .content-right .title-r {
  background: var(--xs-accent-dark) !important; color: #fff !important;
  font-family: var(--xs-display); text-transform: uppercase; letter-spacing: .3px;
  padding: 9px 12px !important; font-size: 13px !important;
}
.xs-theme-8 .title-r a, .xs-theme-8 .title-r a:hover,
.xs-theme-8 .content-right .title-r a,
.xs-theme-8 .content-right h2 a, .xs-theme-8 .content-right h3 a { color: #fff !important; text-decoration: none; }
/* .tit-mien: nen sang -> chu dam mau thuong hieu */
.xs-theme-8 .tit-mien, .xs-theme-8 .title-bor, .xs-theme-8 .kq-title {
  background: var(--xs-title-bg) !important; color: var(--xs-title-ink) !important;
  font-family: var(--xs-display); font-weight: 700; text-transform: uppercase;
  border-left: 4px solid var(--xs-accent); padding: 9px 12px !important; text-align: left;
}
.xs-theme-8 .tit-mien a, .xs-theme-8 .tit-mien strong, .xs-theme-8 .tit-mien span,
.xs-theme-8 .title-bor a, .xs-theme-8 .kq-title a { color: var(--xs-title-ink) !important; }
.xs-theme-8 .sub-title { color: var(--xs-accent-dark) !important; }

/* ---------- CONTRAST GUARD ----------
   Cac cap mau tuong phan thap trong base.css (audit ratio < 3):
   .nav-tabs>li (#f36b21/#afafaf), .paging a (#fff/#ccc), #go-top (#fff/#c3c3c3),
   .control-panel (#fff/#fb9b34), .menu-c2 li.active a (#fff/#f90),
   .cl-rl (#f60/#fff2bc), a.item_sublink (#fbf7f7/#f77446) */
.xs-theme-8 .nav-tabs > li { background-color: #e9e9e9; color: var(--xs-accent-dark); }
.xs-theme-8 .nav-tabs > li > a { color: var(--xs-ink); }
.xs-theme-8 .nav-tabs > li.active { background-color: var(--xs-accent-dark); }
.xs-theme-8 .nav-tabs > li.active > a { color: #fff; }
.xs-theme-8 .control-panel { background: var(--xs-accent-dark); color: #fff; }
.xs-theme-8 .control-panel a, .xs-theme-8 .control-panel span, .xs-theme-8 .control-panel label { color: #fff; }
.xs-theme-8 .menu-c2 li.active a, .xs-theme-8 .menu-c2 li a:hover { background: var(--xs-accent-dark); color: #fff; }
.xs-theme-8 .cl-rl, .xs-theme-8 .colgiai td div.cl-rl { color: var(--xs-accent-dark); }
.xs-theme-8 a.item_sublink { background: var(--xs-accent-dark); color: #fff; }

/* ---------- section head ---------- */
.xs-section-head { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
.xs-section-head span {
  font-family: var(--xs-display); text-transform: uppercase; font-size: 15px; letter-spacing: .4px;
  color: #fff; background: var(--xs-accent-dark); padding: 8px 14px; border-radius: 8px;
}
.xs-section-head::after { content: ""; flex: 1; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--xs-gold), transparent); }

/* ---------- results emphasis ---------- */
.xs-theme-8 .colgiai .gdb div, .xs-theme-8 table.kqmb .db td.number, .xs-theme-8 .gdb, .xs-theme-8 .madb {
  color: var(--xs-accent) !important; font-weight: 800 !important;
}
.xs-theme-8 .colgiai .gdb div, .xs-theme-8 table.kqmb .db td.number { font-size: 30px !important; }
.xs-theme-8 table.kqmb tr:nth-child(even) td { background: rgba(0,0,0,.02); }
.xs-theme-8 .txt-giai { color: var(--xs-ink); }
.xs-theme-8 table td, .xs-theme-8 table th { color: inherit; }

/* ---------- boxes ---------- */
.xs-theme-8 .box, .xs-theme-8 .content-right {
  background: var(--xs-card); color: var(--xs-ink);
  border: 1px solid var(--xs-border); border-radius: var(--xs-radius);
  margin-bottom: 12px; overflow: hidden;
}

/* ---------- WP content (page/single) ---------- */
.xs-prose { background: var(--xs-card); color: var(--xs-ink); padding: 18px 20px; line-height: 1.75; font-size: 16px; }
.xs-prose h1, .xs-prose h2, .xs-prose h3 { font-family: var(--xs-display); color: var(--xs-accent-dark); margin: 22px 0 10px; line-height: 1.25; }
.xs-prose h1 { font-size: 26px; margin-top: 0; }
.xs-prose h2 { font-size: 21px; }
.xs-prose h3 { font-size: 18px; }
.xs-prose p { margin: 0 0 14px; }
.xs-prose a { color: var(--xs-accent-dark); text-decoration: underline; }
.xs-prose ul, .xs-prose ol { margin: 0 0 14px 22px; }
.xs-prose img { border-radius: 8px; margin: 10px 0; }
.xs-prose table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.xs-prose table th, .xs-prose table td { border: 1px solid var(--xs-border); padding: 8px; }
.xs-prose table th { background: var(--xs-title-bg); color: var(--xs-title-ink); }
.post-meta { color: var(--xs-muted); font-size: 13px; margin-bottom: 12px; }

/* blog list */
.xs-bloglist { list-style: none; margin: 0; padding: 0; }
.xs-bloglist li { padding: 14px 0; border-bottom: 1px dashed var(--xs-border); }
.xs-bloglist li:last-child { border-bottom: 0; }
.xs-bloglist h3 { margin: 0 0 8px; font-size: 17px; }
.xs-bloglist h3 a { color: var(--xs-accent-dark); }
.xs-bloglist img { max-width: 130px; border-radius: 8px; margin: 0 12px 6px 0; }
.xs-bloglist .sapo { color: var(--xs-muted); }
.xs-theme-8 .paging a, .xs-theme-8 .paging span {
  display: inline-block; padding: 7px 12px; margin: 2px; border-radius: 8px;
  border: 1px solid var(--xs-border); background: var(--xs-card); color: var(--xs-ink); text-decoration: none;
}
.xs-theme-8 .paging a:hover, .xs-theme-8 .paging .current { background: var(--xs-accent); color: #fff; border-color: var(--xs-accent); }

/* quay thu: content-quaythu.php co .col-l long nhau -> reset */
.xs-quaythu .col-l, .xs-quaythu .col-center, .xs-quaythu .col-right {
  width: auto !important; float: none !important; display: block !important; padding: 0 !important;
}

/* 404 */
.xs-404 { background: var(--xs-card); border-radius: var(--xs-radius); padding: 20px; text-align: center; }
.xs-404 p { margin: 14px 0 0; color: var(--xs-muted); }

/* fallback */
.xs-fallback { background: var(--xs-card) !important; color: var(--xs-ink); }
.xs-fallback h2 { color: var(--xs-accent); font-family: var(--xs-display); }

/* ---------- FOOTER (rich + contrast guard) ---------- */
.xs-theme-8 .footer.xs-footer { background: var(--xs-footer-bg); color: var(--xs-footer-ink); margin-top: 28px; }
.xs-footer .xs-footer-inner { max-width: var(--xs-max); margin: 0 auto; padding: 0 14px; }
.xs-footer, .xs-footer p, .xs-footer li, .xs-footer span, .xs-footer strong, .xs-footer div { color: var(--xs-footer-ink); }
.xs-footer a { color: var(--xs-footer-link); text-decoration: none; }
.xs-footer a:hover { color: #fff; text-decoration: underline; }
.xs-footer-top { padding: 30px 0 10px; border-bottom: 1px solid rgba(255,255,255,.10); }
.xs-footer-top .xs-footer-inner {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 26px;
}
.xs-footer-col h3 {
  margin: 0 0 12px; font-family: var(--xs-display); font-size: 15px; text-transform: uppercase;
  letter-spacing: .5px; color: #fff !important; padding-bottom: 8px;
  border-bottom: 2px solid var(--xs-accent); display: inline-block;
}
.xs-footer-col ul { list-style: none; margin: 0; padding: 0; }
.xs-footer-col li { margin-bottom: 8px; font-size: 14px; }
.xs-footer-col li a::before { content: "› "; color: var(--xs-gold); }
.xs-footer-logo img { max-height: 44px; width: auto; margin-bottom: 12px; }
.xs-footer-desc { font-size: 13.5px; line-height: 1.7; margin: 0 0 12px; opacity: .92; }
.xs-footer-badges { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.xs-footer-links { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.10); font-size: 13px; }
.xs-footer-links a { margin-right: 10px; }
.xs-footer-bottom { padding: 16px 0 22px; }
.xs-footer-bottom .xs-footer-inner { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; }
.xs-copy { margin: 0; font-size: 13.5px; }
.xs-copy strong { color: #fff; }
.xs-disclaimer { margin: 0; font-size: 12.5px; opacity: .8; }
.xs-footer .share-social, .xs-footer .coppyr { float: none; }

/* go top: base.css dung #go-top (ID) nen phai tang specificity */
.xs-theme-8 #go-top.xs-gotop {
  position: fixed; right: 14px; bottom: 84px; z-index: 40;
  width: 44px; height: 44px; line-height: 44px; padding: 0; text-align: center;
  background-color: var(--xs-accent); color: #fff !important; border-radius: 50%;
  box-shadow: var(--xs-shadow); text-decoration: none; font-size: 22px;
}
.xs-theme-8 #go-top.hidden { display: none; }

/* ---------- shared inner-page grid fallback ---------- */
.xs-theme-8 .col-l, .xs-theme-8 .col-center, .xs-theme-8 .col-right { min-width: 0; }

/* ---------- responsive base ---------- */
@media (max-width: 900px) {
  .xs-footer-top .xs-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .xs-theme-8 .taskbar { font-size: 14px; }
  .xs-theme-8 .colgiai .gdb div, .xs-theme-8 table.kqmb .db td.number { font-size: 24px !important; }
  .xs-footer-top .xs-footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .xs-prose { padding: 14px; }
}


/* FAQ Accordion */
.xs-theme-8 .faq-accordion { margin: 16px 0; border: 1px solid var(--xs-border); background: var(--xs-card); }
.xs-theme-8 .faq-item { border-bottom: 1px solid var(--xs-border); }
.xs-theme-8 .faq-item:last-child { border-bottom: 0; }
.xs-theme-8 .faq-question { padding: 10px 12px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--xs-accent-dark); font-size: 14px; background: #f8f9fa; }
.xs-theme-8 .faq-question:hover { background: #e2e8f0; }
.xs-theme-8 .toggle-icon::before { content: "+"; font-weight: bold; }
.xs-theme-8 .faq-item.active .toggle-icon::before { content: "-"; }
.xs-theme-8 .answer-content { padding: 10px 12px; color: var(--xs-ink); font-size: 13px; line-height: 1.5; }


/* ================= LAYOUT: Data Dense ================= */
.xs-dense-toolbar {
  max-width: var(--xs-max); margin: 10px auto 0; padding: 9px 14px;
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  background: #166b35; color: #fff; border-radius: 8px;
}
.xs-dense-toolbar strong, .xs-dense-toolbar span { color: #fff !important; }
.xs-dense-toolbar strong { font-family: var(--xs-display); text-transform: uppercase; letter-spacing: .4px; }
.xs-dense-date { background: rgba(255,255,255,.18); padding: 3px 10px; border-radius: 999px; font-size: 13px; }
.xs-dense-hint { margin-left: auto; font-size: 12.5px; opacity: .9; }
.xs-dense {
  max-width: var(--xs-max); margin: 10px auto; padding: 0 10px;
  display: grid; grid-template-columns: minmax(0,1fr) 290px; gap: 10px; align-items: start;
}
.xs-dense .col-l, .xs-dense .col-center, .xs-dense .col-right {
  width: auto !important; float: none !important; display: block !important; margin: 0 !important; padding: 0 !important;
}
.xs-dense-title { font-family: var(--xs-display); font-size: 18px; margin: 0 0 10px; color: var(--xs-accent-dark); }
.xs-dense-main .box { margin-bottom: 8px; border-radius: 6px; }
.xs-theme-8 .xs-dense table.kqmb td, .xs-theme-8 .xs-dense table.kqmb th { padding: 4px 6px !important; font-size: 13.5px; }
.xs-theme-8 .xs-dense table.kqmb tr:hover td { background: #fff8d6; }
.xs-dense-side { display: flex; flex-direction: column; gap: 8px; position: sticky; top: 8px; }
@media (max-width: 1023px) { .xs-dense { grid-template-columns: 1fr; } .xs-dense-side { position: static; } }

/* ---------- inner-page grid (dung khi layout render .xs-dash) ---------- */
.xs-dash {
  max-width: var(--xs-max); margin: 14px auto; padding: 0 12px;
  display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 14px; align-items: start;
}
.xs-dash .col-l, .xs-dash .col-center, .xs-dash .col-right {
  width: auto !important; float: none !important; display: block !important; margin: 0 !important;
}
@media (max-width: 1023px) { .xs-dash { grid-template-columns: 1fr; } }

    
    /* ========== SUBMENU + HEADER RESET (2026-08-16 fix) ========== */
    /* Bug: nav#nav li > a {color:#fff} thang .menu-c2 li a {color:#333} -> chu trang tren nen trang */
    .xs-theme-8 header.xs-hd { color: #fff; }
    .xs-theme-8 .xs-hd-wrap { max-width: var(--xs-max); margin: 0 auto; padding: 0 12px; }
    .xs-theme-8 .taskbar {
      background: transparent !important; border: 0 !important; margin: 0; padding: 0;
      color: #fff !important; font-family: var(--xs-display); font-size: 18px;
      line-height: 1.25; letter-spacing: .3px; text-transform: uppercase;
    }
    .xs-theme-8 .logo { margin: 0; }
    .xs-theme-8 .txtlogo { color: #fff !important; display: inline-block; }
    .xs-theme-8 .txtlogo img { max-height: 40px; width: auto; display: block; }
    .xs-theme-8 .navbar-toggle {
      background: rgba(255,255,255,.16); border: 0; border-radius: 8px; padding: 8px 9px; float: none;
    }
    .xs-theme-8 .navbar-toggle .icon-bar { background: #fff !important; display: block; height: 2px; width: 22px; margin: 4px 0; }
    
    /* Top-level nav links: white on dark nav */
    .xs-theme-8 nav#nav { background: var(--xs-nav, var(--xs-accent-dark)); }
    .xs-theme-8 nav#nav > ul > li > a,
    .xs-theme-8 nav#nav .nav-pc > li > a,
    .xs-theme-8 nav#nav #nav-horizontal-list > li > a { color: #fff; }
    .xs-theme-8 nav#nav > ul > li:hover > a,
    .xs-theme-8 nav#nav > ul > li.active > a,
    .xs-theme-8 nav#nav .nav-pc > li:hover > a,
    .xs-theme-8 nav#nav .nav-pc > li.active > a,
    .xs-theme-8 nav#nav #nav-horizontal-list > li:hover > a,
    .xs-theme-8 nav#nav #nav-horizontal-list > li.active > a {
      background: var(--xs-gold); color: #1a1a1a;
    }
    
    /* Desktop submenu .menu-c2 — MUST be dark text on white */
    .xs-theme-8 nav#nav .menu-c2 {
      background: #fff !important; border: 1px solid var(--xs-border, #e2e5ea);
      box-shadow: 0 8px 24px rgba(15,20,35,.12); border-radius: 8px; padding: 6px 0 !important; z-index: 9999;
    }
    .xs-theme-8 nav#nav .menu-c2 li { padding: 0 !important; border-bottom: 1px dashed #eee; }
    .xs-theme-8 nav#nav .menu-c2 li:last-child { border-bottom: 0; }
    .xs-theme-8 nav#nav .menu-c2 li a,
    .xs-theme-8 nav#nav .menu-c2 li:not(.active) a,
    .xs-theme-8 nav#nav li:hover .menu-c2 li a,
    .xs-theme-8 nav#nav li.active .menu-c2 li a,
    .xs-theme-8 nav#nav li:hover .menu-c2 a {
      color: #1f2430 !important; background: transparent !important;
      display: block; padding: 8px 16px !important; line-height: 1.4;
      text-transform: none; white-space: nowrap;
    }
    .xs-theme-8 nav#nav .menu-c2 li a:hover,
    .xs-theme-8 nav#nav .menu-c2 li:hover > a,
    .xs-theme-8 nav#nav .menu-c2 li.active > a {
      background: var(--xs-title-bg, #fff6cf) !important;
      color: var(--xs-accent-dark, #96091f) !important;
    }
    
    /* Mobile drawer */
    .xs-theme-8 .nav-pc { background: #fff; }
    .xs-theme-8 .nav-horizontal li { background: #fff; }
    .xs-theme-8 .nav-horizontal li > a { color: #111 !important; background: transparent !important; }
    .xs-theme-8 .nav-horizontal li.active > a,
    .xs-theme-8 .nav-horizontal li:hover > a { background: var(--xs-accent) !important; color: #fff !important; }
    .xs-theme-8 .nav-horizontal li.menu-header,
    .xs-theme-8 .nav-horizontal li.menu-header a { background: var(--xs-accent) !important; color: #fff !important; }
    .xs-theme-8 .nav-horizontal .menu-c2 { background: #f7f7f7 !important; box-shadow: none; border: 0; border-radius: 0; }
    .xs-theme-8 .nav-horizontal .menu-c2 li a { color: #222 !important; padding-left: 28px !important; }
    .xs-theme-8 .nav-horizontal .menu-c2 li a:hover { background: #eee !important; color: var(--xs-accent-dark) !important; }
    
    /* Shared footer helpers */
    .xs-theme-8 .xs-ft-wrap { max-width: var(--xs-max); margin: 0 auto; padding: 0 14px; }
    .xs-theme-8 .footer.xs-footer { background: var(--xs-footer-bg); color: var(--xs-footer-ink); margin-top: 28px; }
    .xs-theme-8 .xs-footer,
    .xs-theme-8 .xs-footer p,
    .xs-theme-8 .xs-footer li,
    .xs-theme-8 .xs-footer span,
    .xs-theme-8 .xs-footer strong,
    .xs-theme-8 .xs-footer div { color: var(--xs-footer-ink); }
    .xs-theme-8 .xs-footer a { color: var(--xs-footer-link); text-decoration: none; }
    .xs-theme-8 .xs-footer a:hover { color: #fff; text-decoration: underline; }
    .xs-theme-8 .xs-ft-col h3 {
      margin: 0 0 12px; font-family: var(--xs-display); font-size: 14px;
      text-transform: uppercase; letter-spacing: .5px; color: #fff !important;
    }
    .xs-theme-8 .xs-ft-col ul { list-style: none; margin: 0; padding: 0; }
    .xs-theme-8 .xs-ft-col li { margin-bottom: 8px; font-size: 14px; }
    .xs-theme-8 .xs-ft-logo { max-height: 42px; width: auto; margin-bottom: 10px; display: block; }
    .xs-theme-8 .xs-fine { opacity: .8; font-size: 12.5px; }
    .xs-theme-8 .footer .share-social,
    .xs-theme-8 .footer .coppyr { float: none; }
    .xs-theme-8 #go-top.xs-gotop {
      position: fixed; right: 14px; bottom: 84px; z-index: 40;
      width: 44px; height: 44px; line-height: 44px; padding: 0; text-align: center;
      background-color: var(--xs-accent); color: #fff !important; border-radius: 50%;
      box-shadow: 0 8px 24px rgba(15,20,35,.15); text-decoration: none; font-size: 22px;
    }
    .xs-theme-8 #go-top.hidden { display: none; }
    

    /* HEADER 8 compact toolbar */
    .xs-theme-8 .xs-hd-8 { background: #166b35; }
    .xs-theme-8 .xs-hd8-row { max-width: var(--xs-max); margin: 0 auto; padding: 8px 10px; display: flex; align-items: center; gap: 10px; }
    .xs-theme-8 .xs-hd-8 .taskbar { flex: 1; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .xs-theme-8 .xs-hd8-chip { background: rgba(255,255,255,.18); color: #fff; font-size: 12px; padding: 3px 9px; border-radius: 4px; font-weight: 700; }
    .xs-theme-8 .xs-hd8-live { background: #ffc107; color: #121e16; }
    .xs-theme-8 .xs-hd-8 nav#nav { border-top: 1px solid rgba(255,255,255,.12); }
    .xs-theme-8 .xs-hd-8 nav#nav li > a { line-height: 30px; font-size: 12.5px; padding: 0 7px; }
    
    /* FOOTER 8 dense 5-col */
    .xs-theme-8 .xs-ft8-grid { padding: 18px 0 8px; }
    .xs-theme-8 .xs-ft8-grid .xs-ft-wrap { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; }
    .xs-theme-8 .xs-ft-8 .xs-ft-col h3 { font-size: 12px; margin-bottom: 8px; color: var(--xs-gold) !important; }
    .xs-theme-8 .xs-ft-8 .xs-ft-col li { margin-bottom: 5px; font-size: 13px; }
    .xs-theme-8 .xs-ft8-bar { background: #09140e; padding: 10px 0 14px; border-top: 1px solid rgba(255,255,255,.08); }
    .xs-theme-8 .xs-ft8-bar .xs-ft-wrap { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
    @media (max-width:900px) { .xs-theme-8 .xs-ft8-grid .xs-ft-wrap { grid-template-columns: repeat(3,1fr); } }
    @media (max-width:600px) { .xs-theme-8 .xs-ft8-grid .xs-ft-wrap { grid-template-columns: 1fr 1fr; } }
    
