/* ============================================================
   SỬA GIAO DIỆN (bản demo check-ui 19/11/2026) — chỉ sửa lỗi, giữ nguyên brand.
   Nạp CUỐI <body> để thắng các khối style cũ. Áp vào bản thật = chép file này + 1 dòng <link>.
   ============================================================ */

/* 1. Chỉ giao diện tối: không còn nút chuyển; khoá màu trình duyệt tối */
:root { color-scheme: dark; }
#themeToggle { display: none !important; }

/* 2. Thanh trên cùng trên điện thoại: đường dẫn "HUYỀN NGUYỆT / Trang" chiếm chỗ làm nút Đăng nhập
      bị cắt và tên trang xuống 3 dòng → dưới 560px chỉ giữ nút menu, tên trang 1 dòng cắt "…". */
@media (max-width: 560px) {
  .topbar { gap: 8px; }
  .crumb { min-width: 0; display: flex; align-items: center; gap: 10px; }
  .crumb .crumb-home, .crumb > span[aria-hidden="true"] { display: none; }
  .crumb #crumbCurrent { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
  .top-cluster { gap: 6px; }
}

/* 3. Bát Tự: vòng Bát Quái trang trí đè lên đoạn giới thiệu ở màn rộng → đẩy vòng sang phải,
      chữ luôn nằm trên lớp trang trí. */
.bt-hero-copy { position: relative; z-index: 2; }
@media (min-width: 721px) {
  .battu-hero-bagua { right: -22vmin; }
}

/* 4. Chữ quá nhỏ (detector: 42 chữ UI dưới chuẩn, 15 chữ < 12px) — thẻ bộ môn và nhãn giá Tarot */
.module-card small { font-size: 12.5px; line-height: 1.4; }
.module-card .module-hint { font-size: 12px; }
.p-cost { font-size: 12px; }

/* 5. Thẻ Human Design: nhãn "COMING SOON" (tiếng Anh, 7px) đè lên dòng "Sắp được hé mở" trên điện thoại.
      Dòng gợi ý đã nói "sắp", menu bên cũng có nhãn "SẮP CÓ" → bỏ nhãn thừa. */
.module-card.coming:after { display: none; }

/* 6. Chân trang: tên thương hiệu dùng font tiêu đề (Cormorant) như mọi tiêu đề khác, không phải sans đậm */
.site-footer h2 { font: 500 30px/1.15 'Cormorant Garamond', serif; letter-spacing: .01em; }

/* 7. Dòng liên hệ chân trang (chỉ email + số điện thoại): link nằm cùng một dòng, không kế thừa kiểu link danh sách */
.site-footer .footer-contact { display: block; margin-top: 10px; line-height: 1.8; color: var(--muted, #b9b1a3); }
.site-footer .footer-contact a { display: inline; padding: 0; margin: 0; border: 0; min-height: 0; color: var(--gold-2, #e2bb75); text-decoration: none; }
.site-footer .footer-contact a:hover, .site-footer .footer-contact a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
