/* =====================================================================
   SOL · CSS THÀNH VIÊN (Agent THÀNH VIÊN). Nạp ở MỌI trang, sau nen.css.
   Gồm: nút tài khoản + menu thả xuống ở đầu trang, popup đăng nhập / gắn số điện thoại /
   chào mừng, trang /thanh-vien/ và trang /tai-khoan/.
   Số đo lấy theo bản mẫu (loginModal, welcomePopup, acctMenu, viewAccount).
   Mọi lớp bắt đầu bằng "tv-". Màu từng hạng đi qua biến --tv-mau, lấy từ dữ liệu.
   ===================================================================== */

/* ---------- ảnh đại diện chữ cái ---------- */
.tv-av { width: 30px; height: 30px; border-radius: 50%; background: var(--kem-dam); color: var(--muc); display: inline-flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 15px; font-weight: 700; line-height: 1; flex-shrink: 0; }
.tv-av--vua { width: 46px; height: 46px; font-size: 20px; }
.tv-av--lon { width: 82px; height: 82px; font-size: 34px; margin-bottom: 26px; }

/* ---------- đầu trang: nút tài khoản ---------- */
.hdr__tv > a, .tv-nut { position: relative; }
.tv-nut { gap: 9px; padding: 6px 12px 6px 6px; font-size: 15px; font-weight: 600; border-radius: 22px; }
/* tên giới hạn 64px để nút tài khoản không rộng hơn nút Đăng nhập (đầu trang đã kín chỗ) */
.tv-nut__ten { max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv-nut > .ic { width: 14px; height: 14px; }
.tv-nut:hover .tv-av { color: var(--muc); }

/* ---------- đầu trang: menu thả xuống ---------- */
.tv-menu { position: absolute; top: calc(100% + 10px); right: 0; width: 320px; background: #fff; border: 1px solid rgba(179,145,84,.4); box-shadow: 0 22px 50px rgba(36,36,27,.24); z-index: 90; overflow: hidden; border-radius: 20px; color: var(--muc); white-space: normal; text-align: left; }
.tv-menu__dau { display: flex; align-items: center; gap: 13px; padding: 20px 22px; background: #F7F3EB; }
.tv-menu__dau b { font-family: var(--serif); font-size: 19px; font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.tv-menu__hang { padding: 16px 18px 6px; }
.tv-the-hang { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: linear-gradient(135deg, color-mix(in srgb, var(--tv-mau, var(--vang)) 90%, #fff), color-mix(in srgb, var(--tv-mau, var(--vang)) 88%, #000)); color: #fff; border-radius: 14px; padding: 15px 18px; font-size: 15px; font-weight: 600; line-height: 1.25; }
.tv-the-hang:hover { color: #fff; filter: brightness(1.08); }
.tv-the-hang b { font-size: 17px; }
.tv-the-hang .ic { width: 18px; height: 18px; }
.tv-menu__so { display: flex; align-items: center; gap: 8px; padding: 14px 4px 4px; font-size: 14px; color: var(--chu-3); }
.tv-menu__so b { color: var(--vang); font-size: 16px; }
.tv-menu__so i { font-style: normal; color: rgba(179,145,84,.5); }
.tv-menu__ds { padding: 6px 8px; display: grid; }
.tv-menu__ds a { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 13px 14px; font-size: 15px; font-weight: 600; color: var(--muc); border-radius: 10px; }
.tv-menu__ds a:hover { background: #F7F3EB; color: var(--muc); }
.tv-menu__ds a .ic { width: 16px; height: 16px; color: var(--vang); }
.tv-menu__ds a.tv-menu__phu { font-size: 14.5px; font-weight: 400; color: var(--chu-2); }
.tv-menu__ke { height: 1px; background: rgba(179,145,84,.25); margin: 6px 10px; }
.tv-xuat { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 46px; text-align: left; padding: 14px 14px 16px; font-size: 15px; font-weight: 700; color: #B0512B; }
.tv-xuat:hover { color: var(--do-chu); }
.tv-xuat .ic { width: 17px; height: 17px; }

/* ---------- popup ---------- */
.tv-khoa { overflow: hidden; }
.tv-pop { position: fixed; inset: 0; z-index: 400; background: rgba(26,24,21,.62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); display: flex; padding: 24px; overflow-y: auto; overscroll-behavior: contain; }
.tv-pop__hop { position: relative; width: 100%; max-width: 460px; margin: auto; background: #fff; border: 1px solid rgba(179,145,84,.4); box-shadow: 0 30px 70px rgba(26,24,21,.45); padding: 34px 42px 34px; border-radius: 18px; animation: solRise .35s cubic-bezier(.2,.7,.2,1) both; }
.tv-pop__hop:focus { outline: none; }
.tv-pop__dong { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--chu-3); border-radius: 50%; }
.tv-pop__dong:hover { color: var(--muc); }
.tv-pop__dong .ic { width: 22px; height: 22px; }

/* ---------- khối đăng nhập (popup và trang tài khoản) ---------- */
.tv-dn__dau { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 24px; }
.tv-vong { display: flex; margin-bottom: 14px; flex-shrink: 0; }
.tv-vong .logo__hoa { width: 54px; height: 54px; }
.tv-vong--nho { margin-bottom: 0; }
.tv-vong--nho .logo__hoa { width: 46px; height: 46px; }
.tv-dn__ten { font-family: var(--serif); font-size: 25px; font-weight: 600; letter-spacing: .16em; color: var(--muc); line-height: 1.1; }
.tv-dn__phu { font-size: 11px; letter-spacing: .34em; color: var(--vang); margin-top: 3px; }
.tv-dn__td { font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1.16; text-align: center; color: var(--muc); margin-bottom: 28px; text-wrap: balance; }
.tv-dn__mo { font-size: 15.5px; color: var(--chu-2); text-align: center; line-height: 1.6; margin: -14px 0 22px; }
.tv-dn__bao { margin-bottom: 20px; }
.tv-dn__ghi { text-align: center; font-size: 14.5px; color: var(--chu-3); margin-top: 18px; line-height: 1.6; }
.tv-dn__ghi a { font-weight: 600; }
.tv-dn__ghi--nho { margin-top: 10px; }
.tv-gg { display: flex; justify-content: center; min-height: 44px; }
.tv-hoac { display: flex; align-items: center; gap: 14px; margin: 18px 0; font-size: 14px; color: var(--chu-3); letter-spacing: .08em; }
.tv-hoac::before, .tv-hoac::after { content: ''; flex: 1; height: 1px; background: rgba(179,145,84,.4); }

/* ---------- biểu mẫu ---------- */
.tv-f { display: grid; gap: 20px; }
.tv-f__o { display: block; }
.tv-f__nhan { display: block; font-size: 14px; font-weight: 700; color: var(--vang-dam); letter-spacing: .06em; margin-bottom: 8px; }
.tv-f__nhan i { font-style: normal; color: #B0512B; }
.tv-f__nhan--thuong { font-weight: 600; color: var(--chu-2); letter-spacing: 0; }
.tv-f input { width: 100%; min-height: 52px; background: #fff; border: 1px solid rgba(179,145,84,.5); padding: 14px 16px; font-size: 17px; color: var(--muc); outline: none; border-radius: 18px; }
.tv-f input::placeholder { color: var(--chu-mo); }
.tv-f input:focus { border-color: var(--vang); box-shadow: 0 0 0 3px rgba(179,145,84,.18); }
.tv-f input[aria-invalid="true"] { border-color: var(--do); }
.tv-f__gui { width: 100%; min-height: 52px; padding: 15px; font-size: 17px; }
.tv-f__gui[disabled], .tv-f__luu[disabled] { opacity: .6; cursor: default; }
.tv-f__loi { font-size: 15px; color: var(--do-chu); background: var(--do-nen); border: 1px solid var(--do); border-radius: var(--bo-nut); padding: 10px 14px; line-height: 1.5; }
.tv-f__loi--ok { color: #2F5A36; background: #EDF4EC; border-color: var(--xanh-ok); }
.tv-f--hai { grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.tv-f--hai input { background: #F7F3EB; border-color: rgba(179,145,84,.35); border-radius: 12px; font-size: 16px; }
.tv-f--hai .tv-f__loi, .tv-f--hai .tv-f__luu { grid-column: 1 / -1; }
.tv-f__luu { justify-self: start; min-height: 48px; }

/* ---------- popup chào mừng ---------- */
.tv-chao { text-align: center; }
.tv-chao__dau { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 24px; text-align: left; line-height: 1; }
.tv-chao__dau b { display: block; font-family: var(--serif); font-size: 20px; font-weight: 700; letter-spacing: .12em; color: var(--muc); }
.tv-chao__dau small { display: block; font-size: 9px; letter-spacing: .3em; color: var(--vang); margin-top: 3px; }
.tv-chao__td { font-family: var(--serif); font-weight: 600; font-size: 34px; line-height: 1.12; color: var(--muc); overflow-wrap: anywhere; }
.tv-chao__mo { font-size: 15px; color: var(--chu-2); margin: 14px auto 26px; max-width: 340px; }
.tv-chao__the { background: var(--tv-mau, var(--vang)); color: #fff; border-radius: 22px; padding: 24px; text-align: left; }
.tv-chao__la { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; font-size: 15px; font-weight: 500; }
.tv-chao__la b { display: inline-flex; align-items: center; gap: 8px; background: #FBF3E2; color: var(--vang-dam); font-weight: 700; font-size: 14px; padding: 8px 16px; border-radius: 14px; }
.tv-chao__la b .ic { width: 16px; height: 16px; }
.tv-chao__nho { font-size: 13px; color: #FBF3E2; letter-spacing: .04em; margin-bottom: 12px; }
.tv-chao__so { display: flex; align-items: stretch; }
.tv-chao__so > div { flex: 1; display: flex; align-items: center; gap: 12px; }
.tv-chao__so > i { width: 1px; background: rgba(255,255,255,.35); margin: 0 18px; }
.tv-chao__so span { width: 42px; height: 42px; background: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--vang); flex-shrink: 0; }
.tv-chao__so span .ic { width: 20px; height: 20px; }
.tv-chao__so p { font-size: 12px; color: #FBF3E2; line-height: 1.3; }
.tv-chao__so p b { display: block; font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1; color: #fff; }
.tv-chao__ql { display: grid; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.3); font-size: 14px; line-height: 1.45; }
.tv-chao__ql li { display: flex; gap: 8px; }
.tv-chao__ql .ic { width: 16px; height: 16px; margin-top: 2px; color: #FBF3E2; }
.tv-chao__nut { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; background: var(--kem-dam); color: var(--muc); padding: 15px; font-size: 15px; font-weight: 600; letter-spacing: .03em; margin-top: 18px; border-radius: 22px; transition: background .18s, color .18s; }
.tv-chao__nut:hover { background: var(--muc); color: var(--kem); }
.tv-chao__nut .ic { width: 16px; height: 16px; }

/* =====================================================================
   TRANG /thanh-vien/
   ===================================================================== */
.tv-mo { padding-top: 22px; padding-bottom: 8px; }
.tv-mo__nho { font-size: 13px; letter-spacing: .34em; color: var(--vang); margin: 26px 0 14px; }
.tv-mo h1 { font-family: var(--serif); font-weight: 600; font-size: 48px; line-height: 1.06; color: var(--muc); max-width: 860px; text-wrap: balance; }
.tv-mo__mo { font-size: 18px; color: var(--chu-2); line-height: 1.7; max-width: 780px; margin-top: 18px; }
.tv-hang-nut { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.tv-hang-nut .nut, .tv-hang-nut .nut-vien { min-height: 48px; }
.tv-khoi { padding-top: 42px; padding-bottom: 8px; }
.tv-khoi--hep { max-width: 900px; }
.tv-khoi--cuoi { padding-bottom: 60px; }
.tv-h2 { font-family: var(--serif); font-weight: 500; font-size: 36px; line-height: 1.08; color: var(--muc); text-align: center; max-width: 760px; margin: 0 auto 26px; text-wrap: balance; }
.tv-h2--trai { text-align: left; margin-left: 0; font-size: 32px; }
.tv-dan { font-size: 17px; color: var(--chu-2); line-height: 1.75; max-width: 760px; margin: 0 auto 26px; text-align: center; }
.tv-dan--trai { text-align: left; margin-left: 0; margin-bottom: 16px; }
.tv-dan b { color: var(--muc); }
.tv-ghi { font-size: 14.5px; color: var(--chu-3); line-height: 1.6; margin-top: 14px; }
.tv-ghi a { font-weight: 600; }

/* bảng so sánh hạng */
.tv-ss__cuon { background: #fff; border: 1px solid var(--vang-vien); border-radius: 20px; overflow: hidden; }
.tv-ss__bang { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 15.5px; line-height: 1.5; }
.tv-ss__bang th, .tv-ss__bang td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(179,145,84,.2); }
.tv-ss__bang tbody tr:last-child th, .tv-ss__bang tbody tr:last-child td { border-bottom: 0; }
.tv-ss__bang thead th { background: #F7F3EB; padding: 14px 18px; vertical-align: middle; font-size: 14px; color: var(--chu-2); }
.tv-ss__bang tbody th { width: 17%; font-weight: 600; color: var(--muc); }
.tv-ss__bang td { color: var(--chu-2); }
.tv-ss__bang td + td, .tv-ss__bang th + th, .tv-ss__bang th + td { border-left: 1px solid rgba(179,145,84,.2); }
.tv-ss__hang { display: inline-block; background: var(--tv-mau, var(--vang)); color: #fff; font-size: 13.5px; font-weight: 700; letter-spacing: .04em; padding: 7px 14px; border-radius: 12px; }
.tv-ss__chua { color: var(--chu-mo); }
.tv-ss__bang--moc tbody th { width: 30%; }
.tv-ss__bang--moc td { font-weight: 600; color: var(--muc); }
.tv-ss__the { display: none; }
.tv-ht { background: #fff; border: 1px solid var(--vang-vien); border-radius: var(--bo); overflow: hidden; }
.tv-ht__dau { background: var(--tv-mau, var(--vang)); color: #fff; padding: 16px 20px; }
.tv-ht__dau b { display: block; font-size: 16px; letter-spacing: .04em; }
.tv-ht__dau span { display: block; font-size: 14px; color: rgba(255,255,255,.86); margin-top: 2px; }
.tv-ht ul { display: grid; gap: 10px; padding: 18px 20px 20px; font-size: 16px; color: var(--chu-2); line-height: 1.5; }
.tv-ht li { display: flex; gap: 10px; }
.tv-ht .ic { width: 18px; height: 18px; color: var(--vang); margin-top: 3px; }

/* hai cột chữ, dấu tích, ví dụ */
.tv-hai { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.tv-vi-du { background: var(--kem-sang); border: 1px solid rgba(179,145,84,.35); border-radius: 16px; padding: 18px 22px; font-size: 16px; color: #3A362F; line-height: 1.7; }
.tv-tich { display: grid; gap: 12px; font-size: 16px; color: var(--chu-2); line-height: 1.6; }
.tv-tich li { display: flex; gap: 10px; }
.tv-tich .ic { width: 18px; height: 18px; color: var(--vang); margin-top: 4px; }

/* ba bước */
.tv-buoc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tv-buoc li { background: #fff; border: 1px solid var(--vang-vien); border-radius: var(--bo); padding: 34px 26px; text-align: center; position: relative; }
.tv-buoc__so { position: absolute; top: 16px; left: 20px; font-family: var(--serif); font-size: 22px; font-weight: 700; color: rgba(179,145,84,.6); }
.tv-tron { width: 60px; height: 60px; border-radius: 50%; background: var(--kem-sang); display: flex; align-items: center; justify-content: center; color: var(--vang); margin: 8px auto 20px; }
.tv-tron .ic { width: 26px; height: 26px; }
.tv-buoc h3 { font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.2; color: var(--muc); margin-bottom: 8px; }
.tv-buoc p { font-size: 16px; color: var(--chu-2); line-height: 1.6; }

/* lời mời cuối trang */
.tv-moi { background: var(--muc); color: var(--kem); border-radius: 22px; padding: 30px 44px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.tv-moi h2 { font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1.1; color: #fff; margin-bottom: 10px; }
.tv-moi p { font-size: 16px; color: #C7BFB0; max-width: 560px; line-height: 1.7; }
.tv-moi p a { color: var(--vang-nhat); font-weight: 600; }
.tv-moi .tv-hang-nut { margin-top: 0; }
.tv-moi .nut-vien { border-color: rgba(255,255,255,.65); color: #fff; }
.tv-moi .nut-vien:hover { background: rgba(255,255,255,.12); color: #fff; }

/* =====================================================================
   TRANG /tai-khoan/
   ===================================================================== */
.tv-tk { padding-top: 34px; padding-bottom: 52px; min-height: 60vh; }
.tv-tk--tai > * { visibility: hidden; }
.tv-tk__h1 { font-family: var(--serif); font-weight: 600; font-size: 40px; line-height: 1.1; color: var(--muc); margin-bottom: 26px; }
.tv-the { background: #fff; border: 1px solid rgba(179,145,84,.3); border-radius: 20px; padding: 30px 32px; }
.tv-the + .tv-the { margin-top: 20px; }
.tv-the__td { font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.15; color: var(--muc); margin-bottom: 22px; }
.tv-the__td--nho { font-size: 28px; margin-bottom: 20px; }

/* chưa đăng nhập */
.tv-tk__dn { display: grid; grid-template-columns: minmax(0, 460px) 1fr; gap: 48px; align-items: center; margin-bottom: 48px; }
.tv-the--dn { padding: 30px 38px 30px; min-height: 420px; border-radius: 18px; border-color: rgba(179,145,84,.4); }
.tv-tk__loi-ich .tv-h2 { margin-bottom: 20px; }

/* đã đăng nhập: hai cột */
.tv-tk__luoi { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 30px; align-items: start; }
.tv-tk__ben { display: grid; gap: 16px; }
.tv-tk__ben .tv-the + .tv-the { margin-top: 0; }
.tv-ho-so { display: flex; align-items: center; gap: 16px; padding: 22px; }
.tv-ho-so .tv-av { width: 56px; height: 56px; font-size: 26px; }
.tv-ho-so__ten { font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.15; overflow-wrap: anywhere; }
.tv-the.tv-dieu-huong { padding: 0; overflow: hidden; }
.tv-dieu-huong a { display: flex; align-items: center; justify-content: space-between; min-height: 58px; border-bottom: 1px solid rgba(179,145,84,.16); padding: 17px 22px; font-size: 15.5px; font-weight: 600; color: var(--muc); }
.tv-dieu-huong a:hover { background: #F7F3EB; color: var(--muc); }
.tv-dieu-huong a[aria-current="page"] { background: var(--kem-dam); }
.tv-dieu-huong a .ic { width: 17px; height: 17px; color: var(--vang); }
.tv-dieu-huong .tv-xuat { min-height: 58px; padding: 17px 22px; font-size: 15.5px; }
.tv-dieu-huong .tv-xuat .ic { width: 18px; height: 18px; }
.tv-giup { background: var(--kem-sang); border-color: rgba(179,145,84,.35); padding: 22px; }
.tv-giup b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--vang-dam); line-height: 1.15; }
.tv-giup p { font-size: 14.5px; color: var(--chu-2); margin: 8px 0 16px; }
.tv-giup .nut-vien { min-height: 44px; border-color: var(--vang); color: var(--vang-dam); }
.tv-giup .nut-vien:hover { background: var(--vang); color: #fff; }

/* danh sách đặt phòng */
.tv-tk__td { font-family: var(--serif); font-weight: 600; font-size: 40px; line-height: 1.1; color: var(--muc); margin-bottom: 22px; }
.tv-loc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 24px; }
.tv-loc button { min-height: 50px; background: #fff; color: var(--chu-2); border: 1px solid rgba(179,145,84,.4); border-radius: 14px; padding: 14px 8px; font-size: 15px; font-weight: 600; }
.tv-loc button:hover { border-color: var(--vang); }
.tv-loc button[aria-pressed="true"] { background: var(--vang); color: #fff; border-color: var(--vang); }
.tv-ds { display: grid; gap: 16px; }
.tv-ds:empty { display: none; }
.tv-ds .tv-the + .tv-the { margin-top: 0; }
.tv-ds__cho { font-size: 16px; color: var(--chu-3); padding: 20px 4px; }
.tv-don { padding: 24px 28px; }
.tv-don__dau { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.tv-don__dau b { font-size: 15px; letter-spacing: .08em; color: var(--vang-dam); }
.tv-nhan { font-size: 13.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--kem-sang); color: var(--vang-dam); border: 1px solid rgba(179,145,84,.35); }
.tv-nhan--ok { background: #EDF4EC; color: #2F5A36; border-color: rgba(75,122,82,.4); }
.tv-nhan--xong { background: var(--kem-dam); color: var(--muc); border-color: transparent; }
.tv-nhan--huy { background: var(--do-nen); color: var(--do-chu); border-color: rgba(194,69,44,.35); }
.tv-don h3 { font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.15; }
.tv-don h3 a { color: var(--muc); }
.tv-don h3 a:hover { color: var(--vang-dam); }
.tv-don__hang { font-size: 15.5px; color: var(--chu-2); margin-top: 4px; }
.tv-don dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 20px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(179,145,84,.2); }
.tv-don dt { font-size: 13px; color: var(--chu-3); }
.tv-don dd { font-size: 16px; font-weight: 600; color: var(--muc); margin-top: 2px; }
.tv-trong { display: flex; align-items: center; gap: 34px; padding: 44px; }
.tv-trong__hinh { width: 130px; height: 130px; border-radius: 50%; background: var(--kem-sang); display: flex; align-items: center; justify-content: center; color: var(--vang); flex-shrink: 0; }
.tv-trong__hinh .ic { width: 58px; height: 58px; stroke-width: 1.5; }
.tv-trong p { font-size: 17px; color: var(--chu-2); line-height: 1.7; margin-bottom: 18px; }
.tv-trong .nut { min-height: 48px; }
.tv-tk__goi { font-size: 15px; color: var(--chu-3); margin-top: 22px; }
.tv-tk__goi a { font-weight: 600; color: #B0512B; }

/* tài khoản của tôi */
.tv-o-hai { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tv-o { background: #F7F3EB; border: 1px solid rgba(179,145,84,.3); border-radius: 14px; padding: 16px 20px; }
.tv-o small { display: block; font-size: 13px; color: var(--chu-3); }
.tv-o b { display: flex; align-items: center; gap: 7px; font-size: 16px; font-weight: 600; color: var(--muc); margin-top: 3px; }
.tv-o b.tv-ok { color: #2F5A36; }
.tv-o b.tv-chua { color: #B0512B; }
.tv-gan { margin-top: 18px; min-height: 48px; }
.tv-lk { color: var(--vang-dam); font-weight: 600; text-decoration: underline; min-height: 24px; }

/* quyền lợi thành viên */
.tv-ql__bao { margin-bottom: 20px; }
.tv-vong-hai { display: flex; justify-content: center; gap: 40px; padding: 10px 0 26px; flex-wrap: wrap; }
.tv-vong-so { position: relative; width: 168px; height: 168px; }
.tv-vong-so svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.tv-vong-so circle { fill: none; stroke-width: 8; }
.tv-vong-so__nen { stroke: var(--kem-dam); }
.tv-vong-so__chay { stroke: var(--vang); stroke-linecap: round; }
.tv-vong-so p { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.tv-vong-so b { font-family: var(--serif); font-size: 40px; font-weight: 700; color: var(--muc); line-height: 1; }
.tv-vong-so span { font-size: 13px; letter-spacing: .1em; color: var(--chu-3); margin-top: 6px; }
.tv-tien { margin-bottom: 18px; }
.tv-tien__thanh { height: 8px; background: var(--kem-dam); border-radius: 999px; overflow: hidden; }
.tv-tien__thanh i { display: block; height: 100%; width: 0; background: var(--vang); border-radius: 999px; transition: width .6s ease; }
.tv-tien p { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 600; color: var(--chu-3); margin-top: 8px; }
.tv-len { background: var(--kem-sang); border: 1px solid rgba(179,145,84,.35); border-radius: 16px; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.tv-len p { font-size: 15px; color: #3A362F; flex: 1 1 260px; }
.tv-len p .ic { color: var(--vang); width: 18px; height: 18px; vertical-align: -3px; }
.tv-len__hang { color: var(--vang-dam); }
.tv-len__nut { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid var(--vang); color: var(--vang-dam); border-radius: 22px; padding: 11px 24px; font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .18s, color .18s; }
.tv-len__nut:hover { background: var(--vang); color: #fff; }
.tv-giu { display: flex; gap: 9px; font-size: 15px; color: var(--chu-2); margin-top: 16px; line-height: 1.6; }
.tv-giu .ic { width: 18px; height: 18px; color: var(--vang); margin-top: 3px; }
.tv-hc-luoi { display: flex; gap: 14px; align-items: stretch; }
.tv-hc { flex: 1 1 0; min-width: 0; border-radius: 16px; min-height: 190px; padding: 22px 18px; color: #F4EFE6; background: var(--tv-mau, var(--muc)); }
.tv-hc--khoa { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; }
.tv-hc--khoa b { font-size: 14.5px; font-weight: 700; }
.tv-hc--khoa p { font-size: 13px; color: rgba(244,239,230,.82); line-height: 1.5; }
.tv-hc__tron { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; }
.tv-hc__tron .ic { width: 18px; height: 18px; }
.tv-hc--la { flex-grow: 1.6; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--tv-mau, var(--vang)) 90%, #fff), color-mix(in srgb, var(--tv-mau, var(--vang)) 88%, #000)); box-shadow: 0 14px 30px rgba(36,36,27,.2); outline: 2px solid var(--vang-nhat); outline-offset: 2px; }
.tv-hc__ten { display: block; font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.tv-hc__chu { display: block; font-size: 13.5px; color: #FBF3E2; margin-top: 6px; overflow-wrap: anywhere; }
.tv-hc--la ul { display: grid; gap: 7px; font-size: 13.5px; line-height: 1.45; }
.tv-hc--la li { display: flex; gap: 7px; }
.tv-hc--la li .ic { width: 14px; height: 14px; margin-top: 3px; }
.tv-hc__sol { display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: 20px; font-weight: 700; letter-spacing: .08em; }
.tv-hc__sol .logo__hoa { width: 24px; height: 24px; background: currentColor; }

/* =====================================================================
   MÀN HÌNH NHỎ
   ===================================================================== */
@media (max-width: 1080px) {
  .tv-hc-luoi { flex-wrap: wrap; }
  .tv-hc { flex-basis: calc(50% - 7px); }
  .tv-hc--la { flex-basis: 100%; }
  .tv-don dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .tv-tk__luoi { grid-template-columns: 1fr; gap: 22px; }
  .tv-tk__dn { grid-template-columns: 1fr; gap: 30px; margin-bottom: 32px; }
  .tv-the--dn { max-width: 520px; width: 100%; margin: 0 auto; }
  .tv-giup { display: none; }
  .tv-hai { grid-template-columns: 1fr; gap: 40px; }
  .tv-ss__cuon:not(:has(.tv-ss__bang--moc)) { display: none; }
  .tv-ss__the { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 768px) {
  /* đầu trang: chỉ còn biểu tượng; vùng bấm vẫn đủ 44px nhờ lớp phủ trong suốt */
  .hdr__tv > a::after, .tv-nut::after { content: ''; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); }
  .tv-nut { padding: 2px; border-radius: 50%; }
  .tv-nut__ten, .tv-nut > .ic { display: none; }
  .tv-menu { position: fixed; top: 70px; left: 12px; right: 12px; width: auto; max-height: calc(100vh - 86px); overflow-y: auto; }

  .tv-pop { padding: 12px; }
  .tv-pop__hop { padding: 32px 20px 26px; }
  .tv-dn__td { font-size: 27px; margin-bottom: 22px; }
  .tv-chao__td { font-size: 28px; }
  .tv-chao__the { padding: 20px 18px; }
  .tv-chao__so > i { margin: 0 12px; }

  .tv-mo h1 { font-size: 34px; }
  .tv-mo__mo { font-size: 17px; }
  .tv-khoi { padding-top: 32px; }
  .tv-h2 { font-size: 29px; }
  .tv-h2--trai { font-size: 27px; }
  .tv-hang-nut .nut, .tv-hang-nut .nut-vien { flex: 1 1 100%; white-space: normal; text-align: center; }
  .tv-ss__the { grid-template-columns: 1fr; }
  .tv-ss__bang--moc { font-size: 15px; }
  .tv-ss__bang--moc th, .tv-ss__bang--moc td { padding: 12px 10px; }
  .tv-ss__bang--moc .tv-ss__hang { padding: 5px 8px; font-size: 13px; letter-spacing: 0; }
  .tv-ss__bang--moc th:last-child, .tv-ss__bang--moc td:last-child { display: none; }
  .tv-buoc { grid-template-columns: 1fr; }
  .tv-moi { padding: 30px 22px; }
  .tv-moi h2 { font-size: 28px; }

  .tv-tk { padding-top: 22px; padding-bottom: 38px; }
  .tv-tk__h1, .tv-tk__td { font-size: 30px; }
  .tv-the { padding: 22px 18px; }
  .tv-the--dn { padding: 30px 20px 24px; }
  .tv-the__td { font-size: 26px; }
  .tv-the__td--nho { font-size: 24px; }
  .tv-the.tv-ho-so { padding: 16px 18px; }
  .tv-dieu-huong a, .tv-dieu-huong .tv-xuat { min-height: 52px; padding: 14px 18px; }
  .tv-loc { grid-template-columns: 1fr 1fr; }
  .tv-don { padding: 20px 18px; }
  .tv-don h3 { font-size: 23px; }
  .tv-trong { flex-direction: column; text-align: center; gap: 20px; padding: 30px 20px; }
  .tv-trong__hinh { width: 96px; height: 96px; }
  .tv-trong__hinh .ic { width: 44px; height: 44px; }
  .tv-f--hai, .tv-o-hai { grid-template-columns: 1fr; }
  .tv-f__luu, .tv-gan { width: 100%; }
  .tv-vong-hai { gap: 16px; }
  .tv-vong-so { width: 140px; height: 140px; }
  .tv-vong-so b { font-size: 34px; }
  .tv-len__nut { width: 100%; }
  .tv-hc { flex-basis: 100%; min-height: 0; }
  .tv-hc--khoa { padding: 20px 18px; }
}

/* NHỊP DỌC (QA M4): giữa khối tối đa 48px máy tính, 32px điện thoại */
.tv-khoi { padding-top: 36px; }
.tv-khoi--cuoi { padding-bottom: 44px; }
@media (max-width: 768px) {
  .tv-khoi { padding-top: 22px; }
  .tv-khoi--cuoi { padding-bottom: 30px; }
}
.tv-tk { padding-bottom: 44px; }
@media (max-width: 768px) { .tv-tk { padding-bottom: 30px; } }
