:root {
    /* 全新主题：海青 #0891b2 + 暖橙强调（与此前靛紫/卡片风彻底区分） */
    --primary-color: #0891b2;
    --primary-dark: #0e7490;
    --secondary-color: #0c1929;
    --accent-color: #ea580c;
    --surface: #f0fdfa;
    --surface-elevated: #ffffff;
    --text-color: #134e4a;
    --text-muted: #5f6b69;
    --border-subtle: rgba(12, 25, 41, 0.1);
    --border-inner: rgba(12, 25, 41, 0.06);
    --border-width: 1px;
    --border-accent: 3px;
    --gray-100: #ccfbf1;
    --gray-200: #99f6e4;
    --transition-speed: 0.28s;
    --transition-easing: cubic-bezier(0.4, 0, 0.2, 1);
    --radius-card: 4px;
    --radius-inner: 2px;
    --shadow-soft: 0 1px 0 rgba(12, 25, 41, 0.06), 0 8px 24px rgba(8, 145, 178, 0.06);
    --shadow-hover: 0 2px 0 rgba(12, 25, 41, 0.08), 0 12px 32px rgba(8, 145, 178, 0.1);
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
    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);
}

#features,
#guide,
#stats,
#download,
#security,
#faq,
#article {
    scroll-margin-top: 5.5rem;
}

/* Bootstrap 栅格 + 卡片 hover 位移时防止撑出视口 */
.container .row > [class*="col-"] {
    min-width: 0;
}

/* —— 导航（新版） —— */
.z40aefnavbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: var(--border-width) solid var(--border-subtle);
    box-shadow: none;
    padding: 0.65rem 0;
}

.z40aefnavbar > .container {
    min-width: 0;
}

.z40aefnavbar-brand {
    min-width: 0;
    flex-shrink: 1;
    margin-right: 0.35rem;
}

.z40aefnavbar-brand img {
    height: 44px;
    width: auto;
    max-width: min(168px, 42vw);
    object-fit: contain;
}

.z40aefnav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    padding: 0.5rem 0.85rem !important;
    border-radius: 0.5rem;
    transition: color var(--transition-speed), background var(--transition-speed);
    white-space: normal;
    word-break: break-word;
}

.z40aefnav-link:hover {
    color: var(--primary-dark) !important;
    background: rgba(8, 145, 178, 0.1);
}

/* —— 英雄区：分栏 + 直角相框（非渐变药丸按钮模板） —— */
.z40aefhero-section {
    background: var(--secondary-color);
    color: #ecfeff;
    padding: 0;
    position: relative;
    overflow: clip;
}

.z40aefhero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(125deg, rgba(8, 145, 178, 0.35) 0%, transparent 42%),
        linear-gradient(215deg, rgba(234, 88, 12, 0.12) 30%, transparent 55%);
    pointer-events: none;
}

.z40aefhero-split {
    position: relative;
    z-index: 1;
    min-height: min(70vh, 560px);
    min-width: 0;
}

.z40aefhero-wing {
    display: flex;
    align-items: center;
    padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 3vw, 2rem);
    background: rgba(8, 51, 68, 0.55);
    border-right: var(--border-width) solid rgba(236, 254, 255, 0.08);
}

.z40aefhero-wing-inner {
    max-width: 32rem;
    min-width: 0;
}

.z40aefhero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 5vw, 3.5rem) 1rem;
    min-width: 0;
    box-sizing: border-box;
}

.z40aefhero-frame {
    position: relative;
    padding: 0.5rem;
    border: var(--border-width) solid rgba(236, 254, 255, 0.35);
    transform: rotate(-1.5deg);
    box-shadow: 8px 12px 0 rgba(0, 0, 0, 0.22);
    background: rgba(12, 25, 41, 0.35);
    box-sizing: border-box;
    max-width: min(100%, 320px);
    margin-left: auto;
    margin-right: auto;
}

.z40aefhero-kicker {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 0.85rem;
}

.z40aefhero-title {
    font-size: clamp(1.75rem, 4.2vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.12;
    letter-spacing: -0.03em;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.z40aefhero-subtitle {
    font-size: clamp(0.95rem, 1.9vw, 1.1rem);
    margin-bottom: 1.25rem;
    opacity: 0.9;
    max-width: 36rem;
    line-height: 1.55;
}

.z40aefhero-lead {
    max-width: 38rem;
    line-height: 1.72;
    font-size: clamp(0.8125rem, 1.65vw, 0.9rem);
    opacity: 0.88;
}

.text-primary {
    color: var(--primary-color) !important;
}

.z40aefhero-image {
    width: 100%;
    max-width: min(100%, 300px);
    height: auto;
    border-radius: 0;
    display: block;
    border: none;
    object-fit: contain;
    transform: rotate(1.5deg);
}

.z40aefhero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.z40aefbtn-ghost {
    background: transparent !important;
    color: #ecfeff !important;
    border: var(--border-width) solid rgba(236, 254, 255, 0.55) !important;
    border-radius: var(--radius-card) !important;
    font-weight: 600;
}

.z40aefbtn-ghost:hover {
    background: rgba(236, 254, 255, 0.08) !important;
    color: #fff !important;
}

.z40aefbtn-solid {
    background: var(--accent-color) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--radius-card) !important;
    font-weight: 600;
}

.z40aefbtn-solid:hover {
    filter: brightness(1.06);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.35);
}

@media (max-width: 991px) {
    .z40aefhero-wing {
        border-right: none;
        border-bottom: var(--border-width) solid rgba(236, 254, 255, 0.08);
    }

    .z40aefhero-split {
        min-height: 0;
    }

    .z40aefhero-frame {
        transform: none;
        margin-top: 0.5rem;
        box-shadow: 4px 8px 0 rgba(0, 0, 0, 0.2);
    }

    .z40aefhero-image {
        transform: none;
    }
}

@media (max-width: 768px) {
    .z40aefhero-buttons {
        flex-direction: column;
    }

    .z40aefhero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* —— 通栏导读（双栏纸感） —— */
.z40aefprose-section {
    background: var(--surface-elevated);
    border-bottom: var(--border-width) solid var(--border-subtle);
    padding: clamp(2.25rem, 5vw, 3.5rem) 0;
}

.z40aefprose-section .lead {
    color: var(--text-muted);
    font-size: clamp(0.95rem, 1.9vw, 1.05rem);
    line-height: 1.75;
    margin-bottom: 0;
}

.z40aefprose-editorial .z40aefprose-columns {
    display: grid;
    gap: 1.5rem 2.5rem;
    max-width: 56rem;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .z40aefprose-editorial .z40aefprose-columns {
        grid-template-columns: 1fr 1fr;
    }
}

.z40aefprose-aside {
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem 1.15rem;
    border: var(--border-width) solid var(--border-subtle);
    border-left: var(--border-accent) solid var(--accent-color);
    background: var(--surface);
    border-radius: 0 var(--radius-card) var(--radius-card) 0;
    box-sizing: border-box;
}

/* —— 信号横条（左色条 + 无卡片阴影） —— */
.z40aefsignal-rail {
    background: var(--surface);
    border-bottom: var(--border-width) solid var(--border-subtle);
}

.z40aefsignal-grid {
    display: grid;
    gap: 0;
    border: var(--border-width) solid var(--border-subtle);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .z40aefsignal-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.z40aefsignal-cell {
    padding: 1.1rem 1.25rem;
    border-bottom: var(--border-width) solid var(--border-subtle);
    background: var(--surface-elevated);
    box-sizing: border-box;
    border-left: var(--border-accent) solid var(--primary-color);
    min-width: 0;
}

@media (min-width: 768px) {
    .z40aefsignal-cell {
        border-bottom: none;
        border-right: var(--border-width) solid var(--border-subtle);
        border-left-width: 0;
        border-top: var(--border-accent) solid var(--primary-color);
    }

    .z40aefsignal-cell:last-child {
        border-right: none;
    }
}

.z40aefsignal-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-dark);
    margin-bottom: 0.4rem;
}

.z40aefsignal-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    overflow-wrap: anywhere;
}

/* —— 杂志式能力区 —— */
.z40aeffeatures-mag {
    background: var(--surface-elevated);
    border-bottom: var(--border-width) solid var(--border-subtle);
}

.z40aefpy-lg-6 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

@media (max-width: 991px) {
    .z40aefpy-lg-6 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
}

.z40aefmag-head {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem 1.5rem;
    align-items: start;
    max-width: 52rem;
    min-width: 0;
}

.z40aefmag-head > div:last-child {
    min-width: 0;
}

.z40aefmag-index {
    font-size: clamp(2.5rem, 6vw, 3.75rem);
    font-weight: 800;
    line-height: 1;
    color: var(--gray-200);
    letter-spacing: -0.04em;
    user-select: none;
}

.z40aefmag-head h2 {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.z40aefmag-dek {
    color: var(--text-muted);
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.z40aefmag-grid {
    display: grid;
    gap: 1.25rem 1.5rem;
    min-width: 0;
}

@media (min-width: 768px) {
    .z40aefmag-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.z40aefmag-block {
    padding: 1.35rem 1.4rem;
    border: var(--border-width) solid var(--border-subtle);
    border-radius: var(--radius-card);
    background: var(--surface);
    box-sizing: border-box;
    min-height: 100%;
    overflow: clip;
}

.z40aefmag-block h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.65rem;
}

.z40aefmag-block p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.z40aefmag-rule {
    border: 0;
    border-top: var(--border-width) solid var(--border-subtle);
    margin: 2.5rem 0 0;
    opacity: 1;
}

.z40aefmag-tile {
    height: 100%;
    padding: 1.15rem 1.2rem;
    border: var(--border-width) solid var(--border-subtle);
    border-radius: var(--radius-card);
    background: var(--surface-elevated);
    position: relative;
    box-sizing: border-box;
    overflow: clip;
}

.z40aefmag-tile-no {
    position: absolute;
    top: 0.65rem;
    right: 0.75rem;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.65;
}

.z40aefmag-tile h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    padding-right: 1.5rem;
}

/* —— 流程时间线 —— */
.z40aefguide-flow {
    background: linear-gradient(180deg, var(--surface) 0%, var(--surface-elevated) 100%);
    border-bottom: var(--border-width) solid var(--border-subtle);
}

.z40aefflow-track {
    position: relative;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.z40aefflow-step {
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    gap: 1rem 1.25rem;
    padding-bottom: 1.75rem;
    position: relative;
}

.z40aefflow-step:last-child {
    padding-bottom: 0;
}

.z40aefflow-step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 1.125rem;
    top: 2.5rem;
    bottom: 0.35rem;
    width: var(--border-width);
    background: linear-gradient(180deg, var(--primary-color), rgba(8, 145, 178, 0.15));
}

.z40aefflow-dot {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    color: #fff;
    background: var(--primary-dark);
    border: var(--border-width) solid var(--surface-elevated);
    box-shadow: 0 0 0 var(--border-width) var(--primary-color);
    z-index: 1;
    box-sizing: border-box;
    flex-shrink: 0;
}

.z40aefflow-body {
    min-width: 0;
}

.z40aefflow-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.35rem;
}

.z40aefarticle-band {
    background: var(--gray-100);
    border-top: var(--border-width) solid var(--border-subtle);
}

.z40aefarticle-band-title {
    color: var(--secondary-color);
    font-weight: 800;
}

.z40aefarticle-card {
    border-radius: var(--radius-card) !important;
    border: var(--border-width) solid var(--border-subtle) !important;
    overflow: clip;
}

/* —— 分区标题（居中块，子页仍可用） —— */
.z40aefsection-head {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 2.5rem;
}

.z40aefsection-head h2 {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.z40aefsection-head p {
    color: var(--text-muted);
    margin: 0;
    font-size: 1rem;
}

/* —— 特点卡片（与 Bootstrap .card 组合，保证边框圆角不被覆盖） —— */
.card.z40aeffeature-card {
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-speed) var(--transition-easing),
        box-shadow var(--transition-speed) var(--transition-easing);
    border: var(--border-width) solid var(--border-subtle);
    height: 100%;
    background: var(--surface-elevated);
    overflow: clip;
    box-sizing: border-box;
}

.card.z40aeffeature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.z40aeffeature-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    background: rgba(8, 145, 178, 0.12);
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-inner);
    margin: 0 auto 1.25rem;
}

/* —— 统计数据：横向刻度带 —— */
.z40aefstats-section {
    background: #083344;
    color: #ecfeff;
    padding: 0;
}

.z40aefstats-intro {
    color: rgba(236, 254, 255, 0.82);
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.z40aefstats-intro strong {
    color: #ecfeff;
}

.z40aefstats-strip-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    gap: 0;
}

.z40aefstats-strip-item {
    flex: 1 1 140px;
    text-align: center;
    padding: 0.75rem 0.5rem;
    box-sizing: border-box;
    min-width: 0;
}

.z40aefstats-strip-sep {
    flex: 0 0 auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}

.z40aefstats-divider {
    display: block;
    width: var(--border-width);
    align-self: stretch;
    min-height: 2.5rem;
    background: rgba(236, 254, 255, 0.18);
}

.z40aefstat-number {
    display: block;
    font-size: clamp(1.65rem, 3.5vw, 2.35rem);
    font-weight: 800;
    margin-bottom: 0.35rem;
    color: var(--accent-color);
    line-height: 1.1;
}

.z40aefstat-label {
    display: block;
    font-size: clamp(0.72rem, 1.8vw, 0.875rem);
    opacity: 0.88;
    line-height: 1.35;
    max-width: 12rem;
    margin: 0 auto;
}

/* —— 下载区：扁平分发板 —— */
.z40aefdownload-section {
    padding: 0;
    background: var(--surface-elevated);
}

.z40aefdownload-header h2 {
    color: var(--secondary-color);
    font-weight: 800;
}

.z40aefdownload-subtitle {
    color: var(--text-muted);
    overflow-wrap: anywhere;
}

.z40aefdl-board {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: var(--border-width) solid var(--border-subtle);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-sizing: border-box;
}

.z40aefdl-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0;
    border-bottom: var(--border-width) solid var(--border-subtle);
    background: var(--surface-elevated);
    min-width: 0;
}

.z40aefdl-row:last-child {
    border-bottom: none;
}

.z40aefdl-mark {
    width: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #fff;
    box-sizing: border-box;
    flex-shrink: 0;
    align-self: stretch;
    border-right: var(--border-width) solid rgba(255, 255, 255, 0.22);
}

.z40aefdl-mark--win {
    background: #0369a1;
}

.z40aefdl-mark--and {
    background: #047857;
}

.z40aefdl-main {
    padding: 1.25rem 1.35rem;
    min-width: 0;
    box-sizing: border-box;
}

.z40aefdl-badge {
    background: var(--surface) !important;
    color: var(--primary-dark) !important;
    border: var(--border-width) solid var(--border-subtle) !important;
    font-weight: 600;
}

.z40aefdl-dt {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.15rem;
}

.z40aefdl-dd {
    color: var(--text-muted);
}

/* 旧版双卡片（其他页若引用仍可用） */
.z40aefdownload-card {
    border: var(--border-width) solid var(--border-subtle);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    transition: box-shadow var(--transition-speed);
    background: var(--surface-elevated);
    box-sizing: border-box;
    overflow: clip;
}

.z40aefdownload-card:hover {
    box-shadow: var(--shadow-hover);
}

.z40aefplatform-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-inner);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.z40aefios-icon {
    background: linear-gradient(135deg, #0ea5e9, #0369a1);
    color: #fff;
}

.z40aefandroid-icon {
    background: linear-gradient(135deg, #10b981, #047857);
    color: #fff;
}

.z40aefdownload-info {
    background: rgba(8, 145, 178, 0.06);
    padding: 1.25rem;
    border-radius: var(--radius-inner);
    border: var(--border-width) solid var(--border-inner);
    box-sizing: border-box;
}

.z40aefdownload-action .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
}

.z40aefinfo-item i {
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 0.15em;
}

.z40aefinfo-item span {
    min-width: 0;
}

/* —— 新手指引 / 双栏 —— */
.z40aefguide-section {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    background: var(--surface-elevated);
}

.z40aefguide-panel {
    border-radius: var(--radius-card);
    border: var(--border-width) solid var(--border-subtle);
    padding: 1.5rem;
    height: 100%;
    background: var(--gray-100);
    box-sizing: border-box;
    overflow: clip;
}

.z40aefguide-panel h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.z40aefguide-panel ol,
.z40aefguide-panel ul {
    padding-left: 1.1rem;
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.z40aefguide-panel li {
    margin-bottom: 0.5rem;
}

/* —— 安全区：行栅 + 认证窄条 —— */
.z40aefsecurity-section {
    padding: 0;
    background: var(--surface);
}

.z40aefsecurity-header h2 {
    color: var(--secondary-color);
    font-weight: 800;
}

.z40aefsecurity-subtitle {
    color: var(--text-muted);
    overflow-wrap: anywhere;
}

.z40aeflattice {
    border: var(--border-width) solid var(--border-subtle);
    border-radius: var(--radius-card);
    overflow: hidden;
    background: var(--surface-elevated);
    box-sizing: border-box;
}

.z40aeflattice-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem 1.25rem;
    padding: 1.15rem 1.25rem;
    border-bottom: var(--border-width) solid var(--border-subtle);
    align-items: start;
    box-sizing: border-box;
    min-width: 0;
}

.z40aeflattice-copy {
    min-width: 0;
}

.z40aeflattice-row:last-child {
    border-bottom: none;
}

.z40aeflattice-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--primary-dark);
    background: rgba(8, 145, 178, 0.12);
    border: var(--border-width) solid var(--border-inner);
    border-radius: var(--radius-inner);
    flex-shrink: 0;
    box-sizing: border-box;
}

.z40aeflattice-copy h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.z40aefcert-strip {
    border-top: var(--border-width) solid var(--border-subtle);
    padding-top: 1.5rem;
}

.z40aefcert-cell {
    height: 100%;
    padding: 1.1rem 1.15rem;
    border: var(--border-width) solid var(--border-subtle);
    border-radius: var(--radius-card);
    background: var(--surface-elevated);
    box-sizing: border-box;
    overflow: clip;
}

.z40aefcert-cell h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 0.35rem;
}

/* 旧版四宫格卡片（备用） */
.z40aefsecurity-card {
    background: var(--surface-elevated);
    border-radius: var(--radius-card);
    padding: 1.5rem;
    height: 100%;
    box-shadow: var(--shadow-soft);
    border: var(--border-width) solid var(--border-subtle);
    box-sizing: border-box;
    overflow: clip;
}

.z40aefsecurity-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-inner);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
}

.z40aefsecurity-card h3 {
    color: var(--secondary-color);
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

.z40aefsecurity-features {
    background: rgba(8, 145, 178, 0.06);
    padding: 1.1rem 1.2rem;
    border-radius: var(--radius-inner);
    border: var(--border-width) solid var(--border-inner);
    box-sizing: border-box;
}

.z40aeffeature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    gap: 0.5rem;
}

.z40aeffeature-item:last-child {
    margin-bottom: 0;
}

.z40aeffeature-item span {
    min-width: 0;
}

.z40aeffeature-item i {
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 0.15em;
}

.z40aefsecurity-certificates {
    margin-top: 3rem;
}

.z40aefcertificate-card {
    background: var(--surface-elevated);
    border-radius: var(--radius-card);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: var(--border-width) solid var(--border-subtle);
    height: 100%;
    transition: transform 0.25s ease;
    box-sizing: border-box;
    overflow: clip;
}

.z40aefcertificate-card:hover {
    transform: translateY(-3px);
}

.z40aefcertificate-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-inner);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
}

.z40aefcertificate-card h4 {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.05rem;
}

.z40aefcertificate-card p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.9rem;
}

/* —— FAQ 扁平条 —— */
.z40aeffaq-flat {
    height: 100%;
    padding: 1.15rem 1.25rem;
    border: var(--border-width) solid var(--border-subtle);
    border-left: var(--border-accent) solid var(--primary-color);
    border-radius: var(--radius-card);
    background: var(--surface-elevated);
    box-sizing: border-box;
    overflow: clip;
}

.z40aeffaq-flat h3 {
    color: var(--secondary-color);
    font-weight: 700;
    overflow-wrap: anywhere;
}

/* —— FAQ 卡片（备用） —— */
.card.z40aeffaq-card {
    border: var(--border-width) solid var(--border-subtle);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    transition: box-shadow 0.25s ease;
    overflow: clip;
    box-sizing: border-box;
}

.card.z40aeffaq-card:hover {
    box-shadow: var(--shadow-hover);
}

.card.z40aeffaq-card .card-title {
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 600;
}

/* —— 文章区 —— */
#article .card {
    border: var(--border-width) solid var(--border-subtle);
    border-radius: var(--radius-card);
    overflow: clip;
    box-shadow: var(--shadow-soft);
    box-sizing: border-box;
}

#article .card:hover {
    box-shadow: var(--shadow-hover);
}

section#faq.z40aeffaq-airstrip {
    border-top: var(--border-width) solid var(--border-subtle);
}

/* —— 页脚 —— */
.z40aeffooter {
    background: var(--secondary-color);
    padding: 3rem 0 1.5rem;
    color: #94a3b8;
}

.z40aeffooter .z40aeffooter-title {
    color: #e2e8f0;
}

.z40aeffooter-link {
    color: #94a3b8;
}

.z40aeffooter-link:hover {
    color: #22d3ee;
}

.z40aeffooter-bottom {
    border-top: var(--border-width) solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
}

.z40aeffooter-bottom a {
    color: #cbd5e1;
}

.z40aeffooter-bottom a:hover {
    color: #22d3ee;
}

/* —— 子页内容区 —— */
.z40aefpage-shell {
    padding: clamp(2rem, 4vw, 3rem) 0;
    background: var(--surface);
    min-height: 50vh;
}

.z40aefpage-shell .card {
    border: var(--border-width) solid var(--border-subtle);
    border-radius: var(--radius-card);
    overflow: clip;
    box-sizing: border-box;
}

.z40aefpage-shell .card.shadow-sm {
    box-shadow: var(--shadow-soft) !important;
}

.z40aefpage-shell aside a {
    color: var(--primary-dark);
    text-decoration: none;
}

.z40aefpage-shell aside a:hover {
    text-decoration: underline;
}

/* —— 按钮与表单 —— */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
    border: none !important;
}

.btn-outline-primary {
    color: var(--primary-dark) !important;
    border-color: var(--primary-color) !important;
}

.btn-outline-primary:hover {
    background: var(--primary-color) !important;
    color: #fff !important;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(8, 145, 178, 0.22);
}

/* —— 内页侧栏标题 —— */
.z40aefsidebar-title {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: var(--border-width) solid var(--border-subtle);
}

/* —— 动画 —— */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.z40aefhero-wing-inner,
.z40aefmag-block,
.z40aefdl-row,
.z40aeffaq-flat {
    animation: fadeIn 0.55s var(--transition-easing) forwards;
}

img {
    max-width: 100%;
    height: auto;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    padding: 0.75rem;
    border-radius: var(--radius-card);
    margin-top: 0.5rem;
    border: var(--border-width) solid var(--border-subtle);
    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;
}

/* 缩略图 */
.z40aefthumb-home {
    border-radius: var(--radius-card) var(--radius-card) 0 0;
}

@media (max-width: 767px) {
    .z40aefnavbar {
        padding: 0.45rem 0;
    }

    .z40aefnavbar-brand img {
        height: auto;
        max-height: 40px;
        max-width: min(152px, 46vw);
    }

    .z40aefnavbar .navbar-collapse {
        max-height: 72vh;
        overflow-y: auto;
    }

    .z40aefnavbar .navbar-nav .nav-link {
        padding: 0.5rem 0.35rem !important;
        font-size: 0.95rem;
    }

    .z40aefprose-section .lead {
        text-align: left;
        font-size: 0.9375rem;
        line-height: 1.7;
        max-width: none;
    }

    .z40aefprose-aside {
        border-radius: var(--radius-card);
        padding: 0.95rem 1rem;
    }

    .z40aefsection-head {
        margin-bottom: 1.75rem;
    }

    .z40aefsection-head p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .z40aefguide-panel {
        padding: 1.15rem;
    }

    .z40aefguide-panel h3 {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.35rem;
        font-size: 1.02rem;
        line-height: 1.35;
    }

    .z40aefmag-head {
        grid-template-columns: 1fr;
        gap: 0.65rem 1rem;
    }

    .z40aefmag-index {
        font-size: 2rem;
    }

    .z40aefdl-row {
        grid-template-columns: 1fr;
    }

    .z40aefdl-mark {
        width: 100%;
        min-height: 3.25rem;
        font-size: 1.5rem;
        border-right: none;
        border-bottom: var(--border-width) solid rgba(255, 255, 255, 0.22);
    }

    .z40aefdl-main {
        padding: 1rem 1rem;
    }

    .z40aeflattice-row {
        padding: 1rem 0.95rem;
        gap: 0.85rem 1rem;
    }

    .z40aefarticle-band .d-flex.flex-column .btn {
        width: 100%;
        align-self: stretch;
    }

    .z40aefstats-strip-sep {
        display: none !important;
    }

    .z40aefstats-strip-item:not(.z40aefstats-strip-sep) {
        flex: 1 1 46%;
        border-bottom: var(--border-width) solid rgba(236, 254, 255, 0.12);
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .z40aefstats-strip-item:not(.z40aefstats-strip-sep):last-child {
        border-bottom: none;
    }

    .z40aefstats-strip-list {
        row-gap: 0;
    }

    .z40aefhero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.15rem;
    }

    .z40aefhero-lead {
        font-size: 0.875rem;
        line-height: 1.65;
    }

    .z40aefhero-buttons .btn-lg {
        --bs-btn-padding-y: 0.52rem;
        --bs-btn-padding-x: 1rem;
        font-size: 0.9375rem;
    }

    .z40aefstats-section {
        padding: 0;
    }

    .z40aefstat-label {
        max-width: none;
        font-size: 0.78rem;
        line-height: 1.35;
    }

    .z40aefstat-number {
        font-size: clamp(1.45rem, 5.5vw, 1.95rem);
    }

    .z40aefsecurity-section {
        padding: 0;
    }

    .z40aefdownload-section {
        padding: 0;
    }

    .z40aefguide-section {
        padding: clamp(2.25rem, 5vw, 3.25rem) 0;
    }

    .z40aeffaq-flat {
        padding: 1rem 1.05rem;
    }

    .z40aeffooter {
        padding: 2rem 0 1.15rem;
    }

    .z40aeffooter-bottom p.small.mb-2 {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        column-gap: 0.35rem;
        row-gap: 0.4rem;
    }

    .z40aeffooter-bottom p.small.mb-2 > span {
        opacity: 0.45;
        flex: 0 0 auto;
    }

    .z40aefpage-shell {
        padding-top: 1.5rem !important;
        padding-bottom: 2rem !important;
    }

    .z40aefpage-shell h1.h3 {
        font-size: clamp(1.05rem, 4.5vw, 1.35rem);
        line-height: 1.35;
        word-break: break-word;
    }

    .z40aefpage-shell header .small {
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem 0.75rem;
        row-gap: 0.25rem;
    }

    .z40aefsecurity-icon {
        width: 60px;
        height: 60px;
        font-size: 1.45rem;
    }

    #article .card-body {
        padding: 0.75rem;
    }

    #article .z40aefthumb-home {
        height: 96px !important;
    }

    #article h3.h5,
    #article .card-body h3.h6,
    #article .card-body h3 {
        font-size: 0.95rem;
        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;
    }

    .z40aefthumb-list,
    .z40aefthumb-related {
        height: 72px !important;
    }

    .z40aefthumb-side {
        height: 50px !important;
    }

    .z40aefthumb-cover {
        max-width: 100% !important;
        width: 100%;
        height: 170px !important;
        margin: 0 auto;
    }

    .z40aefdownload-card .card-body {
        padding: 1rem !important;
    }

    .z40aefdownload-card .d-flex.align-items-center {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        margin-bottom: 1rem !important;
    }

    .z40aefdownload-card .d-flex.align-items-center .ms-3 {
        margin-left: 0 !important;
    }

    .z40aefplatform-icon {
        width: 52px;
        height: 52px;
        font-size: 1.15rem;
    }

    .z40aefdownload-info {
        padding: 1rem;
    }

    .z40aefdownload-action .btn {
        width: 100%;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
}

@media (max-width: 575px) {
    #article .z40aefthumb-home {
        height: 88px !important;
    }

    .z40aefsignal-cell {
        padding: 0.95rem 1rem;
    }

    .z40aefstats-strip-item:not(.z40aefstats-strip-sep) {
        flex: 1 1 100%;
        padding-left: 0.65rem;
        padding-right: 0.65rem;
    }

    .z40aefflow-step {
        grid-template-columns: 2rem 1fr;
        gap: 0.85rem 0.95rem;
        padding-bottom: 1.5rem;
    }

    .z40aefflow-step:not(:last-child)::before {
        left: calc(1rem - 0.5px);
        top: 2.35rem;
    }

    .z40aefflow-dot {
        width: 2rem;
        height: 2rem;
        font-size: 0.72rem;
    }

    .z40aefdl-spec [class*="col-"]:not(:last-child) {
        margin-bottom: 0.65rem;
    }

    .z40aefmag-block {
        padding: 1.1rem 1rem;
    }

    .z40aefmag-tile {
        padding: 1rem 1rem;
    }

    .z40aefmag-tile h4 {
        padding-right: 2rem;
    }

    .z40aefhero-wing {
        padding-left: clamp(0.85rem, 4vw, 1.25rem);
        padding-right: clamp(0.85rem, 4vw, 1.25rem);
    }

    .z40aefthumb-list,
    .z40aefthumb-related {
        height: 64px !important;
    }

    .z40aefthumb-side {
        height: 46px !important;
    }

    .z40aefthumb-cover {
        height: 150px !important;
    }

    .pagebar .pagelist {
        gap: 0.35rem;
    }

    .z40aefhero-kicker {
        font-size: 0.72rem;
        letter-spacing: 0.04em;
        line-height: 1.35;
        max-width: 100%;
    }

    .z40aeffooter-bottom {
        font-size: 0.8125rem;
    }
}

@media (hover: none) and (pointer: coarse) {
    .card.z40aeffeature-card:hover {
        transform: none;
        box-shadow: var(--shadow-soft);
    }

    .z40aefdownload-card:hover {
        box-shadow: var(--shadow-soft);
    }

    body.z40aefhome .z40aefhome-btn--primary:hover {
        transform: none;
        box-shadow: none;
    }
}

.z40aefinfo-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    gap: 0.5rem;
}

.z40aefinfo-item:last-child {
    margin-bottom: 0;
}

.z40aefstat-item {
    text-align: center;
    padding: 0.5rem 0.35rem;
    box-sizing: border-box;
}

.z40aeffriend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
}

.z40aeffriend-links li {
    display: inline;
}

.z40aeffriend-links a {
    color: #94a3b8;
    text-decoration: none;
}

.z40aeffriend-links a:hover {
    color: #22d3ee;
}

.z40aefarticle-content {
    line-height: 1.75;
    word-break: break-word;
}

.z40aefarticle-content img {
    max-width: 100%;
    height: auto;
}

.z40aefdiyfield {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.z40aefmeta-tags {
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.z40aefmeta-tags .list-inline-item {
    margin-right: 0 !important;
    display: inline-block;
}

.z40aeftagitem a {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(8, 145, 178, 0.12);
    color: var(--primary-dark);
    text-decoration: none;
    font-size: 0.85rem;
}

.z40aeftagitem a:hover {
    background: rgba(8, 145, 178, 0.22);
}

.z40aefpages .pagelist a {
    color: var(--primary-dark);
}

/* =============================================================================
   首页专用：深色交易台 + 琥珀金强调（body.z40aefhome，与子页隔离）
   ============================================================================= */
body.z40aefhome {
    --home-bg: #0b0e11;
    --home-surface: #14161c;
    --home-panel: #1e2329;
    --home-line: #2b3139;
    --home-text: #eaecef;
    --home-muted: #848e9c;
    --home-accent: #fcd535;
    --home-accent-hover: #ffe252;
    --home-accent-ink: #0b0e11;
    --home-up: #0ecb81;
    --home-radius: 6px;
    --home-radius-sm: 4px;
    --home-border: 1px;
}

/* 列表/内页仅复用顶栏时，body 无 .z40aefhome，变量需挂在 nav 上 */
.z40aefnavbar.z40aefhome-nav {
    --home-bg: #0b0e11;
    --home-surface: #14161c;
    --home-panel: #1e2329;
    --home-line: #2b3139;
    --home-text: #eaecef;
    --home-muted: #848e9c;
    --home-accent: #fcd535;
    --home-accent-hover: #ffe252;
    --home-accent-ink: #0b0e11;
    --home-up: #0ecb81;
    --home-radius: 6px;
    --home-radius-sm: 4px;
    --home-border: 1px;
}

body.z40aefhome {
    background: var(--home-bg);
    color: var(--home-text);
}

body.z40aefhome #features,
body.z40aefhome #guide,
body.z40aefhome #stats,
body.z40aefhome #download,
body.z40aefhome #security,
body.z40aefhome #faq,
body.z40aefhome #article {
    scroll-margin-top: 5.25rem;
}

/* —— 顶栏（首页与列表/内页共用 .z40aefhome-nav） —— */
.z40aefnavbar.z40aefhome-nav {
    background: rgba(11, 14, 17, 0.88) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: var(--home-border) solid var(--home-line) !important;
    box-shadow: none !important;
    padding: 0.55rem 0;
}

.z40aefhome-nav > .container {
    min-width: 0;
}

.z40aefhome-nav .z40aefnav-link {
    color: var(--home-text) !important;
    font-weight: 500;
}

.z40aefhome-nav .z40aefnav-link:hover,
.z40aefhome-nav .z40aefnav-link:focus {
    color: var(--home-accent) !important;
    background: rgba(252, 213, 53, 0.08) !important;
}

.z40aefhome-nav .z40aefhome-toggler {
    box-shadow: none !important;
}

.z40aefhome-nav .navbar-collapse {
    background: var(--home-panel) !important;
    border: var(--home-border) solid var(--home-line);
    border-radius: var(--home-radius);
    margin-top: 0.5rem;
    padding: 0.65rem 0.75rem;
}

@media (min-width: 992px) {
    .z40aefhome-nav .navbar-collapse {
        background: transparent !important;
        border: none;
        margin-top: 0;
        padding: 0;
    }
}

.z40aefhome-nav .z40aefnavbar-brand {
    margin-right: 0.5rem;
}

.z40aefhome-nav .z40aefnavbar-brand img {
    max-height: 40px;
    width: auto;
    max-width: min(168px, 44vw);
    object-fit: contain;
}

/* —— Hero —— */
body.z40aefhome .z40aefhome-hero {
    position: relative;
    overflow: clip;
    background:
        radial-gradient(ellipse 90% 55% at 18% 0%, rgba(252, 213, 53, 0.12), transparent 55%),
        radial-gradient(ellipse 70% 45% at 88% 20%, rgba(14, 203, 129, 0.06), transparent 50%),
        linear-gradient(180deg, #0f1318 0%, var(--home-bg) 42%);
    border-bottom: var(--home-border) solid var(--home-line);
}

body.z40aefhome .z40aefhome-hero-inner {
    z-index: 1;
    min-width: 0;
}

body.z40aefhome .z40aefhome-hero .row {
    min-width: 0;
}

body.z40aefhome .z40aefhome-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--home-muted);
}

body.z40aefhome .z40aefhome-title {
    font-size: clamp(1.85rem, 5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--home-text);
    overflow-wrap: anywhere;
    word-break: break-word;
}

body.z40aefhome .z40aefhome-lead {
    font-size: clamp(0.95rem, 2.2vw, 1.05rem);
    line-height: 1.55;
    color: var(--home-muted) !important;
    overflow-wrap: anywhere;
}

body.z40aefhome .z40aefhome-summary {
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--home-muted);
    max-width: 36rem;
    overflow-wrap: anywhere;
}

body.z40aefhome .z40aefhome-summary strong {
    color: var(--home-text);
    font-weight: 600;
}

body.z40aefhome .z40aefhome-btn {
    font-weight: 600;
    border-radius: var(--home-radius-sm);
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

body.z40aefhome .z40aefhome-btn--primary {
    background: var(--home-accent) !important;
    color: var(--home-accent-ink) !important;
}

body.z40aefhome .z40aefhome-btn--primary:hover {
    background: var(--home-accent-hover) !important;
    color: var(--home-accent-ink) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(252, 213, 53, 0.25);
}

body.z40aefhome .z40aefhome-btn--line {
    background: transparent !important;
    color: var(--home-text) !important;
    border: var(--home-border) solid var(--home-line) !important;
}

body.z40aefhome .z40aefhome-btn--line:hover {
    border-color: var(--home-accent) !important;
    color: var(--home-accent) !important;
}

body.z40aefhome .z40aefhome-btn--ghost {
    background: transparent !important;
    color: var(--home-accent) !important;
    border: var(--home-border) solid rgba(252, 213, 53, 0.45) !important;
}

body.z40aefhome .z40aefhome-btn--ghost:hover {
    background: rgba(252, 213, 53, 0.1) !important;
    color: var(--home-accent-hover) !important;
}

body.z40aefhome .z40aefhome-check {
    color: var(--home-muted);
}

body.z40aefhome .z40aefhome-check .bi-check2-circle {
    color: var(--home-up);
}

body.z40aefhome .z40aefhome-shot {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

body.z40aefhome .z40aefhome-shot-frame {
    border-radius: var(--home-radius);
    border: var(--home-border) solid var(--home-line);
    background: linear-gradient(145deg, var(--home-panel), var(--home-surface));
    padding: 0.75rem;
    box-sizing: border-box;
    overflow: clip;
    max-width: 100%;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.38);
}

body.z40aefhome .z40aefhome-shot-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: calc(var(--home-radius-sm) + 1px);
}

body.z40aefhome .z40aefhome-shot-cap strong {
    color: var(--home-text);
}

/* —— 三列要点 —— */
body.z40aefhome .z40aefhome-strip {
    background: var(--home-bg);
    border-bottom: var(--home-border) solid var(--home-line);
}

body.z40aefhome .z40aefhome-strip-card {
    background: var(--home-panel);
    border: var(--home-border) solid var(--home-line);
    border-radius: var(--home-radius);
    padding: 1.1rem 1.15rem;
    box-sizing: border-box;
    overflow: clip;
    min-width: 0;
}

body.z40aefhome .z40aefhome-strip-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--home-accent);
    margin-bottom: 0.45rem;
}

body.z40aefhome .z40aefhome-strip-card p {
    color: var(--home-muted);
    overflow-wrap: anywhere;
}

body.z40aefhome .z40aefhome-strip-card strong {
    color: var(--home-text);
}

/* —— 声明条 —— */
body.z40aefhome .z40aefhome-notice {
    background: var(--home-surface);
    border-bottom: var(--home-border) solid var(--home-line);
}

body.z40aefhome .z40aefhome-notice-kicker {
    color: var(--home-muted);
    letter-spacing: 0.12em;
}

body.z40aefhome .z40aefhome-notice-grid {
    display: grid;
    gap: 1rem 2rem;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--home-muted);
    min-width: 0;
}

body.z40aefhome .z40aefhome-notice-grid strong {
    color: var(--home-text);
}

@media (min-width: 768px) {
    body.z40aefhome .z40aefhome-notice-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* —— 能力四宫格 —— */
body.z40aefhome .z40aefhome-features {
    background: var(--home-bg);
    border-bottom: var(--home-border) solid var(--home-line);
}

body.z40aefhome .z40aefhome-sec-title {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 800;
    color: var(--home-text);
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
    word-break: break-word;
}

body.z40aefhome .z40aefhome-sec-sub {
    max-width: 40rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

body.z40aefhome .z40aefhome-sec-sub strong {
    color: var(--home-text);
}

body.z40aefhome .z40aefhome-sec-head {
    min-width: 0;
}

body.z40aefhome .z40aefhome-fcard {
    background: var(--home-panel);
    border: var(--home-border) solid var(--home-line);
    border-radius: var(--home-radius);
    padding: 1.35rem 1.4rem;
    box-sizing: border-box;
    overflow: clip;
    min-width: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.z40aefhome .z40aefhome-fcard:hover {
    border-color: rgba(252, 213, 53, 0.45);
    box-shadow: none;
}

body.z40aefhome .z40aefhome-fcard-title {
    color: var(--home-text);
    font-weight: 700;
}

body.z40aefhome .z40aefhome-fcard strong {
    color: var(--home-text);
}

/* —— 时间线 —— */
body.z40aefhome .z40aefhome-guide {
    background: var(--home-surface);
    border-bottom: var(--home-border) solid var(--home-line);
}

body.z40aefhome .z40aefhome-timeline {
    max-width: 44rem;
    margin-left: auto;
    margin-right: auto;
}

body.z40aefhome .z40aefhome-tl-item {
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    gap: 1rem 1.25rem;
    padding-bottom: 1.5rem;
    position: relative;
}

body.z40aefhome .z40aefhome-tl-item:last-child {
    padding-bottom: 0;
}

body.z40aefhome .z40aefhome-tl-item:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 1.125rem;
    top: 2.35rem;
    bottom: 0.25rem;
    width: var(--home-border);
    background: linear-gradient(180deg, var(--home-accent), rgba(252, 213, 53, 0.08));
}

body.z40aefhome .z40aefhome-tl-no {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--home-accent-ink);
    background: var(--home-accent);
    z-index: 1;
    flex-shrink: 0;
}

body.z40aefhome .z40aefhome-tl-item h3 {
    color: var(--home-text);
    overflow-wrap: anywhere;
}

body.z40aefhome .z40aefhome-tl-item strong {
    color: var(--home-text);
}

body.z40aefhome .z40aefhome-tl-item > div:last-of-type {
    min-width: 0;
}

/* —— 统计条 —— */
body.z40aefhome .z40aefhome-stats {
    background: #06080b;
    border-bottom: var(--home-border) solid var(--home-line);
}

body.z40aefhome .z40aefhome-stats-note {
    color: var(--home-muted) !important;
}

body.z40aefhome .z40aefhome-stats-note strong {
    color: var(--home-text);
}

body.z40aefhome .z40aefhome-stats-list {
    border: var(--home-border) solid var(--home-line);
    border-radius: var(--home-radius);
    overflow: clip;
    box-sizing: border-box;
    background: var(--home-panel);
}

body.z40aefhome .z40aefhome-stats-cell {
    padding: 1rem 0.65rem;
    min-width: 0;
}

body.z40aefhome .z40aefhome-stats-num {
    color: var(--home-accent) !important;
}

body.z40aefhome .z40aefhome-stats-lab {
    color: var(--home-muted) !important;
    max-width: none !important;
}

body.z40aefhome .z40aefhome-stats-sep .z40aefstats-divider {
    width: var(--home-border);
    background: var(--home-line);
}

/* —— 下载双卡 —— */
body.z40aefhome .z40aefhome-download {
    background: var(--home-bg);
    border-bottom: var(--home-border) solid var(--home-line);
}

body.z40aefhome .z40aefhome-dcard {
    height: 100%;
    background: var(--home-panel);
    border: var(--home-border) solid var(--home-line);
    border-radius: var(--home-radius);
    padding: 1.35rem 1.4rem;
    box-sizing: border-box;
    overflow: clip;
    min-width: 0;
}

body.z40aefhome .z40aefhome-dcard-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

body.z40aefhome .z40aefhome-dcard-head > div:last-child {
    min-width: 0;
}

body.z40aefhome .z40aefhome-dcard-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--home-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #fff;
    flex-shrink: 0;
}

body.z40aefhome .z40aefhome-dcard-icon--win {
    background: linear-gradient(135deg, #2b6cb0, #1a365d);
}

body.z40aefhome .z40aefhome-dcard-icon--and {
    background: linear-gradient(135deg, #0d9488, #134e4a);
}

body.z40aefhome .z40aefhome-dcard h3 {
    color: var(--home-text);
}

body.z40aefhome .z40aefhome-badge {
    background: rgba(252, 213, 53, 0.12) !important;
    color: var(--home-accent) !important;
    border: var(--home-border) solid rgba(252, 213, 53, 0.28);
    font-weight: 600;
}

body.z40aefhome .z40aefhome-dt {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--home-muted);
    margin-bottom: 0.2rem;
}

body.z40aefhome .z40aefhome-dl strong {
    color: var(--home-text);
}

/* —— 安全 —— */
body.z40aefhome .z40aefhome-security {
    background: var(--home-surface);
    border-bottom: var(--home-border) solid var(--home-line);
}

body.z40aefhome .z40aefhome-sec-table {
    border: var(--home-border) solid var(--home-line);
    border-radius: var(--home-radius);
    overflow: clip;
    box-sizing: border-box;
    background: var(--home-panel);
}

body.z40aefhome .z40aefhome-sec-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem 1.15rem;
    padding: 1.1rem 1.2rem;
    border-bottom: var(--home-border) solid var(--home-line);
    align-items: start;
    min-width: 0;
}

body.z40aefhome .z40aefhome-sec-row:last-child {
    border-bottom: none;
}

body.z40aefhome .z40aefhome-sec-row > div:last-child {
    min-width: 0;
}

body.z40aefhome .z40aefhome-sec-ico {
    width: 2.35rem;
    height: 2.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--home-radius-sm);
    background: rgba(252, 213, 53, 0.08);
    color: var(--home-accent);
    font-size: 0.95rem;
    flex-shrink: 0;
}

body.z40aefhome .z40aefhome-cert {
    height: 100%;
    padding: 1.1rem 1.15rem;
    border: var(--home-border) solid var(--home-line);
    border-radius: var(--home-radius);
    background: var(--home-panel);
    box-sizing: border-box;
    overflow: clip;
    min-width: 0;
}

body.z40aefhome .z40aefhome-cert h4 {
    color: var(--home-text);
    font-weight: 800;
}

/* —— FAQ —— */
body.z40aefhome .z40aefhome-faq {
    background: var(--home-bg);
    border-bottom: var(--home-border) solid var(--home-line);
}

body.z40aefhome .z40aefhome-q {
    height: 100%;
    padding: 1.15rem 1.2rem;
    border: var(--home-border) solid var(--home-line);
    border-radius: var(--home-radius);
    background: var(--home-panel);
    box-sizing: border-box;
    overflow: clip;
    min-width: 0;
}

body.z40aefhome .z40aefhome-q h3 {
    color: var(--home-text);
    font-weight: 700;
    overflow-wrap: anywhere;
}

body.z40aefhome .z40aefhome-q p {
    overflow-wrap: anywhere;
}

body.z40aefhome .z40aefhome-q strong {
    color: var(--home-text);
}

/* —— 文章栅格 —— */
body.z40aefhome .z40aefhome-article {
    background: #f3f4f6;
    border-bottom: var(--home-border) solid #e5e7eb;
}

body.z40aefhome .z40aefhome-article-title {
    color: #111827;
    font-weight: 800;
}

body.z40aefhome .z40aefhome-article-card {
    border-radius: var(--home-radius) !important;
    overflow: clip;
    border: var(--home-border) solid #e5e7eb !important;
    background: #fff;
    box-sizing: border-box;
}

body.z40aefhome .z40aefhome-article-link {
    color: #111827;
}

body.z40aefhome .z40aefhome-article-link:hover {
    color: #b45309;
}

body.z40aefhome .z40aefhome-article .text-secondary {
    color: #6b7280 !important;
}

/* —— 页脚（首页深色延续） —— */
body.z40aefhome .z40aefhome-footer.z40aeffooter {
    background: #06080b;
    border-top: var(--home-border) solid var(--home-line);
    color: var(--home-muted);
}

body.z40aefhome .z40aefhome-footer .z40aeffooter-title {
    color: var(--home-text);
}

body.z40aefhome .z40aefhome-footer .z40aeffooter-link {
    color: var(--home-muted);
}

body.z40aefhome .z40aefhome-footer .z40aeffooter-link:hover {
    color: var(--home-accent);
}

body.z40aefhome .z40aefhome-footer .text-secondary,
body.z40aefhome .z40aefhome-footer p.small {
    color: var(--home-muted) !important;
}

body.z40aefhome .z40aefhome-footer .z40aeffooter-bottom {
    border-top-color: var(--home-line);
}

body.z40aefhome .z40aefhome-footer .z40aeffooter-bottom a {
    color: var(--home-text);
}

body.z40aefhome .z40aefhome-footer .z40aeffooter-bottom a:hover {
    color: var(--home-accent);
}

body.z40aefhome .z40aefhome-footer .friend-links a,
body.z40aefhome .z40aefhome-footer .z40aeffriend-links a {
    color: var(--home-muted);
}

body.z40aefhome .z40aefhome-footer .friend-links a:hover,
body.z40aefhome .z40aefhome-footer .z40aeffriend-links a:hover {
    color: var(--home-accent);
}

/* 首页文章区按钮在浅底上 */
body.z40aefhome .z40aefhome-article .z40aefhome-btn--ghost {
    color: #92400e !important;
    border-color: rgba(180, 83, 9, 0.45) !important;
}

body.z40aefhome .z40aefhome-article .z40aefhome-btn--ghost:hover {
    background: rgba(252, 213, 53, 0.2) !important;
    color: #78350f !important;
}

@media (max-width: 767px) {
    body.z40aefhome .z40aefhome-stats-list .z40aefstats-strip-item:not(.z40aefstats-strip-sep) {
        border-bottom: var(--home-border) solid rgba(234, 236, 239, 0.1);
    }

    body.z40aefhome .z40aefhome-stats-list .z40aefstats-strip-item:not(.z40aefstats-strip-sep):last-child {
        border-bottom: none;
    }

    body.z40aefhome .z40aefhome-stats-note {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    body.z40aefhome .z40aefhome-actions {
        flex-direction: column;
        align-items: stretch;
    }

    body.z40aefhome .z40aefhome-actions .btn-lg {
        flex: 1 1 auto;
        min-width: 0;
        width: 100%;
        justify-content: center;
    }

    body.z40aefhome .z40aefhome-article .d-flex.flex-column .z40aefhome-btn {
        width: 100%;
        align-self: stretch;
    }

    body.z40aefhome .z40aefhome-tl-item {
        grid-template-columns: 2rem 1fr;
        gap: 0.85rem 1rem;
    }

    body.z40aefhome .z40aefhome-tl-item:not(:last-child)::before {
        left: calc(1rem - 0.5px);
        top: 2.15rem;
    }

    body.z40aefhome .z40aefhome-tl-no {
        width: 2rem;
        height: 2rem;
        font-size: 0.72rem;
    }

    body.z40aefhome .z40aefhome-shot-frame {
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
        padding: 0.55rem;
    }

    body.z40aefhome .z40aefhome-dcard,
    body.z40aefhome .z40aefhome-fcard,
    body.z40aefhome .z40aefhome-q,
    body.z40aefhome .z40aefhome-cert {
        padding: 1.05rem 1rem;
    }

    body.z40aefhome .z40aefhome-strip-card {
        padding: 1rem;
    }

    body.z40aefhome .z40aefhome-dcard-head {
        flex-wrap: wrap;
    }
}

@media (max-width: 575px) {
    body.z40aefhome .z40aefhome-title {
        font-size: clamp(1.45rem, 6.5vw, 2rem);
        line-height: 1.12;
    }

    body.z40aefhome .z40aefhome-eyebrow {
        letter-spacing: 0.08em;
        font-size: 0.65rem;
        line-height: 1.45;
    }

    body.z40aefhome .z40aefhome-dl [class*="col-"]:not(:last-child) {
        margin-bottom: 0.65rem;
    }

    body.z40aefhome .z40aefhome-check li {
        padding-right: 0.25rem;
    }
}
