/* Thẻ kết quả kênh (app): đầu thẻ, hàng số liệu, video + lý do nổi bật, biểu đồ, chân thẻ. Không dùng lưới cũ của .niche-row. */
html.theme-clean .nc{background:#fff !important;border:1px solid #e2e8f0 !important;border-radius:16px !important;padding:22px 24px !important;margin:0 0 18px !important;box-shadow:0 1px 2px rgba(15,23,42,.04),0 6px 20px rgba(15,23,42,.05) !important;display:flex;flex-direction:column;gap:18px;transition:box-shadow .2s,transform .2s;}
html.theme-clean .nc:hover{box-shadow:0 2px 4px rgba(15,23,42,.05),0 12px 30px rgba(15,23,42,.09) !important;}

/* Đầu thẻ */
html.theme-clean .nc-head{display:flex;align-items:center;gap:16px;}
html.theme-clean .nc-avatar{width:56px !important;height:56px !important;border-radius:50% !important;object-fit:cover;flex:none;}
html.theme-clean .nc-id{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;align-items:flex-start;}
html.theme-clean .nc-name{display:flex;flex-wrap:wrap;align-items:center;gap:8px;}
html.theme-clean .nc-name .name{font-size:20px;font-weight:700;letter-spacing:-.01em;color:#0f172a !important;}
html.theme-clean .nc-badge{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:600;padding:3px 10px;border-radius:999px;background:#f1f5f9 !important;color:#334155 !important;}
html.theme-clean .nc-badge.hot{background:#fff1e6 !important;color:#c2410c !important;}
html.theme-clean .nc-badge.spike{background:#fef3c7 !important;color:#a16207 !important;}
html.theme-clean .nc-badge.steady{background:#dcfce7 !important;color:#15803d !important;}
html.theme-clean .nc-badge.rising{background:#e0f2fe !important;color:#0369a1 !important;}
html.theme-clean .nc-handle{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;font-size:13.5px;color:#64748b !important;}
html.theme-clean .nc-fresh{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:#64748b !important;}
html.theme-clean .nc-pill{display:inline-flex;align-items:center;gap:5px;margin-top:2px;font-size:13px;font-weight:600;color:#1d4ed8 !important;background:#eff6ff !important;border:1px solid #bfdbfe;border-radius:999px;padding:4px 12px;}

/* Điểm cơ hội dạng vòng tròn */
html.theme-clean .nc-score{position:relative;width:76px;height:76px;flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;}
html.theme-clean .nc-score svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg);}
html.theme-clean .nc-ring-bg{fill:none;stroke:#e5e7eb;stroke-width:5;}
html.theme-clean .nc-ring{fill:none;stroke:var(--c);stroke-width:5;stroke-linecap:round;}
html.theme-clean .nc-score b{font-size:24px;font-weight:800;line-height:1;color:var(--c) !important;-webkit-text-fill-color:var(--c) !important;letter-spacing:-.02em;}
html.theme-clean .nc-score span{font-size:11px;font-weight:700;color:#64748b !important;margin-top:2px;}

/* Hàng số liệu chính */
html.theme-clean .nc-kpis{display:grid;grid-template-columns:1.3fr 1.3fr 1fr 1fr 1fr;gap:0;border:1px solid #e5e7eb;border-radius:12px;background:#f8fafc !important;overflow:hidden;}
html.theme-clean .nc-kpi{display:flex;flex-direction:column;gap:4px;padding:14px 16px;border-right:1px solid #e5e7eb;min-width:0;}
html.theme-clean .nc-kpi:last-child{border-right:0;}
html.theme-clean .nc-kpi-label{font-size:11.5px;font-weight:600;letter-spacing:.02em;color:#64748b !important;white-space:nowrap;}
html.theme-clean .nc-kpi-value{font-size:19px;font-weight:700;color:#0f172a !important;letter-spacing:-.01em;white-space:nowrap;}
html.theme-clean .nc-kpi.main .nc-kpi-value{font-size:24px;font-weight:800;color:#1d4ed8 !important;}
html.theme-clean .nc-kpi.money .nc-kpi-value{font-size:24px;font-weight:800;color:#15803d !important;}

/* Video + lý do nổi bật: hai cột, không chồng lên nhau */
html.theme-clean .nc-body{display:grid;grid-template-columns:1fr;gap:18px;align-items:start;}
html.theme-clean .nc-body.has-insight{grid-template-columns:minmax(0,1fr) 280px;}
html.theme-clean .nc-videos{min-width:0;}
html.theme-clean .nc .niche-video-row{display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:14px !important;margin:0 !important;padding:0 !important;width:auto !important;max-width:none !important;height:auto !important;overflow:visible !important;}
html.theme-clean .nc .niche-video-card{display:flex !important;flex-direction:column;gap:6px;min-width:0 !important;width:auto !important;max-width:none !important;text-decoration:none;color:inherit !important;}
html.theme-clean .nc .niche-video-thumb-wrap{position:relative;width:100% !important;aspect-ratio:16/9;border-radius:10px;overflow:hidden;background:#e2e8f0 !important;height:auto !important;}
html.theme-clean .nc .niche-video-thumb-wrap img{width:100% !important;height:100% !important;object-fit:cover;display:block;}
html.theme-clean .nc .niche-video-title{font-size:13.5px;font-weight:600;line-height:1.35;color:#0f172a !important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal !important;}
html.theme-clean .nc .niche-video-meta{font-size:12.5px;font-weight:600;color:#475569 !important;}
html.theme-clean .nc .niche-video-card:hover .niche-video-title{color:#1d4ed8 !important;}
html.theme-clean .nc .niche-insight{margin:0 !important;width:auto !important;max-width:none !important;background:#f8fafc !important;border:1px solid #e5e7eb !important;border-radius:12px !important;padding:16px !important;}
html.theme-clean .nc .niche-insight-title{font-size:12px !important;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#64748b !important;margin-bottom:10px !important;}
html.theme-clean .nc .niche-insight-item{display:flex;gap:10px;align-items:flex-start;font-size:13.5px;line-height:1.45;color:#1e293b !important;padding:7px 0;border-top:1px solid #e5e7eb;}
html.theme-clean .nc .niche-insight-item:first-of-type{border-top:0;padding-top:0;}
html.theme-clean .nc .niche-insight-item i{color:#2563eb !important;margin-top:2px;flex:none;}

/* Biểu đồ */
html.theme-clean .nc .niche-chart{margin:0 !important;}
html.theme-clean .nc .niche-chart .hr-chart{margin:0 !important;padding:14px 0 0 !important;border-top:1px solid #e5e7eb;}
html.theme-clean .nc .niche-chart .hr-chart svg{height:84px;}
html.theme-clean .nc .niche-chart-empty{margin:0 !important;padding-top:12px !important;}

/* Chân thẻ */
html.theme-clean .nc-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding-top:16px;border-top:1px solid #e5e7eb;}
html.theme-clean .nc-niche{display:inline-flex;align-items:center;gap:8px;}
html.theme-clean .nc-niche-label{font-size:11.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#64748b !important;}
html.theme-clean .nc-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;}

@media (max-width:900px){
  html.theme-clean .nc{padding:16px !important;gap:16px;border-radius:14px !important;}
  html.theme-clean .nc-name .name{font-size:18px;}
  html.theme-clean .nc-score{width:64px;height:64px;}
  html.theme-clean .nc-score b{font-size:20px;}
  html.theme-clean .nc-kpis{grid-template-columns:1fr 1fr;}
  html.theme-clean .nc-kpi{border-bottom:1px solid #e5e7eb;}
  html.theme-clean .nc-kpi:nth-child(2n){border-right:0;}
  html.theme-clean .nc-kpi:last-child{border-bottom:0;grid-column:1 / -1;}
  html.theme-clean .nc-body.has-insight{grid-template-columns:1fr;}
  html.theme-clean .nc .niche-video-row{grid-template-columns:repeat(3,minmax(110px,1fr)) !important;overflow-x:auto !important;}
  html.theme-clean .nc-foot{flex-direction:column;align-items:stretch;}
  html.theme-clean .nc-actions .row-btn{flex:1;justify-content:center;}
}
html.theme-clean .nc .niche-insight,html.theme-clean .nc .niche-insight *{background-color:transparent !important;}
html.theme-clean .nc .niche-insight{background-color:#f8fafc !important;}
html.theme-clean .nc .niche-insight-item{border-radius:0 !important;box-shadow:none !important;}
@media (max-width:900px){html.theme-clean .nc .niche-video-row{scrollbar-width:none;}html.theme-clean .nc .niche-video-row::-webkit-scrollbar{display:none;}}
