/* 2026-11-14 (chủ dự án duyệt thiết kế lại app, đợt 2): hướng dẫn lần đầu trong Search niches (app-guide.js). Tiền tố ag-.
   Kiểu phẳng: nền trắng, đường mảnh, chữ Inter, không ánh sáng, không gradient. Nạp sau app-ios.css. */
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #niche-scan .ag-steps{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0 0 10px;padding:0}
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #niche-scan .ag-steps li{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:6px 14px 6px 6px;border-radius:999px;background:#f5f5f7 !important;color:#6e6e73 !important;-webkit-text-fill-color:#6e6e73 !important;font-size:14px;font-weight:600;line-height:1.2}
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #niche-scan .ag-steps li span{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#fff !important;color:#1d1d1f !important;-webkit-text-fill-color:#1d1d1f !important;font-size:13px;font-weight:700}
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #niche-scan .ag-steps li.done span{background:#15803d !important;color:#fff !important;-webkit-text-fill-color:#fff !important}
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #niche-scan .ag-steps li.on{background:#16151c !important;color:#fff !important;-webkit-text-fill-color:#fff !important}
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #niche-scan .ag-steps li.on span{background:#fff !important;color:#16151c !important;-webkit-text-fill-color:#16151c !important}
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #niche-scan .ag-hint{margin:0 0 18px;font-size:14px;line-height:1.5;color:#4a4759 !important;-webkit-text-fill-color:#4a4759 !important}
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #niche-scan .ag-hint:empty{display:none}
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #niche-scan .ag-hint b{color:#1d1d1f !important;-webkit-text-fill-color:#1d1d1f !important}
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #niche-scan .ag-link{background:transparent !important;border:0 !important;padding:0;font:inherit;font-weight:600;text-decoration:underline;cursor:pointer;color:#16151c !important;-webkit-text-fill-color:#16151c !important}
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #niche-scan .ag-or{margin:24px 0 10px;font-size:14px;font-weight:600;color:#6e6e73 !important;-webkit-text-fill-color:#6e6e73 !important}
/* Một nút chính là ô tìm: Hidden outliers thành nút phụ màu xám */
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #niche-scan #unifiedSearchBtn{background:rgba(0,0,0,.06) !important;background-image:none !important;box-shadow:none !important;color:#1d1d1f !important;-webkit-text-fill-color:#1d1d1f !important}
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #niche-scan #unifiedSearchBtn *,html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #niche-scan #unifiedSearchBtn i::before{color:#1d1d1f !important;-webkit-text-fill-color:#1d1d1f !important}
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #niche-scan #unifiedSearchBtn .cr-tag{background:#fff !important;color:#4a4759 !important;-webkit-text-fill-color:#4a4759 !important}
/* Ví dụ thật nhỏ trên ô quét */
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #niche-scan #ageSplit .age-tab .age-tx .ag-ex{display:block;margin-top:6px;font-size:12.5px;font-weight:500;line-height:1.35;color:#4a4759 !important;-webkit-text-fill-color:#4a4759 !important}
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #niche-scan #ageSplit .age-tab.active .age-tx .ag-ex{color:rgba(255,255,255,.8) !important;-webkit-text-fill-color:rgba(255,255,255,.8) !important}
/* Trạng thái trống: kênh thật kiểu danh sách YouTube */
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .ag-empty{padding:8px 0 4px}
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .ag-empty-h{margin:0 0 12px;font-size:15px;line-height:1.45;color:#4a4759 !important;-webkit-text-fill-color:#4a4759 !important}
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .ag-ex-box{padding:16px;border-radius:16px;background:#fff !important;border:1px solid rgba(0,0,0,.08) !important}
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .ag-ex-k{font-size:14px;font-weight:700;color:#1d1d1f !important;-webkit-text-fill-color:#1d1d1f !important;margin-bottom:4px}
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .ag-row{display:grid;grid-template-columns:168px minmax(0,1fr);gap:12px;padding:12px 0;border-top:1px solid rgba(0,0,0,.06)}
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .ag-row:first-child{border-top:0}
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .ag-th img{display:block;width:168px;height:94px;object-fit:cover;border-radius:10px;background:#f2f2f5}
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .ag-meta{display:flex;flex-direction:column;gap:5px;min-width:0}
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .ag-vt{font-size:15px;font-weight:600;line-height:1.3;text-decoration:none;color:#0f0f0f !important;-webkit-text-fill-color:#0f0f0f !important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .ag-ch{display:flex;align-items:center;gap:6px;font-size:13px;text-decoration:none;color:#606060 !important;-webkit-text-fill-color:#606060 !important;min-width:0}
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .ag-ch span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .ag-ch img{flex:0 0 22px;width:22px;height:22px;border-radius:50%;object-fit:cover}
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .ag-vm{font-size:13px;color:#606060 !important;-webkit-text-fill-color:#606060 !important}
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .ag-vm b{font-weight:600;color:#0f0f0f !important;-webkit-text-fill-color:#0f0f0f !important}
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .ag-src{margin:8px 0 0;font-size:12px;color:#6e6e73 !important;-webkit-text-fill-color:#6e6e73 !important}
@media (max-width:760px){
  html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .ag-row{grid-template-columns:120px minmax(0,1fr);gap:10px}
  html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .ag-th img{width:120px;height:68px}
  html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .ag-vt{font-size:14px}
  html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #niche-scan .ag-steps{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-right:-4px}
  html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) #niche-scan .ag-steps li{flex:0 0 auto;font-size:13px}
}
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .ag-link:focus-visible,html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .nc-more-btn:focus-visible{outline:2px solid #6d6aa8;outline-offset:2px}
/* 2026-11-17 (owner: hide names, keep numbers): masked example rows for accounts without a plan */
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .ag-ph{position:relative;display:flex;align-items:center;justify-content:center;width:168px;height:94px;border-radius:10px;background:#e5e5e5 !important;color:#909090 !important;-webkit-text-fill-color:#909090 !important}
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .ag-ph .ti{font-size:24px}
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .ag-dur{position:absolute;right:6px;bottom:6px;padding:1px 4px;border-radius:4px;background:rgba(0,0,0,.8) !important;color:#fff !important;-webkit-text-fill-color:#fff !important;font-size:12px;font-weight:500;line-height:1.4}
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .ag-hid{color:#606060 !important;-webkit-text-fill-color:#606060 !important}
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .ag-avph{flex:0 0 22px;width:22px;height:22px;border-radius:50%;background:#d9d9d9 !important}
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .ag-find{align-self:flex-start;min-height:44px;margin-top:2px;padding:0 16px;border:0;border-radius:22px;background:#0f0f0f !important;color:#fff !important;-webkit-text-fill-color:#fff !important;font:600 14px/1.2 Inter,system-ui,sans-serif;cursor:pointer}
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .ag-find:hover{background:#272727 !important}
html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .ag-find:focus-visible{outline:2px solid #6d6aa8;outline-offset:2px}
@media (max-width:760px){
  html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .ag-ph{width:120px;height:68px}
  html.ios-app:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .ag-find{align-self:stretch}
}
