/* ==========================================================================
   MOBILE — tinh chỉnh chạm & đọc cho từng trang (nạp sau cùng)
   Dựa trên audit thực tế ở 390×844:
   - Vùng chạm tối thiểu 44×44px (WCAG 2.5.5 / iOS HIG), cách nhau ≥ 8px
   - Đoạn đọc dài ≥ 15px, nhãn ≥ 12–13px
   - Hành động chính trong tầm ngón cái
   ========================================================================== */
@media (max-width: 768px) {

  /* ---------- Chung ---------- */
  .pg-head .subnav a { min-height: 44px; }
  .pg-head .breadcrumb { gap: 0 4px; margin-bottom: 10px; }
  .pg-head .breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
  .pg-head .breadcrumb .cur { display: inline-flex; align-items: center; min-height: 44px; }
  .section-sub, .tv-section-sub { font-size: 15px; line-height: 1.6; }

  /* ---------- Trang chủ ---------- */
  .hm .hm-icon-btn { width: 44px; height: 44px; }
  .hm .hm-select { min-height: 44px; }
  .hm .hm-cal-nav button { min-width: 44px; height: 44px; }
  .hm .mgd-filter { min-height: 44px; padding: 0 16px; }
  .hm .hm-tabs { gap: 4px; }
  .hm .hm-legend-tip { font-size: 14px; }
  .hm .zod-card .zod-years { font-size: 13px; }
  .hm .hm-sheet-nav button { min-height: 56px; font-size: 16px; }
  .hm .hm-conv-row input { min-height: 48px; }
  .hm .hm-conv-row .hm-btn { min-height: 48px; }
  .hm .hm-shortcut { min-height: 64px; align-items: center; }

  /* ---------- Lịch ngày ---------- */
  .mini-cal-nav button { width: 44px; height: 44px; font-size: 18px; }
  .ndla-page a.button, .ndla-page button.button, .nav-row a, .nav-row button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .tg-short { font-size: 13px; }
  .cb-side-label, .tg-section-label, .nh-stars-label { font-size: 12.5px; }
  .direction-info .name { font-size: 13px; }
  .direction-info .desc { font-size: 13px; }
  .info-row .k { font-size: 13px; }
  .info-row .v { font-size: 15px; }
  .up-item { min-height: 56px; }

  /* ---------- Lịch tuần ---------- */
  .selector-row select { min-height: 44px; }
  .selector-nav button, .selector-nav a { min-height: 44px; }
  .dc-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; }
  .dc-pill { font-size: 12px; }
  .dc-row .k { font-size: 13px; }
  .dc-row .v { font-size: 15px; }
  /* Bảng 52 tuần: ô cao 44px để chạm chính xác */
  .weeks-table thead th { font-size: 12px; padding: 10px 2px; }
  .weeks-table tbody td { height: 44px; font-size: 14px; padding: 2px; }
  .weeks-table tbody td .am { font-size: 11px; }

  /* ---------- Lịch năm ---------- */
  .qy-btn { min-height: 44px; min-width: 56px; font-size: 14px; }
  .settings-toggle { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
  .settings-label, .yh-side-label { font-size: 12.5px; }
  .month-head { min-height: 48px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
  .holiday-row { min-height: 52px; align-items: center; }
  .holiday-row .name { font-size: 14px; line-height: 1.4; }
  .holiday-row .date { font-size: 14px; }
  a.mt-link { display: inline-flex; align-items: center; min-height: 44px; }
  .mt-relative { font-size: 12.5px; }

  /* ---------- Tử vi ---------- */
  .tv-detail-link { display: flex; align-items: center; justify-content: center; min-height: 48px; font-size: 15px; }
  .tv-reco-list li, .tv-dodont li { font-size: 15px; line-height: 1.55; }
  .tv-sign-years { font-size: 13px; }
  .tv-lucky-title { font-size: 13px; }
  .tv-day-lunar, .tv-day-canchi, .tv-day-direction { font-size: 15px; }
  a.tv-rank-row { min-height: 52px; }

  /* ---------- Tử vi theo tuổi ---------- */
  .tvct-tab { min-height: 48px; }
  .tvct-domain-advice { font-size: 15px; line-height: 1.65; }
  .tvct-bs-personality { font-size: 15px; line-height: 1.65; }
  .tvct-by-napm, .tvct-bs-hanh, .tvct-bs-years { font-size: 13px; }
  .tvct-ov-total-label { font-size: 14px; }
  a.tvct-by-row { min-height: 56px; }
  .tvct-bs-meta span { font-size: 14px; }

  /* ---------- Hỏi đáp (mọi trang) ---------- */
  .tv-faq summary { min-height: 52px; display: flex; align-items: center; }
}

@media (max-width: 768px) {
  /* Còn sót sau audit lần 2 */
  .year-selector button { min-height: 44px; padding: 0 18px; }
  #hl-toggle { min-width: 44px; min-height: 44px; }
  .tvct-back-link a { display: inline-flex; align-items: center; min-height: 44px; }
  .weeks-table tbody td.week-num { min-width: 44px; }
}
