/* v1.7.59 – BS127 (#171): chân trang + logo đồng bộ Loopi Home. Theo Canvas Gemini (chat e3ee62ca9e0aff72), 5 vòng brainstorm.
   Lớp .lfs thay cho chân trang cũ (.lfi / .lf của 1.7.38–1.7.40). Đặc hiệu cao (footer.lcfoot.lfs) để thắng các luật cũ ở eco1737.css. */
footer.lcfoot.lfs { max-width: none; margin: 32px 0 0; padding: 0; border: 0; background: transparent; color: var(--muted, #64748b); font-size: 13px; text-align: left; }
footer.lcfoot.lfs .lfs-w { max-width: 1120px; margin: 0 auto; padding: 14px 24px 18px; border-top: 1px solid var(--line, #e2e8f0); display: grid; gap: 6px; }
footer.lcfoot.lfs nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0; margin: 0; justify-content: flex-start !important; }
footer.lcfoot.lfs nav a { display: inline-flex; align-items: center; min-height: 32px; color: #475569; font-weight: 500; font-size: 13px; text-decoration: none; }
footer.lcfoot.lfs nav a + a::before { content: "·"; margin: 0 12px; color: #94a3b8; }
footer.lcfoot.lfs nav a:hover { color: var(--accent, #0f766e); text-decoration: underline; text-underline-offset: 3px; }
footer.lcfoot.lfs a:focus-visible { outline: 2px solid #0D9488; outline-offset: 2px; border-radius: 4px; }
footer.lcfoot.lfs .lfs-r1 { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; }
footer.lcfoot.lfs .ver { font-size: 12px; font-weight: 500; color: #64748b; white-space: nowrap; background: none; padding: 0; margin: 0; }
footer.lcfoot.lfs p.lfs-bq { display: block; margin: 0; font-size: 12px; line-height: 1.6; color: #64748b; white-space: normal; }
/* trang công khai: hàng pháp lý sáng ngay dưới dải navy (như Loopi Home) */
footer.lcfoot.lfs-pub { margin-top: 0; background: var(--bg-soft, #f8fafc); }
footer.lcfoot.lfs-pub .lfs-w { border-top: 0; padding: 18px 0 22px; }   /* thẳng mép trái với khối "Một sản phẩm thuộc" (Gemini đối chiếu bản code) */
/* đăng nhập / đăng ký: một dòng giữa gọn dưới thẻ */
footer.lcfoot.lfs-auth { margin: 24px 0 0; }
footer.lcfoot.lfs-auth .lfs-c { max-width: 480px; margin: 0 auto; padding: 0 16px 28px; text-align: center; }
footer.lcfoot.lfs-auth nav { justify-content: center !important; }
footer.lcfoot.lfs-auth p.lfs-bq { text-align: center; }
/* ĐÃ ĐĂNG NHẬP – điện thoại: không chân trang trên thanh tab (nằm ở Tài khoản › Thông tin và hỗ trợ) */
@media (max-width: 760px) {
  footer.lcfoot.lfs-in { display: none !important; }
  footer.lcfoot.lfs .lfs-w { padding: 14px 16px 18px; }
  footer.lcfoot.lfs-pub .lfs-w { padding: 16px 16px 22px; }
  footer.lcfoot.lfs-pub nav a, footer.lcfoot.lfs-auth nav a { min-height: 44px; }
  footer.lcfoot.lfs-pub nav, footer.lcfoot.lfs-auth nav { gap: 0 18px; }
  footer.lcfoot.lfs-pub nav a + a::before, footer.lcfoot.lfs-auth nav a + a::before { content: none; }   /* dấu "·" ở đầu dòng xuống hàng trông như lỗi → điện thoại dùng khoảng cách */
}
/* tối: dải navy giữ #0F172A; dòng mảnh nền #0B1120 */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) footer.lcfoot.lfs-in, :root:not([data-theme="light"]) footer.lcfoot.lfs-pub { background: #0B1120; }
  :root:not([data-theme="light"]) footer.lcfoot.lfs .lfs-w { border-top-color: rgba(255,255,255,.08); }
  :root:not([data-theme="light"]) footer.lcfoot.lfs nav a { color: #CBD5E1; }
  :root:not([data-theme="light"]) footer.lcfoot.lfs .ver, :root:not([data-theme="light"]) footer.lcfoot.lfs p.lfs-bq { color: #94A3B8; }
}
[data-theme="dark"] footer.lcfoot.lfs-in, [data-theme="dark"] footer.lcfoot.lfs-pub { background: #0B1120; }
[data-theme="dark"] footer.lcfoot.lfs .lfs-w { border-top-color: rgba(255,255,255,.08); }
[data-theme="dark"] footer.lcfoot.lfs nav a { color: #CBD5E1; }
[data-theme="dark"] footer.lcfoot.lfs .ver, [data-theme="dark"] footer.lcfoot.lfs p.lfs-bq { color: #94A3B8; }

/* Dải gia đình (trang công khai): các DÒNG gọn như Loopi Home, thẻ của mình viền xanh ngọc, nhãn không đè tên trên 360 px */
.eco-band .eco-list li { min-height: 64px; }
.eco-band .eco-list li.on { box-shadow: inset 0 0 0 1px #0D9488; border-color: #0D9488; background: rgba(13,148,136,.14); }
.eco-band .eco-list li > span:not(.eco-ic), .eco-band .eco-list a > span:not(.eco-ic) { min-width: 0; flex: 1; }
.eco-band .eco-list b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
@media (max-width: 420px) { .eco-band .eco-o { display: none; } .eco-band .eco-list em { flex: none; } }

/* Thông tin và hỗ trợ (Tài khoản, điện thoại): bản quyền + phiên bản cuối thẻ, không cắt chữ */
.pf-info .pf-bq { margin: 10px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted, #64748b); }
.pf-info .pf-bq span { display: block; font-weight: 500; }
.pf-il a .pf-chev:last-child { color: #64748b; }

/* Logo – khuôn chung với Loopi Home (BS127 vòng 3): trang công khai dấu 28 px KHÔNG ô nền + chữ 18 px + "Trợ Giảng" 11 px xanh ngọc; điện thoại 24/16/10 */
.tc a.tc-logo, a.tc-logo.tc-logo { gap: 8px; font-size: 18px; }
.tc a.tc-logo .lmark, a.tc-logo.tc-logo .lmark { width: 28px; height: 28px; }
.tc a.tc-logo small, a.tc-logo.tc-logo small { font-size: 11px; font-weight: 600; color: #0D9488; }
@media (max-width: 480px) { .tc a.tc-logo, a.tc-logo.tc-logo { font-size: 16px; } .tc a.tc-logo .lmark, a.tc-logo.tc-logo .lmark { width: 24px; height: 24px; } .tc a.tc-logo small, a.tc-logo.tc-logo small { font-size: 10px; } }
.sf-gl a.sf-home .sf-hm { flex: 1; } .sf-gl a.sf-home .sf-ext { flex: none; opacity: .7; }
/* thanh bên ứng dụng: ô nhạt 32 px chứa dấu 20 px + chữ 17 px + 11 px */
button.brand .logo { width: 32px; height: 32px; border-radius: 9px; padding: 6px; }
button.brand .wm { font-size: 17px; }
button.brand .bname small { font-size: 11px; }
