/* App người dân – giao diện kiểu ứng dụng điện thoại. */
:root {
  --chinh: #1a5fd0; --chinh-dam: #0f3f99; --chinh-nhat: #e8f0fe;
  --nen: #f2f4f8; --mat: #ffffff; --chu: #172033; --phu: #6b7588; --vien: #e4e8ef; --vien-nhat: #eef1f5;
  --do: #e5383b; --luc: #1e8e4e; --vang: #a86a00; --cam: #e0670b; --xam: #5d6778;
  --bong: 0 1px 2px rgba(16, 32, 64, .05), 0 2px 10px rgba(16, 32, 64, .05);
  --bo: 16px;
  --cao-tab: 64px;
  font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--chu); font-size: 15px; line-height: 1.45;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html { background: var(--nen); }
body { margin: 0; background: var(--nen); min-height: 100vh; overscroll-behavior-y: none; }
a { color: var(--chinh); text-decoration: none; }
h1, h2, h3 { margin: 0 0 8px; letter-spacing: -.01em; }
h2 { font-size: 19px; line-height: 1.3; }
h3 { font-size: 16px; }
p { margin: 6px 0; }
.phu { color: var(--phu); font-size: 13px; }
.giua { text-align: center; }
.trong { padding: 48px 16px; text-align: center; color: var(--phu); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.trong .bt-svg { width: 56px; height: 56px; padding: 14px; border-radius: 50%; background: var(--vien-nhat); color: #9aa3b2; }
.dang-tai { min-height: 100vh; display: grid; place-items: center; color: var(--phu); }


/* ---------- Khung ---------- */
.dau { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 4px; min-height: calc(56px + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 8px 0 16px; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.dau.co-vien { border-bottom-color: var(--vien); }
.dau.co-lui { padding-left: 4px; }
.dau h1 { font-size: 17px; font-weight: 650; margin: 0; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nut-lui, .nut-tron { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: none; color: var(--chu); cursor: pointer; padding: 0; position: relative; }
.nut-lui .bt-svg, .nut-tron .bt-svg { width: 24px; height: 24px; }
.nut-lui:active, .nut-tron:active { background: var(--vien-nhat); }
.than { max-width: 640px; margin: 0 auto; padding: 14px 16px calc(var(--cao-tab) + 28px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; }
.than.vao { animation: vao .22s ease-out; }
@keyframes vao { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Thanh tab dưới + nút gửi phản ánh nổi ở giữa */
.thanh-duoi { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: stretch; height: calc(var(--cao-tab) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom); background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 -1px 0 var(--vien), 0 -6px 20px rgba(16, 32, 64, .04); }
.thanh-duoi a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #8a93a3; font-size: 11px; font-weight: 500; }
.thanh-duoi a .o-tab { position: relative; display: grid; place-items: center; width: 52px; height: 28px; border-radius: 14px; transition: background .2s; }
.thanh-duoi a .bt-svg { width: 23px; height: 23px; }
.thanh-duoi a.chon { color: var(--chinh); font-weight: 650; }
.thanh-duoi a.chon .o-tab { background: var(--chinh-nhat); }
.thanh-duoi a.tab-gui { justify-content: flex-start; }
.thanh-duoi a.tab-gui .o-tab { width: 54px; height: 54px; border-radius: 50%; margin-top: -18px; background: linear-gradient(145deg, #3d86f5, var(--chinh));
  color: #fff; box-shadow: 0 6px 16px rgba(26, 95, 208, .38); border: 4px solid var(--nen); }
.thanh-duoi a.tab-gui .bt-svg { width: 26px; height: 26px; }
.thanh-duoi a.tab-gui span:last-child { margin-top: 1px; }
.thanh-duoi a:active .o-tab { transform: scale(.94); }

/* Chấm đỏ số tin mới */
.cham { position: absolute; top: -5px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--do); color: #fff;
  font-style: normal; font-size: 10.5px; font-weight: 700; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px #fff; }

/* ---------- Thẻ, nút ---------- */
.the { background: var(--mat); border-radius: var(--bo); padding: 16px; box-shadow: var(--bong); }
a.the { display: block; color: inherit; }
a.the:active, .bam:active { transform: scale(.985); }
.nut { display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-align: center; border: 1px solid var(--vien); background: var(--mat); color: var(--chu);
  padding: 10px 16px; min-height: 42px; border-radius: 12px; font: inherit; font-weight: 600; cursor: pointer; transition: transform .1s, opacity .1s; }
.nut:active { transform: scale(.97); }
.nut:disabled { opacity: .55; }
.nut.chinh { background: var(--chinh); border-color: var(--chinh); color: #fff; }
.nut.nguy { color: var(--do); border-color: #f6c9ca; }
.nut.nhat { background: var(--chinh-nhat); border-color: transparent; color: var(--chinh); }
.nut.to { display: flex; width: 100%; min-height: 50px; font-size: 16px; border-radius: 14px; }
.nut.nho { padding: 5px 12px; min-height: 32px; font-size: 13px; border-radius: 10px; }
.nut .bt-svg { width: 20px; height: 20px; }
.hang-nut { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.hang-giua { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.huy-hieu { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #eef1f5; color: var(--xam); white-space: nowrap; }
.huy-hieu.vang { background: #fff4d9; color: var(--vang); }
.huy-hieu.cam { background: #ffeadb; color: var(--cam); }
.huy-hieu.xanh { background: var(--chinh-nhat); color: var(--chinh); }
.huy-hieu.luc { background: #e3f5ea; color: var(--luc); }
.bao { display: flex; gap: 10px; align-items: flex-start; border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.bao.vang { background: #fff6e0; color: #7a4d00; }
.bao.do { background: #fdecec; color: #b3261e; }
.bao.luc { background: #e3f5ea; color: #145c33; margin-top: 8px; }

/* ---------- Biểu mẫu ---------- */
.luoi-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.truong { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.truong.rong { grid-column: 1 / -1; }
.nhan { font-size: 13px; color: var(--phu); font-weight: 600; }
.sao { color: var(--do); }
input[type=text], input[type=tel], input[type=password], input[type=number], input[type=date], select, textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--vien); border-radius: 12px; font: inherit; font-size: 16px;
  background: #f8f9fc; color: inherit; transition: border-color .15s, background .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%236b7588' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--chinh); background: #fff; box-shadow: 0 0 0 4px rgba(26, 95, 208, .12); }
input[type=file] { font: inherit; font-size: 14px; }
.o-check, .nhieu-chon label { display: flex; align-items: center; gap: 8px; }
.nhieu-chon { display: flex; flex-direction: column; gap: 8px; }
.nhieu-chon.ngang { flex-direction: row; flex-wrap: wrap; gap: 14px; }

/* ---------- Đăng nhập ---------- */
.man-chao { min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: calc(56px + env(safe-area-inset-top)) 20px 28px;
  background: radial-gradient(120% 60% at 20% 0%, #4b91ff 0%, var(--chinh) 45%, var(--chinh-dam) 100%) top / 100% 46% no-repeat, var(--nen); }
.man-chao .logo { width: 84px; height: 84px; border-radius: 22px; box-shadow: 0 10px 30px rgba(0, 20, 70, .3); }
.man-chao h1 { color: #fff; margin: 16px 0 2px; font-size: 26px; font-weight: 700; }
.man-chao > p { color: rgba(255, 255, 255, .82); margin: 0 0 22px; }
.man-chao form { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 14px; padding: 22px 20px; border-radius: 22px; box-shadow: 0 10px 40px rgba(16, 32, 64, .12); }
.man-chao form h2 { margin: 0; }

/* ---------- Trang chủ ---------- */
.trang-chu .than { padding-top: 0; }
.dau-chu { position: relative; margin: 0 -16px; padding: calc(14px + env(safe-area-inset-top)) 16px 64px; color: #fff;
  background: radial-gradient(130% 120% at 0% 0%, #4b91ff 0%, var(--chinh) 50%, var(--chinh-dam) 100%); border-radius: 0 0 28px 28px; overflow: hidden; }
.dau-chu::after { content: ""; position: absolute; right: -60px; top: -40px; width: 220px; height: 220px; border-radius: 50%; border: 36px solid rgba(255, 255, 255, .06); }
.dau-chu .hang { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; }
.dau-chu .ten-phuong { flex: 1; font-size: 13px; font-weight: 600; opacity: .9; display: flex; align-items: center; gap: 6px; }
.dau-chu .nut-tron { color: #fff; background: rgba(255, 255, 255, .14); }
.dau-chu .nut-tron .cham { top: 2px; right: 2px; box-shadow: 0 0 0 2px var(--chinh); }
.dau-chu .chao-ten { margin-top: 18px; }
.dau-chu .chao-ten small { font-size: 14px; opacity: .85; }
.dau-chu .chao-ten b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.anh-dai-dien { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .2); color: #fff; font-weight: 700; font-size: 16px; flex: none; }
.anh-dai-dien.to { width: 64px; height: 64px; font-size: 22px; background: linear-gradient(145deg, #4b91ff, var(--chinh)); }
.nhanh { position: relative; z-index: 2; margin-top: -48px; display: grid; grid-template-columns: repeat(3, 1fr); padding: 14px 6px; }
.nhanh a { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--chu); font-size: 13px; font-weight: 600; text-align: center; position: relative; }
.nhanh a + a::before { content: ""; position: absolute; left: 0; top: 10%; bottom: 10%; width: 1px; background: var(--vien); }
.nhanh .o-bt { width: 46px; height: 46px; }

.tieu-de-nhom { display: flex; align-items: center; justify-content: space-between; margin: 8px 2px -2px; }
.tieu-de-nhom h3 { margin: 0; font-size: 16px; font-weight: 700; }
.tieu-de-nhom a { font-size: 13px; font-weight: 600; }
.luoi-chuc-nang { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 6px; padding: 16px 8px; }
.o-chuc-nang { display: flex; flex-direction: column; align-items: center; gap: 7px; color: var(--chu); text-align: center; position: relative; min-width: 0; }
.o-chuc-nang b { font-size: 12px; font-weight: 550; line-height: 1.25; }
.o-bt .cham { top: -6px; right: -8px; }

/* Tin mới – cuộn ngang */
.cuon-ngang { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; }
.cuon-ngang::-webkit-scrollbar { display: none; }
.the-tin-ngang { flex: none; width: 72%; max-width: 300px; scroll-snap-align: start; padding: 0; overflow: hidden; }
.the-tin-ngang .anh { aspect-ratio: 16 / 9; background: var(--chinh-nhat) center / cover; display: grid; place-items: center; color: var(--chinh); }
.the-tin-ngang .anh .bt-svg { width: 34px; height: 34px; opacity: .6; }
.the-tin-ngang .chu { padding: 10px 12px 12px; }
.the-tin-ngang b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.35; margin-top: 2px; }

/* ---------- Danh sách kiểu cài đặt ---------- */
.ds-nhom { background: var(--mat); border-radius: var(--bo); box-shadow: var(--bong); overflow: hidden; }
.ds-nhom > .tieu-de { padding: 14px 16px 4px; font-size: 13px; font-weight: 700; color: var(--phu); text-transform: uppercase; letter-spacing: .04em; }
.dong { display: flex; align-items: center; gap: 12px; padding: 12px 16px; min-height: 56px; color: var(--chu); position: relative; width: 100%;
  border: 0; background: none; font: inherit; text-align: left; cursor: pointer; }
.dong + .dong::before { content: ""; position: absolute; top: 0; right: 0; left: 64px; height: 1px; background: var(--vien-nhat); }
.dong:active { background: #f6f8fb; }
.dong .o-bt { width: 36px; height: 36px; border-radius: 11px; }
.dong .o-bt::before { border-radius: 9px 9px 50% 50% / 9px 9px 7px 7px; }
.dong .giua-dong { flex: 1; min-width: 0; }
.dong .giua-dong b { display: block; font-weight: 550; }
.dong .giua-dong .phu { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dong > .bt-svg:last-child { color: #b2b9c6; width: 20px; height: 20px; }
.dong.nguy { color: var(--do); }
.dong-goi { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #e3f5ea; color: var(--luc); }
.dong-goi .bt-svg { width: 20px; height: 20px; }

/* Công tắc bật/tắt */
.cong-tac { position: relative; flex: none; width: 50px; height: 30px; border-radius: 15px; background: #d5dae2; border: 0; cursor: pointer; transition: background .2s; padding: 0; }
.cong-tac::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.cong-tac.bat { background: var(--luc); }
.cong-tac.bat::after { transform: translateX(20px); }
.cong-tac:disabled { opacity: .5; }

.the-ho-so { display: flex; align-items: center; gap: 14px; }
.the-ho-so b { display: block; font-size: 18px; }

/* ---------- Phản ánh, tin, bài đăng ---------- */
.loc-ngang { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px; scrollbar-width: none; }
.loc-ngang::-webkit-scrollbar { display: none; }
.loc-ngang button { flex: none; border: 1px solid var(--vien); background: var(--mat); color: var(--chu); border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 13px; font-weight: 550; cursor: pointer; }
.loc-ngang button.chon { background: var(--chu); border-color: var(--chu); color: #fff; }
.the-pa, .the.the-pa { display: flex; gap: 12px; color: inherit; align-items: flex-start; padding: 12px; }
.the-pa > div:last-child { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.the-pa > div:last-child .huy-hieu { align-self: flex-start; margin-top: 3px; }
.the-pa img, .anh-trong { width: 76px; height: 76px; flex: none; border-radius: 12px; object-fit: cover; background: var(--vien-nhat); }
.anh-trong { display: grid; place-items: center; background: var(--chinh-nhat); color: var(--chinh); }
.anh-trong .bt-svg { width: 30px; height: 30px; }
.the-pa b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35; }
.noi-dung { white-space: pre-wrap; line-height: 1.6; }
.xem-truoc { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 10px; }
.anh-nho { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--vien-nhat); display: block; color: var(--phu); }
.anh-nho img { width: 100%; height: 100%; object-fit: cover; }
.anh-nho button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: #fff; cursor: pointer; font-size: 16px; line-height: 1; }
.bt-tep { width: 100%; height: 100%; display: grid; place-items: center; }
.bt-tep .bt-svg { width: 30px; height: 30px; }
.chon-tep { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.chon-tep button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px; border: 1px dashed #c5cdd9; border-radius: 14px; background: #f8f9fc;
  font: inherit; font-size: 13px; font-weight: 600; color: var(--chu); cursor: pointer; }
.chon-tep button .bt-svg { width: 26px; height: 26px; color: var(--chinh); }
.chon-tep button:active { background: var(--chinh-nhat); }
.y-kien { border-left: 3px solid var(--chinh-nhat); padding: 4px 12px; margin-bottom: 10px; }
.dong-thoi-gian { list-style: none; padding: 0; margin: 4px 0 0; }
.dong-thoi-gian li { position: relative; padding: 0 0 16px 22px; border-left: 2px solid var(--vien); margin-left: 6px; }
.dong-thoi-gian li:last-child { border-left-color: transparent; padding-bottom: 0; }
.dong-thoi-gian li::before { content: ""; position: absolute; left: -7px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--chinh); }
.dong-thoi-gian li:first-child::before { background: var(--chinh); }
.dong-nguoi { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--vien-nhat); color: inherit; }
.dong-nguoi:last-child { border-bottom: 0; }
.the-tv { border: 1px dashed var(--vien); box-shadow: none; }
.thong-bao { cursor: pointer; display: flex; gap: 12px; align-items: flex-start; }
.thong-bao .o-bt { width: 40px; height: 40px; border-radius: 12px; }
.thong-bao > div:last-child { flex: 1; min-width: 0; }
.thong-bao.moi { background: #f3f7ff; box-shadow: inset 3px 0 0 var(--chinh), var(--bong); }
.thong-tin-dong { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; }
.thong-tin-dong > .bt-svg { color: var(--phu); width: 20px; height: 20px; margin-top: 1px; }

/* ---------- Hộp thoại (bottom sheet) + thông báo nhanh ---------- */
.hop-nen { position: fixed; inset: 0; background: rgba(15, 23, 42, .45); display: flex; align-items: flex-end; justify-content: center; z-index: 50; animation: mo-nen .2s ease-out; }
@keyframes mo-nen { from { opacity: 0; } }
.hop { background: var(--mat); border-radius: 22px 22px 0 0; width: 100%; max-width: 640px; max-height: 90vh; display: flex; flex-direction: column; animation: len .25s cubic-bezier(.2, .9, .3, 1); }
.hop::before { content: ""; width: 40px; height: 5px; border-radius: 3px; background: #d5dae2; margin: 8px auto 0; flex: none; }
@keyframes len { from { transform: translateY(100%); } }
.hop-dau { display: flex; align-items: center; justify-content: space-between; padding: 8px 16px 10px; }
.hop-dau h3 { margin: 0; font-size: 17px; }
.nut-x { border: 0; background: var(--vien-nhat); width: 32px; height: 32px; border-radius: 50%; font-size: 20px; line-height: 1; color: var(--phu); cursor: pointer; }
.hop-than { padding: 4px 16px 16px; overflow: auto; }
.hop-chan { display: flex; gap: 8px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--vien-nhat); }
.hop-chan .nut { flex: 1; min-height: 48px; }
.toast-vung { position: fixed; left: 16px; right: 16px; bottom: calc(var(--cao-tab) + 16px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 8px; z-index: 60; align-items: center; pointer-events: none; }
.toast { background: #1d2433; color: #fff; padding: 12px 16px; border-radius: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); max-width: 480px; width: 100%; font-size: 14px; animation: len-toast .25s ease-out; }
@keyframes len-toast { from { opacity: 0; transform: translateY(12px); } }
.toast.loi { background: #c62828; }

/* Khung xương khi đang tải */
.xuong { border-radius: var(--bo); background: linear-gradient(90deg, #e9edf3 25%, #f4f6f9 45%, #e9edf3 65%) 0 0 / 300% 100%; animation: song 1.2s infinite linear; }
@keyframes song { to { background-position: -150% 0; } }

/* ---------- Nội dung các mục GĐ2–4 ---------- */
.tom-tat { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.anh-tin { width: calc(100% + 32px); max-height: 320px; object-fit: cover; margin: -16px -16px 12px; border-radius: var(--bo) var(--bo) 0 0; display: block; }
.noi-dung-html { line-height: 1.7; overflow-wrap: anywhere; font-size: 15.5px; }
.noi-dung-html img { max-width: 100%; height: auto; border-radius: 10px; }
.noi-dung-html blockquote { border-left: 3px solid var(--vien); margin: 8px 0; padding-left: 12px; color: var(--phu); }
.ds-lua-chon { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.lua-chon { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--vien); border-radius: 12px; cursor: pointer; transition: border-color .15s, background .15s; }
.lua-chon:has(input:checked) { border-color: var(--chinh); background: #f3f7ff; }
.lua-chon input { width: 20px; height: 20px; accent-color: var(--chinh); margin: 0; }
textarea:disabled, input:disabled { background: var(--vien-nhat); }
.o-ma { font-size: 22px !important; letter-spacing: .3em; text-align: center; font-weight: 700; }
.o-y-kien { display: flex; gap: 8px; align-items: flex-end; margin-top: 10px; }
.o-y-kien textarea, .o-y-kien input { flex: 1; min-height: 48px; }
.o-y-kien textarea { min-height: 48px; }
.gia { color: var(--cam); font-weight: 700; }
.lien-he { margin-top: 10px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.tra-loi { margin-left: 16px; }
.hang-nut.nho { margin-top: 4px; gap: 16px; font-size: 13px; font-weight: 600; }
.chon-sao { display: flex; gap: 4px; margin: 6px 0 12px; }
.chon-sao button { border: 0; background: none; color: #d5dae2; cursor: pointer; padding: 0; width: 38px; height: 38px; }
.chon-sao button .bt-svg { width: 34px; height: 34px; }
.chon-sao button.bat { color: #f5a623; }
.chon-sao button.bat svg { fill: currentColor; }
.sao-vang { color: #f5a623; display: inline-flex; align-items: center; gap: 1px; }
.sao-vang .bt-svg { width: 15px; height: 15px; }
.sao-vang svg { fill: currentColor; }
.video-cam { width: 100%; border-radius: 12px; margin-top: 10px; background: #000; }
.ds-tep-chung { display: flex; flex-direction: column; gap: 6px; }
.cap-con { border-left: 2px solid var(--vien); padding-left: 10px; display: flex; flex-direction: column; gap: 10px; }
.cap-con:empty { display: none; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--phu); font-size: 13px; }
.meta span { display: inline-flex; align-items: center; gap: 5px; }
.meta .bt-svg { width: 15px; height: 15px; }
.chuyen-tuan { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.chuyen-tuan .nut-tron { background: var(--mat); box-shadow: var(--bong); }

@media (max-width: 360px) {
  .luoi-chuc-nang { grid-template-columns: repeat(3, 1fr); }
  .the-tin-ngang { width: 82%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.tep-chung { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px solid var(--vien-nhat); }
.tep-chung a { display: inline-flex; align-items: center; gap: 6px; font-weight: 550; }

/* Nền nhạt cho ảnh thay thế trong danh sách (ô 3D .o-bt dùng màu ở bieu-tuong.css) */
.anh-trong.m-xanh { background: #e8f0fe; color: #1a5fd0; } .anh-trong.m-luc { background: #e3f5ea; color: #1e8e4e; } .anh-trong.m-cam { background: #ffeedf; color: #e0670b; }
.anh-trong.m-hong { background: #fde8ee; color: #d23862; } .anh-trong.m-tim { background: #efeafd; color: #6b45d1; } .anh-trong.m-ngoc { background: #e0f5f6; color: #0d8d98; }
.anh-trong.m-vang { background: #fff5d6; color: #b07c00; } .anh-trong.m-xam { background: #edf0f4; color: #4a5568; } .anh-trong.m-cham { background: #e6ecfb; color: #2d4fa8; }
.o-chuc-nang .o-bt { width: 52px; height: 52px; border-radius: 17px; }
.o-chuc-nang:active .o-bt, .nhanh a:active .o-bt { transform: translateY(1px) scale(.94); box-shadow: 0 3px 8px -4px var(--bong-mau), inset 0 1.5px 0 rgba(255,255,255,.5), inset 0 -2px 4px rgba(0,0,0,.18); }
.o-chuc-nang { gap: 9px; }
.thong-bao .o-bt::before { border-radius: 10px 10px 50% 50% / 10px 10px 7px 7px; }
