/* 99-vua-man-hinh.css — bang/hop vua man hinh, khong loi ra ngoai. Ben Hai, 24/09/2026 (ra soat #1,#2,#3,#4,#5,#6,#7). Khong sua ma goc. */

/* #1 Bang gon (html.compact): phan chu nho <small> trong o Traffic/Organic/CPC xuong dong rieng thay vi de len cot ke */
html.compact #rows>.tr .n{min-width:0;overflow:hidden}
html.compact #rows>.tr .n small{display:block;margin-left:0;overflow:hidden;text-overflow:ellipsis}

/* #2 Hop gia: nhan "Chon nhieu nhat..." khong xuong 2 dong de mat "Goi nam" (99-vua-man-hinh.js rut chu) */
#awGia .aw-nhan{white-space:nowrap;max-width:calc(100% - 28px);overflow:hidden;text-overflow:ellipsis}

/* #3 Man 761–1500px (laptop 1366/1280): ha san cot 1.018px -> 904px; cot Apply >= 80px du cho "Đăng ký ↗" (78px). !important vi gt() ghi inline */
@media (min-width:761px) and (max-width:1500px){
  #th,#rows>.tr{grid-template-columns:22px 28px minmax(130px,2.3fr) minmax(88px,1.1fr) minmax(78px,1fr) minmax(74px,1fr) minmax(88px,1.1fr) minmax(84px,1.05fr) minmax(90px,1.15fr) minmax(80px,.6fr) minmax(50px,.65fr) 12px!important}
}
/* <=1300px: cho bang cuon ngang thay vi cat cut; .th static vi .tbl thanh scroll container thi sticky khong dinh trang nua */
@media (min-width:761px) and (max-width:1300px){ .tbl{overflow-x:auto} .th{position:static} }

/* #4 Canh cot theo thu tu MOI (4 Traffic · 5 Organic · 6 HH · 7 CPC · 8 Nha QC · 9 Trustpilot · 10 Apply; 25/09 bo cot Ket luan) — ma goc canh theo thu tu cu */
#th>span:nth-child(4),#th>span:nth-child(7),
#rows>.tr>div:nth-child(4),#rows>.tr>div:nth-child(7){text-align:right}
#th>span:nth-child(8),#th>span:nth-child(9),
#rows>.tr>div:nth-child(8),#rows>.tr>div:nth-child(9){text-align:center;justify-self:stretch}

/* #5 Kieu the: ten shop dai co dau "..." (.nm la flex nen ellipsis khong an) */
#rows>.tr>div:nth-child(3) .nm{display:block}

/* #6 Nut "Cot": 9 o tick ben trong KHONG con tac dung voi bang 13 cot (gt/head/awDong bo qua COLS) -> an toi khi ben chi lam lai */
.tools .pop{display:none}

/* #7 Ngan chi tiet lui xuong duoi dai BETA 28px (ma goc chi lui .top/.th/aside, quen .draw) */
html:not(.aw-beta-off) .draw{top:calc(24px + 28px)}
@media (max-width:860px){ html:not(.aw-beta-off) .draw{top:28px} }
