/* ==========================================================================
   THR — giao diện mới (chuyển từ mockup/ *.dc.html)
   Khung dùng chung: biến màu, chữ, header, menu di động, footer, khối hay dùng.
   Mỗi trang có tệp riêng public/css/thr/<trang>.css cho phần chỉ trang đó dùng.
   Mốc bố cục di động: 860px (mockup Mobile thiết kế cho 390px).
   ========================================================================== */
:root {
    --t-navy: #13305a;
    --t-navy-2: #1d6f86;
    --t-teal: #17987a;
    --t-mint: #4ee39a;
    --t-mint-bg: #d6f1e8;
    --t-bg: #f3f8f7;
    --t-dark: #0e2a3c;
    --t-text-2: #4a5f75;
    --t-muted: #6b7f93;
    --t-muted-2: #8aa3ad;
    --t-hero-muted: #b9cbd8;
    --t-hero-text: #d5e2ea;
    --t-line: #edf2f5;
    --t-soft: #f4f8f9;
    --t-green: #2fbf71;
    --t-gold: #f5a524;
    --t-gold-bg: #fff4d6;
    --t-gold-text: #c98a00;
    --t-grey: #7f96a2;
    --t-red: #d64545;
    --t-strava: #fc4c02;
    --t-grad: url('/images/ui/brand-gradient-3.webp');
    --t-grad-btn: url('/images/ui/brand-gradient-3.webp') left center/200% 100% no-repeat;
    --t-font: 'Be Vietnam Pro', sans-serif;
    --t-display: 'Barlow Condensed', sans-serif;
    --t-shadow: 0 8px 26px rgba(19, 48, 90, .07);
    --t-shadow-lg: 0 14px 36px rgba(19, 48, 90, .1);
}

body.thr {
    margin: 0;
    background: var(--t-bg);
    font-family: var(--t-font);
    color: var(--t-navy);
    -webkit-font-smoothing: antialiased;
}
/* Trang cũ (Tailwind) vẫn đặt Oswald cho h1–h3; trang mới thì dùng Barlow. */
body.thr .t-page h1, body.thr .t-page h2, body.thr .t-page h3 { font-family: var(--t-display); }
/* :where() = độ ưu tiên 0 → không đè lớp màu Tailwind (text-white…) của các trang cũ */
:where(body.thr) a { color: inherit; text-decoration: none; }
body.thr .t-page a:hover { color: var(--t-teal); }
body.thr input, body.thr select, body.thr button, body.thr textarea { font-family: inherit; }
body.thr.t-solid { padding-top: 112px; }
/* Lưới an toàn: không phần tử nào được làm trang cuộn ngang (clip không phá position:sticky như hidden) */
html:has(body.thr), body.thr { overflow-x: clip; }
body.thr.t-lock { overflow: hidden; }

.t-display { font-family: var(--t-display); font-weight: 700; }
.t-grad-text {
    background: var(--t-grad) right center/200% 100% no-repeat;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    font-style: italic; padding-right: 6px;
}
.t-wrap { max-width: 1280px; margin: 0 auto; padding-left: clamp(20px, 4vw, 48px); padding-right: clamp(20px, 4vw, 48px); box-sizing: border-box; }
.t-wrap-sm { max-width: 1184px; margin: 0 auto; padding-left: clamp(20px, 4vw, 48px); padding-right: clamp(20px, 4vw, 48px); box-sizing: border-box; }

/* ---------- Logo ---------- */
.t-logo { display: flex; align-items: center; gap: 6px; flex: none; }
.t-logo img { height: 72px; width: auto; display: block; }
.t-logo-txt { display: flex; flex-direction: column; align-items: stretch; font-family: var(--t-display); font-style: italic; font-weight: 800; line-height: .86; }
.t-logo-1 { font-size: 22px; letter-spacing: .01em; background: linear-gradient(180deg, #1d6f86 0%, #13305a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t-logo-2 { font-size: 27px; letter-spacing: .01em; background: var(--t-grad) center/cover; -webkit-background-clip: text; background-clip: text; color: transparent; }
.t-logo-3 { display: flex; align-items: center; gap: 4px; margin-top: 3px; font-family: var(--t-font); font-size: 7px; font-weight: 700; font-style: italic; letter-spacing: .04em; color: var(--t-navy); white-space: nowrap; }
.t-logo-3 i { flex: 1; height: 1.5px; background: var(--t-teal); }
.t-on-dark .t-logo-1 { background: none; color: #fff; }
.t-on-dark .t-logo-3 { color: #fff; }

/* ---------- Header trong hero (máy tính) ---------- */
.t-hdr { position: absolute; top: 0; left: 0; right: 0; z-index: 30; }
.t-hdr-in { max-width: 1520px; margin: 0 auto; padding: 20px 28px 0 clamp(20px, 5vw, 100px); display: flex; align-items: center; gap: clamp(16px, 3vw, 110px); box-sizing: border-box; }
.t-hdr-mid { flex: 1; display: flex; align-items: center; gap: 24px; }
.t-nav { position: relative; flex: 0 1 auto; min-width: 0; margin: 0 auto; display: flex; align-items: center; gap: clamp(10px, 1.6vw, 32px); padding: 10px clamp(12px, 1.6vw, 32px); white-space: nowrap; border-radius: 999px; font-size: clamp(13px, 1.2vw, 14px); font-weight: 500; }
.t-nav a { position: relative; padding: 6px 0; transition: color .45s ease; }
.t-nav-ind { position: absolute; bottom: 9px; left: 0; height: 2px; border-radius: 2px; background: var(--t-mint); width: 0; opacity: 0; transition: transform .55s cubic-bezier(.65, 0, .35, 1), width .55s cubic-bezier(.65, 0, .35, 1), opacity .2s; pointer-events: none; }
.t-nav { background: rgba(20, 28, 36, .38); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
body.thr .t-nav a { color: #fff; }
body.thr .t-nav a.on, body.thr .t-nav a.hov, body.thr .t-nav a:hover { color: var(--t-mint); }
.t-nav a.on { font-weight: 600; }

/* ---------- Header gọn dính trên cùng (hiện khi cuộn) ---------- */
.t-chdr { position: fixed; top: 12px; left: 0; right: 0; z-index: 50; padding: 0 20px; pointer-events: none; transform: translateY(-140%); transition: transform .3s ease; }
.t-chdr.show { transform: none; }
.t-chdr-in { pointer-events: auto; max-width: 1480px; margin: 0 auto; display: flex; align-items: center; gap: 24px; padding: 8px 14px 8px clamp(14px, 2.5vw, 40px); border-radius: 24px; background: rgba(236, 244, 251, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .75); box-shadow: 0 8px 28px rgba(19, 48, 90, .14); box-sizing: border-box; }
.t-chdr nav { flex: 0 1 auto; min-width: 0; margin: 0 auto; display: flex; align-items: center; white-space: nowrap; font-size: clamp(13px, 1.2vw, 15px); font-weight: 600; }
body.thr .t-chdr nav a { color: var(--t-navy); padding: 10px clamp(6px, 1vw, 18px); border-radius: 999px; }
.t-chdr nav a:hover { background: rgba(255, 255, 255, .7); color: var(--t-navy); }
body.thr .t-chdr nav a.on { color: var(--t-teal); background: var(--t-mint-bg); padding: 10px clamp(10px, 1.4vw, 22px); }

/* ---------- Nút tài khoản + menu thả ---------- */
.t-acc { position: relative; flex: none; }
.t-acc-btn { display: flex; align-items: center; gap: 10px; padding: 4px 14px 4px 4px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .9); background: rgba(255, 255, 255, .92); cursor: pointer; box-shadow: 0 4px 14px rgba(19, 48, 90, .12); }
.t-acc-btn > span.nm { font-size: 14px; font-weight: 600; color: var(--t-navy); white-space: nowrap; max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.t-acc-btn svg.chev { transition: transform .2s; }
.t-acc.open .t-acc-btn svg.chev { transform: rotate(180deg); }
.t-av { position: relative; flex: none; }
.t-av-img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 0 0 2px #fff; background: var(--t-grad-btn); }
.t-av-n { position: absolute; top: -4px; left: -4px; min-width: 18px; height: 18px; padding: 0 4px; box-sizing: border-box; border-radius: 999px; background: var(--t-green); border: 2px solid #fff; color: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.t-av-n[hidden] { display: none; }
.t-acc-menu { display: none; position: absolute; right: 0; top: calc(100% + 10px); z-index: 81; width: 272px; background: #fff; border-radius: 16px; box-shadow: 0 18px 40px rgba(19, 48, 90, .2); padding: 8px; }
.t-acc.open .t-acc-menu { display: block; }
.t-acc-veil { display: none; position: fixed; inset: 0; z-index: 80; }
.t-acc.open .t-acc-veil { display: none; } /* đóng bằng click ra ngoài (thr-ui.js) */
.t-online { padding: 10px; border-radius: 12px; background: var(--t-soft); }
.t-online-btn { width: 100%; display: flex; align-items: center; gap: 8px; border: none; background: none; padding: 0; cursor: pointer; color: var(--t-teal); font-size: 14px; font-weight: 600; }
.t-online-btn .cnt { margin-left: auto; display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--t-navy); }
.t-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--t-green); display: inline-block; }
.t-online-list { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; padding: 4px 0 2px; max-height: 220px; overflow-y: auto; }
.t-online.closed .t-online-list { display: none; }
.t-ou { display: flex; align-items: center; gap: 10px; }
.t-ou-av { position: relative; flex: none; }
.t-ou-av img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; display: block; }
.t-ou-av i { position: absolute; right: -1px; bottom: -1px; width: 9px; height: 9px; border-radius: 50%; background: var(--t-green); border: 2px solid #fff; }
.t-ou-n { font-size: 13px; font-weight: 600; color: var(--t-navy); }
.t-ou-t { font-size: 11px; color: var(--t-muted-2); }
.t-ou-guest { width: 32px; height: 32px; border-radius: 50%; background: #e6edf1; display: flex; align-items: center; justify-content: center; }
.t-acc-links { display: flex; flex-direction: column; padding: 6px 0; border-bottom: 1px solid var(--t-line); }
.t-acc-links a, .t-acc-out { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 10px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--t-navy); }
.t-acc-links a:hover { background: #f1f6f8; }
.t-acc-links a.adm { color: var(--t-teal); }
.t-acc-out { width: 100%; border: none; background: none; cursor: pointer; color: var(--t-red); }
.t-btn-strava { display: flex; align-items: center; gap: 8px; border: none; background: var(--t-strava); color: #fff !important; font-weight: 600; font-size: 14px; white-space: nowrap; padding: 12px clamp(14px, 1.8vw, 26px); border-radius: 999px; box-shadow: 0 4px 14px rgba(252, 76, 2, .3); cursor: pointer; }
.t-btn-strava:hover { background: #e34402; }

/* ---------- Di động: header, thanh dưới, ngăn kéo ---------- */
.t-mhdr, .t-drawer { display: none; }
@media (max-width: 860px) {
    .t-hdr, .t-chdr { display: none !important; }
    body.thr.t-solid { padding-top: 64px; }
    .t-mhdr { display: flex; position: fixed; top: 0; left: 0; right: 0; z-index: 40; align-items: center; justify-content: space-between; padding: 8px 16px; transition: background .2s, box-shadow .2s, transform .3s ease; box-sizing: border-box; }
    .t-mhdr.an { transform: translateY(-110%); box-shadow: none; }
    .t-mhdr.sc, body.t-solid .t-mhdr { background: rgba(236, 244, 251, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 4px 18px rgba(19, 48, 90, .12); }
    .t-mhdr .t-logo img { height: 44px; }
    .t-mhdr .t-logo-1 { font-size: 15px; }
    .t-mhdr .t-logo-2 { font-size: 19px; }
    .t-mhdr .t-logo-3 { font-size: 5px; gap: 3px; margin-top: 2px; }
    .t-mhdr .t-logo-3 i { height: 1px; }
    .t-mhdr.t-on-dark:not(.sc) .t-logo-1 { background: none; color: #fff; }
    .t-mhdr.t-on-dark:not(.sc) .t-logo-3 { color: #fff; }
    .t-mhdr.sc .t-logo-1, body.t-solid .t-mhdr .t-logo-1 { background: linear-gradient(180deg, #1d6f86 0%, #13305a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
    .t-mhdr.sc .t-logo-3 { color: var(--t-navy); }
    .t-mhdr-btn { position: relative; border: none; background: none; padding: 0; cursor: pointer; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
    .t-mhdr-btn img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(255, 255, 255, .85); }
    /* Số online đặt góc TRÁI ảnh: số 2–3 chữ số dài ra phía trong màn hình, không đẩy trang tràn ngang */
    .t-mhdr-btn .t-av-n { top: 1px; left: -2px; right: auto; min-width: 16px; height: 16px; font-size: 9px; padding: 0 4px; }
    .t-mhdr-burger { width: 44px; height: 44px; border: none; border-radius: 14px; background: rgba(255, 255, 255, .75); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 8px rgba(19, 48, 90, .08); }

    .t-drawer { display: block; position: fixed; inset: 0; z-index: 60; visibility: hidden; }
    .t-drawer.open { visibility: visible; }
    .t-drawer-veil { position: absolute; inset: 0; background: rgba(14, 36, 60, .45); opacity: 0; transition: opacity .2s; }
    .t-drawer.open .t-drawer-veil { opacity: 1; }
    .t-drawer-box { position: absolute; top: 0; right: 0; width: 86%; max-width: 360px; height: 100%; background: #fff; display: flex; flex-direction: column; box-shadow: -10px 0 30px rgba(14, 36, 60, .2); transform: translateX(100%); transition: transform .25s ease; }
    .t-drawer.open .t-drawer-box { transform: none; }
    .t-drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 10px; }
    .t-drawer-top b { font-family: var(--t-display); font-weight: 700; letter-spacing: .2em; font-size: 13px; color: var(--t-teal); }
    .t-x { width: 44px; height: 44px; border: none; border-radius: 14px; background: #eef3f6; display: flex; align-items: center; justify-content: center; cursor: pointer; }
    .t-drawer-body { flex: 1; overflow-y: auto; padding: 0 16px 16px; display: flex; flex-direction: column; gap: 14px; }
    .t-me { border-radius: 16px; background: var(--t-soft); padding: 12px; display: flex; flex-direction: column; gap: 12px; }
    .t-me-row { display: flex; align-items: center; gap: 12px; }
    .t-me-row img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff; }
    .t-me-n { font-weight: 600; font-size: 16px; }
    .t-me-s { font-size: 12px; color: var(--t-muted); }
    .t-me-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .t-me-2 a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; border-radius: 10px; background: #fff; font-size: 13px; font-weight: 600; }
    .t-dnav { display: flex; flex-direction: column; gap: 2px; }
    .t-dnav a, .t-dnav button { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 14px; border: none; background: none; border-radius: 12px; font-size: 15px; font-weight: 500; color: var(--t-navy); cursor: pointer; text-align: left; }
    .t-dnav a.on { font-weight: 600; color: var(--t-teal); background: #e6f4ef; }
    .t-dnav a.on svg { stroke: var(--t-teal); }
    .t-d2 { display: flex; gap: 8px; }
    .t-d2 a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; border-radius: 12px; border: 1px solid #e1eaee; font-size: 13px; font-weight: 500; color: var(--t-text-2); }
    .t-dfoot { border-top: 1px solid var(--t-line); padding-top: 12px; display: flex; flex-direction: column; gap: 2px; }
    .t-dfoot .t-online { margin: 0 0 6px 14px; }
    .t-btn-strava.blk { justify-content: center; min-height: 50px; font-size: 15px; }
}

/* ---------- Footer (theo trang chủ) ---------- */
.t-foot { background: #e8f1f3; color: var(--t-navy); border-top: 1px solid #d8e5ea; }
.t-foot-in { max-width: 1280px; margin: 0 auto; padding: 22px clamp(20px, 5vw, 100px) 18px; }
.t-foot-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid #d3e0e6; }
.t-foot-nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 14px; }
.t-foot-nav .sep { width: 1px; height: 12px; background: #c6d5dc; }
.t-foot a:hover { color: var(--t-teal); }
.t-donate { display: flex; align-items: center; gap: 6px; margin-left: 6px; padding: 7px 14px; border-radius: 999px; background: var(--t-gold-bg); border: 1px solid #f5d27a; font-weight: 600; }
.t-foot a.t-donate:hover { background: #ffe9a8; color: var(--t-navy); }
.t-soc { display: flex; align-items: center; gap: 10px; }
.t-soc a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #c6d5dc; background: #fff; display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.t-soc a:hover { background: var(--t-mint-bg); border-color: var(--t-teal); }
.t-foot-bot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 14px; font-size: 13px; color: var(--t-text-2); }
.t-foot-bot .lk { display: flex; gap: 24px; }
.t-foot-m { display: none; }
@media (max-width: 860px) {
    .t-foot-in { display: none; }
    .t-foot-m { padding: 28px 20px 28px; display: flex; flex-direction: column; gap: 18px; }
    .t-foot-m .r1 { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
    .t-foot-m .t-logo { gap: 4px; }
    .t-foot-m .t-logo img { height: 56px; }
    .t-foot-m .t-logo-1 { font-size: 18px; }
    .t-foot-m .t-logo-2 { font-size: 22px; }
    .t-foot-m .t-logo-3 { font-size: 6px; gap: 3px; margin-top: 2px; }
    .t-foot-m .t-logo-3 i { height: 1px; }
    .t-totop { width: 44px; height: 44px; flex: none; border-radius: 14px; background: #fff; border: 1px solid #d3e0e6; display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
    .t-foot-m p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--t-text-2); }
    .t-foot-m nav { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 14px rgba(19, 48, 90, .05); }
    .t-foot-m nav a { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 16px; border-bottom: 1px solid var(--t-line); font-size: 14px; font-weight: 500; }
    .t-foot-m nav a:last-child { border-bottom: none; }
    .t-foot-m .don { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--t-gold-bg); border: 1px solid #f5d27a; }
    .t-foot-m .don .ic { width: 40px; height: 40px; flex: none; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; }
    .t-foot-m .don b { display: block; font-weight: 600; font-size: 14px; }
    .t-foot-m .don small { font-size: 12px; color: var(--t-text-2); }
    .t-foot-m .don em { font-style: normal; font-weight: 700; color: var(--t-gold-text); margin-left: auto; }
    .t-foot-m .fl { display: flex; flex-direction: column; align-items: center; gap: 10px; }
    .t-foot-m .fl > div:first-child { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--t-muted); }
    .t-foot-m .t-soc { gap: 12px; justify-content: center; }
    .t-foot-m .t-soc a { width: 44px; height: 44px; }
    .t-foot-m .cp { border-top: 1px solid #d3e0e6; padding-top: 14px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: var(--t-text-2); text-align: center; }
    .t-foot-m .cp div { display: flex; gap: 16px; }
    .t-foot-m .cp a { padding: 6px 0; }
}

/* ---------- Khối dùng chung trong trang ---------- */
.t-hero-dark { position: relative; background: var(--t-dark); color: #fff; }
.t-hero-dark .t-hero-bg { position: absolute; inset: 0; overflow: hidden; }
.t-hero-dark .t-hero-bg > div { position: absolute; inset: 0; background: url('/images/ui/cta-bg.webp') center 40%/cover no-repeat; opacity: .28; }
.t-hero-dark .t-hero-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 110%, rgba(23, 152, 122, .55) 0%, rgba(14, 42, 60, 0) 60%), linear-gradient(180deg, rgba(14, 42, 60, .6) 0%, rgba(14, 42, 60, .92) 100%); }
.t-hero-body { position: relative; max-width: 1184px; margin: 0 auto; padding: 136px clamp(20px, 4vw, 48px) 48px; box-sizing: border-box; }
.t-crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--t-hero-muted); flex-wrap: wrap; }
.t-crumb a { color: var(--t-hero-muted); }
.t-crumb b { color: #fff; font-weight: 400; }
.t-h1 { margin: 0; font-family: var(--t-display); font-weight: 700; font-size: 56px; line-height: .95; color: #fff; }
.t-lead { margin: 12px 0 0; max-width: 440px; font-size: 15px; line-height: 1.6; color: var(--t-hero-text); }
@media (max-width: 860px) {
    .t-hero-body { padding: 76px 16px 28px; }
    .t-h1 { font-size: 40px; }
    .t-lead { font-size: 14px; }
}
.t-card { background: #fff; border-radius: 22px; box-shadow: var(--t-shadow); }
.t-h2 { margin: 0; font-family: var(--t-display); font-weight: 700; font-size: 28px; }
.t-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; }
.t-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border: none; border-radius: 999px; font-weight: 600; font-size: 15px; cursor: pointer; }
.t-btn-grad { background: var(--t-grad) 50% 89.5%/350% 750% no-repeat; color: #fff !important; }
.t-btn-line { border: 1.5px solid var(--t-navy); background: transparent; color: var(--t-navy); font-size: 14px; }
.t-btn-soft { background: var(--t-mint-bg); color: var(--t-teal) !important; }
.t-flash { max-width: 1184px; margin: 16px auto 0; padding: 12px 16px; border-radius: 14px; font-size: 14px; }
.t-flash.ok { background: #e6f7ef; color: #11744f; border: 1px solid #bfe3d6; }
.t-flash.err { background: #fdecec; color: #a32b2b; border: 1px solid #f3c4c4; }
.t-flash.info { background: #eaf3fb; color: var(--t-navy); border: 1px solid #cfe0ef; }
.t-empty { padding: 48px; text-align: center; border-radius: 20px; background: #fff; color: var(--t-muted); }
.t-medal { width: 26px; height: 26px; display: block; }

/* Khung luôn dùng chữ mới, kể cả trên trang cũ (body Inter) */
.t-hdr, .t-chdr, .t-mhdr, .t-drawer, .t-foot { font-family: var(--t-font); color: var(--t-navy); }
body.thr.t-new { background: var(--t-bg); font-family: var(--t-font); color: var(--t-navy); }
.t-hdr svg, .t-chdr svg, .t-mhdr svg, .t-drawer svg, .t-foot svg { display: inline-block; flex: none; }
.t-logo img { max-width: none; }

/* Tiêu đề lớn tiếng Việt VIẾT HOA có dấu trên (Ồ, Ấ) và dưới (Ị, Ạ): line-height < 1 làm dấu dòng trên
   đè dòng dưới khi tiêu đề xuống dòng. Một quy tắc chung cho mọi h1 trong trang mới. */
/* 1.04 chưa đủ: chữ 2 tầng dấu (Ổ, Ậ, Ỗ) của dòng dưới chồng lên dòng trên — đo thử 1.25 sạch, chọn 1.2 */
body.thr .t-page h1 { line-height: 1.2 !important; }

/* Thuộc tính hidden PHẢI thắng: nhiều lớp đặt display:flex/grid (vd .ct-row) ghi đè [hidden] của trình duyệt
   → tìm kiếm / lọc Nam-Nữ bằng JS (el.hidden = true) không ẩn được gì. */
.t-page [hidden], .t-drawer [hidden], .t-acc [hidden] { display: none !important; }
