/*
 * Giao diện "Đêm tím" (dem-tim) của site Loại 2 — lớp áo KẾ THỪA hero (ThemeFinder::PARENTS: dem-tim → hero → default).
 * Khung, view, script, chữ đều của hero; file này nạp SAU hero.css VÀ SAU khối biến thương hiệu (layout.skin, móc ở khung hero)
 * nên thắng cả hai: dem-tim là bảng màu cố định (tím #7C5CFF), không theo màu thương hiệu của site.
 *
 * Phong cách theo bản mẫu đã duyệt (bản phân tích + số đo nằm ở thư mục tài liệu của dự án, không đi cùng site):
 * nền xanh đen sâu #0A0B1E + hai quầng sáng tím / cyan + lưới mảnh mờ dần, tiêu đề Sora, chữ Inter, thẻ bo 16 viền mảnh, nút
 * viên thuốc + bóng tím mềm, điểm nhấn màu tiết chế (hành động, biểu tượng, số quan trọng), chuyển động 150–200 ms.
 * Bản TỐI = mẫu đo được; bản SÁNG tự thiết kế cùng gu (nền oải hương rất nhạt, cùng họ tím, tương phản AA).
 *
 * Hai khối token: :root (sáng) và [data-theme=dark] (tối) đặt CÙNG bộ biến, cùng thứ tự — vì :root của file này đứng sau khối
 * [data-theme=dark] của hero.css / BrandPalette (cùng độ ưu tiên) nên biến nào chỉ đặt cho sáng sẽ lọt vào tối (DemTimThemeTest kiểm).
 * Ngoài hai khối token: không mã màu cứng — màu chỉ qua var().
 *
 * Phông (tự host, SIL OFL — fonts/OFL-*.txt): Inter (chữ, latin + vietnamese, biến thiên 100–900); Sora (tiêu đề, CHỈ có bộ latin
 * — Sora không có chữ tiếng Việt có dấu chồng) ⇒ trang tiếng Việt dùng Be Vietnam Pro 600/700 (cùng dáng hình học, đủ dấu) cho
 * tiêu đề, trang ngôn ngữ khác dùng Sora (ký tự thiếu rơi về Be Vietnam Pro). Số / mã giữ JetBrains Mono của hero.
 */

/* ---------- Phông tự host ---------- */
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url(fonts/inter-vietnamese.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url(fonts/inter-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Sora';font-style:normal;font-weight:100 800;font-display:swap;src:url(fonts/sora-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/be-vietnam-pro-vietnamese-600.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/be-vietnam-pro-latin-600.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/be-vietnam-pro-vietnamese-700.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/be-vietnam-pro-latin-700.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ---------- Token: sáng ---------- */
:root{
    --c-bg:#f6f5fd;--c-surface:#ffffff;--c-surface-2:#f2f0fc;--c-sunken:#ebe8f8;
    --c-text:#14132b;--c-text-2:#37355c;--c-muted:#5c5a82;--c-placeholder:#8b89ad;
    --c-border:#e4e1f4;--c-border-strong:#c8c2e8;
    --c-success:#0f7a4f;--c-success-hover:#0c6943;--c-on-success:#ffffff;--c-success-bg:#e3f7ee;--c-success-text:#0b6a44;
    --c-warning:#a35a00;--c-warning-bg:#fff3dc;--c-warning-text:#7a4300;
    --c-danger:#cc2a48;--c-on-danger:#ffffff;--c-danger-bg:#fde8ec;--c-danger-text:#a8213b;
    --c-info-bg:#e6f7fb;--c-info-text:#0b6577;
    --c-primary:#6a4cf0;--c-primary-rgb:106,76,240;--c-on-primary:#ffffff;--c-on-primary-rgb:255,255,255;--c-primary-hover:#5b3de0;--c-primary-text:#5a3be0;
    --c-accent:#0e7490;--c-accent-rgb:14,116,144;--c-accent-text:#0e7490;
    --c-focus:#6a4cf0;--c-overlay:rgba(20,19,43,.5);--c-pop:0 18px 44px -12px rgba(52,40,140,.28);
    --hero-palette:dem-tim;
    --hero-acc:#5f41e6;--hero-acc-rgb:95,65,230;--hero-acc-ink:#ffffff;
    --hero-btn-bg:linear-gradient(180deg,#7254f7 0%,#6244ea 100%);--hero-btn-ink:#ffffff;--hero-btn-shadow:0 10px 26px -10px rgba(106,76,240,.6);
    --hero-glow:rgba(124,92,255,.10);--hero-page-glow:rgba(124,92,255,.14);--hero-page-glow-2:none;
    --hero-card-hero-bg:radial-gradient(420px 220px at 100% 0%,rgba(124,92,255,.16),transparent 70%),linear-gradient(160deg,#f1edff 0%,#f8f6ff 60%,#ffffff 100%);
    --hero-card-hero-line:rgba(106,76,240,.28);--hero-card-hero-shadow:0 18px 40px -26px rgba(106,76,240,.5);
    --hero-chip-on-bg:rgba(124,92,255,.10);--hero-chip-on-line:#6a4cf0;--hero-chip-on-ink:#14132b;--hero-chip-on-shadow:0 0 0 1px rgba(106,76,240,.3) inset;
    --hero-bar-fill:linear-gradient(90deg,#6a4cf0,#22b8d6);--hero-run-line:rgba(106,76,240,.3);--hero-buy:#b45309;
    --hero-bg2:#ffffff;--hero-line2:#e9e6f6;--hero-chip:#efecfb;--hero-in-line:#d6d1ee;--hero-input:#ffffff;--hero-neg:#cc2a48;--hero-why-line:rgba(204,42,72,.45);--hero-why-bg:rgba(204,42,72,.06);
    --hero-page-bg:#f6f5fd;
    --hero-glass-bg:rgba(250,249,255,.82);--hero-glass-line:rgba(40,30,110,.08);
    --hero-card-bg:#ffffff;--hero-card-line:#e4e1f4;
    --hero-shadow:0 1px 2px rgba(40,30,110,.04),0 12px 30px -22px rgba(40,30,110,.25);
    --hero-raise:0 1px 2px rgba(40,30,110,.08),0 8px 20px -8px rgba(40,30,110,.28);
    --hero-ghost-bg:transparent;--hero-ghost-line:#d6d1ee;
    --hero-in-bg:#ffffff;--hero-in-border:#d6d1ee;--hero-in-shadow:none;
    --hero-chip-bg:#ffffff;--hero-chip-line:#dcd8f0;
    --hero-seg-bg:#efecfb;--hero-seg-line:rgba(40,30,110,.05);--hero-seg-ink:#5c5a82;
    --hero-seg-on-bg:#ffffff;--hero-seg-on-ink:#14132b;--hero-seg-on-shadow:0 1px 3px rgba(40,30,110,.16);
    --hero-pf-shadow:0 0 0 1px rgba(40,30,110,.08) inset;
    --hero-bar-bg:#e8e4f8;--hero-lbl:#5f5d84;--hero-row-line:rgba(40,30,110,.07);--hero-ring-bg:rgba(40,30,110,.07);
    --hero-ok-ink:#0b6a44;--hero-ok-bg:rgba(16,185,129,.10);--hero-ok-line:rgba(16,185,129,.28);
    --hero-wait-ink:#8a4b00;--hero-wait-bg:rgba(245,158,11,.12);--hero-wait-line:rgba(245,158,11,.3);
    --hero-bad-ink:#a8213b;--hero-bad-bg:rgba(204,42,72,.08);--hero-bad-line:rgba(204,42,72,.25);
    --hero-off-ink:#5c5a82;--hero-off-bg:#efecfb;--hero-off-line:rgba(40,30,110,.06);
    --hero-thm-line:#dcd8f0;--hero-thm-bg:#efecfb;--hero-thm1-bg:#ffffff;--hero-thm1-ink:#5f41e6;
    --hero-mode-sun-bg:#ffffff;--hero-mode-sun-fg:#5f41e6;--hero-mode-sun-shadow:0 1px 3px rgba(40,30,110,.2);--hero-mode-sun-show:grid;
    --hero-mode-moon-bg:transparent;--hero-mode-moon-fg:#5c5a82;--hero-mode-moon-show:none;
    --hero-backdrop:rgba(20,19,43,.55);
    --hero-veil:rgba(20,19,43,.42);--hero-dlg-bg:#ffffff;--hero-dlg-line:#e4e1f4;--hero-dlg-shadow:0 30px 80px -24px rgba(40,30,110,.45);
    --hero-tr-line:rgba(40,30,110,.05);--hero-neg-soft:rgba(204,42,72,.10);--hero-day-bg:rgba(40,30,110,.025);--hero-tile-bg:rgba(40,30,110,.04);
    --hero-doc-code-bg:rgba(106,76,240,.08);--hero-doc-code-ink:#2b1f8f;--hero-doc-pre-bg:#f2f0fc;--hero-doc-pre-line:#e4e1f4;--hero-doc-pre-ink:#1f1d3d;--hero-doc-line:#e4e1f4;--hero-doc-row:rgba(40,30,110,.07);--hero-doc-hr:#e4e1f4;--hero-doc-note-bg:#ffffff;--hero-doc-warn-line:rgba(163,90,0,.35);--hero-doc-msg-ink:#a8213b;
    --hero-sw-bg:#d6d1ee;--hero-sw-knob:#ffffff;--hero-sw-knob-shadow:0 1px 2px rgba(20,19,43,.25);
    --dt-glow-a:rgba(124,92,255,.13);--dt-glow-b:rgba(34,184,214,.08);--dt-grid:rgba(76,62,170,.045);
    --dt-ring:rgba(106,76,240,.22);--dt-hover-line:#b9b1e6;--dt-link-hover:rgba(106,76,240,.07);--dt-btn-hover-shadow:0 12px 30px -10px rgba(106,76,240,.7);
}
/* ---------- Token: tối (= trang mẫu) ---------- */
[data-theme=dark]{
    --c-bg:#0a0b1e;--c-surface:#12142e;--c-surface-2:#191c3a;--c-sunken:#0e1026;
    --c-text:#edeeff;--c-text-2:#c9cbef;--c-muted:#9fa2cc;--c-placeholder:#8e93bc;
    --c-border:#262b52;--c-border-strong:#3b4175;
    --c-success:#13805a;--c-success-hover:#0f6e4d;--c-on-success:#ffffff;--c-success-bg:rgba(70,232,160,.12);--c-success-text:#46e8a0;
    --c-warning:#d18b2c;--c-warning-bg:rgba(255,200,87,.12);--c-warning-text:#ffc857;
    --c-danger:#d6304f;--c-on-danger:#ffffff;--c-danger-bg:rgba(255,107,128,.14);--c-danger-text:#ff6b80;
    --c-info-bg:rgba(55,229,255,.12);--c-info-text:#7deeff;
    --c-primary:#7656ff;--c-primary-rgb:118,86,255;--c-on-primary:#ffffff;--c-on-primary-rgb:255,255,255;--c-primary-hover:#6b4bf4;--c-primary-text:#a993ff;
    --c-accent:#37e5ff;--c-accent-rgb:55,229,255;--c-accent-text:#37e5ff;
    --c-focus:#9b82ff;--c-overlay:rgba(3,4,14,.7);--c-pop:0 20px 50px -12px rgba(0,0,0,.7);
    --hero-palette:dem-tim;
    --hero-acc:#9b82ff;--hero-acc-rgb:155,130,255;--hero-acc-ink:#0a0b1e;
    --hero-btn-bg:linear-gradient(180deg,#7656ff 0%,#6b4bf4 100%);--hero-btn-ink:#ffffff;--hero-btn-shadow:0 10px 30px -8px rgba(124,92,255,.6);
    --hero-glow:rgba(124,92,255,.14);--hero-page-glow:rgba(124,92,255,.18);--hero-page-glow-2:none;
    --hero-card-hero-bg:radial-gradient(420px 220px at 100% 0%,rgba(124,92,255,.28),transparent 70%),linear-gradient(160deg,#1d1846 0%,#16163b 55%,#111330 100%);
    --hero-card-hero-line:rgba(124,92,255,.45);--hero-card-hero-shadow:0 20px 60px -20px rgba(124,92,255,.45);
    --hero-chip-on-bg:rgba(124,92,255,.18);--hero-chip-on-line:rgba(155,130,255,.7);--hero-chip-on-ink:#f3f0ff;--hero-chip-on-shadow:0 6px 18px -10px rgba(124,92,255,.7);
    --hero-bar-fill:linear-gradient(90deg,#7c5cff,#37e5ff);--hero-run-line:rgba(155,130,255,.35);--hero-buy:#ffc857;
    --hero-bg2:#0d0f26;--hero-line2:#1e2246;--hero-chip:#1d2045;--hero-in-line:#2c3160;--hero-input:#0f1129;--hero-neg:#ff6b80;--hero-why-line:rgba(255,107,128,.55);--hero-why-bg:rgba(255,107,128,.08);
    --hero-page-bg:#0a0b1e;
    --hero-glass-bg:rgba(10,11,30,.72);--hero-glass-line:rgba(38,43,82,.8);
    --hero-card-bg:rgba(18,20,46,.72);--hero-card-line:#262b52;
    --hero-shadow:0 1px 0 rgba(255,255,255,.03) inset,0 18px 40px -28px rgba(0,0,0,.9);
    --hero-raise:0 1px 0 rgba(255,255,255,.05) inset,0 10px 24px -10px rgba(0,0,0,.85);
    --hero-ghost-bg:transparent;--hero-ghost-line:#262b52;
    --hero-in-bg:#12142e;--hero-in-border:#262b52;--hero-in-shadow:none;
    --hero-chip-bg:rgba(18,20,46,.7);--hero-chip-line:#262b52;
    --hero-seg-bg:rgba(18,20,46,.7);--hero-seg-line:#262b52;--hero-seg-ink:#9fa2cc;
    --hero-seg-on-bg:#262b52;--hero-seg-on-ink:#ffffff;--hero-seg-on-shadow:0 6px 14px -8px rgba(0,0,0,.8);
    --hero-pf-shadow:0 0 0 1px rgba(255,255,255,.06) inset;
    --hero-bar-bg:rgba(255,255,255,.07);--hero-lbl:#8e93bc;--hero-row-line:rgba(38,43,82,.7);--hero-ring-bg:rgba(255,255,255,.07);
    --hero-ok-ink:#46e8a0;--hero-ok-bg:rgba(70,232,160,.12);--hero-ok-line:rgba(70,232,160,.28);
    --hero-wait-ink:#ffc857;--hero-wait-bg:rgba(255,200,87,.12);--hero-wait-line:rgba(255,200,87,.28);
    --hero-bad-ink:#ff6b80;--hero-bad-bg:rgba(255,107,128,.12);--hero-bad-line:rgba(255,107,128,.3);
    --hero-off-ink:#9fa2cc;--hero-off-bg:#1d2045;--hero-off-line:rgba(255,255,255,.06);
    --hero-thm-line:#262b52;--hero-thm-bg:rgba(18,20,46,.7);--hero-thm1-bg:rgba(18,20,46,.7);--hero-thm1-ink:#edeeff;
    --hero-mode-sun-bg:transparent;--hero-mode-sun-fg:#9fa2cc;--hero-mode-sun-shadow:none;--hero-mode-sun-show:none;
    --hero-mode-moon-bg:#262b52;--hero-mode-moon-fg:#ffffff;--hero-mode-moon-show:grid;
    --hero-backdrop:rgba(3,4,14,.72);
    --hero-veil:rgba(5,6,18,.7);--hero-dlg-bg:#12142e;--hero-dlg-line:#2c3160;--hero-dlg-shadow:0 30px 80px -20px rgba(0,0,0,.9),0 20px 60px -30px rgba(124,92,255,.35);
    --hero-tr-line:rgba(38,43,82,.6);--hero-neg-soft:rgba(255,107,128,.12);--hero-day-bg:rgba(255,255,255,.025);--hero-tile-bg:rgba(255,255,255,.04);
    --hero-doc-code-bg:rgba(124,92,255,.14);--hero-doc-code-ink:#e3dcff;--hero-doc-pre-bg:#070818;--hero-doc-pre-line:#1e2246;--hero-doc-pre-ink:#d6d8f5;--hero-doc-line:#1e2246;--hero-doc-row:rgba(38,43,82,.6);--hero-doc-hr:#1e2246;--hero-doc-note-bg:rgba(18,20,46,.7);--hero-doc-warn-line:rgba(255,200,87,.35);--hero-doc-msg-ink:#ff8fa0;
    --hero-sw-bg:#262b52;--hero-sw-knob:#9fa2cc;--hero-sw-knob-shadow:none;
    --dt-glow-a:rgba(124,92,255,.18);--dt-glow-b:rgba(55,229,255,.10);--dt-grid:rgba(124,132,255,.055);
    --dt-ring:rgba(124,92,255,.35);--dt-hover-line:#3d4380;--dt-link-hover:rgba(255,255,255,.04);--dt-btn-hover-shadow:0 14px 34px -8px rgba(124,92,255,.75);
}

/* ---------- Cỡ + phông (không phải màu) ---------- */
html.theme-hero{--r-lg:16px;--r:12px;--r-sm:10px;--font:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;--dt-head:'Sora','Be Vietnam Pro','Inter',system-ui,sans-serif}
html.theme-hero:lang(vi){--dt-head:'Be Vietnam Pro','Inter',system-ui,sans-serif}
.theme-hero body{font-family:var(--font);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.theme-hero h1,.theme-hero h2,.theme-hero h3,.theme-hero .h1,.theme-hero .h2,.theme-hero .h3,.theme-hero .g,.theme-hero .ha-title,.theme-hero .hd-head>b,.theme-hero .hc-title,.theme-hero .brand-name{font-family:var(--dt-head);letter-spacing:-.02em}
.theme-hero .hero-head h1{font-weight:700;letter-spacing:-.025em}
.theme-hero .m{font-family:var(--font)}

/* ---------- Nền: hai quầng sáng (tím phải trên, cyan trái) + lưới mảnh mờ dần từ đỉnh trang ---------- */
.theme-hero body{background-color:var(--c-bg);background-image:radial-gradient(960px 640px at 72% -180px,var(--dt-glow-a),transparent 60%),radial-gradient(800px 576px at 8% 40px,var(--dt-glow-b),transparent 55%),radial-gradient(1400px 820px at 50% -120px,transparent 0,transparent 35%,var(--c-bg) 78%),linear-gradient(var(--dt-grid) 1px,transparent 1px),linear-gradient(90deg,var(--dt-grid) 1px,transparent 1px);background-size:auto,auto,auto,56px 56px,56px 56px;background-repeat:no-repeat,no-repeat,no-repeat,repeat,repeat;background-position:0 0,0 0,0 0,-1px -1px,-1px -1px}

/* ---------- Thành phần ---------- */
/* Thẻ: bo 16, viền mảnh; thẻ bấm được đổi viền khi rê. */
.theme-hero .hero-card{border-radius:16px}
.theme-hero .card2{border-radius:16px}
.theme-hero a.hero-card:hover,.theme-hero .hero-card.is-link:hover{border-color:var(--dt-hover-line)}
.theme-hero .hd-panel{border-radius:20px}

/* Nút: viên thuốc; nút chính tím + bóng tím mềm, nút phụ trong suốt viền mảnh. */
.theme-hero .btn{--bs-btn-border-radius:999px}
.theme-hero .btn.hero-btn,.theme-hero .btn.hero-ghost,.theme-hero .btn.hero-btn.sm,.theme-hero .btn.hero-ghost.sm,.theme-hero .error-page .btn,.theme-hero .hc-acts .btn{border-radius:999px}
.theme-hero .hero-lang button{border-radius:999px;padding:0 12px}
.theme-hero .btn.hero-btn,.theme-hero .btn.hero-ghost{padding-left:22px;padding-right:22px}
.theme-hero .btn.hero-btn.sm,.theme-hero .btn.hero-ghost.sm{padding-left:14px;padding-right:14px}
.theme-hero .btn-primary:hover{filter:none;box-shadow:var(--dt-btn-hover-shadow)}
.theme-hero .btn.hero-ghost:hover,.theme-hero .btn-white:hover,.theme-hero .btn-light:hover{border-color:var(--dt-hover-line);background-color:var(--dt-link-hover)}

/* Ô nhập: bo 12, viền mảnh, tiêu điểm viền tím + vòng sáng. */
.theme-hero .form-control,.theme-hero .form-select{border-radius:12px}
.theme-hero .form-control.hero-in{border-radius:12px}
.theme-hero .form-control:focus,.theme-hero .form-select:focus{border-color:var(--c-focus);box-shadow:0 0 0 3px var(--dt-ring)}
.theme-hero .form-control.is-invalid:focus,.theme-hero .form-select.is-invalid:focus{border-color:var(--c-danger);box-shadow:0 0 0 3px var(--hero-neg-soft)}

/* Viên thuốc phân đoạn (đăng nhập | mở tài khoản, thanh phụ điện thoại). */
.theme-hero .hero-seg{border-radius:999px}
.theme-hero .hero-seg a,.theme-hero .ac-seg button{border-radius:999px}
@media (max-width:599.98px){
  .theme-hero .hero-sub{border-radius:999px}
  .theme-hero .hero-sub a,.theme-hero .hero-sub a:hover{border-radius:999px}
}

/* Thanh trên: kính tối, mục chữ phẳng như mẫu; mục đang mở chữ sáng + nền viên thuốc nhạt. */
.theme-hero .hero-link{border-radius:999px}
.theme-hero .hero-link:hover{background:var(--dt-link-hover)}
.theme-hero .mark{border-radius:10px;border-color:var(--hero-acc);color:var(--hero-acc);box-shadow:0 0 0 4px var(--hero-glow)}
/* Logo mặc định (layout.brand-mark của dem-tim): biểu tượng 4 chấm, không khung, không quầng. */
.theme-hero .mark.dt-logo{border:0;background:none;box-shadow:none;border-radius:0;display:grid;place-items:center}
.theme-hero .mark.dt-logo svg{width:100%;height:100%;display:block}
/* Cỡ như mẫu: biểu tượng ~26px, cách chữ 12px, tên site 18px đậm. */
.theme-hero .hero-brand .mark.dt-logo{width:26px;height:26px}
.theme-hero .hero-brand:has(.dt-logo){gap:12px}
.theme-hero .hero-brand:has(.dt-logo) .brand-name{font-size:18px}
/* Thanh khách trên điện thoại: mẫu vẫn hiện tên cạnh biểu tượng (hero ẩn tên < 768px). Một dòng, dài thì cắt "…". */
@media (max-width:767.98px){
  .theme-hero .hero-gbar .hero-brand:has(.dt-logo){min-width:0;flex:1 1 auto}
  .theme-hero .hero-gbar .hero-brand:has(.dt-logo) .brand-name{display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}

/* Màn xác thực: dòng nhỏ trên tiêu đề thành nhãn viên thuốc có chấm cyan; tiêu đề lớn chuyển dần từ chữ chính sang tím (như mẫu). */
.theme-hero .ha-kick{display:inline-flex;align-items:center;gap:8px;padding:5px 12px;border:1px solid var(--hero-run-line);border-radius:999px;background:var(--hero-glow);font-size:12px;letter-spacing:.06em}
.theme-hero .ha-kick::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--c-accent);flex:none}
.theme-hero .ha-title{margin-top:16px;color:var(--c-text);background:linear-gradient(180deg,var(--c-text) 30%,var(--hero-acc) 105%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
@media (forced-colors:active){.theme-hero .ha-title{-webkit-text-fill-color:currentColor;background:none}}

/* Vòng tiêu điểm bàn phím rõ trên nền tối. */
.theme-hero :focus-visible{outline-color:var(--c-focus)}

/* Chuyển động 150–200 ms (màu / viền / bóng), tắt khi hệ thống yêu cầu giảm chuyển động. */
@media (prefers-reduced-motion:no-preference){
  .theme-hero a,.theme-hero .hero-link,.theme-hero .hero-chip,.theme-hero .hero-sub a,.theme-hero .hero-seg a,.theme-hero .hero-card,.theme-hero .form-control,.theme-hero .form-select,.theme-hero .hero-bal,.theme-hero .hero-av{transition:color .15s ease,background-color .15s ease,border-color .15s ease,box-shadow .15s ease}
  .theme-hero .btn{transition:color .2s ease,background-color .2s ease,border-color .2s ease,box-shadow .2s ease,transform .15s ease}
}
@media (prefers-reduced-motion:reduce){
  .theme-hero *,.theme-hero *::before,.theme-hero *::after{transition:none!important;animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}
}
/* Chỉ tiếng Anh (chủ 30/11): màn Nội dung trang ẩn ô tiếng Việt ⇒ lưới 2 cột còn một cột. */
.theme-hero .sc-2>[hidden]{display:none}
.theme-hero .sc-2:has(>[hidden]){grid-template-columns:minmax(0,1fr)}
/* Nghiệm thu Codex lần 1 (30/11): "Gửi lại" chỉ cao ~18px trên điện thoại ⇒ vùng bấm tối thiểu 44px, dạng viên thuốc như nút phụ. */
.theme-hero .sc-resend,.theme-hero .hc-resend{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 14px;margin:0 -14px;border-radius:999px;text-decoration:none}
.theme-hero .sc-resend:hover,.theme-hero .hc-resend:hover,.theme-hero .sc-resend:focus-visible,.theme-hero .hc-resend:focus-visible{background:rgba(var(--hero-acc-rgb),.12);text-decoration:none}
