/*
  Một tệp CSS cho cả web và wap, chưa tới 7 KB.
  Lớp .lite trên thẻ body tắt webfont, ảnh bìa lớn và hiệu ứng — mọi thứ còn lại
  dùng chung, nên hai kênh không bao giờ lệch nhau về bố cục.
*/

:root {
  --bg: #0D0E12;
  --surface: #16181F;
  --surface-2: #1E212A;
  --border: #2A2E3A;
  --text: #F2F2F4;
  --muted: #A2A7B5;
  --faint: #6C7382;
  --accent: #FF8A4C;
  --accent-soft: #2E1B12;
  --accent-text: #FFC9A6;
  --on-accent: #231008;
  --ok: #6FC79A;
  --font-body: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
  --font-display: Lora, Georgia, serif;
  --tap: 44px;
}

* { box-sizing: border-box; }

html { scroll-padding-top: env(safe-area-inset-top, 0px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  -webkit-text-size-adjust: 100%;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: #FFA571; }

h1 { font-family: var(--font-display); font-size: 26px; line-height: 1.25; margin: 0 0 10px; }
h2 { font-family: var(--font-display); font-size: 19px; margin: 0 0 12px; }
p { margin: 0 0 12px; }

.skip {
  position: absolute; left: -9999px;
}
.skip:focus {
  left: 12px; top: 12px; z-index: 20; background: var(--accent);
  color: var(--on-accent); padding: 10px 16px; border-radius: 8px;
}

/* ── Thanh trên ─────────────────────────────────────────────── */

.topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--border);
  position: sticky; top: env(safe-area-inset-top, 0px); background: var(--bg); z-index: 10;
}
.brand { display: flex; align-items: center; gap: 9px; color: var(--text); }
.brand span { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: 0.5px; }
.brand img { border-radius: 7px; }
.topnav { display: none; gap: 24px; font-size: 14px; }
.topnav a { color: var(--muted); }
.topnav a.on { color: var(--text); }

/* ── Thanh dưới cho điện thoại ──────────────────────────────── */

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  display: flex; background: var(--bg); border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.tabbar a {
  flex: 1; min-height: 62px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px;
  color: var(--muted); font-size: 11px;
}
.tabbar a.on { color: var(--accent); }
.tabbar .ico { font-size: 17px; line-height: 1; }

/* ── Bố cục chung ───────────────────────────────────────────── */

main { max-width: 980px; margin: 0 auto; }
.pad { padding: 20px; }
.narrow { max-width: 460px; margin: 0 auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.empty { padding: 48px 20px; text-align: center; color: var(--muted); }

.hero { padding: 24px 20px 4px; }
.hero h1 { font-size: 24px; }
.hero p { color: var(--muted); max-width: 520px; }

.flash {
  margin: 12px 20px; padding: 11px 14px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent-text); font-size: 14px;
}

/* ── Hàng thẻ ───────────────────────────────────────────────── */

.block { padding: 18px 0 2px; }
.block h2 {
  padding: 0 20px; font-family: var(--font-body); font-size: 13px;
  font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; color: var(--muted);
}
.rail {
  display: flex; gap: 12px; overflow-x: auto; padding: 0 20px 6px;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
}
.card { width: 136px; flex: 0 0 auto; scroll-snap-align: start; color: var(--text); }
.cover {
  position: relative; display: flex; align-items: flex-end;
  width: 136px; height: 181px; border-radius: 10px; padding: 10px; overflow: hidden;
}
.cover.md { width: 110px; height: 147px; flex: 0 0 auto; }
.cover.lg { width: 150px; height: 200px; flex: 0 0 auto; }
.cover-title { font-family: var(--font-display); font-size: 15px; line-height: 1.25; color: #fff; }
.cover.lg .cover-title { font-size: 19px; }
.card-title { display: block; font-weight: 600; font-size: 14px; margin-top: 8px; }
.card-meta { display: block; font-size: 12px; color: var(--muted); }

.bar { position: absolute; left: 10px; right: 10px; bottom: 8px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.28); }
.bar i { display: block; height: 3px; border-radius: 2px; background: var(--accent); }

/* ── Danh sách ──────────────────────────────────────────────── */

.list { list-style: none; margin: 0; padding: 0; }
.row {
  display: flex; align-items: center; gap: 12px; min-height: var(--tap);
  padding: 13px 0; border-bottom: 1px solid var(--surface-2); color: var(--text);
}
.row.locked { opacity: .68; }
.row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.row-main strong { font-weight: 600; font-size: 14px; }
.row-main .muted { font-size: 12px; }
.row-main .bar { position: static; margin-top: 6px; }
.ep-no { width: 24px; color: var(--faint); font-weight: 600; font-size: 13px; }
.thumb { width: 52px; height: 70px; border-radius: 7px; flex: 0 0 auto; }

.tag { font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 5px; }
.tag.free { background: #1E2A22; color: var(--ok); }
.tag.lock { background: var(--accent-soft); color: var(--accent); }

.pricebar {
  margin: 16px 0; padding: 11px 14px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 13px; color: #C9CDD8;
}

.hero-series { display: flex; gap: 16px; }
.hero-info { flex: 1; min-width: 0; }
.synopsis { color: #C9CDD8; font-size: 14px; }

.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 0 0 24px; }
.facts dt { color: var(--muted); font-size: 13px; }
.facts dd { margin: 0; font-weight: 600; font-size: 14px; }

.note {
  margin: 20px 0; padding: 16px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border);
}
.note strong { display: block; margin-bottom: 6px; }
.note p { color: var(--muted); font-size: 13px; }
.note.small { padding: 11px 14px; font-size: 13px; }
.note.small p { margin: 0; }

/* ── Nút và biểu mẫu ────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--tap); padding: 0 22px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent);
  font-weight: 700; font-size: 14px; border: none; cursor: pointer;
  font-family: inherit;
}
.btn.big { min-height: 50px; width: 100%; font-size: 15px; margin-top: 14px; }
.btn.ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn.small { min-height: var(--tap); padding: 0 16px; font-size: 13px; font-weight: 600; }
.btn.google {
  width: 100%; gap: 10px; min-height: 52px; margin-top: 24px;
  background: #FFFFFF; color: #1A1B1F;
}
.btn.google:hover { background: #F0F0F2; }
.fineprint { font-size: 12px; color: #6C7382; margin-top: 18px; line-height: 1.6; }
.bullets { padding-left: 20px; color: #C9CDD8; font-size: 14px; }
.bullets li { margin-bottom: 8px; }

.linkbtn { background: none; border: none; color: var(--accent); font: inherit; cursor: pointer; padding: 12px 0; }

.form { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.form label { font-size: 13px; color: var(--muted); }
.form input[type=tel], .form input[type=text] {
  min-height: 52px; padding: 0 16px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); font-size: 16px; font-family: inherit;
}
.form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form .otp { letter-spacing: 10px; text-align: center; font-size: 22px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #C9CDD8; }
.inline { margin-top: 4px; }

/* ── Đường dẫn phân cấp ─────────────────────────────────────── */

/* Dùng cho cả hai chế độ. Chữ nhỏ, một dòng, cuộn ngang khi tên truyện dài:
   bọc xuống dòng thì nó chiếm mất phần đầu màn hình điện thoại, vốn là chỗ
   đắt nhất của cả trang. */
.crumbs {
  display: flex; gap: 6px; align-items: center;
  padding: 10px 20px 0; font-size: 13px; color: var(--faint);
  overflow-x: auto; white-space: nowrap; scrollbar-width: none;
}
.crumbs::-webkit-scrollbar { display: none; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--text); }

/* ── Trình phát ─────────────────────────────────────────────── */

.crumb { font-size: 13px; }
.player-head { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.player-head h1 { font-size: 19px; margin-bottom: 4px; }

/* Thanh điều khiển dính đáy màn hình (ngay trên tabbar trên điện thoại),
   nên cuộn lời tới đâu vẫn bấm phát / tua được. */
.dock {
  position: sticky; bottom: calc(62px + env(safe-area-inset-bottom, 0px)); z-index: 5;
  margin: 16px -20px 0; padding: 4px 20px 12px;
  background: var(--bg); border-top: 1px solid var(--border);
}
.transport { display: flex; align-items: center; justify-content: center; gap: 16px; }
.transport .rate { position: absolute; left: 20px; }
.play-btn {
  width: 56px; height: 56px; border-radius: 50%; border: none;
  background: var(--accent); color: var(--on-accent);
  font-size: 20px; cursor: pointer; line-height: 1;
}
.icon-btn {
  min-width: var(--tap); min-height: var(--tap); border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text); font-size: 13px; font-family: inherit; cursor: pointer;
}
.icon-btn.wide { padding: 0 22px; background: var(--accent); color: var(--on-accent); border: none; font-weight: 700; }
[hidden] { display: none !important; }

.seek input[type=range] { width: 100%; accent-color: var(--accent); height: var(--tap); }
.times { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--faint); margin-top: -6px; margin-bottom: 4px; }
#where { color: var(--accent-text); }

.rate { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.rate select {
  min-height: var(--tap); background: var(--surface-2); color: var(--text);
  border: 1px solid var(--border); border-radius: 10px; padding: 0 10px; font-family: inherit;
}

.quota {
  margin-top: 14px; padding: 10px 14px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent-text); font-size: 13px;
}

.modes {
  display: inline-flex; padding: 3px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); margin-bottom: 8px;
}
.mode {
  min-height: 38px; min-width: 84px; padding: 0 18px; border-radius: 999px; border: none;
  background: transparent; color: var(--muted); font: 600 14px var(--font-body); cursor: pointer;
}
.mode.on { background: var(--accent); color: var(--on-accent); }

.script { margin-top: 12px; display: flex; flex-direction: column; }
.script .ln { cursor: pointer; scroll-margin: 120px 0 200px; }
.script .who { font-size: 11px; color: #8B90A0; margin-bottom: 4px; }
.script .narration { margin: 0; font-family: var(--font-display); font-style: italic; }

/* Nghe: lời chạy như karaoke — dòng đang phát sáng rõ, dòng khác mờ đi. */
.script.listen { gap: 18px; padding: 8px 0; }
.script.listen .ln { opacity: .42; transition: opacity .25s; }
.script.listen .ln.past { opacity: .6; }
.script.listen .ln.now { opacity: 1; }
.script.listen .ln:hover { opacity: .85; }
.script.listen .bubble { font-size: 18px; line-height: 1.55; font-weight: 500; }
.script.listen .narration { font-size: 17px; color: #C9CDD8; }
.script.listen .now .who { color: var(--accent); }
.script.listen .now .bubble { color: var(--text); }

/* Đọc: khung chat. */
.script.read { gap: 12px; }
.script.read .narration { color: #969BAA; text-align: center; font-size: 14px; padding: 4px 8px; border-radius: 8px; }
.script.read .line { max-width: 84%; }
.script.read .line.mine { align-self: flex-end; }
.script.read .line.mine .who { text-align: right; }
.script.read .bubble { padding: 11px 14px; border-radius: 15px; background: var(--surface-2); font-size: 15px; }
.script.read .line.mine .bubble { background: var(--accent-soft); color: var(--accent-text); }
.script.read .reading .bubble { outline: 2px solid var(--accent); }
.script.read .narration.reading { background: var(--surface); color: var(--text); }

.follow {
  position: sticky; bottom: calc(190px + env(safe-area-inset-bottom, 0px)); z-index: 6;
  display: block; margin: 0 auto; min-height: 38px; padding: 0 16px; border-radius: 999px;
  background: var(--surface-2); color: var(--text); border: 1px solid var(--border);
  font: 600 13px var(--font-body); cursor: pointer;
}

/* ── Chân trang ─────────────────────────────────────────────── */

.foot { padding: 28px 20px 20px; border-top: 1px solid var(--border); color: var(--faint); font-size: 12px; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); }
.foot-credit { margin: 4px 0 10px; }
.foot-credit a { color: var(--muted); }

/* ── Màn hình rộng ──────────────────────────────────────────── */

@media (min-width: 760px) {
  body { padding-bottom: 0; font-size: 16px; }
  .tabbar { display: none; }
  .topnav { display: flex; }
  h1 { font-size: 32px; }
  .hero { padding: 40px 20px 8px; }
  .hero h1 { font-size: 36px; }
  .cover.lg { width: 220px; height: 293px; }
  .player-head h1 { font-size: 24px; }
  .dock { bottom: 0; }
  .follow { bottom: 130px; }
  .btn.big { width: auto; min-width: 240px; }
}

/* ── Bản nhẹ cho wapsite ────────────────────────────────────── */

.lite { font-size: 15px; }
.lite .cover, .lite .thumb { border-radius: 6px; }
.lite .cover.lg { width: 96px; height: 128px; }
.lite .cover-title { display: none; }
.lite .card { width: 108px; }
.lite .cover { width: 108px; height: 144px; }
.lite .hero { display: none; }
.lite a:hover { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Trang pháp lý: chữ dài, bảng dữ liệu */
.legal.narrow { max-width: 720px; }
.legal h2 { margin-top: 28px; }
.legal p, .legal li { font-size: 14px; line-height: 1.7; color: #C9CDD8; }
.legal ul, .legal ol { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 13px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 9px 8px; border-bottom: 1px solid var(--border); }
.legal th { color: var(--muted); font-weight: 600; }
.form .check { display: flex; gap: 10px; align-items: flex-start; line-height: 1.6; color: var(--text); }
.form .check input { margin-top: 5px; accent-color: var(--accent); }

/* ── Ảnh bìa, danh sách chương trong trang nghe, nghe tiếp ──── */

.cover img, .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb { position: relative; overflow: hidden; }
.cover .bar { z-index: 1; }

.ep-nav { display: flex; gap: 8px; align-items: center; margin: -6px 0 18px; flex-wrap: wrap; }
.ep-nav .btn { min-height: 38px; padding: 0 14px; font-size: 13px; }
.ep-nav .btn[aria-disabled="true"] { opacity: .35; pointer-events: none; }
.chapters { margin: 0 0 18px; border: 1px solid var(--surface-2); border-radius: 10px; }
.chapters > summary { cursor: pointer; padding: 12px 14px; font-weight: 600; font-size: 14px; list-style: none; }
.chapters > summary::-webkit-details-marker { display: none; }
.chapters > summary::after { content: "▾"; float: right; color: var(--muted); }
.chapters[open] > summary::after { content: "▴"; }
.chapters .list { max-height: 52vh; overflow-y: auto; padding: 0 14px; }
.chapters .row.current { color: var(--accent); }
.chapters .row.current strong { color: var(--accent); }

.next-up { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 16px 0; }
.next-up p { margin: 0; flex: 1; min-width: 180px; }
.play-btn.hint { animation: hint 1.6s ease-in-out infinite; }
@keyframes hint { 50% { transform: scale(1.08); } }

/* ── Thể loại ────────────────────────────────────────────────
   Màu từng thể loại đến từ DB qua biến --g (style="--g:#8E2F3A"),
   nên thêm thể loại mới trên CMS không phải sửa CSS. */

.block-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; padding: 0 20px; margin-bottom: 12px;
}
.block .block-head h2 { padding: 0; margin: 0; }
.block-head a { font-size: 13px; white-space: nowrap; }

.card-genre {
  display: block; margin-top: 8px; font-size: 11px; font-weight: 600;
  letter-spacing: .3px; color: var(--accent-text);
}
.card-genre + .card-title { margin-top: 1px; }

.chips {
  display: flex; gap: 8px; overflow-x: auto; padding: 14px 20px 4px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 15px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); font-size: 13px; font-weight: 600;
}
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--g, var(--accent)); }
.chip:hover { color: var(--text); border-color: var(--g, var(--accent)); }
.chip.all { color: var(--muted); }

.pad-x { padding: 0 20px; }
.genre-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.genre-tile {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 2px;
  min-height: 92px; padding: 14px; border-radius: 12px; color: #fff;
  background-color: var(--g, var(--surface-2));
  background-image: linear-gradient(155deg, rgba(255,255,255,.14), rgba(0,0,0,.38));
}
.genre-tile:hover { color: #fff; filter: brightness(1.08); }
.genre-tile strong { font-family: var(--font-display); font-size: 18px; line-height: 1.25; }
.genre-tile em { font-style: normal; font-size: 13px; line-height: 1.45; opacity: .88; margin: 2px 0 6px; }
.genre-tile span { font-size: 12px; opacity: .78; }
.genre-grid.big { margin-top: 18px; }
.genre-grid.big .genre-tile { min-height: 136px; padding: 16px; }
.genre-grid.big .genre-tile strong { font-size: 21px; }

.genre-head {
  padding: 22px 20px 18px;
  background-color: var(--surface);
  background-image: linear-gradient(180deg, var(--g, var(--surface)) 0%, var(--bg) 100%);
}
.genre-head h1 { color: #fff; margin-bottom: 6px; }
.genre-head p { color: rgba(255,255,255,.86); max-width: 560px; margin-bottom: 6px; }
.genre-head .crumb a { color: rgba(255,255,255,.75); }
.genre-head .count { font-size: 13px; color: rgba(255,255,255,.7); margin: 0; }

.sort {
  display: inline-flex; padding: 3px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
}
.sort a {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px;
  border-radius: 999px; color: var(--muted); font-size: 13px; font-weight: 600;
}
.sort a.on { background: var(--accent); color: var(--on-accent); }

.cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 18px 12px; margin: 18px 0 8px;
}
.cards .card { width: auto; }
.cards .cover { width: 100%; height: auto; aspect-ratio: 3 / 4; }
@supports not (aspect-ratio: 3 / 4) {
  .cards .cover { height: 0; padding-top: 133%; }
  .cards .cover-title { position: absolute; left: 10px; right: 10px; bottom: 10px; }
}

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.tag-link {
  font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--accent-text);
}
.related { padding-bottom: 28px; }

@media (min-width: 760px) {
  .genre-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  .genre-head { padding: 40px 20px 26px; }
  .cards { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}

/* Bản nhẹ: lưới nhiều cột nhỏ, ô thể loại gọn, bỏ câu mời. */
.lite .cards { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 14px 10px; }
.lite .cards .cover { width: 100%; height: auto; }
.lite .genre-tile, .lite .genre-grid.big .genre-tile { min-height: 0; padding: 11px 12px; background-image: none; }
.lite .genre-tile strong, .lite .genre-grid.big .genre-tile strong { font-size: 15px; }
.lite .genre-tile em { display: none; }
.lite .genre-head { padding: 16px 20px 12px; background-image: none; }

/* ── Video dọc 9:16 ─────────────────────────────────────────── */

.vcard { width: 128px; flex: 0 0 auto; scroll-snap-align: start; color: var(--text); }
.poster {
  position: relative; display: flex; align-items: flex-end;
  width: 128px; height: 228px; border-radius: 10px; padding: 10px; overflow: hidden;
}
.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vcard.locked .poster img { filter: blur(3px) brightness(.6); }
.vdur {
  position: absolute; right: 8px; bottom: 8px; z-index: 1; padding: 2px 7px; border-radius: 5px;
  background: rgba(0,0,0,.62); color: #fff; font-size: 11px; font-weight: 600;
}
.vcards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 18px 12px; margin: 18px 0 8px;
}
.vcards .vcard { width: auto; }
.vcards .poster { width: 100%; height: auto; aspect-ratio: 9 / 16; }
@supports not (aspect-ratio: 9 / 16) {
  .vcards .poster { height: 0; padding-top: 178%; }
}

.vframe {
  position: relative; width: 100%; max-width: 420px; margin: 0 auto 16px;
  aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: #000;
}
.vframe video { display: block; width: 100%; height: 100%; background: #000; }
.vframe.locked img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(8px) brightness(.45); }
.vlock, .vend {
  position: absolute; inset: auto 0 0 0; z-index: 1; display: flex; flex-direction: column; gap: 10px;
  padding: 22px 20px; background: linear-gradient(transparent, rgba(0,0,0,.85) 30%);
}
.vlock p { margin: 0; color: var(--muted); font-size: 14px; }
.vend[hidden] { display: none; }
.vactions { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 18px; }
.vplayer h1 { font-size: 22px; margin-bottom: 4px; }

.list li.has-video { display: flex; align-items: center; gap: 8px; }
.list li.has-video .row { flex: 1; min-width: 0; }
.row-video {
  flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 38px; padding: 0 12px;
  border-radius: 8px; border: 1px solid var(--border); font-size: 12px; font-weight: 600; color: var(--accent-text);
}
.btn.big + .btn.big { margin-top: 8px; }

/* Bản nhẹ: poster nhỏ hơn, không làm mờ (bộ lọc tốn CPU máy yếu). */
.lite .vcard { width: 100px; }
.lite .poster { width: 100px; height: 178px; }
.lite .vcards { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.lite .vcards .poster { width: 100%; height: auto; }
.lite .vcard.locked .poster img, .lite .vframe.locked img { filter: none; opacity: .4; }
