/* 欧易下载官方网站 — 紫霓潮流主题 */
:root {
    --bg-deep: #0c0a14;
    --bg-card: #161322;
    --bg-soft: #f6f4fc;
    --bg-page: #eeeaf8;
    --primary: #8b5cf6;
    --primary-dark: #6d28d9;
    --primary-glow: rgba(139, 92, 246, 0.45);
    --accent: #f43f5e;
    --accent-2: #2dd4bf;
    --gold: #fbbf24;
    --text: #1a1625;
    --text-muted: #6b6280;
    --text-inv: #e8e4f5;
    --text-inv-muted: #a89ec4;
    --border: rgba(139, 92, 246, 0.18);
    --border-light: #e4dff0;
    --radius: 14px;
    --radius-sm: 10px;
    --radius-pill: 999px;
    --card-pad: 1.15rem;
    --card-pad-lg: 1.3rem;
    --grid-gap: 1.1rem;
    --section-y: 3.25rem;
    --shadow: 0 4px 18px rgba(26, 22, 37, 0.07);
    --shadow-hover: 0 10px 28px rgba(139, 92, 246, 0.1);
    --shadow-glow: 0 0 32px var(--primary-glow);
    --container: min(1140px, calc(100% - 2.25rem));
    --header-h: 70px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --font: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    line-height: 1.65;
    background: var(--bg-soft);
    overflow-x: hidden;
}

body.page-inner {
    background: var(--bg-page);
}

img { max-width: 100%; height: auto; display: block; }

a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: color 0.2s var(--ease);
}

a:hover { color: var(--accent); }

.container {
    width: var(--container);
    max-width: 100%;
    margin-inline: auto;
    padding-inline: 0.5rem;
}

/* —— 顶栏 —— */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(12, 10, 20, 0.82);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 0.75rem;
}

.logo {
    flex-shrink: 0;
    max-width: calc(100% - 52px);
}

.logo img {
    height: 40px;
    width: auto;
    max-width: 100%;
}

.nav-toggle { display: none; }

.nav-toggle-btn {
    display: none;
    flex-shrink: 0;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
}

.nav-toggle-btn span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.25s var(--ease), opacity 0.25s;
}

.site-nav ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.2rem 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav a {
    display: block;
    padding: 0.4rem 0.7rem;
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--text-inv-muted);
    border-radius: var(--radius-pill);
    transition: background 0.2s, color 0.2s;
}

.site-nav a:hover,
.site-nav .active > a {
    color: #fff;
    background: rgba(139, 92, 246, 0.35);
}

/* —— 按钮 —— */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.8rem 1.4rem;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.2s;
    line-height: 1.3;
    min-height: 44px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    box-shadow: 0 6px 24px var(--primary-glow);
}

.btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }

.btn-outline {
    background: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-dark);
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.84rem; min-height: 38px; }

.btn-block { width: 100%; max-width: 100%; }

@media (max-width: 640px) {
    .btn {
        white-space: normal;
        text-align: center;
        padding-inline: 1rem;
    }
}

/* —— Hero —— */
.hero {
    position: relative;
    padding: 3.5rem 0 4rem;
    background: var(--bg-deep);
    color: var(--text-inv);
    overflow: hidden;
}

.hero-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 85% 15%, rgba(139, 92, 246, 0.55), transparent),
        radial-gradient(ellipse 50% 45% at 10% 90%, rgba(244, 63, 94, 0.35), transparent),
        radial-gradient(ellipse 40% 35% at 50% 50%, rgba(45, 212, 191, 0.15), transparent);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
    min-width: 0;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    margin-bottom: 1rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--accent-2);
    background: rgba(45, 212, 191, 0.12);
    border: 1px solid rgba(45, 212, 191, 0.35);
    border-radius: var(--radius-pill);
}

.hero h1 {
    font-size: clamp(1.9rem, 4.5vw, 2.85rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 1rem;
    background: linear-gradient(120deg, #fff 0%, #c4b5fd 50%, #fda4af 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    font-size: 1rem;
    color: var(--text-inv-muted);
    margin: 0 0 1.5rem;
    max-width: 34em;
    word-break: break-word;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.hero-cta .btn {
    max-width: 100%;
}

.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-visual::before {
    content: "";
    position: absolute;
    width: 80%;
    height: 80%;
    background: var(--primary-glow);
    filter: blur(60px);
    border-radius: 50%;
    opacity: 0.6;
}

.hero-visual img {
    position: relative;
    width: 100%;
    max-width: 300px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

/* —— 信任条 —— */
.trust-bar {
    background: linear-gradient(90deg, var(--primary-dark), var(--accent));
    padding: 0.85rem 0;
    overflow: hidden;
}

.trust-bar-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
}

.trust-bar span::before {
    content: "◆ ";
    opacity: 0.7;
    font-size: 0.65rem;
}

/* 网格防撑破 */
.bento-grid,
.product-row,
.metrics-band,
.timeline,
.dl-grid,
.trust-grid,
.badge-row,
.news-grid,
.footer-cols {
    width: 100%;
    min-width: 0;
}

.bento-grid > *,
.product-row > *,
.metrics-band > *,
.timeline > *,
.dl-grid > *,
.trust-grid > *,
.badge-row > *,
.news-grid > * {
    min-width: 0;
}

/* —— 通用区块 —— */
.section {
    padding: var(--section-y) 0;
    overflow: hidden;
}

.section-dark {
    background: var(--bg-deep);
    color: var(--text-inv);
}

.section-tint {
    background: var(--bg-soft);
}

.section-white {
    background: #fff;
}

.section-head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 2rem;
    padding-inline: 0.5rem;
}

.section-head h2 {
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 800;
    margin: 0 0 0.65rem;
    line-height: 1.25;
}

.section-head p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.98rem;
}

.section-dark .section-head p { color: var(--text-inv-muted); }

.eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-dark .eyebrow { color: var(--accent-2); }

/* —— Bento 生态 —— */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--grid-gap);
    align-items: stretch;
}

.bento-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: var(--card-pad-lg);
    box-shadow: var(--shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.bento-card:hover {
    border-color: rgba(139, 92, 246, 0.45);
    box-shadow: var(--shadow-hover);
}

.bento-card.span-4 { grid-column: span 4; }
.bento-card.span-6 { grid-column: span 6; }
.bento-card.span-8 { grid-column: span 8; }
.bento-card.span-12 { grid-column: span 12; }

.bento-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #ede9fe, #fce7f3);
    margin-bottom: 0.85rem;
}

.bento-card h3 {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
}

.bento-card p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
    word-break: break-word;
    flex: 1;
}

.bento-highlight {
    background: linear-gradient(145deg, #1a1628 0%, #2d1f4e 100%);
    border: 1px solid rgba(139, 92, 246, 0.35);
    color: var(--text-inv);
}

.bento-highlight p { color: var(--text-inv-muted); }

.bento-highlight .bento-icon {
    background: rgba(139, 92, 246, 0.3);
}

/* —— 产品矩阵 —— */
.product-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap);
    align-items: stretch;
}

.product-card {
    position: relative;
    padding: var(--card-pad-lg) var(--card-pad);
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.product-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.product-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
}

.product-card p {
    margin: 0 0 0.85rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    flex: 1;
    word-break: break-word;
}

.product-tags {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.product-tags li {
    font-size: 0.75rem;
    padding: 0.2rem 0.55rem;
    background: var(--bg-soft);
    border-radius: var(--radius-pill);
    color: var(--primary-dark);
}

/* —— 数据带 —— */
.metrics-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--grid-gap);
    align-items: stretch;
}

.metric-box {
    text-align: center;
    padding: 1.2rem 0.85rem;
    min-height: 96px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    backdrop-filter: blur(8px);
}

.metric-val {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.metric-label {
    margin-top: 0.35rem;
    font-size: 0.88rem;
    color: var(--text-inv-muted);
}

/* —— 开户时间线 —— */
.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--grid-gap);
    counter-reset: tl;
    align-items: stretch;
}

.tl-item {
    position: relative;
    padding: var(--card-pad-lg) var(--card-pad);
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow);
    height: 100%;
    min-width: 0;
}

.tl-item::before {
    counter-increment: tl;
    content: counter(tl, decimal-leading-zero);
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: rgba(139, 92, 246, 0.25);
    line-height: 1;
    margin-bottom: 0.45rem;
}

.tl-item h4 {
    margin: 0 0 0.35rem;
    font-size: 0.98rem;
}

.tl-item p {
    margin: 0;
    font-size: 0.86rem;
    color: var(--text-muted);
    word-break: break-word;
}

/* —— 下载 —— */
.dl-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--grid-gap);
    align-items: stretch;
}

.dl-card {
    display: flex;
    flex-direction: column;
    padding: var(--card-pad-lg);
    background: var(--bg-card);
    border: 1px solid rgba(139, 92, 246, 0.28);
    border-radius: var(--radius);
    color: var(--text-inv);
    min-width: 0;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.dl-card .btn-block { margin-top: auto; }

.dl-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.dl-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    border-radius: 14px;
}

.dl-icon.win { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.dl-icon.and { background: linear-gradient(135deg, #22c55e, #15803d); }

.dl-card h3 { margin: 0 0 0.2rem; font-size: 1.1rem; color: #fff; }
.dl-card .sub { margin: 0; font-size: 0.85rem; color: var(--text-inv-muted); }

.dl-list {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0.75rem 0.9rem;
    background: rgba(0, 0, 0, 0.25);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.06);
    flex: 1;
}

.dl-list li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.4rem;
    font-size: 0.88rem;
    color: var(--text-inv-muted);
}

.dl-list li:last-child { margin-bottom: 0; }

.dl-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-2);
}

.dl-tip {
    margin-top: 1.25rem;
    padding: 0.9rem 1rem;
    font-size: 0.86rem;
    line-height: 1.6;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.96);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    border-left: 3px solid var(--primary);
    word-break: break-word;
    max-width: 100%;
}

/* —— 信任体系 —— */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--grid-gap);
    align-items: stretch;
}

.trust-item {
    padding: var(--card-pad-lg) var(--card-pad);
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.trust-item .ti-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
}

.trust-item h3 {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
}

.trust-item ul {
    list-style: none;
    margin: 0;
    margin-top: auto;
    padding: 0.65rem 0.75rem;
    text-align: left;
    font-size: 0.8rem;
    color: var(--text-muted);
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}

.trust-item li {
    padding: 0.3rem 0;
    border-bottom: 1px solid var(--border-light);
}

.trust-item li:last-child { border-bottom: none; }

.badge-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap);
    margin-top: 1.5rem;
    align-items: stretch;
}

.badge-item {
    padding: var(--card-pad);
    text-align: center;
    background: var(--bg-soft);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 88px;
}

.badge-item strong {
    display: block;
    font-size: 0.92rem;
    margin-bottom: 0.25rem;
}

.badge-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* —— FAQ —— */
.faq-wrap {
    max-width: 760px;
    margin-inline: auto;
}

.faq-item {
    margin-bottom: 0.6rem;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-item summary {
    padding: 0.95rem 1.1rem;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    word-break: break-word;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "+";
    flex-shrink: 0;
    color: var(--primary);
    font-size: 1.2rem;
}

.faq-item[open] summary::after { content: "−"; }

.faq-body {
    padding: 0 1.1rem 1rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-light);
    line-height: 1.65;
    word-break: break-word;
}

/* —— 资讯 —— */
.news-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.news-head h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
    gap: var(--grid-gap);
    align-items: stretch;
}

.news-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.news-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: var(--shadow-hover);
}

.news-card img {
    width: 100%;
    height: 112px;
    object-fit: cover;
    flex-shrink: 0;
}

.news-body {
    padding: 0.8rem 0.9rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.news-meta {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.news-card h3 {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
}

.news-card h3 a {
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card h3 a:hover { color: var(--primary); }

/* —— 页脚 —— */
.site-footer {
    background: var(--bg-deep);
    color: var(--text-inv-muted);
    padding: 3rem 0 1.5rem;
}

.footer-cols {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand img { height: 38px; margin-bottom: 0.75rem; }

.footer-brand p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.65;
    max-width: 280px;
}

.footer-col h5 {
    color: #fff;
    margin: 0 0 0.85rem;
    font-size: 0.9rem;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li { margin-bottom: 0.45rem; }

.footer-col a {
    color: var(--text-inv-muted);
    font-size: 0.86rem;
}

.footer-col a:hover { color: var(--accent-2); }

.friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.friend-links a { font-size: 0.84rem; color: var(--text-inv-muted); }

.footer-end {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.25rem;
    text-align: center;
    font-size: 0.84rem;
}

.footer-end p { margin: 0.3rem 0; }

.footer-end a { color: #c4b5fd; }

/* —— 内页 —— */
.page-main {
    padding: 2rem 0 3.5rem;
    min-height: 50vh;
}

.page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 1.5rem;
    align-items: start;
}

.page-layout > * { min-width: 0; }

.page-hero-bar {
    margin-bottom: 1.5rem;
    padding: 1.35rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-dark), #4c1d95);
    border-radius: var(--radius);
    color: #fff;
}

.page-hero-bar h1 {
    margin: 0 0 0.35rem;
    font-size: 1.4rem;
}

.page-hero-bar .muted {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.88;
}

.content-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: var(--card-pad-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    min-width: 0;
}

.sidebar-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: var(--card-pad);
    margin-bottom: var(--grid-gap);
    box-shadow: var(--shadow);
    min-width: 0;
    overflow: hidden;
}

.sidebar-card h3 {
    margin: 0 0 0.75rem;
    font-size: 0.92rem;
    padding-bottom: 0.45rem;
    border-bottom: 2px solid #ede9fe;
    color: var(--primary-dark);
}

.sidebar-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-card li { margin-bottom: 0.45rem; }

.sidebar-card a { font-size: 0.88rem; }

.list-entry {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.list-entry:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.list-entry-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1rem;
}

.list-entry img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.list-entry h2 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
}

.list-entry h2 a { color: var(--text); }

.list-entry h2 a:hover { color: var(--primary); }

.list-entry .meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.list-entry p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.article-header h1 {
    margin: 0 0 0.65rem;
    font-size: 1.35rem;
    line-height: 1.35;
}

.article-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.article-cover {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 1.15rem;
}

.article-body {
    font-size: 0.98rem;
    line-height: 1.75;
    overflow-wrap: break-word;
}

.article-body img { max-width: 100%; border-radius: var(--radius-sm); }

.article-body table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.article-body th,
.article-body td {
    border: 1px solid var(--border-light);
    padding: 0.45rem 0.65rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 0;
}

.tag-list a {
    padding: 0.25rem 0.6rem;
    background: #ede9fe;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    color: var(--primary-dark);
}

.hot-item {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.hot-item img {
    width: 68px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.hot-item a:last-child {
    font-size: 0.86rem;
    line-height: 1.4;
    flex: 1;
    min-width: 0;
    word-break: break-word;
}

.related-item {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border-light);
}

.related-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.related-item img {
    width: 100%;
    height: 68px;
    object-fit: cover;
    border-radius: 8px;
}

.nav-prev-next { font-size: 0.9rem; display: flex; flex-direction: column; gap: 0.4rem; }

.pagebar { margin-top: 1.25rem; }

.pagebar .pagelist,
.zzpages .pagelist {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pagebar .pagelist a,
.pagebar .pagelist span {
    display: inline-block;
    padding: 0.4rem 0.7rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}

.pagebar .pagelist a:hover {
    background: #ede9fe;
    border-color: var(--primary);
}

.zd4447diyfield { margin-top: 1rem; }

.card-spaced { margin-top: 1.15rem; }

.related-title {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    color: var(--primary-dark);
}

.related-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.related-link { font-weight: 600; color: var(--text); }

.related-link:hover { color: var(--primary); }

.related-desc {
    margin: 0.35rem 0 0;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.hot-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* —— 响应式 —— */
@media (min-width: 1100px) {
    .news-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
    :root {
        --header-h: 64px;
        --section-y: 3rem;
    }

    .container { padding-inline: 0.75rem; }

    .nav-toggle-btn { display: flex; }

    .header-inner { position: relative; }

    .logo img { height: 34px; }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 999;
        background: var(--bg-deep);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s var(--ease);
    }

    .nav-toggle:checked ~ .site-nav {
        max-height: min(78vh, 520px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-toggle:checked + .nav-toggle-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle:checked + .nav-toggle-btn span:nth-child(2) { opacity: 0; }
    .nav-toggle:checked + .nav-toggle-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .site-nav ul {
        flex-direction: column;
        flex-wrap: nowrap;
        padding: 0.5rem 0.75rem 0.75rem;
        gap: 0;
    }

    .site-nav li { width: 100%; }

    .site-nav a {
        width: 100%;
        min-height: 44px;
        display: flex;
        align-items: center;
        border-radius: var(--radius-sm);
        font-size: 0.9rem;
    }

    .hero { padding: 2.75rem 0 3.25rem; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
    .hero-lead { margin-inline: auto; max-width: 100%; font-size: 0.95rem; }
    .hero h1 { font-size: clamp(1.5rem, 5vw, 2rem); }
    .hero-tag { font-size: 0.72rem; max-width: 100%; justify-content: center; }
    .hero-cta { justify-content: center; width: 100%; }
    .hero-visual { order: -1; margin-bottom: 0.25rem; }
    .hero-visual img { max-width: 210px; }

    .bento-card.span-8 { grid-column: span 12; }
    .bento-card.span-4,
    .bento-card.span-6 { grid-column: span 6; }

    .product-row { grid-template-columns: 1fr; }
    .badge-row { grid-template-columns: repeat(2, 1fr); }
    .metrics-band { grid-template-columns: repeat(2, 1fr); }
    .timeline { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .dl-grid { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
    .page-layout { grid-template-columns: 1fr; gap: 1.15rem; }
    .page-main { padding: 1.5rem 0 3rem; }
    .news-head { flex-direction: column; align-items: stretch; }
    .news-head .btn { width: 100%; justify-content: center; }
    .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 手机横屏 / 小平板 */
@media (max-width: 768px) {
    .bento-card.span-4,
    .bento-card.span-6,
    .bento-card.span-8 { grid-column: span 12; }

    .list-entry-row {
        grid-template-columns: 92px 1fr;
        gap: 0.85rem;
    }

    .page-hero-bar {
        padding: 1.15rem 1.2rem;
    }

    .page-hero-bar h1 { font-size: 1.2rem; }

    .article-header h1 { font-size: 1.2rem; }

    .article-meta-row {
        flex-direction: column;
        gap: 0.3rem;
    }

    .article-cover { max-height: 220px; }

    .content-card { padding: 1.15rem; }

    .related-item {
        grid-template-columns: 76px 1fr;
        gap: 0.65rem;
    }

    .dl-top {
        flex-wrap: nowrap;
        align-items: center;
    }

    .dl-icon {
        width: 46px;
        height: 46px;
        font-size: 1.2rem;
    }
}

@media (max-width: 640px) {
    :root {
        --section-y: 2.35rem;
        --card-pad: 1rem;
        --card-pad-lg: 1.05rem;
        --grid-gap: 0.85rem;
        --header-h: 58px;
        --container: min(1140px, calc(100% - 1.15rem));
    }

    .container { padding-inline: 0.6rem; }

    .section { padding: var(--section-y) 0; }
    .section-head { margin-bottom: 1.35rem; }
    .section-head h2 { font-size: 1.32rem; }
    .section-head p { font-size: 0.88rem; }

    .bento-card.span-4,
    .bento-card.span-6,
    .bento-card.span-8,
    .bento-card.span-12 { grid-column: span 12; }

    .metrics-band { grid-template-columns: 1fr 1fr; gap: 0.65rem; }
    .metric-box { min-height: auto; padding: 0.85rem 0.45rem; }
    .metric-val { font-size: 1.35rem; }
    .metric-label { font-size: 0.78rem; }
    .timeline,
    .trust-grid,
    .badge-row { grid-template-columns: 1fr; }

    .hero { padding: 2rem 0 2.5rem; }
    .hero h1 {
        font-size: 1.42rem;
        background: none;
        -webkit-text-fill-color: #fff;
        color: #fff;
    }
    .hero-lead { font-size: 0.88rem; margin-bottom: 1.15rem; text-align: left; }
    .hero-grid { text-align: left; }
    .hero-tag { justify-content: flex-start; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { width: 100%; }
    .hero-visual img { max-width: 185px; margin-inline: auto; display: block; }

    .trust-bar { padding: 0.7rem 0; }
    .trust-bar-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 0.35rem;
        font-size: 0.78rem;
    }

    .trust-bar span::before { content: none; }

    .faq-item summary { font-size: 0.88rem; padding: 0.85rem 0.95rem; }
    .faq-body { font-size: 0.84rem; }

    .dl-tip { font-size: 0.82rem; padding: 0.8rem 0.9rem; }

    .news-head h2 { font-size: 1.25rem; }
    .news-grid { grid-template-columns: 1fr; }
    .news-card img { height: 145px; }

    .footer-cols { grid-template-columns: 1fr; text-align: center; gap: 1.35rem; }
    .footer-brand { display: flex; flex-direction: column; align-items: center; }
    .footer-brand p { max-width: none; margin-inline: auto; }
    .friend-links { justify-content: center; }
    .footer-end { font-size: 0.8rem; padding-inline: 0.25rem; line-height: 1.65; }

    .page-hero-bar { padding: 1rem; }
    .page-hero-bar h1 { font-size: 1.12rem; }
    .page-hero-bar .muted { font-size: 0.84rem; }

    .list-entry-row { grid-template-columns: 1fr; }
    .list-entry img { width: 100%; height: 135px; }
    .list-entry h2 { font-size: 0.95rem; }

    .related-item { grid-template-columns: 1fr; }
    .related-item img { width: 100%; height: 115px; }

    .hot-item img { width: 60px; height: 45px; }

    .pagebar .pagelist a,
    .pagebar .pagelist span {
        padding: 0.38rem 0.55rem;
        font-size: 0.8rem;
    }

    .trust-item,
    .bento-card,
    .product-card,
    .tl-item,
    .dl-card { padding: var(--card-pad-lg) var(--card-pad); }

    .bento-icon { width: 42px; height: 42px; font-size: 1.15rem; }
}

@media (max-width: 380px) {
    .metrics-band { grid-template-columns: 1fr; }
    .hero h1 { font-size: 1.28rem; }
    .hero-visual img { max-width: 165px; }
}

@supports (padding: max(0px)) {
    .site-header {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
    }

    .site-footer {
        padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
    }

    .page-main {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
    }
}
