/* 20/11/2026 – chân trang màu xanh logo cho MỌI trang công khai (trước chỉ trang chủ / Giới thiệu / Adaptive có, qua dong-bo-logo.css;
   các trang khác còn xanh đêm #2F4A62 → lệch). Nạp SAU /chan-trang.css. Trang đã nạp dong-bo-logo.css thì không cần tệp này. */
html body footer.ct { margin-top: 0 !important; border-radius: 22px 22px 0 0 !important; background: #5E75B8 !important; border-top: 2px solid #121212; }
html body footer.ct::before { background: linear-gradient(180deg, rgba(94, 117, 184, .25) 0%, rgba(40, 54, 96, .82) 42%, rgba(26, 34, 62, .96) 100%) !important; }
html body footer.ct .ct-chu { font-size: clamp(56px, 10vw, 150px) !important; margin-top: clamp(24px, 4vh, 44px) !important; }
html body footer.ct .ct-form button { background: #EFC278 !important; color: #17222D !important; }
html body footer.ct .ct-ve:hover .ct-ve-o { background: #EFC278 !important; color: #17222D !important; }
html body footer.ct a.ct-l::after { background: #EFC278 !important; }
html body footer.ct .cg-khung { opacity: .35 !important; }
html body footer.ct h4 { color: #FFFFFF !important; opacity: 1 !important; }

/* 20/11 đợt sửa 2 – giấy hoá phần còn lại của chân trang (giữ cảnh đêm): ô email, nhãn chủ đề, nút về đầu trang, nút nổi .to-top */
html body footer.ct .ct-form { background: #FBF6EC !important; border: 2px solid #121212 !important; border-radius: 8px !important; box-shadow: 3px 3px 0 rgba(0, 0, 0, .3); }
html body footer.ct .ct-form:focus-within { box-shadow: 3px 3px 0 rgba(0, 0, 0, .3), 0 0 0 3px rgba(239, 194, 120, .7) !important; border-color: #121212 !important; }
html body footer.ct .ct-form input { color: #17222D !important; }
html body footer.ct .ct-form input::placeholder { color: #4A4F5A !important; opacity: 1; }
html body footer.ct .ct-form button { border: 2px solid #121212 !important; border-radius: 6px !important; }
html body footer.ct .ct-chude a { background: #FBF6EC !important; color: #17222D !important; border: 2px solid #121212 !important; border-radius: 4px !important; font: 700 11px/1.2 "Space Mono", ui-monospace, monospace !important; letter-spacing: .06em; text-transform: uppercase; box-shadow: 2px 2px 0 rgba(0, 0, 0, .3); }
html body footer.ct .ct-chude a:hover { background: #EFC278 !important; }
html body footer.ct .ct-ve-o { border-radius: 8px !important; background: #EFC278 !important; color: #17222D !important; border: 2px solid #121212 !important; box-shadow: 2px 2px 0 rgba(0, 0, 0, .3); }
html body footer.ct .ct-ve:hover .ct-ve-o { transform: translate(-1px, -1px); }
html body footer.ct { padding-bottom: calc(18px + env(safe-area-inset-bottom)) !important; }
/* nút nổi về đầu trang (theme.js): nút giấy viền mực bo 8px; điện thoại nhỏ gọn, nằm sát góc, không đè nội dung (ẩn khi chân trang đã hiện) */
html body .to-top { border: 2px solid #121212 !important; border-radius: 8px !important; box-shadow: 3px 3px 0 rgba(24, 38, 65, .28) !important; background: #FBF6EC !important; color: #17222D !important; }
html body .to-top:hover { background: #EFC278 !important; box-shadow: 4px 4px 0 rgba(24, 38, 65, .3) !important; }
@media (max-width: 760px) { html body .to-top { width: 40px !important; height: 40px !important; right: 12px !important; bottom: calc(12px + env(safe-area-inset-bottom)) !important; box-shadow: 2px 2px 0 rgba(24, 38, 65, .28) !important; } }

/* 20/11 – chủ trung tâm quyết: chân trang NỀN XANH CHÀM PHẲNG, bỏ cảnh đêm (mây, trăng, sao, đom đóm). Lưới chấm trắng mờ như các khối chàm khác. */
html body footer.ct { background: linear-gradient(180deg, #4A5F9E 0%, #3F5590 100%) !important; border-radius: 0 !important; border-top: 2px solid #121212 !important; }
html body footer.ct::before { background: radial-gradient(circle, rgba(255, 255, 255, .09) 1.4px, transparent 2px) 0 0 / 20px 20px !important; }
html body footer.ct .ct-dong, html body footer.ct .cg-khung { display: none !important; }
html body footer.ct .ct-chu { text-shadow: none !important; filter: none !important; }

/* 20/11 chặng C (GPT tự trải nghiệm): vùng chạm + focus ở chân trang dùng chung */
html body footer.ct .ct-chude a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 10px !important; }
html body footer.ct .ct-form input { min-height: 44px; }
html body footer.ct .ct-form button { min-width: 44px; min-height: 44px; }
html body footer.ct .ct-cuoi a { display: inline-block; padding: 12px 2px; }
html body footer.ct a.ct-l { display: block; padding: 5px 0; }
html body footer.ct :is(a, button, input):focus-visible { outline: 3px solid #EFC278 !important; outline-offset: 2px; }
@media (max-width: 760px), (pointer: coarse) {
  html body footer.ct .ct-chude a { min-height: 44px; padding: 0 12px !important; }
  html body footer.ct .ct-chude > div { gap: 10px !important; }
  html body footer.ct a.ct-l { padding: 10px 0; }
  html body footer.ct .ct-lien a { display: inline-block; padding: 10px 0; }
}

/* 21/11 – nền chân trang xanh gần trùng cánh xanh của logo → đặt logo trên ô kem cho nổi */
html body footer.ct .ct-hieu img { background: #FBF6EC; border-radius: 8px; padding: 4px; box-sizing: border-box; }
