/* TET_GIAODIEN_v1 (08/11/2026) — giao diện Tết cho ĐÚNG hai site: tetnay.com (body.site-tetnay) và tetxua.com (body.site-tetxua).
   Nạp ở layouts/base.php chỉ khi mã site là một trong hai ⇒ các site phong thủy khác không đổi.
   Nền sáng · đỏ son + vàng kim + hồng đào/vàng mai · chữ tiêu đề đặc (không gradient) · không chip viên thuốc · nút có nhãn.
   Hoạ tiết vẽ bằng SVG/CSS ngay trong trang, không ảnh, không phông, không thư viện ngoài. */

/* ───────── token ───────── */
body.site-tetnay {
  --tet-do: #c8102e; --tet-do-dam: #8f0b1f; --tet-vang: #e8a317; --tet-vang-dam: #9a6a00; --tet-vang-nhat: #fff3d1;
  --tet-dao: #f3a6b8; --tet-dao-nhat: #fde8ee; --tet-mai: #f6c445;
  --tet-nen: #fffaf4; --tet-the: #ffffff; --tet-chu: #2b1a14; --tet-mo: #6f5a4f; --tet-vien: #f0d9c4;
  --tet-tieu-de: "Be Vietnam Pro", system-ui, sans-serif;
}
body.site-tetxua {
  --tet-do: #a3201b; --tet-do-dam: #6e1410; --tet-vang: #b8862b; --tet-vang-dam: #7a5714; --tet-vang-nhat: #f6ead0;
  --tet-dao: #dc8f9c; --tet-dao-nhat: #f7e3e2; --tet-mai: #d9a73a;
  --tet-nen: #f5eedf; --tet-the: #fffbf2; --tet-chu: #221b17; --tet-mo: #6a5b4c; --tet-vien: #e2d3b4;
  --tet-tieu-de: "Noto Serif", "Times New Roman", Georgia, serif;
}
body.site-tetnay, body.site-tetxua {
  --brand: var(--tet-do); --brand-dark: var(--tet-do-dam); --brand-light: var(--tet-vang-nhat); --brand-hover: var(--tet-do-dam);
  --accent: var(--tet-vang); --accent-hover: var(--tet-vang-dam); --border: var(--tet-vien); --text: var(--tet-chu); --text-soft: var(--tet-mo);
  --bg: var(--tet-nen); --bg-alt: var(--tet-vang-nhat); --bg-card: var(--tet-the);
  background-color: var(--tet-nen) !important; color: var(--tet-chu);
}
/* Giấy dó: thớ giấy vẽ bằng SVG turbulence, rất nhạt */
body.site-tetxua {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9 .06' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .45 0 0 0 0 .3 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23f)'/%3E%3C/svg%3E");
}
body.site-tetnay h1, body.site-tetnay h2, body.site-tetnay h3, body.site-tetxua h1, body.site-tetxua h2, body.site-tetxua h3 { color: var(--tet-chu); }
body.site-tetxua h1, body.site-tetxua h2, body.site-tetxua h3, body.site-tetxua .post-title, body.site-tetxua .section-title { font-family: var(--tet-tieu-de); letter-spacing: -.005em; }
body.site-tetnay a, body.site-tetxua a { color: var(--tet-do); }
body.site-tetnay a:hover, body.site-tetxua a:hover { color: var(--tet-do-dam); }

/* ───────── khung chung: thanh trên, thẻ bài, chân trang, thanh dưới ───────── */
body.site-tetnay .topbar, body.site-tetxua .topbar { background: var(--tet-the); border-bottom: 3px solid var(--tet-do); box-shadow: 0 2px 0 var(--tet-vang); }
body.site-tetxua .topbar { background: #fbf5e8; }
body.site-tetnay .brand-name, body.site-tetxua .brand-name { color: var(--tet-do) !important; }
body.site-tetxua .brand-name { font-family: var(--tet-tieu-de); }
body.site-tetnay .btn-primary, body.site-tetxua .btn-primary, body.site-tetnay .btn-accent, body.site-tetxua .btn-accent { background: var(--tet-do); color: #fff; border-color: var(--tet-do); }
body.site-tetnay .btn-primary:hover, body.site-tetxua .btn-primary:hover, body.site-tetnay .btn-accent:hover, body.site-tetxua .btn-accent:hover { background: var(--tet-do-dam); color: #fff; }
body.site-tetnay .post-card, body.site-tetxua .post-card { background: var(--tet-the); border: 1px solid var(--tet-vien); border-radius: 12px; }
body.site-tetnay .post-card:hover, body.site-tetxua .post-card:hover { border-color: var(--tet-vang); box-shadow: 0 10px 24px -14px rgba(143, 11, 31, .35); }
body.site-tetnay .post-card-cat, body.site-tetxua .post-card-cat { color: var(--tet-do); }
body.site-tetnay .post-inline-cta, body.site-tetxua .post-inline-cta { background: var(--tet-vang-nhat); border: 1px solid var(--tet-vien); }
body.site-tetnay .post-body blockquote, body.site-tetxua .post-body blockquote { border-left-color: var(--tet-do); background: var(--tet-dao-nhat); }
body.site-tetnay .site-footer, body.site-tetxua .site-footer { background: #fbeee3; color: #4a3328; border-top: 4px solid var(--tet-do); box-shadow: inset 0 3px 0 var(--tet-vang); }
body.site-tetxua .site-footer { background: #ece2cb; }
body.site-tetnay .site-footer h4, body.site-tetxua .site-footer h4, body.site-tetnay .footer-col .brand-name, body.site-tetxua .footer-col .brand-name { color: var(--tet-do) !important; }
body.site-tetnay .footer-tagline, body.site-tetxua .footer-tagline, body.site-tetnay .footer-desc, body.site-tetxua .footer-desc,
body.site-tetnay .footer-list a, body.site-tetxua .footer-list a, body.site-tetnay .footer-label, body.site-tetxua .footer-label,
body.site-tetnay .footer-bottom, body.site-tetxua .footer-bottom, body.site-tetnay .site-footer p, body.site-tetxua .site-footer p,
body.site-tetnay .site-footer li, body.site-tetxua .site-footer li, body.site-tetnay .site-footer span, body.site-tetxua .site-footer span { color: #5a4134 !important; }
body.site-tetnay .site-footer strong, body.site-tetxua .site-footer strong, body.site-tetnay .footer-ecosystem-link, body.site-tetxua .footer-ecosystem-link,
body.site-tetnay .footer-ecosystem-label, body.site-tetxua .footer-ecosystem-label, body.site-tetnay .footer-ecosystem-vdd, body.site-tetxua .footer-ecosystem-vdd { color: #5a4134 !important; }
body.site-tetnay .site-footer a, body.site-tetxua .site-footer a { color: var(--tet-do-dam) !important; }
body.site-tetnay .footer-bottom, body.site-tetxua .footer-bottom { border-top-color: rgba(143, 11, 31, .18) !important; }
body.site-tetnay .bottom-nav, body.site-tetxua .bottom-nav { background: var(--tet-the); border-top: 2px solid var(--tet-do); }
body.site-tetnay .bottom-nav-item.is-active, body.site-tetxua .bottom-nav-item.is-active { color: var(--tet-do); }

/* ───────── công cụ (.tet-cc) ───────── */
.tet-cc { color: var(--tet-chu); }
.tet-cc *, .tet-cc *::before, .tet-cc *::after { box-sizing: border-box; }
.tet-cc .tc-wrap { max-width: 920px; margin: 0 auto; padding: 0 16px 40px; }
.tet-cc .tc-vet { font-size: 13px; color: var(--tet-mo); margin: 14px 0 10px; }
.tet-cc .tc-vet a { color: var(--tet-mo); text-decoration: underline; text-decoration-color: var(--tet-vien); }
.tet-cc .tc-h1 { font-size: clamp(25px, 4.2vw, 36px); line-height: 1.22; font-weight: 800; color: var(--tet-do-dam); margin: 0 0 10px; }
body.site-tetxua .tet-cc .tc-h1 { font-weight: 700; }
.tet-cc h2 { font-size: clamp(19px, 2.6vw, 24px); margin: 30px 0 12px; color: var(--tet-chu); }
.tet-cc h3 { font-size: 17px; margin: 0 0 8px; }
.tet-cc p { line-height: 1.65; }
.tet-cc .tc-mo { color: var(--tet-mo); font-size: 16px; max-width: 70ch; }
.tet-cc .tc-ghi { font-size: 13.5px; color: var(--tet-mo); margin: 8px 0 0; }
.tet-cc .tc-loi { background: #fdecea; border: 1px solid #f3b8b1; color: #8f1d12; border-radius: 10px; padding: 10px 14px; }
.tet-cc .tc-luuy { font-size: 13px; color: var(--tet-mo); background: var(--tet-vang-nhat); border-radius: 10px; padding: 12px 14px; margin: 22px 0 0; line-height: 1.6; }
.tet-cc .tc-hop { background: var(--tet-the); border: 1px solid var(--tet-vien); border-radius: 14px; padding: 16px; margin: 16px 0; }
.tet-cc .tc-hop > :last-child { margin-bottom: 0; }
.tet-cc .tc-chu-y { border-left: 5px solid var(--tet-do); }
.tet-cc .tc-ds { margin: 6px 0 0; padding-left: 20px; }
.tet-cc .tc-ds li { line-height: 1.6; margin: 5px 0; }
.tet-cc .tc-hai-cot { display: grid; gap: 0 14px; }

/* nút + form */
.tet-cc .tc-nut { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 11px 18px; border: 2px solid var(--tet-do);
  border-radius: 10px; background: var(--tet-do); color: #fff !important; font-weight: 700; font-size: 15.5px; text-decoration: none; cursor: pointer; font-family: inherit; }
.tet-cc .tc-nut:hover { background: var(--tet-do-dam); border-color: var(--tet-do-dam); }
.tet-cc .tc-nut.vien { background: transparent; color: var(--tet-do) !important; }
.tet-cc .tc-nut.vien:hover { background: var(--tet-dao-nhat); }
.tet-cc .tc-nut.lon { min-height: 54px; font-size: 18px; padding: 12px 30px; }
.tet-cc .tc-form { background: var(--tet-the); border: 1px solid var(--tet-vien); border-radius: 14px; padding: 16px; margin: 16px 0; box-shadow: 0 10px 26px -18px rgba(143, 11, 31, .4); }
.tet-cc .tc-form .tc-nut { width: 100%; }
.tet-cc .tc-truong { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14px; margin: 0 0 12px; min-width: 0; }
.tet-cc .tc-truong select, .tet-cc .tc-truong input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid #dcc6ad; border-radius: 10px; background: #fff; color: #1d1410; font-size: 16px; font-family: inherit; }
.tet-cc .tc-truong select:focus, .tet-cc .tc-truong input:focus { outline: 3px solid rgba(232, 163, 23, .45); border-color: var(--tet-vang); }
.tet-cc .tc-loc { margin-top: 14px; }
.tet-cc .tc-chon { border: 0; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.tet-cc .tc-chon legend { font-weight: 700; font-size: 14px; margin-bottom: 6px; padding: 0; }
.tet-cc .tc-chon label { flex: 1 1 150px; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1.5px solid #dcc6ad; border-radius: 10px; background: #fff; font-size: 14.5px; cursor: pointer; }
.tet-cc .tc-chon label:has(input:checked) { border-color: var(--tet-do); background: var(--tet-dao-nhat); font-weight: 700; }
.tet-cc .tc-chon input { accent-color: var(--tet-do); width: 18px; height: 18px; margin: 0; flex: none; }

/* đếm ngược */
.tet-cc .tc-dem-boc { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 18px; }
.tet-cc .tc-dem-nhan, .tc-dem-nhan { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tet-do); }
.tc-dem { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 460px; }
.tc-dem-o { background: var(--tet-do); border-radius: 12px; padding: 10px 4px 8px; text-align: center; position: relative; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .15), 0 6px 16px -10px rgba(143, 11, 31, .7); }
.tc-dem-o::before { content: ""; position: absolute; left: 6px; right: 6px; top: 5px; height: 2px; background: var(--tet-vang); opacity: .55; border-radius: 2px; }
.tc-dem-o b { display: block; font-size: 30px; line-height: 1.1; font-weight: 800; color: #fff6d8; font-variant-numeric: tabular-nums; }
.tc-dem-o span { display: block; font-size: 12px; color: #ffd9c2; font-weight: 600; margin-top: 2px; }
.tc-dem.nho .tc-dem-o b { font-size: 24px; }
.tc-dem-xong { grid-column: 1 / -1; font-size: 20px; font-weight: 800; color: var(--tet-do); margin: 0; }

/* hub */
.tet-cc .tc-luoi-cc, .tet-cc .tc-mien-luoi { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 16px 0; }
.tet-cc .tc-the-cc { display: flex; flex-direction: column; gap: 4px; background: var(--tet-the); border: 1px solid var(--tet-vien); border-radius: 14px; padding: 14px 16px; text-decoration: none; color: var(--tet-chu); position: relative; overflow: hidden; }
.tet-cc .tc-the-cc::after { content: ""; position: absolute; right: -18px; top: -18px; width: 56px; height: 56px; border-radius: 50%; background: var(--tet-dao-nhat); }
.tet-cc .tc-the-cc:hover { border-color: var(--tet-vang); }
.tet-cc .tc-the-bt { font-size: 26px; line-height: 1; position: relative; z-index: 1; }
.tet-cc .tc-the-cc b { font-size: 17px; color: var(--tet-do-dam); position: relative; z-index: 1; }
.tet-cc .tc-the-cc span { font-size: 14px; color: var(--tet-mo); line-height: 1.5; }
.tet-cc .tc-the-cc em { font-style: normal; font-weight: 700; color: var(--tet-do); font-size: 14px; margin-top: 4px; }

/* lịch Tết */
.tet-cc .tc-moc { list-style: none; padding: 0; margin: 18px 0; position: relative; }
.tet-cc .tc-moc::before { content: ""; position: absolute; left: 33px; top: 6px; bottom: 6px; width: 2px; background: repeating-linear-gradient(var(--tet-vien) 0 6px, transparent 6px 11px); }
.tet-cc .tc-moc-o { display: flex; gap: 12px; margin: 0 0 12px; position: relative; scroll-margin-top: 80px; }
.tet-cc .tc-moc-ngay { flex: none; width: 68px; height: 68px; border-radius: 14px; background: var(--tet-the); border: 2px solid var(--tet-do); display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; z-index: 1; }
.tet-cc .tc-moc-ngay b { font-size: 26px; line-height: 1; color: var(--tet-do); }
.tet-cc .tc-moc-ngay span { font-size: 11.5px; color: var(--tet-mo); font-weight: 600; }
.tet-cc .tc-moc-o.chinh .tc-moc-ngay { background: var(--tet-do); }
.tet-cc .tc-moc-o.chinh .tc-moc-ngay b, .tet-cc .tc-moc-o.chinh .tc-moc-ngay span { color: #fff6d8; }
.tet-cc .tc-moc-noi { flex: 1; min-width: 0; background: var(--tet-the); border: 1px solid var(--tet-vien); border-radius: 14px; padding: 12px 14px; }
.tet-cc .tc-moc-o.chinh .tc-moc-noi { border-color: var(--tet-vang); background: var(--tet-vang-nhat); }
.tet-cc .tc-moc-noi h3 { margin: 0 0 2px; color: var(--tet-do-dam); }
.tet-cc .tc-moc-noi p { margin: 4px 0 0; font-size: 14.5px; }
.tet-cc .tc-moc-meta { font-size: 13.5px !important; color: var(--tet-mo); }
.tet-cc .tc-moc-con { font-size: 14px !important; }
.tet-cc .tc-moc-con b { color: var(--tet-do); }

/* bảng */
.tet-cc .tc-bang-boc { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--tet-vien); border-radius: 12px; background: var(--tet-the); margin: 0 0 14px; }
.tet-cc .tc-bang { border-collapse: collapse; width: 100%; font-size: 14px; min-width: 330px; }
.tet-cc .tc-bang th, .tet-cc .tc-bang td { padding: 9px 10px; border-bottom: 1px solid #f1e3d2; text-align: left; vertical-align: top; }
.tet-cc .tc-bang th { background: var(--tet-vang-nhat); font-size: 12.5px; color: var(--tet-mo); }
.tet-cc .tc-bang tr:last-child td { border-bottom: 0; }
.tet-cc .tc-bang tr.chon td { background: #fff4dc; }
.tet-cc .tc-bang tr.xung td { opacity: .62; }
.tet-cc .tc-bang small { color: var(--tet-mo); }
.tet-cc .tc-dau { display: block; font-size: 13px; line-height: 1.45; }
.tet-cc .tc-dau.cong { color: #1f6b3a; } .tet-cc .tc-dau.tru { color: #a3261a; } .tet-cc .tc-dau.binh { color: var(--tet-mo); }

/* xông đất */
.tet-cc .tc-gia-chu { display: grid; grid-template-columns: 1fr; gap: 10px; }
.tet-cc .tc-gia-chu > div { display: flex; flex-direction: column; }
.tet-cc .tc-gia-chu small { font-size: 12px; color: var(--tet-mo); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.tet-cc .tc-gia-chu b { font-size: 20px; color: var(--tet-do-dam); }
.tet-cc .tc-gia-chu span { font-size: 14px; color: var(--tet-mo); }
.tet-cc .tc-tuoi-luoi { display: grid; grid-template-columns: 1fr; gap: 10px; }
.tet-cc .tc-tuoi { background: var(--tet-the); border: 1px solid var(--tet-vien); border-radius: 14px; padding: 12px 14px; }
.tet-cc .tc-tuoi.dau { border: 2px solid var(--tet-vang); background: linear-gradient(var(--tet-vang-nhat), var(--tet-the) 70%); }
.tet-cc .tc-tuoi-dau { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.tet-cc .tc-tuoi-dau b { font-size: 24px; color: var(--tet-do); }
.tet-cc .tc-tuoi-dau span { font-size: 14px; color: var(--tet-mo); font-weight: 600; }
.tet-cc .tc-tuoi ul { margin: 0; padding: 0; list-style: none; }
.tet-cc .tc-tuoi li { font-size: 13.5px; line-height: 1.5; padding-left: 18px; position: relative; margin: 2px 0; }
.tet-cc .tc-tuoi li::before { position: absolute; left: 0; font-weight: 800; }
.tet-cc .tc-tuoi li.cong::before { content: "+"; color: #1f6b3a; }
.tet-cc .tc-tuoi li.tru::before { content: "−"; color: #a3261a; }
.tet-cc .tc-tranh { display: flex; flex-wrap: wrap; gap: 8px; }
.tet-cc .tc-tranh span { background: #fbeeee; border: 1px solid #efc9c4; border-radius: 8px; padding: 6px 10px; font-size: 14px; }
.tet-cc .tc-chon-nam { display: grid; gap: 8px; }
.tet-cc .tc-chon-dong { background: var(--tet-the); border: 1px solid var(--tet-vien); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.tet-cc .tc-chon-dong b { color: var(--tet-do-dam); }
.tet-cc .tc-chon-dong span { display: flex; flex-wrap: wrap; gap: 6px; }
.tet-cc .tc-chon-dong a { padding: 6px 9px; border: 1px solid var(--tet-vien); border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 14px; background: #fff; }
.tet-cc .tc-chon-dong a:hover { border-color: var(--tet-do); }

/* xuất hành + ngày cúng */
.tet-cc .tc-ngay-luoi { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 14px 0; }
.tet-cc .tc-ngay { background: var(--tet-the); border: 1px solid var(--tet-vien); border-radius: 14px; padding: 14px; scroll-margin-top: 80px; }
.tet-cc .tc-ngay.chinh { border: 2px solid var(--tet-do); }
.tet-cc .tc-ngay.xung { background: #fbf3f1; }
.tet-cc .tc-ngay header { display: flex; flex-direction: column; margin-bottom: 8px; }
.tet-cc .tc-ngay header h3 { margin: 0; color: var(--tet-do-dam); }
.tet-cc .tc-ngay header span { font-size: 13.5px; color: var(--tet-mo); }
.tet-cc .tc-xung { font-size: 13.5px; background: #fdecea; color: #8f1d12; border-radius: 8px; padding: 6px 10px; margin: 0 0 8px; }
.tet-cc .tc-huong { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0 0 6px; }
.tet-cc .tc-huong div { background: var(--tet-vang-nhat); border-radius: 10px; padding: 8px; text-align: center; }
.tet-cc .tc-huong div.tranh { background: #f4efe9; }
.tet-cc .tc-huong dt { font-size: 11.5px; color: var(--tet-mo); font-weight: 700; }
.tet-cc .tc-huong dd { margin: 2px 0 0; font-weight: 800; color: var(--tet-do-dam); font-size: 15px; }
.tet-cc .tc-huong div.tranh dd { color: var(--tet-mo); }
.tet-cc .tc-gio-nhan { font-size: 12.5px; font-weight: 800; color: var(--tet-mo); text-transform: uppercase; letter-spacing: .05em; margin: 10px 0 6px !important; }
.tet-cc .tc-gio { display: flex; flex-wrap: wrap; gap: 6px; }
.tet-cc .tc-gio span { border: 1px solid var(--tet-vien); background: #fff; border-radius: 8px; padding: 5px 9px; font-size: 13.5px; }
.tet-cc .tc-gio b { color: var(--tet-do); }
.tet-cc .tc-le-luoi { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 16px 0; }
.tet-cc .tc-le { display: flex; gap: 12px; background: var(--tet-the); border: 1px solid var(--tet-vien); border-radius: 14px; padding: 12px; text-decoration: none; color: var(--tet-chu); }
.tet-cc .tc-le:hover { border-color: var(--tet-vang); }
.tet-cc .tc-le-ngay { flex: none; width: 84px; border-radius: 10px; background: var(--tet-do); color: #fff6d8; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8px 4px; text-align: center; }
.tet-cc .tc-le-ngay b { font-size: 22px; line-height: 1.1; }
.tet-cc .tc-le-ngay small { font-size: 11px; color: #ffd9c2; line-height: 1.3; }
.tet-cc .tc-le-noi { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tet-cc .tc-le-noi b { color: var(--tet-do-dam); font-size: 16px; }
.tet-cc .tc-le-noi i { font-style: normal; font-size: 13.5px; color: var(--tet-mo); }
.tet-cc .tc-le-noi em { font-style: normal; font-weight: 700; color: var(--tet-do); font-size: 13.5px; }
.tet-cc .tc-goi-y { display: grid; grid-template-columns: 1fr; gap: 12px; background: var(--tet-the); border: 2px solid var(--tet-vang); border-radius: 16px; padding: 14px; margin: 16px 0; }
.tet-cc .tc-goi-y-ngay { background: var(--tet-do); color: #fff6d8; border-radius: 12px; padding: 12px; display: flex; flex-direction: column; align-items: flex-start; }
.tet-cc .tc-goi-y-ngay small { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #ffd9c2; font-weight: 700; }
.tet-cc .tc-goi-y-ngay b { font-size: 30px; line-height: 1.15; }
.tet-cc .tc-goi-y-ngay span { font-size: 14px; color: #ffe7d6; }
.tet-cc .tc-goi-y-noi p { margin: 0 0 6px; }
.tet-cc .tc-nhay { display: flex; flex-wrap: wrap; gap: 8px; }
.tet-cc .tc-nhay a { border: 1px solid var(--tet-vien); background: var(--tet-the); border-radius: 8px; padding: 8px 11px; font-size: 14px; font-weight: 600; text-decoration: none; }

/* văn khấn */
.tet-cc .tc-vk-luoi { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 14px 0; }
.tet-cc .tc-vk { background: var(--tet-the); border: 1px solid var(--tet-vien); border-left: 5px solid var(--tet-do); border-radius: 12px; padding: 12px 14px; scroll-margin-top: 80px; }
.tet-cc .tc-vk:target { box-shadow: 0 0 0 3px rgba(232, 163, 23, .45); }
.tet-cc .tc-vk h3 { margin: 0; color: var(--tet-do-dam); }
.tet-cc .tc-vk p { margin: 4px 0; font-size: 14.5px; }
.tet-cc .tc-cau { display: flex; align-items: center; gap: 8px; background: var(--tet-vang-nhat); border-radius: 10px; padding: 8px 10px; margin: 8px 0; font-size: 14px; font-style: italic; }
.tet-cc .tc-cau span { flex: 1; }
.tet-cc .tc-chep { font-family: inherit; }
.tet-cc .tc-cau .tc-chep { flex: none; font-style: normal; border: 1px solid var(--tet-do); background: #fff; color: var(--tet-do); border-radius: 8px; padding: 6px 10px; font-weight: 700; font-size: 13px; cursor: pointer; }
.tet-cc .tc-vk-nut { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.tet-cc .tc-vk-nut .tc-nut { min-height: 40px; padding: 8px 14px; font-size: 14.5px; }
.tet-cc .tc-trong { color: var(--tet-mo); }

/* lì xì */
.tet-cc .tc-lx-ds { margin: 4px 0 14px; }
.tet-cc .tc-lx-dong { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--tet-vien); }
.tet-cc .tc-lx-dong label { display: flex; flex-direction: column; min-width: 0; }
.tet-cc .tc-lx-dong b { font-size: 15px; }
.tet-cc .tc-lx-dong small { font-size: 12.5px; color: var(--tet-mo); line-height: 1.4; }
.tet-cc .tc-so { display: flex; align-items: center; flex: none; border: 1.5px solid #dcc6ad; border-radius: 10px; overflow: hidden; background: #fff; }
.tet-cc .tc-so button { width: 40px; height: 42px; border: 0; background: var(--tet-vang-nhat); color: var(--tet-do); font-size: 22px; font-weight: 800; cursor: pointer; }
.tet-cc .tc-so input { width: 48px; height: 42px; border: 0; text-align: center; font-size: 16px; font-weight: 700; -moz-appearance: textfield; }
.tet-cc .tc-so input::-webkit-outer-spin-button, .tet-cc .tc-so input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tet-cc .tc-kq { margin: 16px 0; }
.tet-cc .tc-kq-tong { background: var(--tet-do); color: #fff6d8; border-radius: 16px; padding: 16px; margin-bottom: 12px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.tet-cc .tc-kq-tong::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 120px; height: 120px; border: 10px solid rgba(232, 163, 23, .35); border-radius: 50%; }
.tet-cc .tc-kq-tong small { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: #ffd9c2; font-weight: 700; }
.tet-cc .tc-kq-tong b { font-size: 34px; line-height: 1.2; }
.tet-cc .tc-kq-tong span { font-size: 14px; color: #ffe7d6; }

/* rút quẻ */
.tet-cc .tc-ong { display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--tet-the); border: 1px solid var(--tet-vien); border-radius: 18px; padding: 18px 16px 20px; margin: 16px 0; }
.tet-cc .tc-ong-hinh { width: 170px; height: auto; margin-bottom: 8px; }
.tet-cc .tc-que { background: var(--tet-the); border: 2px solid var(--tet-do); border-radius: 18px; padding: 18px 16px; margin: 16px 0; position: relative; box-shadow: 0 0 0 6px var(--tet-vang-nhat); scroll-margin-top: 80px; }
.tet-cc .tc-que-so { position: absolute; right: 14px; top: -14px; background: var(--tet-do); color: #fff6d8; border-radius: 10px; padding: 4px 12px; text-align: center; }
.tet-cc .tc-que-so span { font-size: 11px; display: block; color: #ffd9c2; }
.tet-cc .tc-que-so b { font-size: 22px; line-height: 1; }
.tet-cc .tc-que h2 { margin: 2px 0 10px; color: var(--tet-do-dam); }
.tet-cc .tc-tho { font-family: "Noto Serif", "Times New Roman", Georgia, serif; font-size: 19px; line-height: 1.7; color: var(--tet-chu); border-left: 3px solid var(--tet-vang); padding-left: 12px; }
.tet-cc .tc-que-viec { background: var(--tet-vang-nhat); border-radius: 10px; padding: 10px 12px; }
.tet-cc .tc-que-nut { display: flex; gap: 8px; flex-wrap: wrap; }

/* mâm cỗ */
.tet-cc .tc-mien { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 14px 0; }
.tet-cc .tc-mien a { text-align: center; padding: 11px 6px; border: 2px solid var(--tet-vien); border-radius: 10px; background: var(--tet-the); font-weight: 700; text-decoration: none; color: var(--tet-chu); }
.tet-cc .tc-mien a.on { border-color: var(--tet-do); background: var(--tet-do); color: #fff !important; }
.tet-cc .tc-mon { list-style: none; counter-reset: mon; padding: 0; margin: 0; display: grid; gap: 8px; }
.tet-cc .tc-mon li { counter-increment: mon; display: flex; flex-direction: column; background: var(--tet-the); border: 1px solid var(--tet-vien); border-radius: 12px; padding: 10px 12px 10px 48px; position: relative; margin: 0; }
.tet-cc .tc-mon li::before { content: counter(mon); position: absolute; left: 12px; top: 10px; width: 26px; height: 26px; border-radius: 50%; background: var(--tet-do); color: #fff6d8; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.tet-cc .tc-mon b { color: var(--tet-do-dam); }
.tet-cc .tc-mon span { font-size: 14px; color: var(--tet-mo); }
.tet-cc .tc-cho h3 { margin: 16px 0 6px; color: var(--tet-do-dam); }
.tet-cc .tc-cho ul { list-style: none; padding: 0; margin: 0; background: var(--tet-the); border: 1px solid var(--tet-vien); border-radius: 12px; }
.tet-cc .tc-cho li { border-bottom: 1px solid #f1e3d2; margin: 0; }
.tet-cc .tc-cho li:last-child { border-bottom: 0; }
.tet-cc .tc-cho label { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; cursor: pointer; font-size: 14.5px; }
.tet-cc .tc-cho input { width: 20px; height: 20px; accent-color: var(--tet-do); margin-top: 1px; flex: none; }
.tet-cc .tc-cho input:checked + span { text-decoration: line-through; color: var(--tet-mo); }
.tet-cc .tc-cho small { color: var(--tet-mo); }

/* công cụ khác */
.tet-cc .tc-khac { margin: 26px 0 0; }
.tet-cc .tc-khac-luoi { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tet-cc .tc-khac-o { display: flex; align-items: center; gap: 8px; background: var(--tet-the); border: 1px solid var(--tet-vien); border-radius: 10px; padding: 10px; text-decoration: none; color: var(--tet-chu); font-size: 14px; }
.tet-cc .tc-khac-o b { font-weight: 700; line-height: 1.3; }
.tet-cc .tc-khac-o:hover { border-color: var(--tet-do); }

/* ───────── khối quà Tết (dùng cả trong bài viết) ───────── */
.tc-qua { background: linear-gradient(180deg, var(--tet-dao-nhat), var(--tet-the) 55%); border: 1px solid var(--tet-vien); border-top: 4px solid var(--tet-do); border-radius: 16px; padding: 16px; margin: 26px 0 8px; position: relative; }
.tc-qua-dau { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.tc-qua-hoa { flex: none; width: 40px; height: 40px; color: var(--tet-dao); }
.tc-qua h2 { font-size: 19px !important; margin: 0 0 4px !important; color: var(--tet-do-dam) !important; }
.tc-qua-dau p { margin: 0; font-size: 14.5px; color: var(--tet-mo); line-height: 1.55; }
.tc-qua-luoi { display: grid; grid-template-columns: 1fr; gap: 8px; }
.tc-qua-o { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; gap: 2px 10px; align-items: center; background: #fff; border: 1px solid var(--tet-vien); border-radius: 12px; padding: 10px 12px; text-decoration: none !important; color: var(--tet-chu) !important; }
.tc-qua-o:hover { border-color: var(--tet-do); }
.tc-qua-bt { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 10px; background: var(--tet-vang-nhat); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.tc-qua-chu { display: flex; flex-direction: column; min-width: 0; }
.tc-qua-chu small { font-size: 11.5px; color: var(--tet-mo); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.tc-qua-chu b { font-size: 15.5px; color: var(--tet-chu); line-height: 1.35; }
.tc-qua-chu i { font-style: normal; font-size: 13.5px; color: var(--tet-mo); line-height: 1.45; }
.tc-qua-nut { grid-column: 2; justify-self: start; font-weight: 800; font-size: 14px; color: var(--tet-do); border-bottom: 2px solid var(--tet-vang); }
.tc-qua-ghi { font-size: 12.5px; color: var(--tet-mo); margin: 10px 0 0 !important; }

/* ───────── TRANG CHỦ TẾT NAY ───────── */
.tn-home { overflow-x: hidden; }
.tn-hero { position: relative; overflow: hidden; background:
    radial-gradient(circle at 88% 12%, rgba(243, 166, 184, .35) 0, transparent 34%),
    radial-gradient(circle at 6% 92%, rgba(246, 196, 69, .28) 0, transparent 36%),
    linear-gradient(180deg, #fff6ee, #fffaf4 70%);
  border-bottom: 1px solid var(--tet-vien); padding: 26px 0 30px; }
.tn-hero-in { position: relative; z-index: 2; display: grid; gap: 22px; align-items: center; }
.tn-nhan { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--tet-do); margin: 0 0 10px; }
.tn-nhan::before { content: ""; width: 22px; height: 3px; background: var(--tet-vang); border-radius: 2px; }
body .tn-hero h1 { font-size: clamp(34px, 8.6vw, 62px); line-height: 1.06; font-weight: 800; color: var(--tet-do); margin: 0 0 12px; letter-spacing: -.02em; }
body .tn-hero h1 span { color: var(--tet-chu); display: block; font-size: .56em; letter-spacing: -.01em; margin-top: 6px; }
.tn-hero-mo { font-size: 17px; color: var(--tet-mo); max-width: 34em; margin: 0 0 18px; line-height: 1.6; }
.tn-nut { display: flex; flex-wrap: wrap; gap: 10px; }
.tn-nut a { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 20px; border-radius: 12px; font-weight: 800; font-size: 16px; text-decoration: none; border: 2px solid var(--tet-do); }
.tn-nut a.chinh { background: var(--tet-do); color: #fff !important; box-shadow: 0 10px 22px -12px rgba(200, 16, 46, .8); }
.tn-nut a.chinh:hover { background: var(--tet-do-dam); }
.tn-nut a.phu { background: #fff; color: var(--tet-do) !important; }
.tn-dem-the { background: #fff; border: 1px solid var(--tet-vien); border-radius: 20px; padding: 16px 16px 14px; box-shadow: 0 18px 40px -26px rgba(143, 11, 31, .55); position: relative; }
.tn-dem-the::before { content: ""; position: absolute; inset: 6px; border: 1px dashed rgba(232, 163, 23, .55); border-radius: 15px; pointer-events: none; }
.tn-dem-the .tc-dem { max-width: none; }
.tn-dem-the .tc-dem-o b { font-size: 34px; }
.tn-dem-dau { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.tn-dem-dau b { font-size: 15px; color: var(--tet-chu); }
.tn-dem-dau span { font-size: 13px; color: var(--tet-mo); }
.tn-dem-chan { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; font-size: 13.5px; color: var(--tet-mo); }
.tn-dem-chan a { font-weight: 700; }
.tn-trang { position: absolute; z-index: 1; pointer-events: none; }
.tn-trang.mai { right: -40px; top: -52px; width: 150px; opacity: .95; }
.tn-trang.den { left: 6px; top: 0; width: 38px; }
.tn-trang.den2 { right: 18px; bottom: -6px; width: 40px; display: none; }
.tn-trang.phao { left: 0; right: 0; top: 0; bottom: 0; width: 100%; height: 100%; }
.tn-hero .tn-hero-chu { padding-left: 36px; }
.tn-phan { padding: 26px 0 6px; }
.tn-phan-dau { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.tn-phan-dau h2 { margin: 0; font-size: clamp(21px, 3vw, 28px); color: var(--tet-chu); }
.tn-phan-dau a { font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.tn-cc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tn-cc a { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--tet-vien); border-radius: 14px; padding: 12px; text-decoration: none; color: var(--tet-chu); position: relative; overflow: hidden; min-height: 132px; }
.tn-cc a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--tet-do), var(--tet-vang)); opacity: 0; transition: opacity .2s; }
.tn-cc a:hover::after { opacity: 1; }
.tn-cc a:hover { border-color: var(--tet-vang); }
.tn-cc .bt { width: 42px; height: 42px; border-radius: 12px; background: var(--tet-dao-nhat); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.tn-cc b { font-size: 15.5px; color: var(--tet-do-dam); line-height: 1.3; }
.tn-cc span.mo { font-size: 13px; color: var(--tet-mo); line-height: 1.45; }
.tn-moc { display: grid; grid-template-columns: 1fr; gap: 8px; }
.tn-moc a { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--tet-vien); border-radius: 12px; padding: 10px 12px; text-decoration: none; color: var(--tet-chu); }
.tn-moc .ng { flex: none; width: 64px; text-align: center; border-right: 2px solid var(--tet-vang); padding-right: 10px; }
.tn-moc .ng b { display: block; font-size: 20px; color: var(--tet-do); line-height: 1.1; }
.tn-moc .ng small { font-size: 11px; color: var(--tet-mo); }
.tn-moc .nd { display: flex; flex-direction: column; min-width: 0; }
.tn-moc .nd b { font-size: 15px; }
.tn-moc .nd span { font-size: 13px; color: var(--tet-mo); }
.tn-moc .con { margin-left: auto; font-weight: 800; color: var(--tet-do); font-size: 14px; white-space: nowrap; }
.tn-cm { display: flex; flex-wrap: wrap; gap: 8px; }
.tn-cm a { border: 1px solid var(--tet-vien); background: #fff; border-radius: 10px; padding: 9px 12px; font-weight: 700; font-size: 14px; text-decoration: none; color: var(--tet-chu); }
.tn-cm a b { color: var(--tet-do); margin-left: 4px; }
.tn-cm a:hover { border-color: var(--tet-do); }
.tn-cau { margin: 30px 0 10px; background: #fff; border: 1px solid var(--tet-vien); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.tn-cau p { margin: 0; color: var(--tet-mo); }
.tn-cau b { color: var(--tet-chu); }
.tn-sang, .tx-sang a { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 16px; border-radius: 10px; background: var(--tet-do); color: #fff !important; font-weight: 800; text-decoration: none; white-space: nowrap; flex: none; }
.tx-sang a { border-radius: 6px; }

/* ───────── TRANG CHỦ TẾT XƯA ───────── */
.tx-hero { position: relative; overflow: hidden; padding: 22px 0 30px; border-bottom: 1px solid var(--tet-vien);
  background: radial-gradient(ellipse at 50% 0, rgba(255, 251, 240, .9), transparent 65%); }
.tx-hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 50px 1fr 50px; gap: 10px; align-items: start; }
.tx-doi { background: var(--tet-do); border-radius: 4px; padding: 10px 0; display: flex; flex-direction: column; align-items: center; gap: 4px; position: relative;
  box-shadow: 0 8px 18px -12px rgba(110, 20, 16, .8); background-image: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .08) 0 1px, transparent 2px); background-size: 9px 11px; }
.tx-doi::before, .tx-doi::after { content: ""; position: absolute; left: 50%; width: 30px; height: 5px; margin-left: -15px; background: var(--tet-vang); border-radius: 2px; }
.tx-doi::before { top: -3px; } .tx-doi::after { bottom: -3px; }
.tx-doi { outline: 1px solid rgba(232, 180, 80, .55); outline-offset: -5px; }
.tx-doi span { font-family: var(--tet-tieu-de); font-weight: 700; color: #ffe2a0; font-size: 13px; line-height: 1.1; text-align: center; min-height: 34px; display: flex; align-items: center; justify-content: center; text-shadow: 0 1px 0 rgba(0, 0, 0, .25); }
.tx-giua { text-align: center; padding-top: 4px; min-width: 0; }
.tx-hoanh { display: inline-block; background: var(--tet-do); color: #ffe9b4; font-family: var(--tet-tieu-de); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 12.5px; padding: 7px 16px; border-radius: 3px; border: 2px solid var(--tet-vang); box-shadow: 0 0 0 3px var(--tet-do); margin: 4px 0 14px; }
body .tx-hero h1 { font-family: var(--tet-tieu-de); font-size: clamp(40px, 12.4vw, 92px); white-space: nowrap; line-height: 1; font-weight: 700; color: #1f1612; margin: 0 0 6px; letter-spacing: .01em; }
body .tx-hero h1 span { display: block; font-size: max(.28em, 14px); white-space: normal; color: var(--tet-do); letter-spacing: .02em; text-transform: uppercase; margin-top: 8px; font-weight: 700; }
.tx-mo { font-size: 16.5px; color: var(--tet-mo); max-width: 32em; margin: 10px auto 16px; line-height: 1.65; }
.tx-nut { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tx-nut a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 18px; border-radius: 6px; font-weight: 700; font-size: 15.5px; text-decoration: none; border: 2px solid var(--tet-do); }
.tx-nut a.chinh { background: var(--tet-do); color: #fff4dc !important; }
.tx-nut a.chinh:hover { background: var(--tet-do-dam); }
.tx-nut a.phu { background: transparent; color: var(--tet-do) !important; }
.tx-muc { position: absolute; z-index: 1; pointer-events: none; color: #2a201b; }
.tx-muc.dao { left: -60px; bottom: -14px; width: 150px; opacity: .55; }
.tx-muc.dao2 { right: -26px; top: -6px; width: 180px; opacity: .85; transform: scaleX(-1); display: none; }
.tx-muc.may { left: 0; right: 0; bottom: 0; width: 100%; height: 34px; opacity: .25; }
.tx-phan { padding: 26px 0 6px; }
.tx-phan-dau { text-align: center; margin-bottom: 14px; }
.tx-phan-dau h2 { margin: 0; font-size: clamp(22px, 3vw, 30px); }
.tx-phan-dau h2::after { content: ""; display: block; width: 90px; height: 10px; margin: 8px auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 10'%3E%3Cpath d='M0 5h34M56 5h34' stroke='%23a3201b' stroke-width='1.5'/%3E%3Cpath d='M45 0l5 5-5 5-5-5z' fill='%23b8862b'/%3E%3C/svg%3E") center / contain no-repeat; }
.tx-phan-dau p { color: var(--tet-mo); margin: 6px 0 0; }
.tx-cm { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tx-cm a { display: flex; flex-direction: column; justify-content: space-between; gap: 6px; min-height: 92px; background: var(--tet-the); border: 1px solid var(--tet-vien); border-radius: 6px; padding: 12px; text-decoration: none; color: var(--tet-chu); position: relative; }
.tx-cm a::before { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(163, 32, 27, .18); border-radius: 3px; pointer-events: none; }
.tx-cm a b { font-family: var(--tet-tieu-de); font-size: 16px; line-height: 1.3; }
.tx-cm a span { font-size: 12.5px; color: var(--tet-do); font-weight: 700; }
.tx-cm a:hover { border-color: var(--tet-do); }
.tx-cc { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tx-cc a { display: flex; align-items: center; gap: 8px; background: var(--tet-the); border: 1px solid var(--tet-vien); border-radius: 6px; padding: 10px; text-decoration: none; color: var(--tet-chu); font-size: 14px; font-weight: 700; }
.tx-cc a:hover { border-color: var(--tet-do); }
.tx-cc-ghi { text-align: center; font-size: 13.5px; color: var(--tet-mo); margin: 10px 0 0; }
.tx-sang { margin: 30px 0 10px; border: 1px solid var(--tet-vien); border-radius: 8px; padding: 16px; background: var(--tet-the); text-align: center; }
.tx-sang p { margin: 0 0 10px; color: var(--tet-mo); }

/* ───────── màn rộng ───────── */
@media (min-width: 640px) {
  .tet-cc .tc-luoi-cc { grid-template-columns: 1fr 1fr; }
  .tet-cc .tc-mien-luoi { grid-template-columns: repeat(3, 1fr); }
  .tet-cc .tc-tuoi-luoi, .tet-cc .tc-ngay-luoi, .tet-cc .tc-vk-luoi, .tet-cc .tc-le-luoi { grid-template-columns: 1fr 1fr; }
  .tet-cc .tc-gia-chu { grid-template-columns: 1fr 1fr; }
  .tet-cc .tc-hai-cot { grid-template-columns: 1fr 1fr; }
  .tet-cc .tc-goi-y { grid-template-columns: 220px 1fr; align-items: start; }
  .tet-cc .tc-khac-luoi { grid-template-columns: repeat(4, 1fr); }
  .tet-cc .tc-form.ngang { display: flex; align-items: flex-end; gap: 12px; }
  .tet-cc .tc-form.ngang .tc-truong { flex: 1; margin: 0; }
  .tet-cc .tc-form.ngang .tc-nut { width: auto; flex: none; }
  .tet-cc .tc-chon-nam { grid-template-columns: 1fr 1fr; }
  .tc-qua-luoi { grid-template-columns: repeat(3, 1fr); }
  .tc-qua-o { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr auto; align-content: start; }
  .tc-qua-bt { grid-row: auto; }
  .tc-qua-nut { grid-column: 1; align-self: end; }
  .tn-cc { grid-template-columns: repeat(4, 1fr); }
  .tn-moc { grid-template-columns: 1fr 1fr; }
  .tx-cm { grid-template-columns: repeat(3, 1fr); }
  .tx-cc { grid-template-columns: repeat(4, 1fr); }
  .tn-cau { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 960px) {
  .tn-hero { padding: 54px 0 60px; }
  .tn-hero-in { grid-template-columns: 1.15fr .85fr; gap: 40px; }
  .tn-hero .tn-hero-chu { padding-left: 64px; }
  .tn-trang.mai { width: 360px; right: -40px; top: -30px; }
  .tn-trang.den { width: 58px; left: 18px; }
  .tn-trang.den2 { display: block; }
  .tx-hero { padding: 40px 0 54px; }
  .tx-hero-in { grid-template-columns: 74px 1fr 74px; gap: 40px; max-width: 980px; }
  .tx-doi { padding: 16px 0; gap: 8px; }
  .tx-doi span { min-height: 50px; font-size: 21px; }
  .tx-muc.dao { width: 330px; left: -20px; bottom: -20px; opacity: .9; }
  .tx-muc.dao2 { display: block; width: 260px; }
  .tet-cc .tc-wrap { padding-bottom: 56px; }
}
@media (max-width: 380px) {
  .tc-dem-o b { font-size: 24px !important; }
  .tn-cc { grid-template-columns: 1fr; }
}
