/*
 * Giao diện chung video.addlivetag.com (index, about) - 10/2026.
 * Chỉ override biến của Bootstrap 5.3 + vài component riêng, không build step.
 * Dark mode: <html data-bs-theme="dark"> (mặc định sáng; script nhỏ trong <head> chỉ đổi sang tối khi localStorage theme=dark).
 */

:root,
[data-bs-theme="light"] {
    --brand: #EE4D2D;
    --brand-hover: #D73211;
    --brand-subtle: #FFF1EC;
    --brand-border: #FDCBB8;
    --brand-ink: #C2410C;

    --app-bg: #F6F6F7;
    --surface: #FFFFFF;
    --surface-2: #FAFAFA;
    --border: #E6E6EA;
    --text: #18181B;
    --text-muted: #5B5B66;
    --text-faint: #71717A;

    --ok: #15803D;      --ok-bg: #ECFDF3;
    --warn: #B45309;    --warn-bg: #FFFBEB;
    --bad: #B91C1C;     --bad-bg: #FEF2F2;
    --info: #1D4ED8;    --info-bg: #EFF6FF;
    --neutral: #52525B; --neutral-bg: #F4F4F5;

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 4px 16px rgba(0, 0, 0, .05);
    --tap: 44px;

    --bs-body-font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --bs-body-font-size: 1rem;
    --bs-body-bg: var(--app-bg);
    --bs-body-color: var(--text);
    --bs-secondary-color: var(--text-muted);
    --bs-border-color: var(--border);
    --bs-link-color: var(--brand-ink);
    --bs-link-color-rgb: 194, 65, 12;
    --bs-link-hover-color: var(--brand-hover);
    --bs-link-hover-color-rgb: 215, 50, 17;
    --bs-primary: var(--brand);
    --bs-primary-rgb: 238, 77, 45;
    --bs-focus-ring-color: rgba(238, 77, 45, .3);
}

[data-bs-theme="dark"] {
    --brand-subtle: #3A1A10;
    --brand-border: #6B2A16;
    --brand-ink: #FF8A65;

    --app-bg: #0F0F12;
    --surface: #18181C;
    --surface-2: #1F1F24;
    --border: #2A2A31;
    --text: #F4F4F5;
    --text-muted: #A1A1AA;
    --text-faint: #8B8B95;

    --ok: #4ADE80;      --ok-bg: #0F2A1A;
    --warn: #FBBF24;    --warn-bg: #2A2110;
    --bad: #F87171;     --bad-bg: #2C1414;
    --info: #93C5FD;    --info-bg: #13213A;
    --neutral: #A1A1AA; --neutral-bg: #232329;

    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 16px rgba(0, 0, 0, .25);

    --bs-body-bg: var(--app-bg);
    --bs-body-color: var(--text);
    --bs-secondary-color: var(--text-muted);
    --bs-border-color: var(--border);
    --bs-link-color: var(--brand-ink);
    --bs-link-color-rgb: 255, 138, 101;
}

body {
    background: var(--app-bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

.app-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 16px 48px;
}

/* ---------- Header ---------- */
.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 0;
}

.app-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
}

.app-logo:hover { color: var(--text); }

.app-logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--brand);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 18px;
}

.app-nav { display: flex; align-items: center; gap: 4px; }

.btn-ghost {
    min-height: 40px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    background: transparent;
    border: 0;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-ghost:hover { background: var(--neutral-bg); color: var(--text); }
.btn-ghost { white-space: nowrap; }
.app-logo span:last-child { white-space: nowrap; }

@media (max-width: 400px) {
    .app-nav .hide-xs { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: 8px 0 20px; }

.hero h1 {
    font-size: 28px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -.01em;
    margin: 0 0 8px;
}

.hero p.lead {
    font-size: 16px;
    color: var(--text-muted);
    margin: 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 20px;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.steps li {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
    font-size: 14px;
    color: var(--text-muted);
    counter-increment: step;
}

.steps li::before {
    content: counter(step);
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 12px;
    background: var(--brand-subtle);
    color: var(--brand-ink);
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 6px;
}

.steps strong { display: block; color: var(--text); font-size: 15px; }

@media (max-width: 575.98px) {
    .hero h1 { font-size: 24px; }
    .steps { grid-template-columns: 1fr; }
    .steps li { display: flex; gap: 10px; align-items: flex-start; }
    .steps li::before { flex: 0 0 24px; margin: 0; }
}

/* ---------- Card ---------- */
.card-app {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 20px;
    margin-bottom: 16px;
}

.card-app > h2,
.section-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-sub { color: var(--text-muted); font-size: 14px; margin: 0 0 16px; }

@media (max-width: 575.98px) {
    .card-app { padding: 16px; border-radius: var(--radius); }
}

/* ---------- Form ---------- */
.form-label { font-weight: 600; font-size: 15px; margin-bottom: 6px; }

.form-control,
.form-select {
    min-height: var(--tap);
    border-radius: var(--radius-sm);
    border-color: var(--border);
    background-color: var(--surface);
    color: var(--text);
    font-size: 16px; /* >= 16px để iOS không tự zoom khi focus */
}

.form-control:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 .2rem rgba(238, 77, 45, .18);
}

textarea.form-control { min-height: 120px; }

.form-text { color: var(--text-faint); font-size: 13px; }

.btn-brand {
    min-height: var(--tap);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    background: var(--brand);
    border: 1px solid var(--brand);
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-brand:hover,
.btn-brand:focus-visible { background: var(--brand-hover); border-color: var(--brand-hover); color: #fff; }
.btn-brand:disabled { opacity: .65; color: #fff; }

.btn-soft {
    min-height: 40px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    background: var(--neutral-bg);
    border: 1px solid transparent;
    color: var(--text);
    font-weight: 500;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-soft:hover { border-color: var(--border); background: var(--surface-2); color: var(--text); }
.btn-soft.brand { background: var(--brand-subtle); color: var(--brand-ink); }
.btn-soft.brand:hover { border-color: var(--brand-border); }
.btn-soft.danger:hover { color: var(--bad); border-color: var(--bad); }

@media (max-width: 575.98px) {
    .btn-block-sm { width: 100%; }
}

/* ---------- Notices ---------- */
.notice {
    border-radius: var(--radius);
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.55;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--text-muted);
}

.notice i { font-size: 18px; line-height: 1.2; flex: 0 0 auto; }
.notice.info { background: var(--info-bg); border-color: transparent; color: var(--text); }
.notice.info i { color: var(--info); }
.notice.warn { background: var(--warn-bg); border-color: transparent; color: var(--text); }
.notice.warn i { color: var(--warn); }
.notice.brand { background: var(--brand-subtle); border-color: var(--brand-border); color: var(--text); }
.notice.brand i { color: var(--brand-ink); }
.notice.ok { background: var(--ok-bg); border-color: transparent; color: var(--text); }
.notice.ok i { color: var(--ok); }
.notice.bad { background: var(--bad-bg); border-color: transparent; color: var(--text); }
.notice.bad i { color: var(--bad); }
.notice .notice-close { margin-left: auto; background: none; border: 0; color: inherit; opacity: .6; padding: 0 2px; }

details.howto summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: var(--brand-ink);
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
}

details.howto summary::-webkit-details-marker { display: none; }
details.howto summary::after { content: "\F282"; font-family: "bootstrap-icons"; margin-left: auto; transition: transform .2s; }
details.howto[open] summary::after { transform: rotate(180deg); }
details.howto ol { margin: 8px 0 0; padding-left: 20px; font-size: 14px; color: var(--text-muted); line-height: 1.7; }

code.chip {
    background: var(--neutral-bg);
    color: var(--text);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 13px;
}

/* ---------- Registration card ---------- */
.reg-list { display: grid; gap: 12px; }

.reg {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    overflow: hidden;
    transition: box-shadow .2s, border-color .2s;
}

.reg.is-target { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(238, 77, 45, .18); }

.reg-head { display: flex; gap: 12px; align-items: center; padding: 14px 16px; }

.reg-avatar {
    width: 44px;
    height: 44px;
    border-radius: 22px;
    background: var(--neutral-bg);
    color: var(--text-faint);
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    overflow: hidden;
    font-size: 20px;
}

.reg-avatar img { width: 100%; height: 100%; object-fit: cover; }

.reg-name { font-weight: 600; font-size: 16px; line-height: 1.3; word-break: break-all; }
.reg-name .bi-patch-check-fill { color: var(--info); font-size: 14px; }
.reg-meta { color: var(--text-faint); font-size: 13px; }
.reg-head .ms-auto { flex: 0 0 auto; }

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.pill::before { content: ""; width: 7px; height: 7px; border-radius: 4px; background: currentColor; }
.pill.s-completed { background: var(--ok-bg); color: var(--ok); }
.pill.s-processing { background: var(--warn-bg); color: var(--warn); }
.pill.s-pending { background: var(--neutral-bg); color: var(--neutral); }
.pill.s-cart_lost { background: var(--bad-bg); color: var(--bad); }
.pill.s-failed { background: var(--neutral-bg); color: var(--neutral); }

.reg-explain { padding: 0 16px 12px; font-size: 14px; color: var(--text-muted); }

.reg-body { border-top: 1px solid var(--border); padding: 12px 16px; display: grid; gap: 12px; }

.kv { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--text-muted); }
.kv b { color: var(--text); font-weight: 600; }

.progress-ch { height: 8px; border-radius: 4px; background: var(--neutral-bg); overflow: hidden; }
.progress-ch > span { display: block; height: 100%; background: var(--brand); border-radius: 4px; }
.progress-ch.done > span { background: var(--ok); }

.ch-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ch-chip {
    font-size: 13px;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--text-muted);
}
.ch-chip b { color: var(--text); }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: 14px; }
.checklist .ic { flex: 0 0 20px; width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; font-size: 12px; margin-top: 1px; }
.checklist .ic.pass { background: var(--ok-bg); color: var(--ok); }
.checklist .ic.fail { background: var(--bad-bg); color: var(--bad); }
.checklist .ic.nodata { background: var(--warn-bg); color: var(--warn); }
.checklist .ic.unknown { background: var(--neutral-bg); color: var(--neutral); }
.checklist .tag { font-size: 12px; font-weight: 600; margin-left: auto; white-space: nowrap; padding-left: 8px; }
.checklist .tag.pass { color: var(--ok); }
.checklist .tag.fail { color: var(--bad); }
.checklist .tag.nodata { color: var(--warn); }
.checklist .tag.unknown { color: var(--text-faint); }
.checklist .det { display: block; color: var(--text-faint); font-size: 13px; }

.reg-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border); background: var(--surface-2); }
.reg-actions .ms-auto { margin-left: auto; }

.reg-toggle {
    width: 100%;
    background: none;
    border: 0;
    border-top: 1px solid var(--border);
    min-height: var(--tap);
    color: var(--brand-ink);
    font-weight: 600;
    font-size: 14px;
}

.reg-head > .min-w-0 { flex: 1 1 0; }

@media (max-width: 575.98px) {
    .reg-head { flex-wrap: wrap; row-gap: 6px; }
    .reg-head .ms-auto { flex-basis: 100%; margin-left: 56px !important; }
}

/* ---------- Skeleton ---------- */
.skel { border-radius: var(--radius); height: 96px; background: linear-gradient(90deg, var(--neutral-bg) 25%, var(--surface-2) 50%, var(--neutral-bg) 75%); background-size: 200% 100%; animation: skel 1.2s infinite; }
@keyframes skel { to { background-position: -200% 0; } }

@media (prefers-reduced-motion: reduce) {
    .skel { animation: none; }
    * { transition: none !important; }
}

/* ---------- Journey ---------- */
.journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.journey .lv { border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; background: var(--surface-2); }
.journey .lv h3 { font-size: 15px; font-weight: 700; margin: 0 0 2px; }
.journey .lv .cap { font-size: 22px; font-weight: 700; color: var(--brand-ink); line-height: 1.2; }
.journey .lv .cap small { font-size: 13px; color: var(--text-faint); font-weight: 500; }
.journey .lv ul { padding-left: 18px; margin: 8px 0 0; font-size: 13px; color: var(--text-muted); }

@media (max-width: 575.98px) {
    .journey { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.app-footer { color: var(--text-faint); font-size: 13px; text-align: center; padding-top: 8px; line-height: 1.6; }
.app-footer a { color: var(--text-muted); }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 4px; background: var(--ok); margin-right: 4px; vertical-align: middle; }
.status-dot.stale { background: var(--warn); }

.modal-content { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.modal-header, .modal-footer { border-color: var(--border); }

/* ---------- Article (about.php) ---------- */
.prose h2 { font-size: 20px; font-weight: 700; margin: 24px 0 8px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text-muted); line-height: 1.7; }
.prose strong { color: var(--text); }
.accordion { --bs-accordion-bg: var(--surface); --bs-accordion-border-color: var(--border); --bs-accordion-active-bg: var(--brand-subtle); --bs-accordion-active-color: var(--text); --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(238, 77, 45, .18); }
.accordion-button { font-weight: 600; min-height: var(--tap); }
.min-w-0 { min-width: 0; }

a.btn-soft { text-decoration: none; }

/* ---------- Trang chủ v2 (31/10/2026): hero band + 2 cột ---------- */
.app-wrap.wide { max-width: 1120px; }

.hero-band {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    padding: 32px;
    margin: 4px 0 20px;
    color: #fff;
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(255, 196, 120, .45) 0%, transparent 55%),
        linear-gradient(135deg, #EE4D2D 0%, #F0632F 45%, #D73211 100%);
    box-shadow: 0 10px 30px rgba(238, 77, 45, .25);
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 28px;
    align-items: center;
}

.hero-band::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    pointer-events: none;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    margin-bottom: 14px;
}

.hero-band h1 {
    font-size: 36px;
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -.02em;
    margin: 0 0 12px;
}

.hero-band h1 .hl { color: #FFE8A3; }
.hero-band .lead { font-size: 17px; color: rgba(255, 255, 255, .92); margin: 0 0 20px; max-width: 560px; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-cta .btn-brand { background: #fff; color: var(--brand-hover); border-color: #fff; text-decoration: none; padding: 10px 22px; }
.hero-cta .btn-brand:hover { background: #FFF1EC; color: var(--brand-hover); }
.hero-cta .btn-soft { background: rgba(255, 255, 255, .16); color: #fff; min-height: var(--tap); padding: 10px 18px; font-size: 16px; }
.hero-cta .btn-soft:hover { background: rgba(255, 255, 255, .26); border-color: transparent; color: #fff; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: 14px; color: rgba(255, 255, 255, .9); }
.hero-stats .stat { display: inline-flex; align-items: center; gap: 6px; }
.hero-stats b { font-size: 18px; color: #fff; }
.hero-stats .status-dot { background: #86EFAC; box-shadow: 0 0 0 3px rgba(134, 239, 172, .3); }
.hero-stats .status-dot.stale { background: #FDE68A; }

.hero-band .steps { grid-template-columns: 1fr; margin: 0; position: relative; z-index: 1; }
.hero-band .steps li {
    display: flex;
    gap: 12px;
    align-items: center;
    background: rgba(255, 255, 255, .96);
    border: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
    padding: 14px 16px;
}
.hero-band .steps li::before { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 16px; margin: 0; background: var(--brand); color: #fff; font-size: 15px; }
.hero-band .steps li { color: #5B5B66; }
.hero-band .steps strong { color: #18181B; }

[data-bs-theme="dark"] .hero-band { background: linear-gradient(135deg, #7A2210 0%, #9A3412 55%, #5A1A0C 100%); box-shadow: none; }
[data-bs-theme="dark"] .hero-band .steps li { background: rgba(24, 24, 28, .9); color: var(--text-muted); }
[data-bs-theme="dark"] .hero-band .steps strong { color: var(--text); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
.layout-side { position: sticky; top: 16px; }

.criteria .crit-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 4px; }
.criteria .crit-list li { display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--border); }
.criteria .crit-list li:last-child { border-bottom: 0; }
.criteria .crit-list i { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-subtle); color: var(--brand-ink); font-size: 17px; }
.criteria .crit-list b { display: block; font-size: 14px; }
.criteria .crit-list span { display: block; font-size: 13px; color: var(--text-faint); line-height: 1.4; }
.criteria .crit-list em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--neutral-bg); color: var(--neutral); white-space: nowrap; }
.criteria .crit-list em.auto { background: var(--ok-bg); color: var(--ok); }

.card-app > h2 i { color: var(--brand-ink); }

/* Lộ trình: thẻ có dải màu, mũi tên nối các cấp */
#lo-trinh .journey { gap: 14px; }
#lo-trinh .journey .lv { position: relative; background: var(--surface); padding: 16px; border-top: 4px solid var(--border); }
#lo-trinh .journey .lv-lv0 { border-top-color: #A1A1AA; }
#lo-trinh .journey .lv-lv1 { border-top-color: #F59E0B; }
#lo-trinh .journey .lv-lv2 { border-top-color: var(--brand); background: linear-gradient(180deg, var(--brand-subtle), var(--surface) 60%); }
#lo-trinh .journey .lv .cap { font-size: 28px; }
@media (min-width: 576px) {
    #lo-trinh .journey .lv:not(:last-child)::after {
        content: "\F285";
        font-family: "bootstrap-icons";
        position: absolute;
        right: -13px;
        top: 50%;
        transform: translateY(-50%);
        width: 22px;
        height: 22px;
        border-radius: 11px;
        background: var(--surface);
        border: 1px solid var(--border);
        display: grid;
        place-items: center;
        font-size: 11px;
        color: var(--text-faint);
        z-index: 1;
    }
}

.card-app { transition: box-shadow .2s; }
.form-control:hover { border-color: #D4D4D8; }
[data-bs-theme="dark"] .form-control:hover { border-color: #3F3F46; }

@media (max-width: 991.98px) {
    .layout { grid-template-columns: 1fr; }
    .layout-side { position: static; }
    .hero-band { grid-template-columns: 1fr; padding: 24px; }
}

@media (max-width: 575.98px) {
    .hero-band { padding: 20px; border-radius: var(--radius-lg); gap: 18px; }
    .hero-band h1 { font-size: 26px; }
    .hero-band .lead { font-size: 15px; }
    .hero-cta > * { flex: 1 1 auto; }
    .hero-band .steps li { padding: 10px 12px; }
}

@media (max-width: 640px) {
    .app-nav .hide-sm { display: none; }
}

/* ---------- Xác minh email (magic link) ---------- */
.verify-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    padding: 12px 14px;
    margin-bottom: 12px;
    border-radius: var(--radius);
    border: 1px dashed var(--brand-border);
    background: var(--brand-subtle);
    font-size: 14px;
}
.verify-bar > i { font-size: 20px; color: var(--brand-ink); }
.verify-bar strong { display: block; }
.verify-bar span { color: var(--text-muted); }
.verify-bar .flex-grow-1 { flex: 1 1 240px; min-width: 0; }
.verify-bar > i { flex: 0 0 auto; }

.verified-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ok);
    background: var(--ok-bg);
    padding: 4px 10px;
    border-radius: 999px;
}

.verify-icon {
    width: 56px;
    height: 56px;
    border-radius: 28px;
    margin: 0 auto;
    display: grid;
    place-items: center;
    font-size: 26px;
    background: var(--brand-subtle);
    color: var(--brand-ink);
}
.verify-icon.bad { background: var(--bad-bg); color: var(--bad); }

/* ---------- About v2 ---------- */
.hero-band-sm { grid-template-columns: 1fr; padding: 28px 32px; }
.hero-band-sm h1 { font-size: 30px; max-width: 760px; }

.layout-doc { grid-template-columns: 240px minmax(0, 1fr); }
.layout-doc .layout-side { order: 0; }
.toc nav { padding: 12px; }
.toc .toc-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-faint); padding: 4px 10px 8px; }
.toc a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--radius-sm); color: var(--text-muted); text-decoration: none; font-size: 14px; }
.toc a:hover { background: var(--brand-subtle); color: var(--brand-ink); }
.toc a i { color: var(--text-faint); }
.toc a:hover i { color: var(--brand-ink); }

.how-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 12px; }
.how { border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; background: var(--surface-2); }
.how .n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 14px; background: var(--brand); color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.how b { display: block; margin-bottom: 2px; }
.how p { margin: 0; font-size: 14px; color: var(--text-muted); }

.prose h2 i { color: var(--brand-ink); }
.prose h2 { display: flex; align-items: center; gap: 8px; font-size: 18px; }
section[id], article[id] { scroll-margin-top: 16px; }

.cta-band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    border-radius: var(--radius-lg);
    background: var(--brand-subtle);
    border: 1px solid var(--brand-border);
    margin-bottom: 16px;
}
.cta-band h2 { font-size: 20px; font-weight: 700; margin: 0 0 4px; }
.cta-band p { margin: 0; color: var(--text-muted); font-size: 14px; }
.cta-band .btn-brand { text-decoration: none; }

@media (max-width: 991.98px) {
    .layout-doc { grid-template-columns: 1fr; }
    .toc { display: none; }
}
@media (max-width: 575.98px) {
    .hero-band-sm { padding: 20px; }
    .hero-band-sm h1 { font-size: 24px; }
    .how-grid { grid-template-columns: 1fr; }
    .cta-band .btn-brand { width: 100%; }
}
