/* ========== 主题：岩青 + 琥珀铜（与旧版紫系区分） ========== */
:root {
    --primary-color: #b45309;
    --primary-light: #d97706;
    --primary-dark: #92400e;
    --secondary-color: #0f766e;
    --accent-color: #fbbf24;
    --dark-bg: #1c1917;
    --dark-elev: #292524;
    --text-color: #1c1917;
    --text-muted: #57534e;
    --light-bg: #fffbeb;
    --surface: #ffffff;
    --border-color: #e7e5e4;
    --card-border: 1px solid var(--border-color);
    --card-padding: 1.25rem;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --section-y: 4.5rem;
    --shadow: 0 8px 30px rgba(28, 25, 23, 0.08);
    --shadow-lg: 0 20px 50px rgba(28, 25, 23, 0.12);
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { margin: 0; font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; color: var(--text-color); line-height: 1.65; background: var(--surface); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }

/* 首页各板块：避免横向溢出、统一外框节奏 */
.z7d0f0home-body main > section {
    overflow-x: clip;
}

.z7d0f0container.container {
    max-width: 1140px;
    margin: 0 auto;
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
}

/* ----- 顶栏（首页深色） ----- */
.z7d0f0site-header {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: linear-gradient(180deg, var(--dark-bg) 0%, #292524 100%);
    border-bottom: 1px solid rgba(251, 191, 36, 0.12);
}
.z7d0f0site-header .z7d0f0navbar {
    padding: 0.55rem 0;
    background: transparent !important;
}
.z7d0f0site-header .z7d0f0navbar-brand img { height: 40px; }
.z7d0f0site-header .z7d0f0nav-link {
    color: rgba(255, 255, 255, 0.82) !important;
    font-weight: 500;
    font-size: 0.88rem;
    padding: 0.45rem 0.65rem !important;
    border-radius: var(--radius-sm);
    transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.z7d0f0site-header .z7d0f0nav-link:hover {
    color: #fff !important;
    background: rgba(251, 191, 36, 0.12);
}
.z7d0f0site-header .navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.35rem 0.5rem;
}
.z7d0f0site-header .navbar-toggler-icon { filter: invert(1); }
.z7d0f0site-header .navbar-collapse {
    margin-top: 0.5rem;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    background: var(--dark-elev);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
@media (min-width: 992px) {
    .z7d0f0site-header .navbar-collapse { margin-top: 0; padding: 0; background: transparent; border: none; }
}

/* ----- Hero ----- */
.z7d0f0hero-section {
    position: relative;
    color: #fafaf9;
    padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
    background: radial-gradient(120% 80% at 100% 0%, rgba(217, 119, 6, 0.35) 0%, transparent 55%),
        radial-gradient(90% 60% at 0% 100%, rgba(15, 118, 110, 0.35) 0%, transparent 50%),
        linear-gradient(165deg, #0c0a09 0%, #1c1917 45%, #431407 100%);
    overflow: hidden;
}
.z7d0f0hero-grid-bg {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}
.z7d0f0about-section .row > [class*="col-"] { min-width: 0; }
.z7d0f0hero-copy { position: relative; z-index: 1; min-width: 0; }
.z7d0f0hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(251, 191, 36, 0.95);
    margin-bottom: 0.75rem;
}
.z7d0f0dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.35);
}
.z7d0f0hero-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 1rem;
}
.z7d0f0hero-lead {
    font-size: 1.05rem;
    opacity: 0.92;
    margin: 0 0 1rem;
    line-height: 1.7;
}
.z7d0f0hero-prose {
    font-size: 0.92rem;
    opacity: 0.85;
    line-height: 1.8;
    margin: 0 0 1.5rem;
}
.z7d0f0hero-prose strong { color: #fde68a; font-weight: 600; }
.z7d0f0hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.z7d0f0btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1.35rem;
    font-size: 0.92rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), opacity 0.2s;
}
.z7d0f0btn-solid {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    color: #fff !important;
    box-shadow: 0 6px 24px rgba(180, 83, 9, 0.35);
}
.z7d0f0btn-solid:hover { transform: translateY(-2px); opacity: 0.95; color: #fff !important; }
.z7d0f0btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.z7d0f0btn-ghost:hover { background: rgba(255, 255, 255, 0.14); color: #fff !important; }
.z7d0f0hero-meta {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
    font-size: 0.85rem;
    opacity: 0.88;
}
.z7d0f0hero-meta i { color: #5eead4; margin-right: 0.4rem; }

.z7d0f0hero-panel {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: var(--shadow-lg);
    padding: var(--card-padding);
    max-width: 100%;
}
.z7d0f0hero-panel-inner {
    display: flex;
    gap: 1rem;
    align-items: stretch;
    flex-wrap: wrap;
    min-width: 0;
}
.z7d0f0hero-visual {
    flex: 1 1 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    min-width: 0;
}
.z7d0f0hero-image {
    max-width: 280px;
    width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.z7d0f0hero-aside {
    flex: 1 1 160px;
    max-width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: var(--card-padding);
    background: rgba(0, 0, 0, 0.25);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.z7d0f0aside-stat strong {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    color: #fcd34d;
    line-height: 1.1;
}
.z7d0f0aside-stat span { font-size: 0.72rem; opacity: 0.75; }
.z7d0f0aside-note {
    font-size: 0.72rem;
    line-height: 1.55;
    opacity: 0.8;
    margin: 0;
}
.z7d0f0aside-note strong { color: #fde68a; }

/* ----- 快捷入口 ----- */
.z7d0f0quick-section {
    margin-top: clamp(-1.5rem, -3vw, -2rem);
    padding-bottom: 2rem;
    position: relative;
    z-index: 2;
}
.z7d0f0quick-section .row {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.75rem;
}
.z7d0f0quick-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: var(--card-padding);
    min-height: 100%;
    min-width: 0;
    max-width: 100%;
    background: var(--surface);
    border-radius: var(--radius-md);
    border: var(--card-border);
    text-decoration: none;
    color: var(--text-color) !important;
    box-shadow: var(--shadow);
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.45;
    word-break: break-word;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.z7d0f0quick-tile:hover {
    border-color: rgba(180, 83, 9, 0.45);
    box-shadow: var(--shadow-lg);
    transform: none;
    color: var(--text-color) !important;
}
.z7d0f0quick-tile i { font-size: 1.25rem; color: var(--primary-color); flex-shrink: 0; }

/* ----- 通用板块标题 ----- */
.z7d0f0section-head { margin-bottom: 2.25rem; }
.z7d0f0section-head--center { text-align: center; }
.z7d0f0section-head--light h2,
.z7d0f0section-head--light .z7d0f0lead { color: #fafaf9; }
.z7d0f0eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-color);
    background: rgba(180, 83, 9, 0.12);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.6rem;
}
.z7d0f0eyebrow--on-dark {
    color: #fcd34d;
    background: rgba(251, 191, 36, 0.12);
}
.z7d0f0section-head h2 {
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
    font-weight: 800;
    margin: 0 0 0.65rem;
    line-height: 1.25;
}
.z7d0f0lead {
    font-size: 0.98rem;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.75;
}
.z7d0f0lead--left { margin-left: 0; margin-right: 0; }
.z7d0f0lead--muted { color: rgba(250, 250, 249, 0.75); }

/* ----- 品牌纵览 ----- */
.z7d0f0about-section { padding: var(--section-y) 0; background: var(--light-bg); }
.z7d0f0prose-card {
    background: var(--surface);
    border: var(--card-border);
    border-radius: var(--radius-md);
    padding: clamp(1.15rem, 3vw, 1.5rem);
    box-shadow: var(--shadow);
}
.z7d0f0prose-card h3 { margin: 0 0 1rem; font-size: 1.2rem; }
.z7d0f0prose-card p { margin: 0 0 0.85rem; color: var(--text-muted); font-size: 0.92rem; }
.z7d0f0prose-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    margin-top: 1.25rem;
    padding: var(--card-padding);
    border-radius: var(--radius-sm);
    border: var(--card-border);
    background: rgba(255, 251, 235, 0.65);
}
.z7d0f0prose-grid h4 { margin: 0 0 0.35rem; font-size: 0.9rem; color: var(--text-color); }
.z7d0f0prose-grid p { margin: 0; font-size: 0.82rem; }
@media (max-width: 575px) { .z7d0f0prose-grid { grid-template-columns: 1fr; } }

.z7d0f0side-stack { display: flex; flex-direction: column; gap: 0.85rem; }
.z7d0f0side-card {
    background: var(--surface);
    border: var(--card-border);
    border-radius: var(--radius-md);
    padding: var(--card-padding);
    box-shadow: var(--shadow);
}
.z7d0f0side-card h4 { margin: 0 0 0.4rem; font-size: 0.95rem; }
.z7d0f0side-card p { margin: 0; font-size: 0.84rem; color: var(--text-muted); line-height: 1.65; }

/* ----- 能力矩阵 ----- */
.z7d0f0features-section { padding: var(--section-y) 0; background: var(--surface); }
.z7d0f0feature-tile {
    height: 100%;
    padding: var(--card-padding);
    border-radius: var(--radius-md);
    border: var(--card-border);
    background: linear-gradient(180deg, #fff 0%, #fffbeb 100%);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.z7d0f0feature-tile:hover { border-color: rgba(180, 83, 9, 0.4); box-shadow: var(--shadow); }
.z7d0f0feature-num {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--secondary-color);
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}
.z7d0f0feature-tile h3 { margin: 0 0 0.5rem; font-size: 1rem; }
.z7d0f0feature-tile p { margin: 0; font-size: 0.86rem; color: var(--text-muted); line-height: 1.65; }
.z7d0f0features-section .row > [class*="col-"] { display: flex; }

/* ----- 关键指标 ----- */
.z7d0f0stats-section {
    padding: var(--section-y) 0;
    background: linear-gradient(160deg, #1c1917 0%, #292524 50%, #78350f 100%);
    color: #fafaf9;
    position: relative;
    overflow: hidden;
}
.z7d0f0stats-section .row > [class*="col-"] { display: flex; }
.z7d0f0stat-block {
    text-align: center;
    padding: var(--card-padding) 0.65rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    height: 100%;
    min-height: 108px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.z7d0f0stat-value {
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    font-weight: 800;
    color: #fcd34d;
    line-height: 1.1;
}
.z7d0f0stat-cap { font-size: 0.82rem; opacity: 0.78; margin-top: 0.35rem; line-height: 1.35; }

/* ----- 安装中心 ----- */
.z7d0f0download-section { padding: var(--section-y) 0; background: var(--light-bg); }
.z7d0f0download-section .row > [class*="col-"] {
    display: flex;
    padding-top: 0.35rem;
}
.z7d0f0dl-card {
    position: relative;
    width: 100%;
    height: 100%;
    min-width: 0;
    background: var(--surface);
    border: var(--card-border);
    border-radius: var(--radius-md);
    padding: var(--card-padding);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
}
.z7d0f0dl-card--featured {
    border-color: rgba(180, 83, 9, 0.55);
    box-shadow: var(--shadow);
    padding-top: 2.35rem;
}
.z7d0f0dl-ribbon {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: var(--primary-color);
    color: #fff;
}
.z7d0f0dl-head { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 1rem; min-width: 0; }
.z7d0f0dl-head > div:last-child { min-width: 0; flex: 1; }
.z7d0f0dl-head h3 { margin: 0; font-size: 1.05rem; word-break: break-word; }
.z7d0f0dl-head p { margin: 0; font-size: 0.8rem; color: var(--text-muted); }
.z7d0f0dl-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #fff;
}
.z7d0f0dl-icon--ios { background: linear-gradient(135deg, #52525b, #27272a); }
.z7d0f0dl-icon--android { background: linear-gradient(135deg, #059669, #047857); }
.z7d0f0dl-icon--win { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.z7d0f0dl-list { margin: 0 0 1.15rem; padding-left: 1.1rem; font-size: 0.84rem; color: var(--text-muted); flex: 1; }
.z7d0f0dl-list li { margin-bottom: 0.35rem; }
.z7d0f0btn-block { width: 100%; }

.z7d0f0dl-alert {
    margin-top: 1.75rem;
    padding: var(--card-padding);
    border-radius: var(--radius-md);
    background: rgba(255, 251, 235, 0.9);
    border: var(--card-border);
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
    word-break: break-word;
}
.z7d0f0dl-alert i { color: var(--primary-color); }

/* ----- 开户流程 ----- */
.z7d0f0register-section { padding: var(--section-y) 0; background: var(--surface); }
.z7d0f0btn-wide { width: 100%; max-width: 280px; }
.z7d0f0timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    max-width: 100%;
}
.z7d0f0timeline::before {
    content: "";
    position: absolute;
    left: 0.9rem;
    top: 0.25rem;
    bottom: 0.25rem;
    width: 1px;
    background: var(--border-color);
}
.z7d0f0timeline li {
    position: relative;
    padding: 0 0 1.35rem 2.65rem;
    min-width: 0;
}
.z7d0f0timeline li:last-child { padding-bottom: 0; }
.z7d0f0tl-badge {
    position: absolute;
    left: 0;
    top: 0;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    color: #fff;
    font-weight: 800;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--surface);
    box-shadow: 0 0 0 1px var(--border-color);
    transform: translate(calc(0.9rem - 50%), 0);
}
.z7d0f0timeline h4 { margin: 0 0 0.35rem; font-size: 1rem; }
.z7d0f0timeline p { margin: 0; font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

/* ----- 风控 ----- */
.z7d0f0security-section { padding: var(--section-y) 0; background: var(--light-bg); }
.z7d0f0sec-pill {
    height: 100%;
    padding: var(--card-padding);
    border-radius: var(--radius-md);
    background: var(--surface);
    border: var(--card-border);
    box-shadow: var(--shadow);
    min-width: 0;
}
.z7d0f0sec-pill i { font-size: 1.35rem; color: var(--secondary-color); margin-bottom: 0.5rem; }
.z7d0f0sec-pill h3 { margin: 0 0 0.4rem; font-size: 0.98rem; }
.z7d0f0sec-pill p { margin: 0; font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }
.z7d0f0cert-row { margin-top: 2rem; }
.z7d0f0security-section .row > [class*="col-"] { display: flex; }
.z7d0f0cert-chip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: var(--card-padding);
    border-radius: var(--radius-md);
    background: var(--surface);
    border: var(--card-border);
    height: 100%;
    min-width: 0;
}
.z7d0f0cert-chip i { font-size: 1.5rem; color: var(--primary-color); }
.z7d0f0cert-chip strong { display: block; font-size: 0.95rem; }
.z7d0f0cert-chip span { font-size: 0.78rem; color: var(--text-muted); }

/* ----- FAQ ----- */
.z7d0f0faq-section { padding: var(--section-y) 0; background: var(--surface); }
.z7d0f0faq-section .row > [class*="col-"] { display: flex; }
.z7d0f0faq-card {
    height: 100%;
    width: 100%;
    min-width: 0;
    padding: var(--card-padding);
    border-radius: var(--radius-md);
    border: var(--card-border);
    background: var(--surface);
}
.z7d0f0faq-card h5 { margin: 0 0 0.5rem; font-size: 0.92rem; font-weight: 700; line-height: 1.4; }
.z7d0f0faq-card p { margin: 0; font-size: 0.84rem; color: var(--text-muted); line-height: 1.7; }

.z7d0f0article-section .row > [class*="col-"] { display: flex; }
.z7d0f0article-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: var(--card-border);
    background: var(--surface);
    box-shadow: var(--shadow);
    transition: box-shadow 0.2s;
    width: 100%;
    min-width: 0;
}
.z7d0f0article-card:hover { box-shadow: var(--shadow-lg); }
.z7d0f0article-thumb-wrap { overflow: hidden; }
.z7d0f0thumb-home { width: 100%; height: 128px; object-fit: cover; }
.z7d0f0article-body { padding: 0.85rem 1rem; }
.z7d0f0article-meta { font-size: 0.75rem; }
.z7d0f0article-link { color: var(--text-color); text-decoration: none; font-weight: 600; }
.z7d0f0article-link:hover { color: var(--primary-color); }

.z7d0f0btn-outline {
    background: transparent !important;
    color: var(--primary-color) !important;
    border: 1px solid var(--primary-color) !important;
}
.z7d0f0btn-outline:hover { background: var(--primary-color) !important; color: #fff !important; }

/* ----- 页脚 ----- */
.z7d0f0footer {
    background: var(--dark-bg);
    color: rgba(250, 250, 249, 0.72);
    padding: 3rem 0 2rem;
}
.z7d0f0footer-title { color: #fff; font-size: 0.95rem; font-weight: 700; margin-bottom: 1rem; }
.z7d0f0footer-text { font-size: 0.88rem; line-height: 1.7; }
.z7d0f0footer-links { list-style: none; padding: 0; margin: 0; }
.z7d0f0footer-links li { margin-bottom: 0.45rem; }
.z7d0f0footer-links a { color: rgba(250, 250, 249, 0.65); text-decoration: none; font-size: 0.88rem; }
.z7d0f0footer-links a:hover { color: #fcd34d; }
.z7d0f0footer-rule { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.z7d0f0friend-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; list-style: none; padding: 0; margin: 0; }
.z7d0f0friend-links a { color: rgba(250, 250, 249, 0.55); font-size: 0.85rem; text-decoration: none; }
.z7d0f0friend-links a:hover { color: #fcd34d; }
.z7d0f0footer-bottom a { color: rgba(250, 250, 249, 0.65); text-decoration: none; }
.z7d0f0footer-bottom a:hover { color: #fcd34d; }

/* ----- 列表/内容页：浅色导航（非首页） ----- */
body:not(.z7d0f0home-body) .z7d0f0navbar.navbar-light {
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 1px 0 var(--border-color);
    padding: 0.65rem 0;
}
body:not(.z7d0f0home-body) .z7d0f0nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    padding: 0.5rem 0.75rem !important;
}
body:not(.z7d0f0home-body) .z7d0f0nav-link:hover { color: var(--primary-color) !important; }

input:focus, select:focus, textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(180, 83, 9, 0.2);
}

/* ===== 列表/内容页通用 ===== */
.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; }
.card { margin-bottom: 1rem; }
#article .z7d0f0article-card { margin-bottom: 0; }

/* ===== 响应式 ===== */
@media (max-width: 991px) {
    .z7d0f0hero-panel-inner { flex-direction: column; }
    .z7d0f0hero-aside {
        flex: 1 1 auto;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .z7d0f0aside-stat { flex: 1 1 30%; min-width: 90px; }
    .z7d0f0aside-note { flex: 1 1 100%; }
    .z7d0f0section-head { margin-bottom: 1.75rem; }
    .z7d0f0footer .row { text-align: center; }
    .z7d0f0footer-links { padding: 0; }
    .z7d0f0friend-links { justify-content: center; }
}

@media (max-width: 767px) {
    :root {
        --section-y: 2.75rem;
        --card-padding: 1.05rem;
    }

    /* 顶栏：触控与滚动 */
    .z7d0f0site-header .z7d0f0navbar { padding: 0.45rem 0; }
    .z7d0f0site-header .z7d0f0navbar-brand img { height: 34px; }
    .z7d0f0site-header .navbar-collapse {
        max-height: min(72vh, 28rem);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .z7d0f0site-header .navbar-nav {
        width: 100%;
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
    }
    .z7d0f0site-header .navbar-nav .nav-link {
        min-height: 44px;
        display: flex !important;
        align-items: center;
        padding: 0.55rem 0.35rem !important;
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .z7d0f0site-header .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    /* 首屏 */
    .z7d0f0hero-section {
        padding: 2rem 0 2.5rem;
    }
    .z7d0f0hero-kicker {
        font-size: 0.72rem;
        line-height: 1.4;
        flex-wrap: wrap;
    }
    .z7d0f0hero-title {
        font-size: clamp(1.45rem, 6.5vw, 2rem);
        word-break: break-word;
        line-height: 1.2;
    }
    .z7d0f0hero-lead {
        font-size: 0.94rem;
        line-height: 1.65;
    }
    .z7d0f0hero-prose {
        font-size: 0.84rem;
        line-height: 1.75;
        margin-bottom: 1.15rem;
    }
    .z7d0f0hero-actions {
        flex-direction: column;
        gap: 0.6rem;
        margin-bottom: 1.25rem;
    }
    .z7d0f0hero-actions .z7d0f0btn {
        width: 100%;
        flex: 1 1 auto;
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
    .z7d0f0hero-meta {
        font-size: 0.8rem;
        gap: 0.4rem;
    }
    .z7d0f0hero-panel { padding: var(--card-padding); }
    .z7d0f0hero-aside {
        flex-direction: column;
        flex-wrap: nowrap;
    }
    .z7d0f0aside-stat {
        flex: 0 0 auto;
        min-width: 0;
        text-align: center;
    }
    .z7d0f0hero-image { max-width: 240px; margin: 0 auto; }

    /* 快捷入口 */
    .z7d0f0quick-section {
        margin-top: -0.85rem;
        padding-bottom: 1.5rem;
    }
    .z7d0f0quick-section .row {
        --bs-gutter-x: 0.5rem;
        --bs-gutter-y: 0.5rem;
    }
    .z7d0f0quick-tile {
        font-size: 0.8rem;
        padding: 0.9rem 0.75rem;
        min-height: auto;
    }
    .z7d0f0quick-tile i { font-size: 1.1rem; }

    /* 板块标题与卡片 */
    .z7d0f0section-head { margin-bottom: 1.35rem; }
    .z7d0f0section-head h2 {
        font-size: clamp(1.2rem, 5vw, 1.55rem);
        word-break: break-word;
    }
    .z7d0f0lead { font-size: 0.9rem; line-height: 1.68; }

    .z7d0f0prose-grid {
        gap: 0.65rem;
        padding: 0.85rem;
    }

    .z7d0f0stat-block {
        min-height: 92px;
        padding: 0.85rem 0.4rem;
    }
    .z7d0f0stat-value {
        font-size: clamp(1.25rem, 5vw, 1.65rem);
    }
    .z7d0f0stat-cap {
        font-size: 0.74rem;
        line-height: 1.3;
    }

    .z7d0f0dl-card--featured { padding-top: 2.1rem; }
    .z7d0f0dl-ribbon { top: 8px; right: 8px; font-size: 0.65rem; }
    .z7d0f0dl-head { gap: 0.6rem; flex-wrap: wrap; }
    .z7d0f0dl-head h3 { font-size: 0.98rem; }

    .z7d0f0btn-wide { max-width: none; width: 100%; }

    .z7d0f0timeline li { padding-bottom: 1.15rem; padding-right: 0.25rem; }
    .z7d0f0timeline h4 { font-size: 0.95rem; }
    .z7d0f0timeline p { font-size: 0.84rem; }

    /* 多列板块：小屏取消强制等高，避免空白过高 */
    .z7d0f0features-section .row > [class*="col-"],
    .z7d0f0security-section .row > [class*="col-"],
    .z7d0f0faq-section .row > [class*="col-"],
    .z7d0f0download-section .row > [class*="col-"] {
        display: block;
    }

    .z7d0f0article-header {
        flex-direction: column;
        align-items: stretch !important;
        gap: 0.65rem;
    }
    .z7d0f0article-header .z7d0f0btn { width: 100%; }
    .z7d0f0article-section .row > [class*="col-"] { display: block; }
    .z7d0f0article-link {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.4;
        font-size: 0.88rem;
    }

    .z7d0f0thumb-home,
    #article .z7d0f0thumb-home {
        height: 132px !important;
    }

    #article .card-body { padding: 0.75rem; }
    #article h3.h5 {
        font-size: 0.92rem;
        line-height: 1.45;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .z7d0f0footer { padding: 2.25rem 0 1.5rem; }
    .z7d0f0footer-bottom { font-size: 0.82rem; line-height: 1.75; }
    .z7d0f0footer-bottom p { word-break: break-word; }

    .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;
    }
    .listbox .e2 li p { font-size: 0.9rem; line-height: 1.5; }
    .z7d0f0thumb-list,
    .z7d0f0thumb-related { height: 72px !important; }
    .z7d0f0thumb-side { height: 50px !important; }
    .z7d0f0thumb-cover {
        max-width: 100% !important;
        width: 100%;
        height: 170px !important;
        margin: 0 auto;
    }
}

@media (max-width: 575px) {
    .z7d0f0container.container {
        padding-left: max(12px, env(safe-area-inset-left));
        padding-right: max(12px, env(safe-area-inset-right));
    }

    :root {
        --section-y: 2.35rem;
        --card-padding: 0.95rem;
    }

    .z7d0f0hero-section { padding: 1.65rem 0 2rem; }
    .z7d0f0hero-title { font-size: 1.38rem; }
    .z7d0f0hero-lead { font-size: 0.88rem; }

    /* 快捷入口：极窄屏单列更易读 */
    .z7d0f0quick-section .row > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .z7d0f0stat-block {
        min-height: 86px;
        padding: 0.75rem 0.35rem;
    }
    .z7d0f0stat-cap { font-size: 0.7rem; }

    .z7d0f0cert-chip {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .z7d0f0thumb-home,
    #article .z7d0f0thumb-home {
        height: 118px !important;
    }
    .z7d0f0thumb-list,
    .z7d0f0thumb-related { height: 64px !important; }
    .z7d0f0thumb-side { height: 46px !important; }
    .z7d0f0thumb-cover { height: 150px !important; }
    .pagebar .pagelist { gap: 0.35rem; }
}

@media (max-width: 359px) {
    .z7d0f0hero-title { font-size: 1.25rem; }
    .z7d0f0site-header .z7d0f0nav-link {
        font-size: 0.84rem;
        padding: 0.5rem 0.25rem !important;
    }
}
