/* ===== VidFlow — giao diện mobile-first, không khung CSS ngoài ===== */
:root {
  color-scheme: dark;
  --nen: #0f0f0f;
  --nen-2: #181818;
  --the: #222222;
  --vien: #333333;
  --chu: #f1f1f1;
  --mo: #a8a8a8;
  --nhan: #ff3d3d;
  --nut: #2c2c2c;
  --nut-hover: #3a3a3a;
  --xanh: #3ea6ff;
  --loi-nen: #3a1616;
  --loi-chu: #ff9a9a;
  --tot-nen: #163a1c;
  --tot-chu: #9ef0a6;
  --cao-dau: 56px;
  --le: 16px;
  --an-toan-tren: env(safe-area-inset-top, 0px);
  --an-toan-duoi: env(safe-area-inset-bottom, 0px);
  --an-toan-trai: env(safe-area-inset-left, 0px);
  --an-toan-phai: env(safe-area-inset-right, 0px);
}
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --nen: #ffffff;
    --nen-2: #f6f6f6;
    --the: #efefef;
    --vien: #dcdcdc;
    --chu: #0f0f0f;
    --mo: #606060;
    --nut: #e9e9e9;
    --nut-hover: #dcdcdc;
    --xanh: #065fd4;
    --loi-nen: #fde8e8;
    --loi-chu: #b3261e;
    --tot-nen: #e3f6e6;
    --tot-chu: #1b6b2a;
  }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { overflow-x: hidden; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--nen);
  color: var(--chu);
  font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-wrap: anywhere;
}
button, input, select, textarea { font: inherit; color: inherit; }
/* iOS Safari tự phóng to trang khi chạm vào ô nhập/chọn có chữ < 16px và không thu lại → luôn 16px */
input, select, textarea { font-size: 16px; }
button {
  cursor: pointer;
  border: 0;
  background: var(--nut);
  color: var(--chu);
  border-radius: 12px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 16px;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}
button:hover { background: var(--nut-hover); }
button:disabled { opacity: .45; cursor: not-allowed; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 2px solid var(--xanh); outline-offset: 2px; }
img { max-width: 100%; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
.an-chu { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nut-chinh { background: var(--nhan); color: #fff; font-weight: 600; }
.nut-chinh:hover { background: #e83535; }
.nut-phu { background: transparent; border: 1px solid var(--vien); }
.nut-bieu-tuong { width: 44px; height: 44px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; flex: none; }
.nut-bieu-tuong svg { width: 22px; height: 22px; }

/* ===== Đầu trang ===== */
#dau-trang {
  position: sticky; top: 0; z-index: 20;
  background: var(--nen);
  border-bottom: 1px solid var(--vien);
  padding-top: var(--an-toan-tren);
}
.dau-trang-trong {
  height: var(--cao-dau);
  display: flex; align-items: center; gap: 8px;
  padding: 0 max(12px, var(--an-toan-phai)) 0 max(12px, var(--an-toan-trai));
  max-width: 1440px; margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; text-decoration: none; min-height: 44px; white-space: nowrap; flex: none; }
.logo svg { width: 30px; height: 30px; }
.logo img { height: 34px; width: auto; display: block; }
.logo .logo-vuong { display: none; height: 34px; width: 34px; border-radius: 8px; }
@media (max-width: 479px) { .logo span { display: none; } .logo picture { display: none; } .logo .logo-vuong { display: block; } }
#bieu-mau-tim-dau { flex: 1; display: flex; gap: 6px; max-width: 640px; margin: 0 auto; min-width: 0; }
.o-tim {
  flex: 1; min-width: 0; height: 44px;
  border-radius: 22px; border: 1px solid var(--vien);
  background: var(--the); padding: 0 16px; outline: none;
  -webkit-appearance: none; appearance: none;
}
.o-tim:focus { border-color: var(--xanh); }
.o-tim::-webkit-search-cancel-button { -webkit-appearance: none; }
body.trang-chu #bieu-mau-tim-dau { visibility: hidden; }

/* ===== Khung chính ===== */
#man-hinh {
  max-width: 1440px; margin: 0 auto;
  padding: var(--le) max(var(--le), var(--an-toan-phai)) calc(40px + var(--an-toan-duoi)) max(var(--le), var(--an-toan-trai));
}
body.dang-khoa #man-hinh { padding-top: calc(var(--le) + var(--an-toan-tren)); padding-bottom: calc(var(--le) + var(--an-toan-duoi)); }
h1, h2, h3 { margin: 0; line-height: 1.25; }
.tieu-de-muc { font-size: 17px; font-weight: 600; margin: 24px 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tieu-de-muc button { min-height: 44px; font-size: 13px; padding: 0 12px; }
.chu-mo { color: var(--mo); }
.chu-nho { font-size: 13px; }

/* ===== Khung xám đang tải ===== */
@keyframes lap-lanh { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
.khung-xam {
  background: linear-gradient(90deg, var(--the) 25%, var(--vien) 40%, var(--the) 55%);
  background-size: 300% 100%;
  animation: lap-lanh 1.4s linear infinite;
  border-radius: 10px;
}
.khung-xam.khoi-dong { height: 120px; margin-top: 40px; }
.the-xam .anh-xam { aspect-ratio: 16 / 9; border-radius: 12px; }
.the-xam .dong-xam { height: 14px; margin-top: 10px; width: 90%; }
.the-xam .dong-xam.ngan { width: 55%; }
.phat-xam { aspect-ratio: 16 / 9; border-radius: 0; }
.dong-xam { height: 14px; border-radius: 6px; }

/* ===== Hộp lỗi / thông báo ===== */
.hop-loi {
  background: var(--loi-nen); color: var(--loi-chu);
  padding: 16px; border-radius: 14px; margin: 16px 0;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
}
.hop-loi p { margin: 0; font-weight: 600; }
.hop-loi button { background: var(--loi-chu); color: var(--loi-nen); }
.trong { color: var(--mo); text-align: center; padding: 48px 16px; }
#thong-bao {
  position: fixed; left: 50%; bottom: calc(24px + var(--an-toan-duoi));
  transform: translate(-50%, 16px); opacity: 0;
  transition: opacity .2s, transform .2s;
  background: var(--chu); color: var(--nen);
  padding: 10px 16px; border-radius: 12px; z-index: 60;
  pointer-events: none; max-width: calc(100vw - 32px); font-weight: 500;
}
#thong-bao.hien { opacity: 1; transform: translate(-50%, 0); }

/* ===== Màn KHOÁ (bàn phím số) ===== */
.man-khoa {
  min-height: calc(100dvh - 2 * var(--le) - var(--an-toan-tren) - var(--an-toan-duoi));
  display: flex; align-items: center; justify-content: center;
}
.khoa-hop { width: 100%; max-width: 340px; text-align: center; }
.khoa-bieu-tuong { display: block; width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 18px; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.khoa-tieu-de { font-size: 22px; font-weight: 700; }
.khoa-phu { color: var(--mo); margin: 6px 0 0; min-height: 1.4em; }
.khoa-cham { display: flex; justify-content: center; gap: 14px; height: 18px; margin: 24px 0 10px; }
.cham { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--mo); transition: background .12s, transform .12s; }
.cham.day { background: var(--chu); border-color: var(--chu); transform: scale(1.1); }
.khoa-loi { color: var(--loi-chu); min-height: 1.4em; margin: 0 0 8px; font-size: 14px; }
.khoa-loi.tot { color: var(--tot-chu); }
.ban-phim-so { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.ban-phim-so button {
  height: 68px; font-size: 28px; font-weight: 500; border-radius: 18px;
  background: var(--the); display: inline-flex; align-items: center; justify-content: center;
}
.ban-phim-so button:active { background: var(--nut-hover); transform: scale(.97); }
.ban-phim-so .phim-xoa svg, .ban-phim-so .phim-vao svg { width: 28px; height: 28px; }
.ban-phim-so .phim-vao { background: var(--nhan); color: #fff; }
.ban-phim-so .phim-vao:hover { background: #e83535; }
@media (min-height: 760px) { .ban-phim-so button { height: 76px; } .ban-phim-so { gap: 14px; } }
@keyframes rung { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-10px); } 40% { transform: translateX(10px); } 60% { transform: translateX(-6px); } 80% { transform: translateX(6px); } }
.rung { animation: rung .4s; }
.khoa-chan { margin-top: 28px; color: var(--mo); font-size: 12px; }
/* Màn thấp (điện thoại cầm ngang): xếp chữ bên trái, bàn phím bên phải, phím thấp hơn để không phải cuộn */
@media (max-height: 600px) {
  .man-khoa { min-height: auto; }
  .khoa-bieu-tuong { display: none; }
  .khoa-hop {
    max-width: 640px; display: grid; grid-template-columns: minmax(0, 1fr) 250px; column-gap: 28px; align-items: center;
    grid-template-areas: "tieude phim" "phu phim" "cham phim" "loi phim" "chan phim"; text-align: left;
  }
  .khoa-tieu-de { grid-area: tieude; }
  .khoa-phu { grid-area: phu; }
  .khoa-cham { grid-area: cham; justify-content: flex-start; margin: 18px 0 8px; }
  .khoa-loi { grid-area: loi; }
  .ban-phim-so { grid-area: phim; gap: 8px; margin: 0; }
  .ban-phim-so button { height: 52px; font-size: 22px; border-radius: 14px; }
  .ban-phim-so .phim-xoa svg, .ban-phim-so .phim-vao svg { width: 24px; height: 24px; }
  .khoa-chan { grid-area: chan; margin-top: 14px; }
}
@media (max-height: 600px) and (max-width: 559px) {
  /* màn vừa thấp vừa hẹp (hiếm): về một cột, phím thấp */
  .khoa-hop { display: block; text-align: center; }
  .khoa-cham { justify-content: center; }
  .ban-phim-so { margin-top: 8px; }
}

/* ===== Trang chủ ===== */
.trang-chu-dau { max-width: 720px; margin: 24px auto 8px; text-align: center; }
.trang-chu-dau .logo-lon { display: inline-flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 800; }
.trang-chu-dau .logo-lon svg { width: 44px; height: 44px; }
.trang-chu-dau .logo-lon img { height: 56px; width: auto; max-width: min(90vw, 320px); display: block; }
.trang-chu-dau p { color: var(--mo); margin: 6px 0 20px; }
.bieu-mau-tim-lon { display: flex; gap: 8px; }
.bieu-mau-tim-lon .o-tim { height: 52px; font-size: 16px; border-radius: 26px; padding: 0 20px; }
.bieu-mau-tim-lon button { height: 52px; border-radius: 26px; flex: none; }
.chan-trang { margin-top: 48px; color: var(--mo); font-size: 12px; text-align: center; }

/* ===== Lưới thẻ video ===== */
.luoi { display: grid; grid-template-columns: 1fr; gap: 20px 16px; }
@media (min-width: 600px) { .luoi { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .luoi { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .luoi { grid-template-columns: repeat(4, 1fr); } }
.the { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.the-anh { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--the); }
.the-anh img { width: 100%; height: 100%; object-fit: cover; }
.the-thoi-luong { position: absolute; right: 6px; bottom: 6px; background: rgba(0, 0, 0, .85); color: #fff; font-size: 12px; font-weight: 500; padding: 2px 5px; border-radius: 4px; }
.the-tien-do { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .35); }
.the-tien-do i { display: block; height: 100%; background: var(--nhan); }
.the-noi-dung { display: flex; gap: 8px; align-items: flex-start; }
.the-chu { flex: 1; min-width: 0; }
.the-tieu-de { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 600; text-decoration: none; line-height: 1.35; }
.the-phu { color: var(--mo); font-size: 13px; margin-top: 3px; }
.the-phu a { text-decoration: none; display: inline-block; padding: 6px 0; margin: -6px 0; }   /* vùng chạm ≥ 30px, không đổi bố cục */
.the-phu a:hover { color: var(--chu); }
.the .nut-xoa { width: 44px; height: 44px; min-width: 44px; min-height: 44px; margin: -4px -4px -4px 0; padding: 0; border-radius: 50%; background: transparent; color: var(--mo); flex: none; display: inline-flex; align-items: center; justify-content: center; }
.the .nut-xoa:hover { background: var(--nut); color: var(--chu); }
.the .nut-xoa svg { width: 18px; height: 18px; }
.hang-tai-them { display: flex; justify-content: center; margin: 28px 0 8px; }
.hang-tai-them button { min-width: 160px; }

/* ===== Danh sách dạng hàng (liên quan, danh sách phát) ===== */
.hang-video { display: flex; flex-direction: column; gap: 12px; }
.muc-hang { display: flex; gap: 10px; align-items: flex-start; text-decoration: none; border-radius: 10px; padding: 4px; min-width: 0; }
.muc-hang:hover { background: var(--nen-2); }
.muc-hang.dang-phat { background: var(--the); }
.muc-hang .the-anh { width: 150px; flex: none; border-radius: 8px; }
.muc-hang .so-thu-tu { width: 22px; flex: none; color: var(--mo); font-size: 13px; text-align: center; align-self: center; }
.muc-hang .muc-chu { flex: 1; min-width: 0; }
.muc-hang .muc-tieu-de { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 600; font-size: 14px; line-height: 1.35; }
.muc-hang .muc-phu { color: var(--mo); font-size: 12px; margin-top: 3px; }
@media (min-width: 420px) { .muc-hang .the-anh { width: 168px; } }

/* ===== Màn XEM ===== */
.xem { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
/* Trên màn hẹp, bỏ khối bọc để trình phát dính suốt chiều dài trang (kể cả phần liên quan) */
.xem-chinh { display: contents; }
.khung-phat {
  position: sticky; top: calc(var(--cao-dau) + var(--an-toan-tren)); z-index: 10;
  background: #000;
  margin: calc(-1 * var(--le)) calc(-1 * max(var(--le), var(--an-toan-phai))) 0 calc(-1 * max(var(--le), var(--an-toan-trai)));
}
.khung-phat video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; max-height: calc(100dvh - var(--cao-dau) - var(--an-toan-tren)); }
.nhan-truc-tiep {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--nhan); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .5px;
  padding: 3px 8px; border-radius: 4px; pointer-events: none;
}
.nhan-truc-tiep::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #fff; margin-right: 6px; vertical-align: 1px; animation: nhap-nhay 1.2s infinite; }
@keyframes nhap-nhay { 50% { opacity: .3; } }
.xem-thong-tin { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.xem-tieu-de { font-size: 18px; font-weight: 700; line-height: 1.3; }
.xem-meta { color: var(--mo); font-size: 14px; }
.xem-kenh { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; font-weight: 600; align-self: flex-start; }
.xem-kenh .kenh-tron { width: 36px; height: 36px; border-radius: 50%; background: var(--the); display: inline-flex; align-items: center; justify-content: center; color: var(--mo); font-weight: 700; flex: none; overflow: hidden; }
.xem-kenh:hover { text-decoration: underline; }
.thanh-dieu-khien { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
/* Biểu tượng nét mảnh dùng chung */
.bt { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* Ô chọn dạng viên thuốc: biểu tượng trái, mũi tên phải, select trong suốt ở giữa */
.o-chon {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 10px 0 12px; max-width: 100%;
  border: 1px solid var(--vien); border-radius: 999px; background: var(--the); color: var(--mo);
  transition: border-color .15s ease, background .15s ease;
}
.o-chon:hover, .o-chon:focus-within { border-color: color-mix(in srgb, var(--chu) 35%, var(--vien)); color: var(--chu); }
.o-chon select {
  -webkit-appearance: none; appearance: none;
  height: 38px; border: 0; background: transparent; color: var(--chu);
  padding: 0 22px 0 0; margin-right: -18px; font-size: 14px; font-weight: 500; max-width: 200px;
  text-overflow: ellipsis; outline: none; cursor: pointer;
}
.o-chon select:focus-visible { outline: none; }
.o-chon .bt-mui { width: 16px; height: 16px; pointer-events: none; }
/* Nút viền: biểu tượng + chữ, cùng chiều cao với ô chọn */
.nut-vien {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; min-height: 40px; padding: 0 14px 0 12px;
  border: 1px solid var(--vien); border-radius: 999px; background: transparent; color: var(--chu);
  font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.nut-vien .bt { color: var(--mo); }
.nut-vien:hover { background: var(--nut); border-color: color-mix(in srgb, var(--chu) 35%, var(--vien)); }
.nut-vien:hover .bt { color: var(--chu); }
.nut-vien[aria-pressed="true"] { border-color: var(--xanh); color: var(--xanh); }
.nut-vien[aria-pressed="true"] .bt { color: var(--xanh); }
select {
  height: 44px; border-radius: 10px; border: 1px solid var(--vien);
  background: var(--the); color: var(--chu); padding: 0 10px; max-width: 100%;
}
.mo-ta {
  background: var(--the); border-radius: 12px;
  padding: 12px 14px; font-size: 14px; line-height: 1.5; position: relative;
}
.mo-ta-chu { white-space: pre-wrap; }
.mo-ta.thu-gon .mo-ta-chu { max-height: 6em; overflow: hidden; }
.mo-ta.thu-gon .mo-ta-chu::after { content: ""; position: absolute; left: 0; right: 0; bottom: 44px; height: 2.5em; background: linear-gradient(transparent, var(--the)); pointer-events: none; }
.mo-ta .nut-mo-ta { margin-top: 2px; background: transparent; padding: 0; min-height: 44px; font-weight: 600; color: var(--chu); }
.nhan-sach { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; letter-spacing: .02em; padding: 2px 9px 2px 6px; border-radius: 999px; background: var(--tot-nen); color: var(--tot-chu); font-weight: 600; vertical-align: middle; position: relative; top: -2px; margin-left: 4px; }
.nhan-sach .bt { width: 14px; height: 14px; }
.hop-danh-sach-phat { border: 1px solid var(--vien); border-radius: 12px; padding: 12px; }
.hop-danh-sach-phat .tieu-de-muc { margin: 0 0 10px; }
.hop-danh-sach-phat .hang-video { max-height: 360px; overflow-y: auto; position: relative; }   /* relative để offsetTop tính theo hộp */
.xem-lien-quan .tieu-de-muc { margin-top: 8px; }
@media (min-width: 768px) {
  .khung-phat { margin: 0; border-radius: 14px; overflow: hidden; }
  .xem-tieu-de { font-size: 20px; }
}
@media (min-width: 1024px) {
  .xem { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; gap: 24px; }
  .xem-chinh { display: block; min-width: 0; }
  .xem-chinh .xem-thong-tin { margin-top: 16px; }
  .khung-phat { position: relative; top: auto; }
  .khung-phat video { max-height: calc(100dvh - 160px); }
  .xem-lien-quan .tieu-de-muc { margin-top: 0; }
}
@media (min-width: 1280px) { .xem { grid-template-columns: minmax(0, 1fr) 420px; } }
/* Điện thoại cầm ngang: trình phát dính sẽ che kín màn hình → bỏ dính, giới hạn chiều cao video */
@media (orientation: landscape) and (max-height: 600px) and (max-width: 1023px) {
  .khung-phat { position: relative; top: auto; }
  .khung-phat video { max-height: 70dvh; }
}
/* Nút "Chạm để phát" (iOS từ chối play() tự động) */
.nut-cham-phat {
  position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: rgba(0, 0, 0, .35); color: #fff; font-weight: 600; font-size: 15px; border-radius: 0; padding: 0;
}
.nut-cham-phat:hover { background: rgba(0, 0, 0, .45); }
.nut-cham-phat svg { width: 72px; height: 72px; }
.khung-phat:has(.nut-cham-phat:not([hidden])) video { pointer-events: none; }
.xem-thong-tin .hop-loi { margin: 0; }
.goi-y-ma { margin: 0 0 16px; }
.goi-y-ma .nut-phu { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 12px; text-decoration: none; font-weight: 600; }

/* ===== Màn KÊNH ===== */
.kenh-dau { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; min-width: 0; }
.kenh-anh { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--the); flex: none; }
.kenh-dau h1 { font-size: 20px; }
.kenh-mo-ta { color: var(--mo); font-size: 14px; margin: 6px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 768px) { .kenh-anh { width: 96px; height: 96px; } .kenh-dau h1 { font-size: 24px; } }

/* ===== Màn DANH SÁCH PHÁT ===== */
.danh-sach-dau { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.danh-sach-dau h1 { font-size: 20px; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* kênh: thẻ trực tiếp */
.kenh-the { display: flex; gap: 4px; border-bottom: 1px solid var(--vien); margin: -4px 0 16px; overflow-x: auto; scrollbar-width: none; }
.kenh-the::-webkit-scrollbar { display: none; }
.kenh-the [role="tab"] {
  flex: none; min-height: 48px; padding: 0 18px; border-radius: 0; margin-bottom: -1px;
  background: transparent; color: var(--mo); font-weight: 600; border-bottom: 3px solid transparent;
}
.kenh-the [role="tab"]:hover { color: var(--chu); background: var(--nen-2); border-radius: 10px 10px 0 0; }
.kenh-the [role="tab"][aria-selected="true"] { color: var(--chu); border-bottom-color: var(--nhan); }
.nhom-truc-tiep + .nhom-truc-tiep { margin-top: 32px; }
.nhom-truc-tiep .tieu-de-muc { margin-top: 0; }
.nhom-truc-tiep .tieu-de-muc .dem { color: var(--mo); font-weight: 400; font-size: 14px; }
.nhan-the {
  position: absolute; right: 6px; bottom: 6px; color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .5px; padding: 2px 7px; border-radius: 4px;
}
.nhan-the-dang-phat { background: var(--nhan); }
.nhan-the-dang-phat::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #fff; margin-right: 6px; vertical-align: 1px; animation: nhap-nhay 1.2s infinite; }
.nhan-the-sap-phat { background: rgba(0, 0, 0, .85); }
.the-truc-tiep .the-phu .nguoi-xem { color: var(--chu); font-weight: 600; }
