/* OKX / 欧下载官网 — 全新视觉（靛青 + 琥珀） */
:root {
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --primary-light: #818cf8;
    --accent: #f59e0b;
    --accent-soft: #fef3c7;
    --surface: #ffffff;
    --surface-2: #f8fafc;
    --surface-3: #f1f5f9;
    --text: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 50px rgba(79, 70, 229, 0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --nav-h: 72px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.25s var(--ease);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    margin: 0;
    font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
    color: var(--text);
    line-height: 1.65;
    background: var(--surface-2);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

.zfb709container {
    width: 100%;
    max-width: 1140px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 3vw, 1.5rem);
}

/* —— 导航 —— */
.zfb709navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    min-height: var(--nav-h);
}

.zfb709navbar .zfb709container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--nav-h);
}

.zfb709navbar-brand img {
    height: 42px;
    width: auto;
}

.zfb709nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    cursor: pointer;
}

.zfb709nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 0 auto;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.zfb709navbar-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.zfb709nav-link {
    display: block;
    padding: 0.5rem 0.85rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text) !important;
    border-radius: 8px;
    transition: background var(--transition), color var(--transition);
}

.zfb709nav-link:hover,
.zfb709nav-item.active .zfb709nav-link {
    color: var(--primary) !important;
    background: rgba(79, 70, 229, 0.08);
}

/* —— 按钮 —— */
.zfb709btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.15rem;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    max-width: 100%;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    text-decoration: none;
    line-height: 1.35;
    white-space: normal;
    text-align: center;
}

.zfb709btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.zfb709btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.4);
    color: #fff !important;
}

.zfb709btn-outline {
    background: transparent;
    color: var(--primary) !important;
    border: 2px solid var(--primary);
}

.zfb709btn-outline:hover {
    background: rgba(79, 70, 229, 0.06);
}

.zfb709btn-light {
    background: #fff;
    color: var(--primary) !important;
    box-shadow: var(--shadow);
}

.zfb709btn-light:hover {
    transform: translateY(-2px);
    color: var(--primary-dark) !important;
}

.zfb709btn-accent {
    background: linear-gradient(135deg, var(--accent), #d97706);
    color: #fff !important;
}

.zfb709btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* —— 区块通用 —— */
.zfb709section {
    padding: clamp(2.75rem, 5vw, 4rem) 0;
    overflow: hidden;
}

.zfb709section-alt {
    background: var(--surface);
}

.zfb709section-muted {
    background: var(--surface-3);
}

.zfb709section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto clamp(1.75rem, 4vw, 2.5rem);
    padding-inline: 0.25rem;
}

.zfb709section-tag {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(79, 70, 229, 0.1);
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

.zfb709section-header h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.25;
}

.zfb709section-header p {
    margin: 0;
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* —— Hero —— */
.zfb709hero-section {
    position: relative;
    padding: 4rem 0 5rem;
    background: linear-gradient(160deg, #0f172a 0%, #1e1b4b 45%, #312e81 100%);
    color: #fff;
    overflow: hidden;
}

.zfb709hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(129, 140, 248, 0.25), transparent),
        radial-gradient(ellipse 60% 40% at 90% 20%, rgba(245, 158, 11, 0.12), transparent);
    pointer-events: none;
}

.zfb709hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(1.5rem, 4vw, 2.5rem);
    align-items: center;
}

.zfb709hero-content {
    min-width: 0;
}

.zfb709hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
}

.zfb709hero-title {
    margin: 0 0 1rem;
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.zfb709hero-subtitle {
    margin: 0 0 1.75rem;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 100%;
}

.zfb709hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.zfb709hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
}

.zfb709hero-meta strong {
    color: #fff;
    font-weight: 600;
}

.zfb709hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.zfb709hero-image-wrap {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
    padding: clamp(1rem, 3vw, 1.35rem);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.zfb709hero-image {
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
    border-radius: var(--radius);
}

/* —— 简介条 —— */
.zfb709intro-bar {
    padding: clamp(1.25rem, 3vw, 1.75rem) 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.zfb709intro-text {
    margin: 0;
    font-size: clamp(0.92rem, 2vw, 1rem);
    color: var(--text-muted);
    text-align: center;
    max-width: 900px;
    margin-inline: auto;
    line-height: 1.75;
    padding-inline: 0.25rem;
}

/* —— 网格（minmax(0,1fr) 防止内容撑破列宽）—— */
.zfb709row {
    display: grid;
    gap: clamp(1rem, 2vw, 1.25rem);
    width: 100%;
    min-width: 0;
    align-items: stretch;
}

.zfb709row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.zfb709row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.zfb709row-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.zfb709row-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* 各板块专属列数，避免过窄或过宽 */
#features .zfb709row-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

#features .zfb709feature-card {
    background: var(--surface-2);
}

#download .zfb709row-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

#security > .zfb709container > .zfb709row-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

#security .zfb709row-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

#stats .zfb709row-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

#article .zfb709row-5 {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

@media (min-width: 1200px) {
    #article .zfb709row-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/* —— 卡片通用（统一边框与防溢出）—— */
.zfb709feature-card,
.zfb709download-card,
.zfb709security-card,
.zfb709certificate-card,
.zfb709faq-item,
.zfb709article-card {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* —— 优势卡片 —— */
.zfb709feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(1.15rem, 2.5vw, 1.5rem);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--transition), border-color var(--transition);
}

.zfb709feature-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.zfb709feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(129, 140, 248, 0.2));
    border-radius: 14px;
    margin-bottom: 1rem;
}

.zfb709feature-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.zfb709feature-card p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* —— 注册引导 —— */
.zfb709register-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: clamp(1.35rem, 3vw, 2rem);
    box-shadow: var(--shadow-lg);
    border: none;
    max-width: 100%;
}

.zfb709register-panel h3 {
    margin: 0 0 0.75rem;
    font-size: 1.5rem;
}

.zfb709register-panel p {
    margin: 0 0 1.25rem;
    opacity: 0.9;
    line-height: 1.7;
}

.zfb709steps {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: step;
}

.zfb709steps li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 0.85rem;
    font-size: 0.92rem;
    line-height: 1.55;
}

.zfb709steps li:last-child {
    margin-bottom: 0;
}

.zfb709steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

/* —— 统计 —— */
.zfb709stats-section {
    padding: clamp(2.25rem, 4vw, 3rem) 0;
    background: var(--text);
    color: #fff;
}

.zfb709stat-item {
    text-align: center;
    padding: 0.75rem 0.5rem;
    min-width: 0;
}

.zfb709stat-number {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.35rem;
    line-height: 1.1;
}

.zfb709stat-label {
    font-size: 0.95rem;
    opacity: 0.85;
}

/* —— 下载 —— */
.zfb709download-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(1.15rem, 2.5vw, 1.35rem);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--transition), border-color var(--transition);
}

.zfb709download-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.zfb709download-card .zfb709btn {
    width: 100%;
    max-width: 100%;
    margin-top: auto;
    white-space: normal;
    text-align: center;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
}

.zfb709download-card-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
    min-width: 0;
}

.zfb709download-card-head > div:last-child {
    min-width: 0;
    flex: 1;
}

.zfb709platform-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    border-radius: 14px;
    color: #fff;
}

.zfb709platform-win { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.zfb709platform-android { background: linear-gradient(135deg, #22c55e, #15803d); }
.zfb709platform-ios { background: linear-gradient(135deg, #64748b, #334155); }
.zfb709platform-web { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }

.zfb709download-card h3 {
    margin: 0 0 0.2rem;
    font-size: 1.1rem;
}

.zfb709download-card .zfb709muted {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.zfb709download-info {
    background: var(--surface-3);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    flex: 1;
}

.zfb709info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.zfb709info-item:last-child { margin-bottom: 0; }

.zfb709info-item::before {
    content: "✓";
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
}

/* —— 安全 —— */
.zfb709security-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(1.15rem, 2.5vw, 1.35rem);
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--transition), border-color var(--transition);
}

.zfb709security-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.zfb709security-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: 50%;
}

.zfb709security-card h3 {
    margin: 0 0 1rem;
    font-size: 1.05rem;
}

.zfb709security-features {
    text-align: left;
    background: var(--surface-3);
    border-radius: 10px;
    padding: 0.75rem 0.85rem;
    flex: 1;
}

.zfb709feature-item {
    font-size: 0.88rem;
    color: var(--text-muted);
    padding: 0.35rem 0;
    padding-left: 1.25rem;
    position: relative;
}

.zfb709feature-item::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.zfb709certificate-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(1.15rem, 2.5vw, 1.35rem);
    text-align: center;
    height: 100%;
    transition: box-shadow var(--transition), border-color var(--transition);
}

.zfb709certificate-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.zfb709certificate-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.zfb709certificate-card h4 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
}

.zfb709certificate-card p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* —— FAQ —— */
.zfb709faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.85rem, 2vw, 1rem);
    width: 100%;
}

.zfb709faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(1rem, 2.5vw, 1.25rem) clamp(1rem, 2.5vw, 1.35rem);
    transition: box-shadow var(--transition), border-color var(--transition);
    min-width: 0;
}

.zfb709faq-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
}

.zfb709faq-item h5 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.zfb709faq-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* —— 文章 —— */
.zfb709article-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.zfb709article-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.zfb709article-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--transition), border-color var(--transition);
}

.zfb709article-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.zfb709thumb-home {
    width: 100%;
    height: clamp(96px, 18vw, 120px);
    object-fit: cover;
    flex-shrink: 0;
}

.zfb709article-card .zfb709card-body {
    padding: 0.85rem 0.9rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.zfb709article-card h3 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zfb709article-card h3 a {
    color: var(--text);
}

.zfb709article-card h3 a:hover {
    color: var(--primary);
}

.zfb709meta-small {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

/* —— 页脚 —— */
.zfb709footer {
    background: #0f172a;
    color: rgba(255, 255, 255, 0.75);
    padding: 3.5rem 0 1.5rem;
}

.zfb709footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2rem);
    margin-bottom: 2rem;
}

.zfb709footer-brand img {
    height: 40px;
    margin-bottom: 1rem;
}

.zfb709footer p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

.zfb709footer-title {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 1rem;
}

.zfb709footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.zfb709footer-links li {
    margin-bottom: 0.5rem;
}

.zfb709footer-link {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
}

.zfb709footer-link:hover {
    color: var(--accent);
}

.zfb709friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.zfb709friend-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.zfb709footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
}

.zfb709footer-bottom p {
    margin: 0.35rem 0;
}

.zfb709footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
}

/* —— 列表/内页 —— */
.zfb709page-main {
    padding: 2.5rem 0 3rem;
}

.zfb709page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: start;
    width: 100%;
}

.zfb709page-layout > * {
    min-width: 0;
}

.zfb709page-title {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
}

.zfb709page-desc {
    margin: 0 0 1.5rem;
    color: var(--text-muted);
}

.zfb709card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 100%;
    overflow: hidden;
}

.zfb709card-body {
    padding: clamp(1rem, 2.5vw, 1.35rem);
}

.zfb709list-item {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.zfb709list-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.zfb709list-grid {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1rem;
    align-items: start;
}

.zfb709thumb-list,
.zfb709thumb-related {
    width: 100%;
    height: 84px;
    object-fit: cover;
    border-radius: 8px;
}

.zfb709thumb-side {
    width: 72px;
    height: 54px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.zfb709thumb-cover {
    width: 100%;
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius);
}

.zfb709sidebar-title {
    margin: 0 0 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.zfb709sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.zfb709sidebar-list li {
    margin-bottom: 0.5rem;
}

.zfb709sidebar-hot {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    align-items: flex-start;
    min-width: 0;
}

.zfb709sidebar-hot > a:last-child {
    flex: 1;
    min-width: 0;
    font-size: 0.9rem;
    line-height: 1.45;
    word-break: break-word;
}

.zfb709article-content {
    line-height: 1.8;
    font-size: 1rem;
}

.zfb709article-content img {
    max-width: 100%;
    height: auto;
}

.zfb709meta-tags {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.zfb709tagitem a {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--surface-3);
    border-radius: 999px;
    font-size: 0.85rem;
}

.zfb709prenext {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.zfb709prenext-row .zfb709prenext {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

@media (min-width: 768px) {
    .zfb709prenext-row .zfb709prenext {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 1rem;
    }

    .zfb709prenext-row .zfb709prenext > div {
        flex: 1;
        min-width: 0;
    }
}

/* 分页 */
.pagebar .pagelist,
.zzpages .pagelist {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.pagebar .pagelist a,
.zzpages .pagelist a {
    display: inline-block;
    padding: 0.4rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
}

.pagebar .pagelist a:hover {
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.06);
}

/* 工具类 */
.zfb709text-center { text-align: center; }
.zfb709mb-0 { margin-bottom: 0; }
.zfb709mt-4 { margin-top: 1.5rem; }
.zfb709mt-5 { margin-top: clamp(1.25rem, 3vw, 2rem); }
.zfb709mb-4 { margin-bottom: 1.5rem; }
.zfb709gap-4 { gap: clamp(1rem, 2vw, 1.25rem); }

.list-unstyled {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 中等屏：安全四列改两列，避免卡片过窄 */
@media (max-width: 1100px) {
    #security > .zfb709container > .zfb709row-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .zfb709nav-link {
        padding: 0.45rem 0.65rem;
        font-size: 0.85rem;
    }

    #features .zfb709row-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* —— 响应式 —— */
@media (max-width: 991px) {
    .zfb709nav-toggle {
        display: flex;
    }

    .zfb709nav-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s var(--ease);
    }

    .zfb709nav-collapse.is-open {
        max-height: min(80vh, calc(100dvh - var(--nav-h)));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    .zfb709navbar-nav {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
    }

    .zfb709nav-link {
        padding: 0.65rem 0.75rem;
    }

    .zfb709hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .zfb709hero-subtitle {
        margin-inline: auto;
    }

    .zfb709hero-buttons {
        justify-content: center;
    }

    .zfb709hero-meta {
        justify-content: center;
    }

    .zfb709hero-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 400px;
        margin-inline: auto;
    }

    .zfb709hero-buttons .zfb709btn {
        width: 100%;
        max-width: 100%;
    }

    .zfb709nav-collapse {
        margin-left: calc(-1 * clamp(1rem, 3vw, 1.5rem));
        margin-right: calc(-1 * clamp(1rem, 3vw, 1.5rem));
        padding-inline: clamp(1rem, 3vw, 1.5rem);
        width: auto;
    }

    .zfb709nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    #features .zfb709row-3,
    #download .zfb709row-2,
    #security > .zfb709container > .zfb709row-4,
    #security .zfb709row-3,
    #stats .zfb709row-4,
    #article .zfb709row-5,
    .zfb709row-3,
    .zfb709row-4,
    .zfb709row-5 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .zfb709register-panel {
        grid-template-columns: 1fr;
    }

    .zfb709hero-content {
        min-width: 0;
    }

    .zfb709footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .zfb709page-layout {
        grid-template-columns: 1fr;
    }

    .zfb709faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    :root {
        --nav-h: 60px;
    }

    .zfb709section {
        padding: clamp(2rem, 5vw, 2.75rem) 0;
    }

    .zfb709section-header {
        margin-bottom: 1.5rem;
    }

    .zfb709section-header h2 {
        font-size: 1.35rem;
    }

    .zfb709section-header p {
        font-size: 0.92rem;
    }

    #features .zfb709row-3,
    #download .zfb709row-2,
    #security > .zfb709container > .zfb709row-4,
    #security .zfb709row-3,
    #article .zfb709row-5,
    .zfb709row-2,
    .zfb709row-3,
    .zfb709row-4,
    .zfb709row-5 {
        grid-template-columns: 1fr;
    }

    /* 运营数据：手机端 2×2，避免四行过高 */
    #stats .zfb709row-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem 1rem;
    }

    .zfb709stat-item {
        padding: 0.65rem 0.35rem;
    }

    .zfb709stat-number {
        font-size: 1.5rem;
    }

    .zfb709stat-label {
        font-size: 0.82rem;
    }

    .zfb709hero-section {
        padding: clamp(2rem, 5vw, 2.75rem) 0 clamp(2.25rem, 5vw, 3rem);
    }

    .zfb709hero-grid {
        gap: 1.5rem;
    }

    .zfb709hero-title {
        font-size: clamp(1.5rem, 6vw, 1.85rem);
    }

    .zfb709hero-badge {
        font-size: 0.78rem;
        padding: 0.35rem 0.7rem;
        max-width: 100%;
        text-align: center;
        justify-content: center;
        line-height: 1.4;
    }

    .zfb709hero-meta {
        gap: 0.65rem 1rem;
        justify-content: center;
        font-size: 0.8rem;
    }

    .zfb709hero-meta span {
        flex: 0 1 auto;
    }

    .zfb709hero-buttons {
        max-width: none;
    }

    .zfb709hero-image-wrap {
        max-width: 260px;
    }

    .zfb709intro-text {
        text-align: left;
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .zfb709register-panel .zfb709btn {
        width: 100%;
        max-width: 100%;
    }

    .zfb709download-card-head {
        flex-wrap: nowrap;
    }

    .zfb709article-header {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .zfb709article-header .zfb709btn {
        width: 100%;
        text-align: center;
    }

    .zfb709footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .zfb709friend-links {
        justify-content: center;
    }

    .zfb709page-main {
        padding: 1.5rem 0 2rem;
    }

    .zfb709page-title {
        font-size: 1.25rem;
    }

    .zfb709list-grid {
        grid-template-columns: 88px 1fr;
        gap: 0.75rem;
    }

    .zfb709thumb-list,
    .zfb709thumb-related {
        height: 72px;
    }

    .zfb709thumb-home {
        height: 140px;
    }

    .zfb709article-card h3 {
        font-size: 0.95rem;
        -webkit-line-clamp: 3;
    }

    .zfb709thumb-cover {
        height: auto;
        min-height: 160px;
        max-height: 220px;
    }

    .zfb709article-content {
        font-size: 0.95rem;
        overflow-wrap: break-word;
    }

    .zfb709article-content table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .zfb709navbar-brand img {
        height: 34px;
    }

    .zfb709container {
        padding-inline: max(0.875rem, env(safe-area-inset-left, 0px)) max(0.875rem, env(safe-area-inset-right, 0px));
    }

    .zfb709nav-collapse {
        margin-left: calc(-1 * max(0.875rem, env(safe-area-inset-left, 0px)));
        margin-right: calc(-1 * max(0.875rem, env(safe-area-inset-right, 0px)));
        padding-inline: max(0.875rem, env(safe-area-inset-left, 0px)) max(0.875rem, env(safe-area-inset-right, 0px));
    }
}

body.zfb709nav-open {
    overflow: hidden;
    touch-action: none;
}

body.zfb709nav-open .zfb709navbar {
    z-index: 1001;
}

@media (max-width: 575px) {
    .zfb709register-panel {
        padding: 1.15rem;
    }

    .zfb709register-panel h3 {
        font-size: 1.2rem;
    }

    .zfb709steps li {
        padding-left: 2.15rem;
        font-size: 0.88rem;
    }

    .zfb709faq-item h5 {
        font-size: 0.92rem;
    }

    .zfb709faq-item p {
        font-size: 0.85rem;
    }

    .zfb709list-grid {
        grid-template-columns: 1fr;
    }

    .zfb709list-grid > a:first-child {
        display: block;
    }

    .zfb709list-grid .zfb709thumb-list,
    .zfb709list-grid .zfb709thumb-related {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: 160px;
        aspect-ratio: 16 / 9;
    }

    .zfb709sidebar-hot {
        flex-direction: column;
        align-items: stretch;
    }

    .zfb709sidebar-hot > a:first-child {
        width: 100%;
    }

    .zfb709sidebar-hot .zfb709thumb-side {
        width: 100%;
        height: auto;
        max-height: 120px;
        aspect-ratio: 16 / 9;
    }

    .zfb709hero-meta {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .zfb709footer-bottom {
        font-size: 0.8rem;
        line-height: 1.6;
    }

    .zfb709footer-bottom p {
        padding-inline: 0.25rem;
    }

    .pagebar .pagelist a,
    .zzpages .pagelist a {
        padding: 0.35rem 0.65rem;
        font-size: 0.85rem;
    }
}

/* 超小屏：平板竖屏与手机横屏之间的单列保障 */
@media (max-width: 480px) {
    #stats .zfb709row-4 {
        grid-template-columns: 1fr 1fr;
    }

    .zfb709stat-number {
        font-size: 1.35rem;
    }
}
