/* ===== UI24 – KHỐI CSS TRANG PHỤ (tiền tố bt-, dùng chung với bt.css của trang chủ UI23) =====
   5 BP Thiết kế chung · 28/11/2026 · Brand v3.3 Bento pastel, tông B không tím.
   Đỏ son chỉ ở nút chính (.bt-nutc), logo, tab đang chọn. Khối bo 24px, bóng mềm 2 lớp, không viền. */
.bt-trang{padding-top:18px}
.bt-td{margin:0 0 14px}
.bt-td h1{margin:0;font:800 2rem/1.1 var(--sans);letter-spacing:-.02em;color:var(--muc)}
.bt-td p{margin:6px 0 0;font-weight:500;color:var(--mota)}
/* thẻ */
.bt-the{position:relative;overflow:hidden;padding:18px;border-radius:24px;background:#fff;
 box-shadow:0 1px 2px rgba(42,26,21,.04),0 8px 22px rgba(42,26,21,.06)}
.bt-the.mau{background:var(--n)}
.bt-the h2{margin:0 0 8px;font:800 1.2rem/1.2 var(--sans);letter-spacing:-.01em;color:var(--c,var(--muc))}
.bt-the h3{margin:14px 0 6px;font:800 1rem/1.3 var(--sans);color:var(--muc)}
.bt-the p{margin:0 0 8px}
.bt-xep{display:grid;gap:12px}
.bt-phu-c{font-size:.86rem;font-weight:500;color:var(--mota)}
/* 6 màu pastel (bảng 2C, tông B) dùng lại cho thẻ trang phụ */
.bt-c1{--n:#FFD6CC;--c:#8A2218}.bt-c2{--n:#FFEBB0;--c:#6A4A0A}.bt-c3{--n:#CFE5FA;--c:#1D4A75}
.bt-c4{--n:#CBEEDD;--c:#1C5A45}.bt-c5{--n:#FCE1EA;--c:#8C2D57}.bt-c6{--n:#FFDCC4;--c:#853812}
/* nút */
.bt .bt-nutc{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border:0;border-radius:999px;background:var(--son);color:#FFF6E3;font:800 1rem/1 var(--sans);cursor:pointer;box-shadow:0 6px 16px rgba(184,50,42,.22)}
.bt .bt-nutc:hover{background:var(--do)}
.bt .bt-nutp{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;border-radius:999px;border:1.5px solid rgba(184,50,42,.55);background:rgba(255,255,255,.7);color:var(--do);font:700 .92rem/1 var(--sans);cursor:pointer}
.bt .bt-nutt{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 16px;border-radius:999px;border:0;background:rgba(255,255,255,.85);color:var(--c,var(--muc));font:700 .9rem/1 var(--sans);cursor:pointer}
.bt-rong{width:100%}
.bt button:focus-visible,.bt input:focus-visible,.bt textarea:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
/* biểu mẫu */
.bt-tr{display:grid;gap:6px;margin:0 0 14px}
.bt-tr label,.bt-tr .nhan{font-weight:700;font-size:.95rem}
.bt-tr small{color:var(--phu);font-size:.82rem}
.bt input[type=text],.bt textarea{width:100%;min-height:48px;padding:12px 14px;border:1.5px solid #E9DCD2;border-radius:16px;background:#FFFCF9;font:500 1rem/1.4 var(--sans);color:var(--muc)}
.bt textarea{min-height:140px;resize:vertical}
.bt-dem{justify-self:end;font-size:.8rem;color:var(--phu)}
.bt-chon{display:grid;gap:8px}
.bt-chon label{display:flex;align-items:center;gap:12px;min-height:52px;padding:10px 14px;border-radius:16px;background:#FFF8F1;font-weight:600;cursor:pointer}
.bt-chon input{width:20px;height:20px;accent-color:var(--son);flex:0 0 auto}
.bt-chon label:has(input:checked){background:#FFEDE6;box-shadow:inset 0 0 0 2px rgba(184,50,42,.5)}
.bt-dy{display:flex;gap:12px;align-items:flex-start;margin:4px 0 16px;font-size:.9rem;line-height:1.45}
.bt-dy input{width:22px;height:22px;margin:1px 0 0;accent-color:var(--son);flex:0 0 auto}
.bt-dy a,.bt-lk{color:var(--do);font-weight:700;text-decoration:underline;text-underline-offset:3px}
/* ô lối tắt nhỏ */
.bt-tat{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.bt-tat a{display:flex;flex-direction:column;gap:4px;min-height:96px;padding:14px;border-radius:20px;background:var(--n);color:var(--c)}
.bt-tat a b{font:800 1.02rem/1.2 var(--sans)}
.bt-tat a span{font-size:.82rem;font-weight:500;color:var(--mota)}
.bt-tat a.rong{grid-column:1/-1;min-height:72px}
/* chân trang ô bento (trang phụ) */
.bt-chan .bt-o-chan{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0 8px}
.bt-chan .bt-o-chan a{display:flex;align-items:center;justify-content:center;text-align:center;min-height:52px;padding:6px 8px;border-radius:16px;background:rgba(255,255,255,.72);font-weight:700;font-size:.84rem;line-height:1.2;color:var(--muc)}
.bt-chan .bt-o-chan a[aria-current]{background:#fff;color:var(--do);box-shadow:inset 0 0 0 1.5px rgba(184,50,42,.45)}
/* ===== VÍ XU ===== */
.bt-sodu{display:flex;flex-direction:column;gap:4px;padding:20px;min-height:180px}
.bt-sodu .nho{font-size:.88rem;font-weight:600;color:var(--mota)}
.bt-sodu .so{font:800 3rem/1 var(--sans);letter-spacing:-.03em;color:var(--c)}
.bt-sodu .so small{font-size:1.1rem;font-weight:800;margin-left:6px}
.bt-sodu .hang{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;margin-top:auto;padding-top:14px}
.bt-xuhinh{position:absolute;right:14px;top:14px;width:64px;height:64px}
.bt-qua{display:flex;align-items:center;gap:12px;padding:14px 16px}
.bt-qua b{display:block;font-weight:800;color:var(--c)}
.bt-qua span{font-size:.86rem;color:var(--mota)}
.bt-goi{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:4px 0 0;padding:0;list-style:none}
.bt-goi button{width:100%;min-height:92px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;padding:12px 14px;border:0;border-radius:18px;background:#FFF8F1;color:var(--muc);text-align:left;cursor:pointer;font-family:var(--sans)}
.bt-goi button .gia{font:800 1.3rem/1.1 var(--sans);letter-spacing:-.01em}
.bt-goi button .xu{font-weight:700;font-size:.9rem;color:var(--phu)}
.bt-goi button[aria-pressed=true]{background:#FFEDE6;box-shadow:inset 0 0 0 2px var(--son)}
.bt-goi button[aria-pressed=true] .xu{color:var(--do)}
.bt-goi li:last-child:nth-child(odd){grid-column:1/-1}
.bt-goi .the-nho{display:inline-block;margin-top:4px;padding:2px 8px;border-radius:999px;background:var(--son);color:#FFF6E3;font-size:.72rem;font-weight:800}
.bt-buoc{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;margin-right:8px;border-radius:50%;background:#FFE3DC;color:var(--do);font-weight:800;font-size:.9rem;vertical-align:2px}
.bt-qr{display:grid;gap:14px}
.bt-qr .ma{justify-self:center;width:200px;height:200px;padding:12px;border-radius:20px;background:#fff;box-shadow:inset 0 0 0 1.5px #EFE3D9}
.bt-qr dl{display:grid;grid-template-columns:auto 1fr;gap:10px 14px;margin:0;align-items:center}
.bt-qr dt{font-size:.86rem;color:var(--phu);font-weight:600}
.bt-qr dd{margin:0;font-weight:800;text-align:right;display:flex;justify-content:flex-end;align-items:center;gap:8px}
.bt-qr dd.to{font-size:1.4rem;color:var(--muc)}
.bt-sao{min-height:36px;padding:0 12px;border-radius:999px;border:1.5px solid #E9DCD2;background:#fff;font:700 .8rem/1 var(--sans);color:var(--phu);cursor:pointer}
.bt-sao{min-height:44px}
.bt-cho{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:16px;background:#FFF8F1;font-size:.88rem;font-weight:600;color:var(--mota)}
.bt-cho i{width:10px;height:10px;border-radius:50%;background:#B0812A;flex:0 0 auto;animation:bt-nhay 1.4s ease-in-out infinite}
@keyframes bt-nhay{50%{opacity:.3}}
.bt-dung{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0;padding:0;list-style:none}
.bt-dung li{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border-radius:18px;background:var(--n);min-height:76px}
.bt-dung b{font-weight:800;font-size:.95rem;color:var(--c)}
.bt-dung span{font-weight:800;font-size:1.05rem;color:var(--muc)}
.bt-ls{margin:0;padding:0;list-style:none}
.bt-ls li{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:56px;padding:8px 0;border-bottom:1px solid #F3E8E0}
.bt-ls li:last-child{border-bottom:0}
.bt-ls .t{display:flex;flex-direction:column;min-width:0}
.bt-ls .t b{font-weight:700;font-size:.95rem}
.bt-ls .t span{font-size:.8rem;color:var(--phu)}
.bt-ls .s{font-weight:800;white-space:nowrap}
.bt-ls .s.cong{color:#1C5A45}.bt-ls .s.tru{color:var(--muc)}
/* ===== ĐĂNG NHẬP (hộp) ===== */
.bt-phu-nen{position:fixed;inset:0;z-index:40;background:rgba(42,26,21,.32)}
.bt-hop{position:fixed;z-index:41;left:0;right:0;bottom:0;max-height:92dvh;overflow:auto;padding:10px 20px calc(22px + env(safe-area-inset-bottom));border-radius:28px 28px 0 0;background:#FFF8F1;box-shadow:0 -12px 40px rgba(42,26,21,.18)}
.bt-hop .keo{display:block;width:44px;height:5px;margin:0 auto 12px;border-radius:9px;background:#E3D3C8}
.bt-hop h2{margin:0;font:800 1.6rem/1.15 var(--sans);letter-spacing:-.02em}
.bt-hop .mo{margin:6px 0 16px;color:var(--mota);font-weight:500}
.bt-dong{position:absolute;top:12px;right:12px;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.9);color:var(--phu);cursor:pointer;display:flex;align-items:center;justify-content:center}
.bt-dong svg{width:20px;height:20px;stroke:currentColor;stroke-width:2.2;fill:none;stroke-linecap:round}
.bt-dnn{display:grid;gap:10px}
.bt .bt-dnn button{display:flex;align-items:center;justify-content:center;gap:12px;min-height:54px;border-radius:999px;border:1.5px solid #E9DCD2;background:#fff;font:800 1rem/1 var(--sans);color:var(--muc);cursor:pointer}
.bt-dnn svg{width:24px;height:24px}
.bt-loi{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0;padding:0;list-style:none}
.bt-loi li{display:flex;flex-direction:column;gap:4px;align-items:flex-start;padding:12px;border-radius:18px;background:var(--n);font-size:.8rem;font-weight:600;line-height:1.25;color:var(--mota)}
.bt-loi li b{font:800 .95rem/1.15 var(--sans);color:var(--c)}
.bt-hop .chu{margin:0;font-size:.82rem;line-height:1.5;color:var(--phu)}
/* ===== TÀI KHOẢN ===== */
.bt-ho{display:flex;align-items:center;gap:14px;padding:18px}
.bt-anh{flex:0 0 auto;width:64px;height:64px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff;color:var(--c);font:800 1.6rem/1 var(--sans);box-shadow:0 0 0 3px rgba(255,255,255,.8)}
.bt-ho b{display:block;font:800 1.3rem/1.2 var(--sans);color:var(--c)}
.bt-ho>div>span{font-size:.86rem;font-weight:600;color:var(--mota)}
.bt-tk{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0;padding:0;list-style:none}
.bt-tk a{position:relative;display:flex;flex-direction:column;gap:4px;min-height:128px;padding:16px;border-radius:24px;background:var(--n);color:var(--c);box-shadow:0 1px 2px rgba(42,26,21,.04),0 8px 22px rgba(42,26,21,.06)}
.bt-tk a b{font:800 1.12rem/1.2 var(--sans)}
.bt-tk a span{font-size:.84rem;font-weight:500;color:var(--mota)}
.bt-tk a strong{margin-top:auto;font:800 1.5rem/1 var(--sans);color:var(--muc)}
.bt-tk svg{position:absolute;right:14px;top:14px;width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;opacity:.8}
.bt-tk li.rong{grid-column:1/-1}.bt-tk li.rong a{min-height:84px}
.bt-dx{display:flex;justify-content:center;margin-top:6px}
.bt .bt-dx button{min-height:48px;padding:0 24px;border-radius:999px;border:0;background:transparent;color:var(--phu);font:700 .95rem/1 var(--sans);text-decoration:underline;text-underline-offset:4px;cursor:pointer}
/* menu tài khoản (bấm nút đầu trang) */
.bt .bt-nutav{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 6px 0 14px;border-radius:999px;border:0;background:rgba(255,255,255,.75);box-shadow:inset 0 0 0 1.5px rgba(176,129,42,.3);font:800 .9rem/1 var(--sans);color:var(--muc);cursor:pointer}
.bt-nutav i{width:32px;height:32px;border-radius:50%;background:#CFE5FA;color:#1D4A75;display:flex;align-items:center;justify-content:center;font-style:normal;font-weight:800}
.bt-menutk{position:absolute;z-index:45;right:16px;top:64px;width:min(300px,calc(100vw - 32px));padding:8px;border-radius:24px;background:#fff;box-shadow:0 18px 44px rgba(42,26,21,.18)}
.bt-menutk .dau{display:flex;align-items:center;gap:10px;padding:10px 10px 12px;border-bottom:1px solid #F3E8E0;margin-bottom:6px}
.bt-menutk .dau b{display:block;font-weight:800}.bt-menutk .dau span{font-size:.8rem;color:var(--phu)}
.bt-menutk a{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:0 12px;border-radius:14px;font-weight:700}
.bt-menutk a:hover{background:#FFF8F1}
.bt-menutk a small{font-weight:800;color:var(--do)}
.bt-menutk .vi{background:#FFEBB0;color:#6A4A0A;margin-bottom:4px}
.bt-menutk .vi:hover{background:#FFE39A}
.bt-menutk a.ra{color:var(--phu);font-weight:600}
/* ===== LÁ SỐ CỦA TÔI ===== */
.bt-lsl{display:grid;grid-template-columns:1fr;gap:12px;margin:0;padding:0;list-style:none}
.bt-lsc{position:relative;display:flex;gap:14px;align-items:center;padding:14px;border-radius:24px;background:var(--n);box-shadow:0 1px 2px rgba(42,26,21,.04),0 8px 22px rgba(42,26,21,.06)}
.bt-lsc .o12{flex:0 0 auto;width:72px;height:72px;border-radius:18px;background:rgba(255,255,255,.7);display:flex;align-items:center;justify-content:center}
.bt-lsc .o12 svg{width:56px;height:56px}
.bt-lsc .nd{flex:1;min-width:0}
.bt-lsc .nd b{display:block;font:800 1.15rem/1.2 var(--sans);color:var(--c)}
.bt-lsc .nd span{display:block;font-size:.84rem;font-weight:500;color:var(--mota)}
.bt-lsc .nut{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.bt .bt-xoa{min-height:44px;padding:0 14px;border-radius:999px;border:0;background:transparent;color:var(--phu);font:600 .86rem/1 var(--sans);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.bt-moi{display:flex;align-items:center;justify-content:center;gap:10px;min-height:72px;border-radius:24px;border:2px dashed rgba(184,50,42,.35);color:var(--do);font-weight:800;background:rgba(255,255,255,.5)}
/* ===== ĐIỀU KHOẢN / BẢO MẬT (chữ pháp lý giữ nguyên) ===== */
.bt-mucluc{display:flex;gap:8px;overflow-x:auto;margin:0 -16px 12px;padding:2px 16px 8px;scrollbar-width:none}
.bt-mucluc::-webkit-scrollbar{display:none}
.bt-mucluc a{flex:0 0 auto;display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border-radius:999px;background:#fff;font-weight:700;font-size:.86rem;color:var(--phu);box-shadow:0 1px 2px rgba(42,26,21,.05),0 4px 10px rgba(42,26,21,.05);white-space:nowrap}
.bt-pl{font-size:1rem;line-height:1.65}
.bt-pl .bt-the{scroll-margin-top:76px}
.bt-pl .bt-the>p:last-child,.bt-pl .bt-the>ul:last-child{margin-bottom:0}
.bt-pl p{white-space:pre-line}
.bt-pl.bm p{white-space:normal}
.bt-pl:not(.bm) p>strong:first-child{display:block;margin-bottom:4px;font:800 1.08rem/1.3 var(--sans);color:var(--c,var(--muc))}
.bt-pl h3{margin:0 0 8px;font:800 1.1rem/1.3 var(--sans);color:var(--c,var(--muc))}
.bt-pl ul,.bt-pl ol{margin:6px 0 10px;padding-left:20px}
.bt-pl li{margin:4px 0}
.bt-pl a{color:var(--do);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.bt-pl .bang{overflow-x:auto;margin:8px 0}
.bt-pl table{width:100%;border-collapse:collapse;font-size:.9rem;line-height:1.45}
.bt-pl th,.bt-pl td{padding:8px 10px;text-align:left;vertical-align:top;border-bottom:1px solid #F0E4DA}
.bt-pl th{background:#FFF8F1;font-weight:800}
.bt-pl .the-dau{background:var(--n)}
@media (max-width:767px){.bt-pl table,.bt-pl thead,.bt-pl tbody,.bt-pl tr,.bt-pl td{display:block}.bt-pl thead{display:none}.bt-pl tr{padding:8px 0;border-bottom:1px solid #F0E4DA}.bt-pl td{border:0;padding:2px 0}.bt-pl td:first-child{font-weight:700}}
/* ===== MÁY TÍNH BẢNG / MÁY TÍNH ===== */
@media (min-width:768px){
 .bt-trang{padding-top:28px}
 .bt-td h1{font-size:2.6rem}.bt-td p{font-size:1.08rem}
 .bt-the{padding:24px}
 .bt-goi{grid-template-columns:repeat(3,minmax(0,1fr))}.bt-goi li:last-child:nth-child(odd){grid-column:auto}
 .bt-dung{grid-template-columns:repeat(4,minmax(0,1fr))}
 .bt-tat{grid-template-columns:repeat(4,minmax(0,1fr))}.bt-tat a.rong{grid-column:auto;min-height:96px}
 .bt-chan .bt-o-chan{display:flex;margin:0}.bt-chan .bt-o-chan a{min-height:44px;padding:0 16px}
 .bt-hop{left:50%;right:auto;top:50%;bottom:auto;width:min(480px,calc(100vw - 48px));transform:translate(-50%,-50%);border-radius:28px;padding:28px}
 .bt-hop .keo{display:none}
 .bt-tk{grid-template-columns:repeat(3,minmax(0,1fr))}.bt-tk li.rong{grid-column:auto}.bt-tk li.rong a{min-height:128px}.bt-tk li:last-child{grid-column:span 2}
 .bt-lsl{grid-template-columns:1fr 1fr}
 .bt-mucluc{flex-wrap:wrap;overflow:visible;margin:0 0 16px;padding:0}
 .bt-menutk{right:32px;top:76px}
}
@media (min-width:1024px){
 .bt-2cot{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:16px;align-items:start}
 .bt-2cot.deu{grid-template-columns:minmax(0,7fr) minmax(0,5fr)}
 .bt-2cot .bt-dung,.bt-2cot .bt-tat{grid-template-columns:1fr 1fr}.bt-2cot .bt-tat a.rong{grid-column:1/-1}
 .bt-pl-k{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;align-items:start}
 .bt-pl-k .bt-mucluc{position:sticky;top:96px;flex-direction:column;flex-wrap:nowrap}
 .bt-pl-k .bt-mucluc a{white-space:normal;min-height:44px;padding:8px 14px;border-radius:14px}
 .bt-lsl{grid-template-columns:repeat(3,minmax(0,1fr))}
}
/* ===== SỬA LƯỢT 1 HỘI ĐỒNG (BC-HDTK UI24) ===== */
/* [D] vùng bấm ≥ 44px cho liên kết trong câu (đệm trên dưới, không đẩy dòng) */
.bt .bt-lk,.bt-dy a,.bt-pl a{display:inline-block;padding:12px 2px;margin:-12px 0;line-height:20px}
/* [A] tên ô Tài khoản chừa chỗ icon; nhãn "Hay chọn" 12px */
.bt-tk a b{padding-right:34px}
.bt-goi .the-nho{font-size:.75rem}
/* 5 gói "Dùng xu cho": ô đầu hết ngang */
.bt-dung li.rong{grid-column:1/-1;min-height:60px;flex-direction:row;align-items:center;justify-content:space-between}
.bt-dung b{line-height:1.25}
/* [B] chân trang máy tính: ô bento cùng mép cột, bo 24px 4 góc, nền đào (chuẩn v3.39) */
@media (min-width:768px){
 .bt-chan{background:none;padding:8px 0 32px;border-radius:0}
 .bt-chan .bt-k{width:calc(min(100%,1120px) - 64px);max-width:none;margin:0 auto;padding:18px 24px;border-radius:24px;
  background:linear-gradient(180deg,#FBE9E4 0%,#F6E1D8 100%);box-shadow:0 1px 2px rgba(42,26,21,.04),0 8px 22px rgba(42,26,21,.06)}
}
@media (min-width:768px){.bt-dung{grid-template-columns:repeat(3,minmax(0,1fr))}.bt-dung li.rong{grid-column:1/-1}}
@media (prefers-reduced-motion:reduce){.bt-cho i{animation:none}}
/* ===== HẾT KHỐI CSS TRANG PHỤ ===== */
