/* Nút ⌂ TRANG CHỦ trong sidebar / topbar (không nổi đè nội dung) */
#hkd-home-fab{display:none!important}
.hkd-home-sb{display:flex!important;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;
  width:calc(100% - 24px);margin:8px 12px 10px;padding:9px 12px;border-radius:10px;
  background:rgba(255,255,255,.12);color:#fff!important;border:1px solid rgba(255,255,255,.22);
  font:700 12.5px/1 -apple-system,"SF Pro Text",Inter,Roboto,system-ui,sans-serif;letter-spacing:.03em;
  text-decoration:none!important;cursor:pointer;transition:background .12s}
.hkd-home-sb:hover{background:#0071e3;border-color:#0071e3}
.hkd-home-sb svg,.hkd-home-tb svg{width:15px;height:15px;flex:0 0 auto}
.hkd-home-tb{display:none;align-items:center;gap:5px;padding:6px 10px;margin:0 6px;border-radius:9px;
  background:#0f2a4a;color:#fff!important;font:700 12px/1 -apple-system,Inter,Roboto,system-ui,sans-serif;
  text-decoration:none!important;white-space:nowrap;flex:0 0 auto}
.hkd-home-tb:hover{background:#0071e3}
@media (max-width:1023px){ .hkd-home-tb{display:inline-flex} aside.sidebar .hkd-home-sb{display:none!important} }
html.hkd-auth-on .hkd-home-sb,html.hkd-auth-on .hkd-home-tb,body.hkd-print .hkd-home-sb,body.hkd-print .hkd-home-tb{display:none!important}
@media print{.hkd-home-sb,.hkd-home-tb{display:none!important}}
html #side > a.hkd-home-tb{display:none!important}
html.hn-m body #side > a.hkd-home-tb.hkd-home-tb.hkd-home-tb{display:inline-flex!important;width:auto!important;box-sizing:border-box;vertical-align:middle;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);padding:9px 12px;margin:8px 16px 0 6px}
html.hn-m body #side > button.hn-tg.hn-tg.hn-tg{display:inline-block!important;width:calc(100% - 160px)!important;vertical-align:middle}
html.hn-m body #side > a.hkd-home-sb{display:none!important}

/* [flick2] chuyển trang mượt giữa các phân hệ (Chrome/Edge 126+): giữ khung cũ tới khi trang mới vẽ, mờ chuyển 0,18s; giữ chỗ thanh cuộn để bố cục không xê dịch */
@view-transition{navigation:auto}
::view-transition-group(root){animation-duration:.18s}
@media screen{html{scrollbar-gutter:stable}}
