/* CCQ_DD_v1: chép từ repo hoachdinh. */
/* TK_KHACH_v1 — hộp đăng ký/đăng nhập tại site, nút đầu trang, trang /tai-khoan, dòng báo lượt còn lại. Nạp ở site TkKhach::bat(). */
.tk-khoa,.tk-khoa body{overflow:hidden}
.tkh{position:fixed;inset:0;z-index:10050;display:flex;align-items:flex-end;justify-content:center}
.tkh-nen{position:absolute;inset:0;background:rgba(2,6,23,.6);backdrop-filter:blur(3px)}
.tkh-o{position:relative;width:100%;max-width:440px;max-height:92vh;overflow:auto;padding:22px 18px calc(18px + env(safe-area-inset-bottom));border-radius:22px 22px 0 0;background:#fff;color:#0f172a;box-shadow:0 -20px 60px -20px rgba(0,0,0,.5);animation:tkhLen .22s ease-out}
@keyframes tkhLen{from{transform:translateY(30px);opacity:.4}}
@media(min-width:600px){.tkh{align-items:center}.tkh-o{border-radius:22px;padding:26px 24px}}
.tkh-x{position:absolute;right:10px;top:8px;width:40px;height:40px;border:0;background:none;font-size:28px;line-height:1;color:#64748b;cursor:pointer}
.tkh h2{margin:0 34px 6px 0;font-size:21px;line-height:1.25}
.tkh-mo{margin:0 0 14px;font-size:14.5px;line-height:1.55;color:#475569}
.tkh-tab{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;margin-bottom:14px;border-radius:12px;background:#f1f5f9}
.tkh-tab button{height:40px;border:0;border-radius:9px;background:none;font-weight:700;font-size:14.5px;color:#475569;cursor:pointer}
.tkh-tab button.on{background:#fff;color:#0b2545;box-shadow:0 2px 8px -4px rgba(2,6,23,.3)}
.tkh-f label{display:block;margin-bottom:10px;font-size:13.5px;font-weight:600;color:#334155}
.tkh-f label b{color:#dc2626}
.tkh-f input{display:block;width:100%;height:48px;margin-top:5px;padding:0 13px;border:1px solid #cbd5e1;border-radius:12px;font-size:16px;background:#fff;color:#0f172a;box-sizing:border-box}
.tkh-f input:focus{outline:0;border-color:#0e7490;box-shadow:0 0 0 3px rgba(14,116,144,.18)}
.tkh-bay{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important}
.tkh-b{display:block;width:100%;height:50px;margin-top:6px;border:0;border-radius:13px;background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#1f1300;font-weight:800;font-size:16px;cursor:pointer}
.tkh-b:disabled{opacity:.6}
.tkh-ghi{margin:10px 0 0;font-size:12.5px;line-height:1.5;color:#64748b}
.tkh-quen{display:block;margin:10px auto 0;border:0;background:none;color:#0e7490;font-weight:600;font-size:14px;cursor:pointer}
.tkh-bao{margin:12px 0 0;padding:10px 12px;border-radius:10px;font-size:14px;line-height:1.5}
.tkh-tot{background:#ecfdf5;color:#065f46}.tkh-loi{background:#fef2f2;color:#991b1b}
.tk-nut{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 10px;border-radius:10px;color:inherit;text-decoration:none;font-weight:600;font-size:14px}
.tk-nut svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}
.tk-nut em{font-style:normal;display:none}
.tk-nut-co span{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#0b2545;color:#fff;font-weight:800;font-size:14px}
@media(min-width:900px){.tk-nut em{display:inline}}
.cq-con{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fffbeb;border:1px solid #fde68a;font-size:14px;line-height:1.5;color:#78350f}
.cq-con a{font-weight:700;color:#b45309}
.tkp{padding:32px 16px 48px;max-width:640px}
.tkp-o{padding:24px 20px;border-radius:20px;background:#fff;border:1px solid #e2e8f0;box-shadow:0 10px 30px -20px rgba(2,6,23,.35)}
.tkp h1{margin:0 0 10px;font-size:26px}.tkp h2{margin:22px 0 8px;font-size:18px}
.tkp-tot h1{color:#047857}.tkp-loi h1{color:#b91c1c}
.tkp-nut{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 0}
.tkp-b1,.tkp-b2{display:inline-flex;align-items:center;min-height:46px;padding:0 18px;border-radius:12px;font-weight:700;text-decoration:none;border:0;cursor:pointer;font-size:15px}
.tkp-b1{background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#1f1300}.tkp-b2{background:#f1f5f9;color:#0b2545}
.tkp-tt{display:grid;grid-template-columns:auto 1fr;gap:8px 14px;margin:14px 0;font-size:15px}.tkp-tt dt{color:#64748b}.tkp-tt dd{margin:0}
.tkp-the{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:6px;background:#dcfce7;color:#166534;font-size:12px;font-weight:700}.tkp-the-vang{background:#fef3c7;color:#92400e}
.tkp-bao{padding:10px 12px;border-radius:10px;background:#fffbeb;color:#78350f;font-size:14px}
.tkp-form label{display:block;margin:12px 0;font-weight:600}.tkp-form input{display:block;width:100%;height:48px;margin-top:6px;padding:0 12px;border:1px solid #cbd5e1;border-radius:12px;font-size:16px;box-sizing:border-box}
.tkp-ls{list-style:none;margin:0;padding:0}.tkp-ls li{padding:9px 0;border-bottom:1px dashed #e2e8f0}.tkp-ls a{display:block;color:#0f172a;font-weight:600;text-decoration:none}.tkp-ls small{color:#64748b}
/* TK_TOPBAR_v1 — thêm nút tài khoản làm vùng nút đầu trang rộng ra, tên site bị hai lá cờ ngôn ngữ đè lên trên điện thoại:
   cho tên site co lại và cắt "…", vùng nút không co; điện thoại hẹp thì thu khoảng cách cờ và nút */
.topbar .topbar-inner{min-width:0}
.topbar .brand{min-width:0;flex:1 1 auto;overflow:hidden}
.topbar .brand-text{min-width:0;overflow:hidden}
.topbar .brand-name{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.topbar .topbar-actions{flex:0 0 auto}
@media(max-width:480px){
  .topbar .lang-two{margin-left:0!important;gap:2px!important}
  .topbar .lang-two .lang-2{padding:2px!important}
  .topbar .lang-two .is-active{display:none!important}   /* điện thoại: bỏ cờ của ngôn ngữ đang xem, giữ cờ để chuyển sang ngôn ngữ kia */
  .topbar .brand-name,.topbar .brand-2line .brand-name{font-size:14px!important;letter-spacing:-.02em;max-width:none!important}
  .topbar .brand-logo{width:34px;height:34px;flex-basis:34px}
  .topbar .lang-two svg{width:18px;height:13px}
  .topbar .tk-nut{padding:0 4px}
  .topbar .topbar-actions{gap:2px}
}
