/* Sửa lỗi hiển thị trên ĐIỆN THOẠI (23/11/2026) – nạp SAU CÙNG ở các trang liên quan.
   Toàn bộ nằm trong @media (max-width: 600px): bản máy tính không đổi. Không đổi màu/viền/phông/bố cục chung. */
@media (max-width: 600px) {

  /* --- /tro-choi (dashboard): màn chặn đăng nhập --- */
  /* tiêu đề không bị cắt ở mép phải (goc-2.css đặt nowrap; tệp đó là tệp sinh ra, không sửa tay) */
  html.gb.gb body #dashGate .dash-hero h1 { white-space: normal !important; overflow-wrap: anywhere; min-width: 0; max-width: 100%; box-sizing: border-box; }
  /* nút VI / tài khoản không mờ lẫn với ảnh nền khi màn chặn hiện */
  html body:has(#dashGate:not([hidden])) .p-nav :is(.p-pill, .p-user) {
    background: #FBF6EC !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  }

  /* --- /orientation --- */
  /* nhãn .tag không đè lên đầu tiêu đề h2 */
  html body.pc.pc.pc section.club { padding-top: 52px !important; }
  /* nút "Xem câu chuyện →" không gãy chữ */
  html body.pc.pc.pc .club-art .card a { white-space: nowrap; }
  html body.pc.pc.pc .club-art .card a > .ct { font-size: 11.5px; white-space: nowrap; }
  html body.pc.pc.pc .club-art .card a::after { flex-basis: 38px; }

  /* --- /adaptive-learning --- */
  /* bớt khoảng trống ~100px dưới thanh trên (main đã chừa 66px nhưng thanh "Quay lại" nằm ở trên main rồi) */
  html body.al-page > main { padding-top: 12px; }
  html body.al-page .al-hero { padding-top: 20px; }
  .al-sap { margin-top: 6px; }

  /* --- Chữ tối thiểu 11px --- */
  html body main .ds-top.ds-top.ds-top.ds-top.ds-top.ds-top small { font-size: 11px !important; letter-spacing: .02em !important; line-height: 1.25 !important; }
  html body main .ds-top.ds-top.ds-top.ds-top.ds-top.ds-top i { font-size: 11px !important; min-width: 26px; }
  html body.v3-community:not(#_a):not(#_b):not(#_c) :is(.cm-badge, .cm-kind, .cm-skill, .cm-pin) { font-size: 11px !important; }
  html body p#counter, html body .cat { font-size: 11px !important; }

  /* --- Vùng chạm >= 40px (vùng chạm vô hình, không đổi diện mạo) --- */
  footer.ct .ct-hieu, .t-note a, .cm-body a, .p-user, .tt-ic { position: relative; }
  footer.ct .ct-hieu::after { content: ""; position: absolute; left: 0; right: 0; top: -5px; bottom: -5px; }
  .t-note a::after { content: ""; position: absolute; left: -4px; right: -4px; top: -12px; bottom: -12px; }
  .cm-body a::after { content: ""; position: absolute; left: -2px; right: -2px; top: -11px; bottom: -11px; }
  .p-user::after, .tt-ic::after { content: ""; position: absolute; inset: -4px; }
}
