/* Chuyện Trò — bố cục kiểu WhatsApp, màu kiểu Messenger. */
:root {
  --xanh: #0084ff; --xanh-dam: #0068d6; --xanh-nhat: #e7f3ff;
  --nen: #ffffff; --nen-2: #f0f2f5; --nen-3: #e4e6eb; --chu: #050505; --chu-2: #65676b; --vien: #e4e6eb;
  --bong-toi-tu: #00b2ff; --bong-toi-den: #006aff; --bong-ban: #f0f0f0; --chu-bong-ban: #050505;
  --do: #e41e3f; --xanh-la: #31a24c;
  --thanh-tren: env(safe-area-inset-top); --thanh-duoi: env(safe-area-inset-bottom);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --nen: #000000; --nen-2: #1c1c1e; --nen-3: #2c2c2e; --chu: #f5f5f7; --chu-2: #a1a1a6; --vien: #2c2c2e;
    --bong-ban: #262628; --chu-bong-ban: #f5f5f7; --xanh-nhat: #0b2a4a; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --nen: #000000; --nen-2: #1c1c1e; --nen-3: #2c2c2e; --chu: #f5f5f7; --chu-2: #a1a1a6; --vien: #2c2c2e;
  --bong-ban: #262628; --chu-bong-ban: #f5f5f7; --xanh-nhat: #0b2a4a; color-scheme: dark;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--nen); color: var(--chu); font-family: var(--font); font-size: 16px; }
body { overflow: hidden; overscroll-behavior: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; font-size: 16px; } /* 16px để iOS không tự phóng to */
a { color: var(--xanh); text-decoration: none; }
[hidden] { display: none !important; }
svg { display: block; }

/* Khung app co theo visualViewport (iOS không tự co trang khi bật bàn phím) — xem vuaKhung() trong main.js */
html, body { position: fixed; inset: 0; width: 100%; }
#app { position: fixed; top: 0; left: 0; right: 0; height: var(--cao, 100%); display: flex; will-change: transform; }
body.co-phim .soan { padding-bottom: 6px; }
body.co-phim .tab-duoi { display: none; }
@keyframes truot-vao { from { transform: translateX(28%); opacity: .4; } to { transform: none; opacity: 1; } }
@media (max-width: 899px) { .cot-phai.truot { animation: truot-vao .22s cubic-bezier(.2,.8,.2,1); } }
.tin-cuon { scroll-behavior: auto; }
.hang.moi { animation: hien-tin .18s ease-out; }
@keyframes hien-tin { from { transform: translateY(6px); opacity: .3; } }
.ket-loi { margin: auto; text-align: center; padding: 24px; color: var(--chu-2); }
.khoi-dong { margin: auto; animation: nhip 1.4s ease-in-out infinite; }
.khoi-dong img { border-radius: 18px; }
@keyframes nhip { 50% { opacity: .55; transform: scale(.96); } }

/* ---------- đăng nhập ---------- */
.dn { margin: auto; width: 100%; max-width: 380px; padding: 24px 20px calc(24px + var(--thanh-duoi)); text-align: center; }
.dn .logo { width: 84px; height: 84px; border-radius: 22px; margin: 0 auto 14px; box-shadow: 0 8px 24px rgba(0,132,255,.25); }
.dn h1 { font-size: 28px; margin: 0 0 6px; letter-spacing: -.3px; }
.dn p { color: var(--chu-2); margin: 0 0 22px; line-height: 1.45; font-size: 15px; }
.o-nhap { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--vien); background: var(--nen-2); outline: none; margin-bottom: 12px; }
.o-nhap:focus { border-color: var(--xanh); background: var(--nen); }
.o-ma { text-align: center; font-size: 28px; letter-spacing: 10px; font-weight: 600; }
.nut { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 14px; border-radius: 12px; background: var(--xanh); color: #fff; font-weight: 600; }
.nut:active { background: var(--xanh-dam); }
.nut[disabled] { opacity: .5; }
.nut.phu { background: var(--nen-2); color: var(--chu); }
.nut.nho { width: auto; padding: 9px 14px; border-radius: 10px; font-size: 15px; }
.nut.do { background: var(--do); }
.loi { color: var(--do); font-size: 14px; min-height: 20px; margin: 4px 0 8px; }
.lien-ket { display: inline-block; margin-top: 14px; color: var(--xanh); font-size: 15px; }

/* ---------- khung chính: 1 cột trên điện thoại, 2 cột trên máy lớn ---------- */
.khung { flex: 1; display: flex; min-width: 0; }
.cot-trai { width: 100%; display: flex; flex-direction: column; background: var(--nen); min-width: 0; }
.cot-phai { display: none; flex: 1; min-width: 0; flex-direction: column; background: var(--nen); border-left: 1px solid var(--vien); }
.khung.dang-chat .cot-trai { display: none; }
.khung.dang-chat .cot-phai { display: flex; }
@media (min-width: 900px) {
  .cot-trai { width: 380px; flex: 0 0 380px; }
  .khung .cot-trai { display: flex !important; }
  .cot-phai { display: flex; }
  .tab-duoi { display: none !important; }
  .cot-trai .tab-ngang { display: flex; }
}
.trong-phai { margin: auto; text-align: center; color: var(--chu-2); padding: 20px; }
.trong-phai img { width: 96px; height: 96px; border-radius: 24px; opacity: .9; margin-bottom: 12px; }

.dau { padding: calc(10px + var(--thanh-tren)) 16px 6px; display: flex; align-items: center; gap: 10px; }
.dau h1 { font-size: 28px; font-weight: 700; margin: 0; flex: 1; letter-spacing: -.4px; }
.nut-tron { width: 38px; height: 38px; border-radius: 50%; background: var(--nen-2); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.nut-tron:active { background: var(--nen-3); }
.nut-tron svg { width: 21px; height: 21px; }
.tim { margin: 4px 16px 8px; position: relative; }
.tim input { width: 100%; padding: 9px 12px 9px 38px; border-radius: 20px; border: 0; background: var(--nen-2); outline: none; }
.tim svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--chu-2); }
.cuon { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }

/* danh sách hội thoại */
.dong { display: flex; align-items: center; gap: 12px; padding: 8px 16px; cursor: pointer; position: relative; }
.dong:active, .dong.chon { background: var(--nen-2); }
.dong .giua { flex: 1; min-width: 0; }
.dong .ten { font-size: 16px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dong .phu { font-size: 14px; color: var(--chu-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; display: flex; gap: 4px; }
.dong .phu .noi { overflow: hidden; text-overflow: ellipsis; }
.dong.chua-doc .ten, .dong.chua-doc .phu { font-weight: 700; color: var(--chu); }
.dong .phai { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; flex: 0 0 auto; }
.dong .gio { font-size: 12.5px; color: var(--chu-2); }
.dong.chua-doc .gio { color: var(--xanh); font-weight: 600; }
.huy-hieu { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--xanh); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.trong { text-align: center; color: var(--chu-2); padding: 40px 24px; line-height: 1.5; }
.tieu-muc { padding: 14px 16px 6px; font-size: 13px; font-weight: 600; color: var(--chu-2); text-transform: uppercase; letter-spacing: .3px; }

/* ảnh đại diện */
.av { position: relative; flex: 0 0 auto; border-radius: 50%; background: linear-gradient(135deg, #5ab0ff, #0068d6); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; overflow: visible; }
.av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.av.s56 { width: 56px; height: 56px; font-size: 21px; } .av.s40 { width: 40px; height: 40px; font-size: 16px; }
.av.s36 { width: 36px; height: 36px; font-size: 14px; } .av.s28 { width: 28px; height: 28px; font-size: 12px; }
.av.s14 { width: 14px; height: 14px; font-size: 7px; } .av.s96 { width: 96px; height: 96px; font-size: 36px; }
.av.on::after { content: ""; position: absolute; right: 1px; bottom: 1px; width: 26%; height: 26%; min-width: 10px; min-height: 10px; border-radius: 50%; background: var(--xanh-la); border: 2.5px solid var(--nen); }

/* tab dưới (điện thoại) */
.tab-duoi { display: flex; border-top: 1px solid var(--vien); background: color-mix(in srgb, var(--nen) 92%, transparent); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding-bottom: var(--thanh-duoi); }
.tab-duoi button, .tab-ngang button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 0 6px; font-size: 11px; color: var(--chu-2); position: relative; }
.tab-duoi button svg, .tab-ngang button svg { width: 25px; height: 25px; }
.tab-duoi button.chon, .tab-ngang button.chon { color: var(--xanh); }
.tab-duoi .huy-hieu { position: absolute; top: 2px; left: 52%; height: 18px; min-width: 18px; font-size: 11px; }
.tab-ngang { display: none; border-bottom: 1px solid var(--vien); }

/* ---------- màn chat ---------- */
.dau-chat { display: flex; align-items: center; gap: 8px; padding: calc(6px + var(--thanh-tren)) 8px 6px; border-bottom: 1px solid var(--vien); background: color-mix(in srgb, var(--nen) 92%, transparent); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: 2; }
.dau-chat .lui { width: 36px; height: 40px; display: inline-flex; align-items: center; justify-content: center; color: var(--xanh); }
.dau-chat .lui svg { width: 26px; height: 26px; }
@media (min-width: 900px) { .dau-chat .lui { display: none; } .dau-chat { padding-left: 16px; } }
.dau-chat .ai { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.dau-chat .ai .ten { font-weight: 600; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dau-chat .ai .tt { font-size: 12.5px; color: var(--chu-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dau-chat .nut-goi { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; color: var(--xanh); border-radius: 50%; }
.dau-chat .nut-goi:active { background: var(--nen-2); }
.dau-chat .nut-goi svg { width: 24px; height: 24px; }

.tin-cuon { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 10px 10px 6px; display: flex; flex-direction: column; }
.tin-cuon .dem { flex: 1; }
.ngay { align-self: center; font-size: 12px; color: var(--chu-2); margin: 14px 0 8px; font-weight: 500; }
.hang { display: flex; align-items: flex-end; gap: 6px; margin-top: 2px; max-width: 100%; }
.hang.toi { justify-content: flex-end; }
.hang .av-cho { width: 28px; flex: 0 0 28px; }
.hang.dau-nhom { margin-top: 8px; }
.ten-nguoi { font-size: 12px; color: var(--chu-2); margin: 8px 0 2px 46px; }
.bong { max-width: min(75%, 520px); padding: 8px 12px; border-radius: 18px; font-size: 16px; line-height: 1.34; white-space: pre-wrap; word-wrap: break-word; overflow-wrap: anywhere; position: relative; user-select: text; -webkit-user-select: text; }
.hang.ban .bong { background: var(--bong-ban); color: var(--chu-bong-ban); }
.hang.toi .bong { background: linear-gradient(var(--bong-toi-tu), var(--bong-toi-den)); background-attachment: fixed; color: #fff; }
.hang.toi .bong a { color: #fff; text-decoration: underline; }
.hang.ban:not(.cuoi-nhom) .bong { border-bottom-left-radius: 4px; } .hang.ban:not(.dau-nhom) .bong { border-top-left-radius: 4px; }
.hang.toi:not(.cuoi-nhom) .bong { border-bottom-right-radius: 4px; } .hang.toi:not(.dau-nhom) .bong { border-top-right-radius: 4px; }
.bong.emoji { background: none !important; font-size: 40px; padding: 0 2px; line-height: 1.15; }
.bong.thu-hoi { background: none !important; border: 1px solid var(--vien); color: var(--chu-2) !important; font-style: italic; font-size: 14.5px; }
.bong.anh { padding: 0; background: none !important; overflow: hidden; }
.bong.anh img { display: block; max-width: 100%; max-height: 340px; border-radius: 18px; min-width: 80px; min-height: 60px; background: var(--nen-2); object-fit: cover; cursor: zoom-in; }
.bong .sua { font-size: 11px; opacity: .7; margin-left: 6px; }
.bong .trich { display: block; font-size: 13.5px; opacity: .85; border-left: 3px solid currentColor; padding: 2px 0 2px 8px; margin: 2px 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hang.dang-gui .bong { opacity: .6; }
.hang.loi-gui .bong { opacity: .6; }
.trang-thai { display: flex; justify-content: flex-end; gap: 4px; font-size: 11.5px; color: var(--chu-2); margin: 2px 4px 0; min-height: 0; }
.trang-thai.loi { color: var(--do); cursor: pointer; }
.da-xem { display: flex; justify-content: flex-end; gap: 2px; margin: 2px 2px 0; }

/* tin thoại */
.thoai { display: flex; align-items: center; gap: 8px; min-width: 190px; }
.thoai button { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.25); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.hang.ban .thoai button { background: var(--xanh); color: #fff; }
.thoai button svg { width: 16px; height: 16px; }
.thoai .vach { flex: 1; height: 26px; display: flex; align-items: center; gap: 2px; }
.thoai .vach i { flex: 1; background: currentColor; opacity: .45; border-radius: 2px; min-height: 3px; }
.thoai .vach i.qua { opacity: 1; }
.thoai .giay { font-size: 12.5px; font-variant-numeric: tabular-nums; }

/* tin cuộc gọi */
.tin-goi { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 18px; background: var(--bong-ban); color: var(--chu-bong-ban); min-width: 190px; cursor: pointer; }
.tin-goi .bieu { width: 36px; height: 36px; border-radius: 50%; background: var(--nen-3); display: inline-flex; align-items: center; justify-content: center; }
.tin-goi .bieu.nho { background: var(--do); color: #fff; }
.tin-goi .bieu svg { width: 18px; height: 18px; }
.tin-goi b { display: block; font-size: 15px; } .tin-goi span { font-size: 13px; color: var(--chu-2); }

.dang-go { display: flex; gap: 4px; padding: 12px 14px; background: var(--bong-ban); border-radius: 18px; width: fit-content; margin: 6px 0 2px 34px; }
.dang-go i { width: 7px; height: 7px; border-radius: 50%; background: var(--chu-2); animation: cham 1.2s infinite; }
.dang-go i:nth-child(2) { animation-delay: .15s; } .dang-go i:nth-child(3) { animation-delay: .3s; }
@keyframes cham { 0%,60%,100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* ô soạn tin */
.soan { display: flex; align-items: flex-end; gap: 6px; padding: 6px 8px calc(6px + var(--thanh-duoi)); border-top: 1px solid var(--vien); background: var(--nen); }
.soan .nut-icon { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; color: var(--xanh); flex: 0 0 auto; border-radius: 50%; }
.soan .nut-icon:active { background: var(--nen-2); }
.soan .nut-icon svg { width: 25px; height: 25px; }
.soan .o { flex: 1; display: flex; align-items: flex-end; background: var(--nen-2); border-radius: 20px; min-height: 38px; padding: 0 4px 0 14px; }
.soan textarea { flex: 1; border: 0; outline: none; background: none; resize: none; padding: 8px 0; max-height: 132px; line-height: 1.35; }
.tra-loi-bar { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-top: 1px solid var(--vien); font-size: 13.5px; background: var(--nen); }
.tra-loi-bar .noi { flex: 1; min-width: 0; color: var(--chu-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tra-loi-bar b { color: var(--chu); display: block; font-size: 13px; }
.ghi-am { flex: 1; display: flex; align-items: center; gap: 10px; background: var(--xanh); color: #fff; border-radius: 20px; height: 38px; padding: 0 6px 0 14px; }
.ghi-am .cham-do { width: 10px; height: 10px; border-radius: 50%; background: #fff; animation: nhip 1s infinite; }
.ghi-am .giay { flex: 1; font-variant-numeric: tabular-nums; font-weight: 600; }
.ghi-am button { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.25); display: inline-flex; align-items: center; justify-content: center; }
.ghi-am button svg { width: 16px; height: 16px; }

/* ---------- menu nhấn giữ, bảng dưới ---------- */
#bang-menu { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.35); display: flex; align-items: flex-end; justify-content: center; animation: hien .15s; }
@keyframes hien { from { opacity: 0; } }
.bang { width: 100%; max-width: 520px; background: var(--nen); border-radius: 16px 16px 0 0; padding: 8px 0 calc(8px + var(--thanh-duoi)); animation: len .2s ease-out; max-height: 85vh; overflow-y: auto; }
@keyframes len { from { transform: translateY(40px); opacity: .5; } }
.bang .keo { width: 36px; height: 5px; border-radius: 3px; background: var(--nen-3); margin: 2px auto 8px; }
.bang .muc { display: flex; align-items: center; gap: 14px; width: 100%; padding: 13px 20px; font-size: 16px; text-align: left; }
.bang .muc:active { background: var(--nen-2); }
.bang .muc svg { width: 22px; height: 22px; color: var(--chu-2); }
.bang .muc.do { color: var(--do); } .bang .muc.do svg { color: var(--do); }
.bang .tieu-de { padding: 6px 20px 10px; font-weight: 600; font-size: 17px; }
.bang .noi-dung { padding: 0 20px 12px; }
.cam-xuc { display: flex; justify-content: space-around; padding: 6px 12px 10px; font-size: 30px; }

#thong-bao-nho { position: fixed; left: 50%; bottom: calc(80px + var(--thanh-duoi)); transform: translateX(-50%); background: rgba(30,30,30,.92); color: #fff; padding: 10px 16px; border-radius: 20px; font-size: 14.5px; z-index: 80; max-width: 90vw; text-align: center; }

/* ---------- xem ảnh ---------- */
#lop-xem-anh { position: fixed; inset: 0; z-index: 60; background: #000; display: flex; align-items: center; justify-content: center; }
#lop-xem-anh img { max-width: 100%; max-height: 100%; object-fit: contain; }
#lop-xem-anh .dong-x { position: absolute; top: calc(12px + var(--thanh-tren)); right: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; display: flex; align-items: center; justify-content: center; }

/* ---------- cài đặt / hồ sơ ---------- */
.nhom-cd { margin: 8px 16px 16px; background: var(--nen-2); border-radius: 12px; overflow: hidden; }
.nhom-cd .muc { display: flex; align-items: center; gap: 12px; padding: 13px 14px; width: 100%; text-align: left; font-size: 16px; border-bottom: 1px solid var(--vien); }
.nhom-cd .muc:last-child { border-bottom: 0; }
.nhom-cd .muc .giua { flex: 1; min-width: 0; }
.nhom-cd .muc .nhan-phu { color: var(--chu-2); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 55%; }
.nhom-cd .muc svg { width: 22px; height: 22px; color: var(--chu-2); flex: 0 0 auto; }
.nhom-cd .muc.do { color: var(--do); }
.ho-so { text-align: center; padding: 10px 16px 6px; }
.ho-so .ten { font-size: 22px; font-weight: 700; margin-top: 10px; }
.ho-so .phu { color: var(--chu-2); font-size: 14.5px; margin-top: 4px; }
.ho-so .hanh-dong { display: flex; justify-content: center; gap: 24px; margin: 16px 0 6px; }
.ho-so .hanh-dong button { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; color: var(--chu); }
.ho-so .hanh-dong button span.vong { width: 48px; height: 48px; border-radius: 50%; background: var(--nen-2); display: inline-flex; align-items: center; justify-content: center; color: var(--xanh); }
.ho-so .hanh-dong svg { width: 22px; height: 22px; }
.goi-y { font-size: 13px; color: var(--chu-2); padding: 0 18px 4px; line-height: 1.45; }
.o-nhan { display: block; font-size: 13px; color: var(--chu-2); margin: 10px 2px 6px; text-align: left; }
.chon-nguoi { display: flex; align-items: center; gap: 12px; padding: 8px 16px; }
.chon-nguoi .o-tick { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--nen-3); display: inline-flex; align-items: center; justify-content: center; }
.chon-nguoi.chon .o-tick { background: var(--xanh); border-color: var(--xanh); color: #fff; }
.so-lieu { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 8px 16px; }
.so-lieu button { background: var(--nen-2); border-radius: 12px; padding: 14px; text-align: left; }
.so-lieu b { display: block; font-size: 24px; color: var(--xanh); }
.so-lieu span { font-size: 13px; color: var(--chu-2); }
.bang-ds { width: 100%; border-collapse: collapse; font-size: 14px; }
.bang-ds td, .bang-ds th { padding: 8px 10px; border-bottom: 1px solid var(--vien); text-align: left; vertical-align: top; }
.bang-ds th { color: var(--chu-2); font-weight: 600; font-size: 12.5px; }

/* ---------- cuộc gọi ---------- */
#lop-goi { position: fixed; inset: 0; z-index: 70; background: #111; color: #fff; display: flex; flex-direction: column; }
#lop-goi .nen-mo { position: absolute; inset: 0; background: radial-gradient(circle at 50% 30%, #2b4a7a 0%, #10141c 70%); }
#lop-goi video.xa { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
#lop-goi video.gan { position: absolute; right: 14px; top: calc(14px + var(--thanh-tren)); width: 108px; height: 160px; object-fit: cover; border-radius: 14px; background: #222; z-index: 3; transform: scaleX(-1); box-shadow: 0 4px 18px rgba(0,0,0,.4); }
#lop-goi .thong-tin { position: relative; z-index: 2; text-align: center; margin-top: calc(70px + var(--thanh-tren)); }
#lop-goi .thong-tin .ten { font-size: 28px; font-weight: 600; margin-top: 16px; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
#lop-goi .thong-tin .tt { font-size: 16px; opacity: .8; margin-top: 6px; font-variant-numeric: tabular-nums; }
#lop-goi.co-video .thong-tin { margin-top: calc(20px + var(--thanh-tren)); }
#lop-goi.co-video .thong-tin .av { display: none; }
#lop-goi .dieu-khien { position: relative; z-index: 2; margin-top: auto; padding: 20px 20px calc(34px + var(--thanh-duoi)); display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
#lop-goi .dieu-khien button { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 12.5px; color: #fff; }
#lop-goi .dieu-khien .vong { width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.18); display: inline-flex; align-items: center; justify-content: center; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
#lop-goi .dieu-khien .vong svg { width: 27px; height: 27px; }
#lop-goi .dieu-khien button.tat .vong { background: #fff; color: #111; }
#lop-goi .dieu-khien button.cup .vong { background: #ff3b30; }
#lop-goi .dieu-khien button.nghe .vong { background: #34c759; }
#lop-goi .nhac { position: relative; z-index: 2; text-align: center; font-size: 13.5px; opacity: .8; padding: 0 24px; line-height: 1.45; }
.rung { animation: rung 1.2s infinite; }
@keyframes rung { 0%,100% { transform: rotate(0); } 10%,30% { transform: rotate(-12deg); } 20%,40% { transform: rotate(12deg); } 50% { transform: rotate(0); } }
