:root {
    /* Binance 系：深底 #0B0E11 + 琥珀金 #F0B90B + 青绿点缀 #0ECB81 */
    --primary-color: #f0b90b;
    --primary-dark: #d4a008;
    --primary-soft: rgba(240, 185, 11, 0.14);
    --secondary-color: #eaecef;
    --accent-color: #0ecb81;
    --accent-bright: #2ee59d;
    --accent-soft: rgba(14, 203, 129, 0.12);
    --surface: #0b0e11;
    --surface-elevated: #1e2329;
    --surface-tint: #161a1f;
    --text-color: #eaecef;
    --text-muted: #848e9c;
    --border-subtle: rgba(234, 236, 239, 0.08);
    --border-inner: rgba(43, 49, 57, 0.65);
    --border-width-card: 1px;
    --rail-accent-width: 3px;
    --gray-100: #161a1f;
    --gray-200: #2b3139;
    --transition-speed: 0.28s;
    --transition-easing: cubic-bezier(0.4, 0, 0.2, 1);
    --radius-card: 0.5rem;
    --radius-inner: 0.375rem;
    --radius-pill: 999px;
    --shadow-soft: 0 1px 0 rgba(0, 0, 0, 0.2), 0 12px 40px rgba(0, 0, 0, 0.35);
    --shadow-hover: 0 2px 0 rgba(0, 0, 0, 0.25), 0 18px 50px rgba(0, 0, 0, 0.45);
    --section-pad-y: clamp(2.35rem, 5.5vw, 4rem);
    --font-display: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-display);
    color: var(--text-color);
    line-height: 1.65;
    background: var(--surface);
    overflow-x: hidden;
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
}

.container .row > [class*="col-"] {
    min-width: 0;
}

/* Bootstrap 容器内嵌套栅格/弹性子项，防止长词或负边距撑出视口 */
.z39148home .container {
    min-width: 0;
}

/* —— 导航 —— */
.z39148navbar {
    background: rgba(11, 14, 17, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid #2b3139;
    padding: 0.55rem 0;
}

.bnx-site .z39148navbar {
    background: rgba(11, 14, 17, 0.92);
}

.z39148navbar-brand img {
    height: 44px;
    width: auto;
    max-height: 44px;
}

.z39148nav-link {
    color: #eaecef !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.4rem 0.65rem !important;
    border-radius: var(--radius-inner);
    transition: color var(--transition-speed), background var(--transition-speed);
    white-space: normal;
    word-break: break-word;
}

.z39148nav-link:hover,
.z39148nav-link:focus {
    color: #f0b90b !important;
    background: rgba(240, 185, 11, 0.1);
}

.z39148navbar .navbar-nav .nav-item.current > .nav-link,
.z39148navbar .nav-item.current > .nav-link {
    color: #0b0e11 !important;
    background: #f0b90b;
}

/* —— 首页：裂屏主视觉 —— */
.z39148split-hero {
    position: relative;
    overflow: hidden;
    background: var(--surface);
}

.z39148split-hero__canvas {
    display: grid;
    grid-template-columns: 1fr;
    min-height: min(88vh, 760px);
}

@media (min-width: 992px) {
    .z39148split-hero__canvas {
        grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
        min-height: min(86vh, 720px);
    }
}

.z39148split-hero__copy {
    background:
        radial-gradient(120% 80% at 0% 0%, rgba(20, 83, 45, 0.45) 0%, transparent 55%),
        linear-gradient(155deg, #0c0a09 0%, #1c1917 42%, #292524 100%);
    color: #fafaf9;
    padding: clamp(2.25rem, 6vw, 4rem) clamp(1.1rem, 4vw, 2.75rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    min-width: 0;
}

.z39148split-hero__tag {
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-bright);
    margin-bottom: 0.75rem;
    opacity: 0.95;
}

.z39148split-hero__title {
    font-size: clamp(2rem, 5vw, 3.35rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 0.75rem;
    max-width: 16ch;
}

.z39148split-hero__deck {
    font-size: clamp(1rem, 2.1vw, 1.2rem);
    opacity: 0.92;
    max-width: 36rem;
    margin-bottom: 0.5rem;
}

.z39148split-hero__note {
    font-size: 0.95rem;
    opacity: 0.86;
    max-width: 38rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.z39148split-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.35rem;
}

.z39148btn {
    font-weight: 700;
    border-radius: 2px;
    padding: 0.55rem 1.1rem;
    border: none;
}

.z39148btn-ghost {
    background: #fafaf9;
    color: var(--primary-dark);
}

.z39148btn-ghost:hover {
    background: #fff;
    color: #9f1239;
    transform: translateY(-1px);
}

.z39148btn-sun {
    background: linear-gradient(135deg, var(--accent-color), #0d9488);
    color: #ecfdf5;
}

.z39148btn-sun:hover {
    filter: brightness(1.06);
    color: #fff;
    transform: translateY(-1px);
}

.z39148split-hero__visual {
    position: relative;
    background: linear-gradient(180deg, var(--surface-tint) 0%, var(--surface) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-sizing: border-box;
    min-width: 0;
}

.z39148split-hero__visual-inner {
    position: relative;
    width: min(100%, 380px);
    max-width: 100%;
    overflow: hidden;
    border-radius: 2px;
}

.z39148split-hero__ring {
    position: absolute;
    inset: -8% -6% auto -6%;
    height: 68%;
    border: var(--border-width-card) solid rgba(159, 18, 57, 0.22);
    border-radius: 2px;
    transform: rotate(-3deg);
    pointer-events: none;
    box-sizing: border-box;
}

.z39148split-hero__img {
    position: relative;
    display: block;
    width: 100%;
    max-width: 300px;
    margin-inline: auto;
    border-radius: 2px;
    box-shadow: 0 28px 60px rgba(12, 10, 9, 0.18);
    border: var(--border-width-card) solid var(--border-subtle);
    object-fit: contain;
    box-sizing: border-box;
}

/* —— 首页：侧轨导读 —— */
.z39148shell-lede {
    padding: var(--section-pad-y) 0;
    background: var(--surface-elevated);
    border-bottom: var(--border-width-card) solid var(--border-subtle);
}

.z39148rail-prose {
    max-width: 52rem;
    margin: 0;
    padding-left: clamp(0.85rem, 2.5vw, 1.15rem);
    border-left: var(--rail-accent-width) solid var(--primary-color);
    box-sizing: border-box;
    min-width: 0;
}

.z39148rail-prose__h {
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-color);
    font-weight: 800;
    margin-bottom: 0.65rem;
}

.z39148rail-prose__p {
    color: var(--text-muted);
    font-size: clamp(0.95rem, 1.9vw, 1.08rem);
    line-height: 1.78;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* —— 首页：能力图谱（不对称栅格） —— */
.z39148shell-grid {
    padding: var(--section-pad-y) 0;
    background: var(--surface);
    border-bottom: var(--border-width-card) solid var(--border-subtle);
}

.z39148shell-grid__head {
    max-width: 44rem;
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.z39148shell-grid__title {
    font-size: clamp(1.45rem, 3.2vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.z39148shell-grid__sub {
    margin: 0;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.65;
}

.z39148mosaic {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.z39148mosaic__cell {
    grid-column: span 6;
    background: var(--surface-elevated);
    border: var(--border-width-card) solid var(--border-subtle);
    border-radius: var(--radius-card);
    padding: clamp(1.1rem, 2.5vw, 1.45rem);
    box-shadow: var(--shadow-soft);
    box-sizing: border-box;
    overflow: hidden;
    min-width: 0;
    transition: box-shadow var(--transition-speed);
}

.z39148mosaic__cell:hover {
    box-shadow: var(--shadow-hover);
}

.z39148mosaic__cell--hero {
    grid-column: span 6;
    min-height: auto;
}

@media (min-width: 992px) {
    .z39148mosaic__cell--hero {
        grid-column: span 4;
        grid-row: span 2;
    }

    .z39148mosaic__cell:not(.z39148mosaic__cell--hero) {
        grid-column: span 2;
    }
}

.z39148mosaic__meta {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.z39148mosaic__h {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 0.45rem;
}

.z39148mosaic__p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* —— 首页：规模指针（条带芯片） —— */
.z39148shell-signal {
    padding: clamp(1.75rem, 4vw, 2.5rem) 0;
    background: #111827;
    color: #e7e5e4;
    border-block: var(--border-width-card) solid rgba(255, 255, 255, 0.08);
}

.z39148stat-ribbon {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    align-items: stretch;
}

.z39148stat-chip {
    min-width: 0;
    border: var(--border-width-card) solid rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.z39148stat-chip__n {
    display: block;
    font-size: clamp(1.45rem, 3.5vw, 2rem);
    font-weight: 800;
    color: #fde68a;
    line-height: 1.1;
}

.z39148stat-chip__t {
    display: block;
    font-size: 0.78rem;
    opacity: 0.88;
    line-height: 1.35;
    margin-top: 0.35rem;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* —— 首页：流程轨道 —— */
.z39148shell-track {
    padding: var(--section-pad-y) 0;
    background: var(--surface-tint);
    border-bottom: var(--border-width-card) solid var(--border-subtle);
    overflow-x: hidden;
}

.z39148shell-track__head {
    max-width: 44rem;
    margin-bottom: clamp(1.35rem, 3vw, 2rem);
}

.z39148shell-track__title {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--secondary-color);
    margin-bottom: 0.45rem;
}

.z39148shell-track__sub {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.65;
}

.z39148timeflow {
    list-style: none;
    padding: 0;
    margin: 0;
    border-left: var(--border-width-card) solid var(--border-inner);
    margin-left: clamp(0.5rem, 2vw, 1rem);
    padding-left: 0.25rem;
    box-sizing: border-box;
}

.z39148timeflow__step {
    position: relative;
    padding: 0 0 1.5rem 1.35rem;
}

.z39148timeflow__step:last-child {
    padding-bottom: 0;
}

.z39148timeflow__no {
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(-50%, 0);
    width: 2.75rem;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--surface-elevated);
    background: var(--primary-color);
    border-radius: 2px;
    line-height: 2.75rem;
    height: 2.75rem;
    box-shadow: 0 6px 18px rgba(159, 18, 57, 0.25);
}

.z39148timeflow__body {
    min-width: 0;
}

.z39148timeflow__body h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 0.35rem;
}

.z39148timeflow__body p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* —— 首页：软件栈（横向工事板） —— */
.z39148shell-dl {
    padding: var(--section-pad-y) 0;
    background: var(--surface-elevated);
    border-bottom: var(--border-width-card) solid var(--border-subtle);
}

.z39148shell-dl__head {
    max-width: 44rem;
    margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.z39148shell-dl__title {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 0.45rem;
}

.z39148shell-dl__sub {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.65;
}

.z39148dl-board {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.z39148dl-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
    padding: clamp(1.1rem, 2.5vw, 1.45rem);
    border: var(--border-width-card) solid var(--border-subtle);
    border-radius: var(--radius-card);
    background: var(--surface);
    box-sizing: border-box;
    overflow: hidden;
}

@media (min-width: 768px) {
    .z39148dl-row {
        grid-template-columns: auto 1fr auto;
        align-items: center;
    }

    .z39148dl-row__go {
        width: auto;
        max-width: 11rem;
        min-width: 0;
    }
}

.z39148dl-row__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    border-radius: 2px;
    color: #fff;
}

.z39148dl-row__icon--win {
    background: linear-gradient(135deg, #0f766e, #115e59);
}

.z39148dl-row__icon--and {
    background: linear-gradient(135deg, #15803d, #166534);
}

.z39148dl-row__h {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
    color: var(--secondary-color);
}

.z39148dl-row__p {
    margin: 0 0 0.5rem;
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.6;
}

.z39148dl-row__list {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.z39148dl-row__main {
    min-width: 0;
}

.z39148dl-row__go {
    min-width: 0;
    width: 100%;
}

.z39148btn-block {
    width: 100%;
    white-space: normal;
}

.z39148shell-dl__fine {
    margin: 1.25rem 0 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.55;
    padding: 0 0.25rem;
}

/* —— 首页：观察笔记（双栏 + 摘句） —— */
.z39148shell-opus {
    padding: var(--section-pad-y) 0;
    background: var(--gray-100);
    border-bottom: var(--border-width-card) solid var(--border-subtle);
}

.z39148opus {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 992px) {
    .z39148opus {
        grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.55fr);
        align-items: start;
    }
}

.z39148opus__title {
    grid-column: 1 / -1;
    font-size: clamp(1.25rem, 2.6vw, 1.55rem);
    font-weight: 800;
    color: var(--secondary-color);
    margin: 0;
    letter-spacing: -0.02em;
}

.z39148opus__pull {
    margin: 0;
    padding: 1rem 1.1rem;
    border: var(--border-width-card) solid var(--border-subtle);
    border-radius: var(--radius-card);
    background: var(--surface-elevated);
    box-shadow: var(--shadow-soft);
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.z39148opus__pull p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.55;
    overflow-wrap: break-word;
    word-break: break-word;
}

.z39148opus__cols {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.75;
    min-width: 0;
}

@media (min-width: 768px) {
    .z39148opus__cols {
        column-count: 2;
        column-gap: 1.75rem;
    }

    .z39148opus__cols p {
        break-inside: avoid;
    }
}

.z39148opus__cols p {
    margin: 0 0 1rem;
}

.z39148opus__cols p:last-child {
    margin-bottom: 0;
}

/* —— 首页：纵深防线 —— */
.z39148shell-warden {
    padding: var(--section-pad-y) 0;
    background: var(--surface);
    border-bottom: var(--border-width-card) solid var(--border-subtle);
}

.z39148shell-warden__head {
    max-width: 44rem;
    margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.z39148shell-warden__title {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 0.45rem;
}

.z39148shell-warden__sub {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.65;
}

.z39148sec-grid {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .z39148sec-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.z39148sec-slab {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1rem 1.05rem;
    border: var(--border-width-card) solid var(--border-subtle);
    border-radius: var(--radius-card);
    background: var(--surface-elevated);
    box-sizing: border-box;
    overflow: hidden;
    min-width: 0;
    box-shadow: inset 0 -1px 0 rgba(159, 18, 57, 0.06);
}

.z39148sec-slab__ico {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.z39148sec-slab__txt {
    min-width: 0;
    flex: 1 1 auto;
}

.z39148sec-slab__txt h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: var(--secondary-color);
}

.z39148sec-slab__txt p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.z39148cred-scroll {
    margin-top: clamp(1.25rem, 3vw, 2rem);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.z39148cred-scroll__inner {
    display: flex;
    gap: 0.75rem;
    padding-bottom: 0.25rem;
    min-width: min-content;
}

.z39148cred-pill {
    flex: 0 0 min(280px, 85vw);
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: var(--radius-card);
    border: var(--border-width-card) solid var(--border-subtle);
    background: var(--surface-elevated);
    box-sizing: border-box;
    min-width: 0;
}

.z39148cred-pill__i {
    flex: 0 0 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    background: var(--accent-soft);
    color: var(--accent-color);
}

.z39148cred-pill__h {
    font-size: 0.95rem;
    font-weight: 800;
    margin: 0 0 0.25rem;
    color: var(--secondary-color);
}

.z39148cred-pill__p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* —— 首页：问答折叠 —— */
.z39148shell-faq {
    padding: var(--section-pad-y) 0;
    background: var(--surface-elevated);
    border-bottom: var(--border-width-card) solid var(--border-subtle);
}

.z39148shell-faq__head {
    max-width: 44rem;
    margin-bottom: clamp(1.1rem, 2.5vw, 1.5rem);
}

.z39148shell-faq__title {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 0.45rem;
}

.z39148shell-faq__sub {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.65;
}

.z39148faq-stack {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.z39148faq-fold {
    border: var(--border-width-card) solid var(--border-subtle);
    border-radius: var(--radius-card);
    background: var(--surface);
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.z39148faq-fold summary {
    cursor: pointer;
    list-style: none;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 0.95rem 1rem;
    color: var(--secondary-color);
    position: relative;
    padding-right: 2.5rem;
    overflow-wrap: break-word;
    word-break: break-word;
}

.z39148faq-fold summary::-webkit-details-marker {
    display: none;
}

.z39148faq-fold summary::after {
    content: "+";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 800;
    color: var(--primary-color);
    font-size: 1.25rem;
    line-height: 1;
}

.z39148faq-fold[open] summary::after {
    content: "–";
}

.z39148faq-fold summary:hover {
    background: rgba(159, 18, 57, 0.04);
}

.z39148faq-fold p {
    margin: 0;
    padding: 0 1rem 1rem;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
    border-top: var(--border-width-card) solid var(--border-inner);
    padding-top: 0.75rem;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* —— 首页：文章馈送 —— */
.z39148shell-wire {
    padding: var(--section-pad-y) 0;
    background: var(--surface-tint);
    border-bottom: var(--border-width-card) solid var(--border-subtle);
    overflow-x: hidden;
}

.z39148shell-wire__h {
    font-weight: 800;
    color: var(--secondary-color);
}

.z39148article-feed {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
}

#article .card,
.z39148article-feed .card {
    border: var(--border-width-card) solid var(--border-subtle);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    box-sizing: border-box;
}

.z39148article-feed .card:hover {
    box-shadow: var(--shadow-hover);
}

.z39148thumb-home {
    border-radius: var(--radius-card) var(--radius-card) 0 0;
}

/* —— 页脚 —— */
.z39148footer {
    background: #181a20;
    padding: clamp(2rem, 4vw, 3rem) 0 1.15rem;
    color: #b7bdc6;
}

.z39148footer .z39148footer-title {
    color: #eaecef;
    font-weight: 800;
}

.z39148footer-link {
    color: #848e9c;
}

.z39148footer-link:hover {
    color: #f0b90b;
}

.z39148footer-bottom {
    border-top: 1px solid #2b3139;
    padding-top: 1.15rem;
}

.z39148footer-bottom a {
    color: #eaecef;
}

.z39148footer-bottom a:hover {
    color: #f0b90b;
}

.z39148friend-links a {
    color: #848e9c;
}

.z39148friend-links a:hover {
    color: #f0b90b;
}

/* —— 子页 —— */
.z39148page-shell {
    padding: clamp(1.75rem, 4vw, 2.75rem) 0;
    background: var(--surface);
    min-height: 50vh;
}

.z39148page-shell .card {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-sizing: border-box;
}

.z39148page-shell .card.shadow-sm {
    box-shadow: var(--shadow-soft) !important;
}

.z39148page-shell aside a {
    color: var(--primary-dark);
    text-decoration: none;
}

.z39148page-shell aside a:hover {
    text-decoration: underline;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
    border: none !important;
    border-radius: 2px !important;
    font-weight: 700 !important;
}

.btn-outline-primary {
    color: var(--primary-dark) !important;
    border-color: var(--primary-color) !important;
    border-radius: 2px !important;
    font-weight: 700 !important;
}

.btn-outline-primary:hover {
    background: var(--primary-color) !important;
    color: #0b0e11 !important;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(240, 185, 11, 0.22);
}

.z39148sidebar-title {
    color: var(--secondary-color);
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bnx-hero__inner,
.bnx-panel,
.bnx-dl-card,
.bnx-faq__item {
    animation: fadeIn 0.5s var(--transition-easing) forwards;
}

img {
    max-width: 100%;
    height: auto;
}

.navbar-toggler {
    border: none;
    padding: 0.45rem;
}

.navbar-collapse {
    background: rgba(30, 35, 41, 0.98);
    padding: 0.65rem;
    border-radius: var(--radius-card);
    margin-top: 0.45rem;
    border: 1px solid #2b3139;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .navbar-collapse {
        background: transparent;
        border: none;
        padding: 0;
        margin-top: 0;
    }
}

.pagebar .pagelist {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.pagebar .pagelist li {
    display: inline-flex;
    margin: 0;
}

.z39148stat-item {
    text-align: center;
    padding: 0.45rem 0.3rem;
    box-sizing: border-box;
}

.z39148friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
}

.z39148friend-links li {
    display: inline;
}

.z39148article-content {
    line-height: 1.75;
    word-break: break-word;
}

.z39148article-content img {
    max-width: 100%;
    height: auto;
}

.z39148diyfield {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.z39148meta-tags {
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.z39148meta-tags .list-inline-item {
    margin-right: 0 !important;
    display: inline-block;
}

.z39148tagitem a {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-pill);
    background: var(--primary-soft);
    color: var(--primary-dark);
    text-decoration: none;
    font-size: 0.85rem;
}

.z39148tagitem a:hover {
    background: rgba(240, 185, 11, 0.22);
}

.z39148pages .pagelist a {
    color: var(--primary-dark);
}

/* —— 兼容旧模板类名（子页/历史片段） —— */
.z39148section-head {
    text-align: left;
    max-width: 44rem;
    margin: 0 0 1.5rem;
}

.z39148section-head h2 {
    font-weight: 800;
    color: var(--secondary-color);
    font-size: clamp(1.25rem, 2.8vw, 1.65rem);
}

.z39148section-head p {
    color: var(--text-muted);
    margin: 0;
}

.card.z39148faq-card {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    background: var(--surface-elevated);
}

/* —— 平板及以下：主视觉不再强制超高 —— */
@media (max-width: 991px) {
    .z39148split-hero__canvas {
        min-height: 0;
    }
}

/* —— 移动端 —— */
@media (max-width: 767px) {
    body.z39148home {
        --section-pad-y: clamp(1.45rem, 4vw, 2.35rem);
    }

    .z39148navbar {
        padding: 0.4rem 0;
    }

    .z39148navbar .navbar-collapse {
        max-height: min(72vh, 520px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .z39148navbar .navbar-nav .nav-link {
        padding: 0.5rem 0.45rem !important;
        font-size: 0.9rem;
        min-height: 2.75rem;
        display: flex;
        align-items: center;
    }

    .z39148split-hero__canvas {
        min-height: 0;
    }

    .z39148split-hero__copy {
        padding: clamp(1.5rem, 5vw, 2.15rem) max(1rem, env(safe-area-inset-right, 0px)) clamp(1.5rem, 5vw, 2.15rem) max(1rem, env(safe-area-inset-left, 0px));
    }

    .z39148split-hero__tag {
        letter-spacing: 0.1em;
        font-size: 0.68rem;
        line-height: 1.45;
    }

    .z39148split-hero__title {
        max-width: none;
        font-size: clamp(1.42rem, 6.2vw, 1.95rem);
        line-height: 1.12;
    }

    .z39148split-hero__deck {
        font-size: clamp(0.92rem, 3.8vw, 1.05rem);
    }

    .z39148split-hero__note {
        font-size: 0.9rem;
        line-height: 1.65;
    }

    .z39148split-hero__cta {
        flex-direction: column;
    }

    .z39148split-hero__cta .btn {
        width: 100%;
        min-height: 2.75rem;
        justify-content: center;
    }

    .z39148split-hero__visual {
        padding: 1.1rem max(1rem, env(safe-area-inset-right, 0px)) 1.5rem max(1rem, env(safe-area-inset-left, 0px));
    }

    .z39148rail-prose {
        padding-left: 0.7rem;
    }

    .z39148mosaic {
        gap: 0.5rem;
    }

    .z39148mosaic__cell {
        padding: 0.95rem 0.85rem;
    }

    .z39148shell-grid__title,
    .z39148shell-track__title,
    .z39148shell-dl__title,
    .z39148opus__title,
    .z39148shell-warden__title,
    .z39148shell-faq__title {
        font-size: clamp(1.08rem, 4.6vw, 1.42rem);
        line-height: 1.28;
        word-break: break-word;
    }

    .z39148shell-grid__sub,
    .z39148shell-track__sub,
    .z39148shell-dl__sub,
    .z39148shell-warden__sub,
    .z39148shell-faq__sub {
        font-size: 0.92rem;
        line-height: 1.62;
    }

    .z39148stat-ribbon {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .z39148stat-chip {
        padding: 0.75rem 0.65rem;
    }

    .z39148stat-chip__n {
        font-size: clamp(1.28rem, 4vw, 1.65rem);
    }

    .z39148stat-chip__t {
        font-size: 0.72rem;
        line-height: 1.32;
    }

    .z39148timeflow {
        margin-left: max(0.35rem, env(safe-area-inset-left, 0px));
        padding-left: 0.35rem;
    }

    .z39148timeflow__step {
        padding: 0 0 1.35rem 1.45rem;
    }

    .z39148timeflow__no {
        width: 2.35rem;
        height: 2.35rem;
        line-height: 2.35rem;
        font-size: 0.65rem;
    }

    .z39148dl-row {
        padding: 0.95rem 0.85rem;
        gap: 0.75rem;
    }

    .z39148dl-row__icon {
        justify-self: center;
    }

    .z39148dl-row__list {
        padding-left: 1rem;
        font-size: 0.88rem;
    }

    .z39148sec-slab {
        flex-direction: column;
        align-items: center;
        padding: 0.95rem 0.8rem;
        gap: 0.6rem;
    }

    .z39148sec-slab__txt {
        text-align: left;
        width: 100%;
    }

    .z39148sec-slab__ico {
        flex-shrink: 0;
    }

    .z39148cred-scroll__inner {
        padding-inline: max(0.15rem, env(safe-area-inset-left, 0px)) max(0.15rem, env(safe-area-inset-right, 0px));
    }

    .z39148cred-pill {
        flex: 0 0 min(280px, calc(100vw - 2.5rem));
    }

    .z39148faq-fold summary {
        padding-top: 0.85rem;
        padding-bottom: 0.85rem;
        min-height: 2.75rem;
        display: flex;
        align-items: center;
    }

    .z39148faq-fold summary::after {
        right: max(0.85rem, env(safe-area-inset-right, 0px));
    }

    .z39148opus__cols {
        column-count: 1;
    }

    .z39148opus__pull {
        padding: 0.9rem 0.85rem;
    }

    .z39148footer {
        padding: 2rem 0 1rem;
        padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    }

    .z39148footer-bottom p.small.mb-2 {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        column-gap: 0.35rem;
        row-gap: 0.4rem;
    }

    .z39148footer-bottom p.small.mb-2 > span {
        opacity: 0.45;
        flex: 0 0 auto;
    }

    .z39148page-shell {
        padding-top: 1.35rem !important;
        padding-bottom: 1.75rem !important;
    }

    .z39148page-shell h1.h3 {
        font-size: clamp(1.05rem, 4.5vw, 1.32rem);
        line-height: 1.35;
        word-break: break-word;
    }

    .z39148page-shell header .small {
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem 0.75rem;
        row-gap: 0.25rem;
    }

    #article .card-body,
    .z39148article-feed .card-body {
        padding: 0.75rem;
    }

    .z39148article-feed {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0.75rem;
        scroll-snap-type: x mandatory;
        margin-inline: 0;
        padding-inline: 0;
        padding-bottom: max(0.5rem, env(safe-area-inset-bottom, 0px));
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x pinch-zoom;
    }

    .z39148article-feed .z39148thumb-home {
        height: 96px !important;
    }

    .z39148article-tile {
        flex: 0 0 min(min(78vw, 280px), calc(100vw - 2.25rem));
        scroll-snap-align: start;
    }

    #article h3.h5,
    #article .card-body h3.h6,
    #article .card-body h3,
    .z39148article-feed h3.h6 {
        font-size: 0.94rem;
        line-height: 1.4;
        margin-bottom: 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .listbox .e2 li {
        padding-bottom: 0.75rem !important;
        margin-bottom: 0.75rem !important;
    }

    .listbox .e2 li h2.h5 {
        font-size: 1rem;
        margin-bottom: 0.35rem;
        line-height: 1.35;
        word-break: break-word;
    }

    .listbox .e2 li p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .z39148thumb-list,
    .z39148thumb-related {
        height: 72px !important;
    }

    .z39148thumb-side {
        height: 50px !important;
    }

    .z39148thumb-cover {
        max-width: 100% !important;
        width: 100%;
        height: 170px !important;
        margin: 0 auto;
    }
}

@media (max-width: 575px) {
    .z39148article-feed .z39148thumb-home {
        height: 88px !important;
    }

    .z39148thumb-list,
    .z39148thumb-related {
        height: 64px !important;
    }

    .z39148thumb-side {
        height: 46px !important;
    }

    .z39148thumb-cover {
        height: 150px !important;
    }

    .pagebar .pagelist {
        gap: 0.35rem;
    }

    .z39148split-hero__tag {
        letter-spacing: 0.14em;
        font-size: 0.66rem;
    }

    .z39148footer-bottom {
        font-size: 0.8125rem;
    }
}

@media (max-width: 420px) {
    .z39148stat-ribbon {
        grid-template-columns: 1fr;
    }
}

/* —— 首页 Binance 风 + bnx-site 子页 —— */

/* —— 首页：Binance 风格（深底 + 琥珀金强调） —— */
/* 板块卡片：统一盒模型与断词，避免边框计入宽度后撑出栅格 */
.z39148home.bnx-site .bnx-hero__visual,
.z39148home.bnx-site .bnx-panel,
.z39148home.bnx-site .bnx-metric,
.z39148home.bnx-site .bnx-step,
.z39148home.bnx-site .bnx-dl-card,
.z39148home.bnx-site .bnx-pill,
.z39148home.bnx-site .bnx-badge,
.z39148home.bnx-site .bnx-faq,
.z39148home.bnx-site .bnx-card {
    box-sizing: border-box;
}

.z39148home.bnx-site .bnx-panel__p,
.z39148home.bnx-site .bnx-step__p,
.z39148home.bnx-site .bnx-dl-card__p,
.z39148home.bnx-site .bnx-strip__text,
.z39148home.bnx-site .bnx-metric__l {
    overflow-wrap: break-word;
    word-break: break-word;
}

.bnx-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(120% 80% at 85% 0%, rgba(240, 185, 11, 0.12) 0%, transparent 55%),
        linear-gradient(180deg, #0b0e11 0%, #0d1216 45%, #0b0e11 100%);
    color: #eaecef;
    padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem);
}

.bnx-hero__grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(43, 49, 57, 0.35) 1px, transparent 1px),
        linear-gradient(90deg, rgba(43, 49, 57, 0.35) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 75%);
    pointer-events: none;
}

.bnx-hero__inner {
    position: relative;
    z-index: 1;
}

.bnx-hero__eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #f0b90b;
    margin-bottom: 0.75rem;
}

.bnx-hero__title {
    font-weight: 800;
    font-size: clamp(1.65rem, 4.2vw, 2.45rem);
    line-height: 1.12;
    color: #fff;
    margin-bottom: 0.85rem;
}

.bnx-hero__lead {
    font-size: clamp(0.95rem, 2.2vw, 1.08rem);
    color: #b7bdc6;
    max-width: 34rem;
    margin-bottom: 1rem;
}

.bnx-hero__hint {
    font-size: 0.9rem;
    color: #848e9c;
    max-width: 36rem;
    margin-bottom: 1.35rem;
    line-height: 1.65;
}

.bnx-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.bnx-btn {
    border-radius: 4px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    padding: 0.55rem 1.15rem !important;
    border: 1px solid transparent !important;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.bnx-btn--primary {
    background: #f0b90b !important;
    color: #0b0e11 !important;
    border-color: #f0b90b !important;
}

.bnx-btn--primary:hover {
    background: #f5c542 !important;
    color: #0b0e11 !important;
}

.bnx-btn--outline {
    background: transparent !important;
    color: #eaecef !important;
    border-color: #2b3139 !important;
}

.bnx-btn--outline:hover {
    border-color: #f0b90b !important;
    color: #f0b90b !important;
}

.bnx-btn--ghost {
    background: rgba(240, 185, 11, 0.08) !important;
    color: #f0b90b !important;
    border-color: rgba(240, 185, 11, 0.35) !important;
}

.bnx-btn--ghost:hover {
    background: rgba(240, 185, 11, 0.16) !important;
    color: #f5c542 !important;
}

.bnx-hero__visual {
    display: block;
    max-width: 100%;
    margin-inline: auto;
    padding: 1rem;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(30, 35, 41, 0.95), rgba(11, 14, 17, 0.6));
    border: 1px solid var(--gray-200);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.bnx-hero__img {
    max-width: min(100%, 320px);
    width: 100%;
    height: auto;
    display: block;
    margin-inline: auto;
}

.bnx-strip {
    background: #1e2329;
    border-bottom: 1px solid var(--gray-200);
    padding: 0.875rem 0;
    color: #b7bdc6;
    font-size: 0.9rem;
    line-height: 1.6;
}

.bnx-strip__text strong {
    color: #f0b90b;
    font-weight: 700;
}

.bnx-section {
    padding: var(--section-pad-y) 0;
    background: #0b0e11;
    color: #eaecef;
}

.bnx-section--alt {
    background: #0d1216;
}

.bnx-section--articles {
    background: linear-gradient(180deg, #0d1216 0%, #0b0e11 100%);
}

.bnx-section__head {
    max-width: 40rem;
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.bnx-section__title {
    font-weight: 800;
    font-size: clamp(1.2rem, 2.6vw, 1.55rem);
    color: #fff;
    margin-bottom: 0.45rem;
}

.bnx-section__sub {
    margin: 0;
    color: #848e9c;
    font-size: 0.95rem;
    line-height: 1.6;
}

.bnx-panel {
    background: #1e2329;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-card);
    padding: 1.15rem 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.bnx-panel:hover {
    border-color: rgba(240, 185, 11, 0.45);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.bnx-panel__icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(240, 185, 11, 0.12);
    color: #f0b90b;
    font-size: 1.1rem;
    margin-bottom: 0.85rem;
}

.bnx-panel__h {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.45rem;
}

.bnx-panel__p {
    margin: 0;
    font-size: 0.875rem;
    color: #b7bdc6;
    line-height: 1.6;
}

.bnx-metrics {
    background: #1e2329;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    padding: clamp(1.35rem, 3.2vw, 2rem) 0;
}

.bnx-metrics__row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.65rem, 1.8vw, 0.9rem);
    align-items: stretch;
}

.bnx-metric {
    text-align: center;
    padding: 0.6rem 0.45rem;
    border-radius: var(--radius-card);
    background: rgba(11, 14, 17, 0.45);
    border: 1px solid var(--gray-200);
    min-width: 0;
}

.bnx-metric__v {
    display: block;
    font-weight: 800;
    font-size: clamp(1.15rem, 2.8vw, 1.45rem);
    color: #f0b90b;
    line-height: 1.2;
}

.bnx-metric__l {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.72rem;
    color: #848e9c;
    line-height: 1.4;
    max-width: 100%;
}

.bnx-step {
    background: #1e2329;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-card);
    padding: 1.15rem 1rem;
    height: 100%;
}

.bnx-step__no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 6px;
    background: #f0b90b;
    color: #0b0e11;
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.bnx-step__h {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.4rem;
}

.bnx-step__p {
    margin: 0;
    font-size: 0.875rem;
    color: #b7bdc6;
    line-height: 1.55;
}

.bnx-dl-card {
    background: #1e2329;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-card);
    padding: 1.2rem 1.05rem;
}

.bnx-dl-card__head {
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.65rem;
    font-size: 1.05rem;
}

.bnx-dl-card__p {
    font-size: 0.9rem;
    color: #b7bdc6;
    margin-bottom: 1rem;
    line-height: 1.55;
}

.bnx-dl-note {
    margin-top: 1.25rem;
    margin-bottom: 0;
    font-size: 0.85rem;
    color: #848e9c;
    text-align: center;
}

.bnx-pill {
    background: rgba(30, 35, 41, 0.9);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-card);
    padding: 0.65rem 0.6rem;
    font-size: 0.8125rem;
    color: #eaecef;
    text-align: center;
    height: 100%;
    min-height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.bnx-pill i {
    color: #f0b90b;
}

.bnx-badge {
    background: #0b0e11;
    border: 1px dashed rgba(60, 66, 73, 0.85);
    border-radius: var(--radius-card);
    padding: 0.6rem 0.65rem;
    text-align: center;
    color: #b7bdc6;
    font-weight: 600;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bnx-faq {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-card);
    overflow: hidden;
    background: #1e2329;
}

.bnx-faq__item {
    border-bottom: 1px solid var(--gray-200);
}

.bnx-faq__item:last-child {
    border-bottom: 0;
}

.bnx-faq__item summary {
    list-style: none;
    cursor: pointer;
    padding: 0.85rem 2.75rem 0.85rem 1rem;
    font-weight: 700;
    color: #fff;
    position: relative;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.bnx-faq__item summary::-webkit-details-marker {
    display: none;
}

.bnx-faq__item summary::after {
    content: "+";
    position: absolute;
    right: 1.15rem;
    top: 50%;
    transform: translateY(-50%);
    color: #f0b90b;
    font-weight: 800;
    font-size: 1.1rem;
}

.bnx-faq__item[open] summary::after {
    content: "−";
}

.bnx-faq__body {
    padding: 0 1rem 0.9rem;
    color: #b7bdc6;
    font-size: 0.9rem;
    line-height: 1.6;
}

.bnx-faq__body p:last-child {
    margin-bottom: 0;
}

.bnx-articles__title {
    color: #fff;
    font-weight: 800;
}

.bnx-card {
    background: #1e2329 !important;
    border: 1px solid var(--gray-200) !important;
    border-radius: var(--radius-card) !important;
    overflow: hidden;
}

.bnx-card .card-img-top {
    max-width: 100%;
}

.bnx-card__meta {
    color: #848e9c;
}

.bnx-card__link {
    color: #eaecef !important;
}

.bnx-card__link:hover {
    color: #f0b90b !important;
}

.bnx-feed.z39148article-feed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
    gap: 1rem;
    width: 100%;
    min-width: 0;
}

@media (max-width: 991px) {
    .bnx-metrics__row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .bnx-metrics__row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    body.z39148home.bnx-site {
        --section-pad-y: clamp(1.45rem, 4vw, 2.35rem);
    }

    .z39148home.bnx-site .bnx-hero {
        padding-top: clamp(1.65rem, 5vw, 2.35rem);
        padding-bottom: clamp(1.25rem, 4vw, 1.85rem);
    }

    .z39148home.bnx-site .bnx-hero .row {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 1rem;
    }

    .z39148home.bnx-site .bnx-hero__eyebrow {
        letter-spacing: 0.08em;
        font-size: 0.68rem;
        line-height: 1.45;
    }

    .z39148home.bnx-site .bnx-hero__title {
        font-size: clamp(1.32rem, 6.2vw, 1.9rem);
        line-height: 1.14;
        word-break: break-word;
    }

    .z39148home.bnx-site .bnx-hero__lead {
        font-size: clamp(0.9rem, 3.8vw, 1.02rem);
        word-break: break-word;
    }

    .z39148home.bnx-site .bnx-hero__visual {
        padding: 0.75rem;
    }

    .z39148home.bnx-site .bnx-section__title {
        font-size: clamp(1.05rem, 5vw, 1.38rem);
        line-height: 1.25;
        word-break: break-word;
    }

    .z39148home.bnx-site .bnx-section__sub {
        font-size: 0.9rem;
        line-height: 1.58;
    }

    .z39148home.bnx-site .bnx-pill {
        font-size: 0.75rem;
        padding: 0.5rem 0.4rem;
        min-height: 2.45rem;
        gap: 0.25rem;
    }

    .z39148home.bnx-site .bnx-badge {
        min-height: 2.35rem;
        padding: 0.5rem 0.5rem;
        font-size: 0.8rem;
    }

    .z39148home.bnx-site .bnx-dl-note {
        font-size: 0.8125rem;
        padding-inline: 0.25rem;
    }

    .z39148home.bnx-site .bnx-faq__item summary {
        font-size: 0.92rem;
        line-height: 1.35;
        padding-top: 0.8rem;
        padding-bottom: 0.8rem;
    }

    .bnx-site .z39148friend-links {
        row-gap: 0.45rem;
    }

    .bnx-site aside li.d-flex.gap-2 {
        align-items: flex-start;
    }

    .bnx-site aside li.d-flex.gap-2 > a:not(.d-block) {
        flex: 1 1 0;
        min-width: 0;
        overflow-wrap: break-word;
        word-break: break-word;
        font-size: 0.9rem;
        line-height: 1.45;
    }

    .bnx-site .z39148meta-tags {
        flex-wrap: wrap;
        row-gap: 0.35rem;
    }

    .bnx-site .z39148meta-tags .list-inline-item {
        margin-bottom: 0;
    }

    .bnx-hero__actions {
        flex-direction: column;
    }

    .bnx-hero__actions .btn {
        width: 100%;
        min-height: 2.75rem;
        justify-content: center;
    }

    .bnx-feed.z39148article-feed {
        display: flex !important;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0.75rem;
        scroll-snap-type: x mandatory;
        padding-bottom: max(0.5rem, env(safe-area-inset-bottom, 0px));
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x pinch-zoom;
        margin-inline: max(0px, -0.25rem);
        padding-inline: 0.25rem;
    }

    .bnx-feed.z39148article-feed .z39148article-tile {
        flex: 0 0 min(280px, calc(100vw - 1.75rem - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
        max-width: min(280px, calc(100vw - 1.75rem - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
        scroll-snap-align: start;
        box-sizing: border-box;
    }

    .bnx-feed.z39148article-feed .z39148thumb-home {
        height: 96px !important;
    }
}

@media (max-width: 575px) {
    .bnx-feed.z39148article-feed .z39148thumb-home {
        height: 88px !important;
    }
}

/* bnx-site：子页与通用组件对齐深色主题 */
.bnx-site .z39148page-shell {
    background: #0b0e11;
    color: #eaecef;
}

.bnx-site .z39148page-shell .card {
    background: #1e2329;
    border-color: #2b3139;
    color: #eaecef;
}

.bnx-site .z39148page-shell aside a {
    color: #f0b90b;
}

.bnx-site .z39148sidebar-title {
    color: #fff;
    border-bottom-color: #2b3139;
}

.bnx-site .text-muted {
    color: #848e9c !important;
}

.bnx-site .listbox .e2 a {
    color: #eaecef;
}

.bnx-site .listbox .e2 a:hover {
    color: #f0b90b;
}

.bnx-site .listbox .e2 li.border-bottom {
    border-color: var(--gray-200) !important;
}

.bnx-site .z39148article-content {
    color: #d1d5db;
    overflow-wrap: break-word;
    word-break: break-word;
}

.bnx-site .z39148article-content a {
    color: #f0b90b;
}

.bnx-site .footer .text-secondary {
    color: #848e9c !important;
}

.bnx-site .z39148pages .pagelist a,
.bnx-site .pagebar .pagelist a {
    color: #f0b90b;
}

.bnx-site .z39148page-shell h1 {
    color: #fff;
}

@media (max-width: 767px) {
    .bnx-site .z39148thumb-cover {
        height: auto !important;
        aspect-ratio: 16 / 10;
        max-height: 220px;
        object-fit: cover;
    }

    .bnx-site .z39148page-shell h1.h3 {
        font-size: clamp(1.05rem, 4.5vw, 1.28rem);
        line-height: 1.32;
        word-break: break-word;
    }

    .bnx-site .card .d-flex.flex-column.flex-md-row.justify-content-between.gap-2 > div {
        max-width: 100%;
        overflow-wrap: break-word;
        word-break: break-word;
    }
}
