/* ============================================
   期现套利平台 — 黑金高级风格
   深色主背景 + 金色点缀，整体高级感
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=Outfit:wght@500;600;700&display=swap');

:root {
    /* 黑金主背景 */
    --bg: #0d0d0d;
    --bg-2: #141414;
    --bg-3: #1a1a1a;
    --card: #1a1a1a;
    --card-soft: rgba(26, 26, 26, 0.92);
    /* 主色：金色系 */
    --accent: #c9a227;
    --accent-red: #d4af37;
    --accent-gold: #e8c547;
    --accent-orange: #f0d058;
    --accent-dim: rgba(212, 175, 55, 0.25);
    --accent-border: rgba(212, 175, 55, 0.35);
    --accent-red-dim: rgba(212, 175, 55, 0.12);
    /* 文字 */
    --ink: #e8e8e8;
    --ink-strong: #f5f5f5;
    --muted: #a0a0a0;
    /* 边框与阴影 */
    --border: rgba(212, 175, 55, 0.15);
    --border-strong: rgba(212, 175, 55, 0.25);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-soft: 0 8px 18px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
    --radius: 14px;
    --radius-sm: 10px;
    /* 语义色（在深色背景下微调） */
    --success: #2ecc71;
    --success-dim: rgba(46, 204, 113, 0.15);
    --warning: #d4af37;
    --warning-dim: rgba(212, 175, 55, 0.15);
    --danger: #e74c3c;
    --danger-dim: rgba(231, 76, 60, 0.15);
    /* 动效 */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --transition: all 0.25s var(--ease-out);
}

/* 全局 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background:
        radial-gradient(1200px 800px at 10% 10%, rgba(212, 175, 55, 0.08) 0%, transparent 55%),
        radial-gradient(1100px 700px at 85% 35%, rgba(212, 175, 55, 0.05) 0%, transparent 55%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 55%, var(--bg-3) 100%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* 轻量动态背景：仅用 transform，GPU 合成，不触发重排/重绘 */
body::before,
body::after {
    content: '';
    position: fixed;
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
    /* 仅合成层动画，低性能占用 */
    will-change: transform;
}
body::before {
    width: 120vmax;
    height: 120vmax;
    top: -30vmax;
    left: -20vmax;
    background: radial-gradient(
        circle closest-side,
        rgba(212, 175, 55, 0.06) 0%,
        rgba(212, 175, 55, 0.02) 35%,
        transparent 55%
    );
    animation: bgBlob1 28s ease-in-out infinite;
}
body::after {
    width: 100vmax;
    height: 100vmax;
    bottom: -30vmax;
    right: -20vmax;
    background: radial-gradient(
        circle closest-side,
        rgba(232, 197, 71, 0.05) 0%,
        rgba(212, 175, 55, 0.02) 35%,
        transparent 55%
    );
    animation: bgBlob2 32s ease-in-out infinite;
}
@keyframes bgBlob1 {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(4%, 3%, 0); }
}
@keyframes bgBlob2 {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(-3%, -4%, 0); }
}

/* 用户开启「减少动态」时不播放动画，兼顾体验与性能 */
@media (prefers-reduced-motion: reduce) {
    body::before,
    body::after {
        animation: none;
        will-change: auto;
    }
}

/* 保证正文内容在动态层之上 */
.navbar,
.hero,
.main-entries,
.today-must-see,
.content-page,
.breadcrumb,
.page-header,
.footer {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== 导航栏（黑金毛玻璃） ========== */
.navbar {
    background: rgba(13, 13, 13, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    padding: 0.875rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    border: none;
    border-bottom: none;
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--accent-gold);
}

.logo img {
    height: 44px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
    vertical-align: middle;
}

/*  logo 右侧文字：与图片留间隔，字号略大，高度为图片 85%，字间距，无下划线/虚线 */
.logo-text {
    margin-left: 1rem;
    font-size: 1.5rem;
    line-height: calc(44px * 0.85);
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--accent-gold);
    white-space: nowrap;
    text-decoration: none;
    border: none;
    border-bottom: none;
    box-shadow: none;
}

.logo::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent-gold);
    border-radius: 50%;
    margin-left: 6px;
    vertical-align: middle;
    box-shadow: 0 0 8px var(--accent-gold);
}

/* 使用图片 logo 时隐藏右侧小圆点 */
.logo:has(img)::after {
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
}

.nav-menu a {
    color: var(--muted);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-weight: 600;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.12);
}

.nav-menu a.active {
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.18);
    border: 1px solid var(--accent-border);
}

/* ========== Hero（浅色暖金渐变） ========== */
.hero {
    position: relative;
    padding: 5rem 0;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(700px 320px at 15% 20%, rgba(212, 175, 55, 0.15) 0%, transparent 55%),
        radial-gradient(700px 320px at 85% 70%, rgba(201, 162, 39, 0.10) 0%, transparent 55%),
        linear-gradient(135deg, rgba(212, 175, 55, 0.06), transparent);
    border-bottom: 1px solid var(--border);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto;
    font-weight: 500;
}

/* ========== 主入口卡片（白卡片 + 软阴影） ========== */
.main-entries {
    padding: 4rem 0;
}

.entries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.entry-card {
    background: var(--card-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.entry-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--accent-border);
}

.entry-icon {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    line-height: 1;
}

.entry-card h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.entry-subtitle {
    color: var(--muted);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.entry-content {
    margin-bottom: 1.5rem;
}

.entry-item {
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 3px solid var(--accent-gold);
}

.entry-item h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ink-strong);
    margin-bottom: 0.25rem;
}

.entry-item p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.5;
}

.entry-note {
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--accent-border);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: var(--muted);
}

.entry-note strong {
    color: var(--accent-gold);
}

/* ========== 按钮 ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.6rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9375rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #b8860b, #d4af37);
    color: #0d0d0d;
    box-shadow: 0 12px 22px rgba(212, 175, 55, 0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
    filter: saturate(1.05);
    box-shadow: 0 14px 28px rgba(212, 175, 55, 0.35);
}

.btn-secondary {
    background: var(--card);
    color: var(--accent-gold);
    border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

/* ========== 今日必看 ========== */
.today-must-see {
    padding: 4rem 0;
    background: transparent;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: -0.02em;
}

.must-see-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.must-see-card {
    background: var(--card-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.must-see-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--accent-border);
}

.must-see-badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: linear-gradient(135deg, #b8860b, #d4af37);
    color: #0d0d0d;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.must-see-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink-strong);
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.must-see-card p {
    color: var(--muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.link {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.link:hover {
    text-decoration: underline;
}

/* 工具下载页：深色背景下可看清的下载按钮/链接（避免紫/暗色看不见） */
.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.1rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
    background: linear-gradient(135deg, #9a7b2c, #d4af37);
    color: #0d0d0d;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
    border: 1px solid rgba(240, 208, 88, 0.5);
}
.btn-download:hover {
    filter: brightness(1.08);
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.45);
    text-decoration: none;
    color: #0d0d0d;
}

/* ========== 工具下载页：紧凑排版 + 表格与按钮对齐 ========== */
.page-tools-download .breadcrumb {
    padding: 0.45rem 0;
}
.page-tools-download .page-header {
    padding: 1.25rem 0 1rem;
}
.page-tools-download .page-header h1 {
    margin-bottom: 0.35rem;
}
.page-tools-download .page-header p {
    font-size: 0.9rem;
    margin-bottom: 0;
}
.page-tools-download .content-page {
    padding: 0.75rem 0 1.5rem;
    min-height: auto;
}
.page-tools-download .content-section {
    padding: 0.6rem 0;
}
.page-tools-download .content-section h2 {
    margin-bottom: 0.45rem;
    padding-bottom: 0.35rem;
    font-size: 1.25rem;
}
.page-tools-download .entry-note--compact {
    margin-bottom: 0.85rem;
    padding: 0.65rem 0.9rem;
    font-size: 0.8125rem;
    line-height: 1.55;
}
.page-tools-download .step-card--compact {
    padding: 0.85rem 1rem 0.95rem;
    margin-bottom: 0.65rem;
}
.page-tools-download .step-card--archive {
    margin-top: 0.75rem;
    margin-bottom: 0;
}
.page-tools-download .step-card--archive h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}
.page-tools-download .step-card--archive p {
    margin-bottom: 0;
}
.page-tools-download .hub-project-desc--compact {
    margin-bottom: 0.5rem !important;
    font-size: 0.875rem;
    line-height: 1.45;
}

/* 下载表：三列统一左对齐 + 垂直居中，操作列与文字基线一致 */
.page-tools-download table.download-table {
    margin: 0.35rem 0 0;
    table-layout: fixed;
}
.page-tools-download table.download-table th,
.page-tools-download table.download-table td {
    padding: 0.55rem 0.75rem;
    vertical-align: middle;
    text-align: left;
}
.page-tools-download table.download-table th:nth-child(1),
.page-tools-download table.download-table td:nth-child(1) {
    width: 42%;
}
.page-tools-download table.download-table th:nth-child(2),
.page-tools-download table.download-table td:nth-child(2) {
    width: 18%;
}
.page-tools-download table.download-table th:nth-child(3),
.page-tools-download table.download-table td:nth-child(3) {
    width: 40%;
}
.page-tools-download table.download-table td .btn-download {
    margin: 0;
    vertical-align: middle;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .page-tools-download table.download-table th:nth-child(1),
    .page-tools-download table.download-table td:nth-child(1),
    .page-tools-download table.download-table th:nth-child(2),
    .page-tools-download table.download-table td:nth-child(2),
    .page-tools-download table.download-table th:nth-child(3),
    .page-tools-download table.download-table td:nth-child(3) {
        width: auto;
    }
    .page-tools-download table.download-table th,
    .page-tools-download table.download-table td {
        padding: 0.45rem 0.5rem;
        font-size: 0.85rem;
    }
    .page-tools-download table.download-table td .btn-download {
        padding: 0.4rem 0.75rem;
        font-size: 0.85rem;
    }
}

/* ========== 页脚（黑金延续） ========== */
.footer {
    background: linear-gradient(180deg, #0a0a0a 0%, #141414 100%);
    color: rgba(255, 255, 255, 0.88);
    text-align: center;
    padding: 2.5rem 0;
    margin-top: 4rem;
    font-size: 0.875rem;
    border-top: 1px solid var(--accent-border);
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer p {
    margin: 0;
    line-height: 1.7;
}

.footer a {
    color: var(--accent-gold);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* ========== 内容页通用 ========== */
.content-page {
    background: transparent;
    min-height: calc(100vh - 200px);
    padding: 2.5rem 0;
}

.page-header {
    position: relative;
    padding: 3rem 0;
    text-align: center;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(700px 320px at 50% 0%, rgba(212, 175, 55, 0.12) 0%, transparent 55%),
        linear-gradient(135deg, rgba(212, 175, 55, 0.06), transparent);
    border-bottom: 1px solid var(--border);
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.page-header p {
    font-size: 1.05rem;
    color: var(--muted);
}

.content-section {
    padding: 2rem 0;
}

.content-section h2 {
    font-family: 'Outfit', sans-serif;
    color: var(--accent-gold);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.content-section h3 {
    color: var(--ink-strong);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem 0;
}

.content-section p {
    margin-bottom: 1rem;
    line-height: 1.75;
    color: var(--muted);
}

.content-section ul,
.content-section ol {
    margin: 1rem 0 1rem 1.5rem;
    color: var(--muted);
}

.content-section li {
    margin-bottom: 0.5rem;
}

/* ========== 步骤卡片 ========== */
.step-card {
    background: var(--card-soft);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent-gold);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-soft);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-red-dim);
    color: var(--accent-gold);
    border: 1px solid var(--accent-border);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.step-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

/* ========== 指标与执行程序 · 板块总览（卡片入口 + 详情页） ========== */
.page-indicators-hub .content-section.tool-hub-section {
    padding: 1.5rem 0;
}
.page-indicators-hub .tool-hub-lead {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
    max-width: none;
}
.tool-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 0.5rem;
    width: 100%;
}
/* 单卡区块：整行一条大卡，避免右侧大片留白 */
.tool-hub-grid--full {
    grid-template-columns: 1fr;
}
.tool-hub-grid--full a.tool-hub-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1.25rem 2rem;
    padding: 1.5rem 1.75rem;
    min-height: 5.5rem;
}
.tool-hub-grid--full a.tool-hub-card h3 {
    grid-column: 1;
    margin-bottom: 0.35rem;
}
.tool-hub-grid--full a.tool-hub-card p {
    grid-column: 1;
    margin-bottom: 0;
    max-width: 52rem;
}
.tool-hub-grid--full a.tool-hub-card .tool-hub-card__cta {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    white-space: nowrap;
    font-size: 0.95rem;
}
@media (max-width: 640px) {
    .tool-hub-grid--full a.tool-hub-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .tool-hub-grid--full a.tool-hub-card .tool-hub-card__cta {
        grid-column: 1;
        grid-row: auto;
        margin-top: 0.75rem;
    }
}
/* 全自动两块：固定两列拉满宽度，对比更清晰 */
.tool-hub-grid--two {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.tool-hub-grid--two a.tool-hub-card {
    min-height: 9rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem 1.6rem;
}
.tool-hub-grid--two a.tool-hub-card p {
    flex: 1;
    margin-bottom: 0.75rem;
}
@media (max-width: 768px) {
    .tool-hub-grid--two {
        grid-template-columns: 1fr;
    }
}
a.tool-hub-card {
    display: block;
    background: var(--card-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.35rem 1.5rem;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border-left: 4px solid var(--accent-gold);
}
a.tool-hub-card:hover {
    border-color: var(--accent-border);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
/* 覆盖上方 display:block，保留 full=grid、two=flex 布局 */
.page-indicators-hub .tool-hub-grid--full a.tool-hub-card {
    display: grid;
}
.page-indicators-hub .tool-hub-grid--two a.tool-hub-card {
    display: flex;
}
.tool-hub-card__badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    background: rgba(212, 175, 55, 0.22);
    color: var(--accent-gold);
    margin-bottom: 0.65rem;
}
.tool-hub-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink-strong);
    margin: 0 0 0.5rem 0;
}
.tool-hub-card p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.55;
    margin: 0 0 0.85rem 0;
}
.tool-hub-card__cta {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--accent-gold);
}
.tool-hub-actions {
    text-align: center;
    margin-top: 2.5rem;
    margin-bottom: 0;
}
.tool-hub-actions .btn + .btn {
    margin-left: 0.5rem;
}
.tool-detail-card h3 {
    margin-top: 1.35rem;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    color: var(--accent-gold);
}
.tool-detail-card h3:first-of-type {
    margin-top: 0;
}
.tool-detail-actions {
    margin-top: 1.75rem;
    margin-bottom: 0;
}
.tool-detail-actions .btn + .btn {
    margin-left: 0.5rem;
}

/* ========== 期现套指标说明页：单页紧凑 + 折叠，减少滚动 ========== */
.page-tool-indicator-doc .page-header--compact-doc {
    padding: 1.15rem 0 0.85rem;
}
.page-tool-indicator-doc .page-header--compact-doc h1 {
    margin-bottom: 0.35rem;
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
}
.page-tool-indicator-doc .page-header--compact-doc p {
    font-size: 0.875rem;
    margin: 0;
}
.page-tool-indicator-doc .content-page--tool-doc {
    padding: 0.65rem 0 1.75rem;
    min-height: auto;
}
.page-tool-indicator-doc .container--narrow-doc {
    max-width: 720px;
}
.page-tool-indicator-doc .tool-doc {
    background: var(--card-soft);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent-gold);
    border-radius: var(--radius);
    padding: 1.1rem 1.15rem 1.25rem;
    box-shadow: var(--shadow-soft);
}
.page-tool-indicator-doc .tool-doc-lead {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--muted);
    margin: 0 0 0.85rem 0;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border);
}
.page-tool-indicator-doc .tool-doc-h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin: 0.85rem 0 0.4rem 0;
    padding-top: 0.65rem;
    border-top: 1px solid var(--border);
}
.page-tool-indicator-doc .tool-doc-h2:first-of-type,
.page-tool-indicator-doc .tool-doc-lead + .tool-doc-h2 {
    border-top: none;
    padding-top: 0;
}
.page-tool-indicator-doc .tool-doc p {
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--ink-strong);
    margin: 0.35rem 0;
}
.page-tool-indicator-doc .tool-doc-note {
    font-size: 0.8125rem;
    color: var(--muted);
    margin: 0 0 0.5rem 0;
}
.page-tool-indicator-doc .tool-doc-ol,
.page-tool-indicator-doc .tool-doc-ul {
    margin: 0.35rem 0 0.5rem 0;
    padding-left: 1.15rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--ink-strong);
}
.page-tool-indicator-doc .tool-doc-ol li,
.page-tool-indicator-doc .tool-doc-ul li {
    margin-bottom: 0.35rem;
}
.page-tool-indicator-doc .tool-doc-grid2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    margin: 0.5rem 0 0.35rem 0;
}
@media (min-width: 560px) {
    .page-tool-indicator-doc .tool-doc-grid2 {
        grid-template-columns: 1fr 1fr;
    }
}
.page-tool-indicator-doc .tool-doc-box {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.55rem 0.65rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--muted);
}
.page-tool-indicator-doc .tool-doc-box-title {
    display: block;
    color: var(--accent-gold);
    margin-bottom: 0.35rem;
    font-size: 0.82rem;
}
.page-tool-indicator-doc .tool-doc-table-wrap {
    overflow-x: auto;
    margin: 0.4rem 0 0.25rem 0;
    -webkit-overflow-scrolling: touch;
}
.page-tool-indicator-doc .tool-doc-table {
    width: 100%;
    margin: 0;
    font-size: 0.8rem;
    border-collapse: collapse;
}
.page-tool-indicator-doc .tool-doc-table th,
.page-tool-indicator-doc .tool-doc-table td {
    padding: 0.4rem 0.5rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
}
.page-tool-indicator-doc .tool-doc-table th {
    background: rgba(212, 175, 55, 0.12);
    color: var(--accent-gold);
    font-size: 0.75rem;
}
.page-tool-indicator-doc .tool-doc-details {
    margin: 0.5rem 0 0 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.15);
    overflow: hidden;
}
.page-tool-indicator-doc .tool-doc-details summary {
    padding: 0.6rem 0.75rem;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--ink-strong);
    list-style: none;
}
.page-tool-indicator-doc .tool-doc-details summary::-webkit-details-marker {
    display: none;
}
.page-tool-indicator-doc .tool-doc-details summary::after {
    content: ' +';
    color: var(--accent-gold);
    font-weight: 800;
}
.page-tool-indicator-doc .tool-doc-details[open] summary::after {
    content: ' −';
}
.page-tool-indicator-doc .tool-doc-details-body {
    padding: 0 0.75rem 0.65rem 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--muted);
    border-top: 1px solid var(--border);
}
.page-tool-indicator-doc .tool-doc-details-body p {
    margin: 0.4rem 0;
    color: var(--muted);
}
.page-tool-indicator-doc .tool-doc-actions {
    margin: 1rem 0 0 0;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.page-tool-indicator-doc .tool-doc-actions .btn {
    flex: 1 1 auto;
    min-width: 8rem;
    justify-content: center;
}
@media (max-width: 400px) {
    .page-tool-indicator-doc .tool-doc {
        padding: 0.9rem 0.85rem 1rem;
    }
    .page-tool-indicator-doc .tool-doc-actions .btn {
        min-width: 100%;
    }
}

/* ========== 公告页 · 两大区块布局（社区 / 软件更新） ========== */
.page-announcements-list .announce-page-nav {
    margin: 0.5rem 0 0 0;
    font-size: 0.9rem;
}
.page-announcements-list .announce-page-nav-sep {
    margin: 0 0.5rem;
    color: var(--muted);
    opacity: 0.6;
}
.page-announcements-list .announce-block-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 0.35rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-border);
}
.page-announcements-list .announce-section--community {
    margin-bottom: 2rem;
}
.page-announcements-list .announce-section--software .announce-list {
    border-left: 3px solid rgba(80, 160, 240, 0.35);
}
.page-announcements-list .announce-section--software .announce-item-date {
    flex: 0 0 3.25rem;
}
/* ========== 公告页 · 折叠列表（高密度，一屏多条） ========== */
.page-announcements-list .announce-section-hint {
    font-size: 0.8125rem;
    color: var(--muted);
    margin: 0 0 0.65rem 0;
    line-height: 1.45;
}
.page-announcements-list .announce-list {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--card-soft);
}
.page-announcements-list .announce-item {
    border-bottom: 1px solid var(--border);
    margin: 0;
}
.page-announcements-list .announce-item:last-child {
    border-bottom: none;
}
.page-announcements-list .announce-item-summary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.85rem 0.55rem 0.75rem;
    cursor: pointer;
    list-style: none;
    font-size: 0.9rem;
    color: var(--ink-strong);
    transition: background 0.15s ease;
}
.page-announcements-list .announce-item-summary::-webkit-details-marker {
    display: none;
}
.page-announcements-list .announce-item-summary:hover {
    background: rgba(212, 175, 55, 0.08);
}
.page-announcements-list .announce-item-date {
    flex: 0 0 5.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-gold);
    font-variant-numeric: tabular-nums;
}
.page-announcements-list .announce-item-title {
    flex: 1;
    min-width: 0;
    font-weight: 600;
}
.page-announcements-list .announce-item-chevron {
    flex: 0 0 1.25rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.75rem;
}
.page-announcements-list .announce-item-chevron::before {
    content: '▶';
}
.page-announcements-list .announce-item[open] .announce-item-chevron::before {
    content: '▼';
}
.page-announcements-list .announce-item-body {
    padding: 0 0.85rem 0.65rem 6.4rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--muted);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(0, 0, 0, 0.12);
}
.page-announcements-list .announce-item-body p {
    margin: 0.4rem 0 0 0;
    color: var(--muted);
}
.page-announcements-list .announce-item-body p:first-child {
    margin-top: 0.5rem;
}
/* 风险提示展开区：与其它条目同宽，但排版加密，避免一大块空白 */
.page-announcements-list .announce-item-body--dense {
    padding-top: 0.45rem;
    padding-bottom: 0.55rem;
}
.page-announcements-list .announce-dense-lead {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ink-strong);
    margin: 0 0 0.35rem 0;
}
.page-announcements-list .announce-dense-list {
    margin: 0;
    padding-left: 1.05rem;
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--muted);
}
.page-announcements-list .announce-dense-list li {
    margin: 0.2rem 0;
}
.page-announcements-list .announce-dense-foot {
    margin: 0.5rem 0 0 0;
    font-size: 0.8125rem;
}
.page-announcements-list .announce-item--risk .announce-item-summary:hover {
    background: rgba(231, 76, 60, 0.06);
}

@media (max-width: 560px) {
    .page-announcements-list .announce-item-summary {
        flex-wrap: wrap;
        padding: 0.5rem 0.65rem;
    }
    .page-announcements-list .announce-item-date {
        flex: 0 0 100%;
        margin-bottom: 0.15rem;
    }
    .page-announcements-list .announce-item-body {
        padding-left: 0.65rem;
    }
}

/* ========== 新客导览：阅读体验优化（减拥挤、更易读） ========== */
/* 与工具与下单等页面一致，使用 container 全宽 */
.guide-steps {
    max-width: none;
}

.content-page--guide .step-card {
    padding: 2.5rem 2.25rem;
    margin-bottom: 2.5rem;
}

.content-page--guide .step-card .step-number {
    margin-bottom: 1.25rem;
}

.content-page--guide .step-card h2 {
    font-size: 1.4rem;
    margin-bottom: 1.75rem;
    padding-bottom: 0;
    line-height: 1.35;
}

/* 小节标题：增加上边距与分隔线，形成清晰区块 */
.content-page--guide .step-card h3 {
    margin-top: 2rem;
    margin-bottom: 0.85rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    font-size: 1.15rem;
    line-height: 1.4;
}

.content-page--guide .step-card h3:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

/* 正文：更大行高与段落间距 */
.content-page--guide .step-card p {
    line-height: 1.85;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    color: var(--ink-strong);
}

.content-page--guide .step-card p:last-child {
    margin-bottom: 0;
}

/* 列表：更大行高与列表项间距 */
.content-page--guide .step-card ul,
.content-page--guide .step-card ol {
    margin: 1.25rem 0 1.5rem 1.75rem;
    padding-left: 1.25rem;
    line-height: 1.8;
}

.content-page--guide .step-card li {
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: var(--ink-strong);
}

.content-page--guide .step-card li:last-child {
    margin-bottom: 0;
}

/* 表格在导览页内稍作留白 */
.content-page--guide .step-card table {
    margin: 1.25rem 0 1.5rem 0;
}

.content-page--guide .step-card table th,
.content-page--guide .step-card table td {
    padding: 0.75rem 1rem;
}

/* 导览页内步骤间导航留白 */
.content-page--guide .step-navigation {
    margin-top: 2.5rem;
    padding-top: 2rem;
}

/* ========== 问答卡片 ========== */
.qa-card {
    background: var(--card-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.qa-card:hover {
    border-color: var(--accent-border);
    box-shadow: var(--shadow-soft);
}

.qa-question {
    font-weight: 600;
    color: var(--ink-strong);
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.qa-answer {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 1.65;
    display: none;
}

.qa-answer.show {
    display: block;
}

.qa-toggle {
    color: var(--accent-gold);
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* ========== 搜索框 ========== */
.search-box {
    margin-bottom: 2rem;
}

.search-box input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--card);
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    font-size: 1rem;
    color: var(--ink);
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.search-box input::placeholder {
    color: var(--muted);
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent-border);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
}

/* ========== 侧边栏/目录 ========== */
.sidebar {
    background: var(--card-soft);
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-soft);
}

.sidebar h3 {
    color: var(--ink-strong);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.sidebar ul {
    list-style: none;
    margin: 0;
}

.sidebar li {
    margin-bottom: 0.5rem;
}

.sidebar a {
    color: var(--accent-gold);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: var(--transition);
}

.sidebar a:hover {
    text-decoration: underline;
}

/* ========== 表格 ========== */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.5rem 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--card-soft);
}

table th,
table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
    color: var(--ink-strong);
}

table th {
    background: rgba(212, 175, 55, 0.2);
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 0.875rem;
}

table tr:last-child td {
    border-bottom: none;
}

table tbody tr:hover {
    background: var(--accent-red-dim);
}

/* ========== 标签 ========== */
.tag {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: rgba(40, 40, 40, 0.9);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--muted);
}

.tag-primary {
    background: rgba(212, 175, 55, 0.9);
    color: #0d0d0d;
    border-color: var(--accent-border);
    font-weight: 700;
}

/* ========== 快速诊断 ========== */
.quick-diagnosis {
    background: var(--card-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-soft);
}

.diagnosis-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.diagnosis-option {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    cursor: pointer;
    background: var(--card);
    color: var(--ink-strong);
    transition: var(--transition);
}

.diagnosis-option:hover {
    border-color: var(--accent-border);
    background: var(--accent-red-dim);
    transform: translateY(-1px);
}

.diagnosis-option.selected {
    border-color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.2);
    box-shadow: 0 0 0 1px var(--accent-border);
}

/* ========== 新手必读 ========== */
.newbie-must-read {
    background: rgba(30, 28, 22, 0.95);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-left: 4px solid var(--warning);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 2rem 0;
}

.newbie-must-read h3 {
    color: var(--warning);
    margin-bottom: 1rem;
    font-weight: 700;
}

.newbie-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.newbie-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--muted);
}

.newbie-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--warning);
    font-weight: bold;
}

/* ========== 风险提示 ========== */
.risk-warning {
    background: var(--danger-dim);
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 2rem 0;
}

.risk-warning h3 {
    color: var(--danger);
    margin-bottom: 1rem;
    font-weight: 700;
}

.risk-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.risk-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--muted);
}

.risk-list li:before {
    content: "⚠";
    position: absolute;
    left: 0;
    color: var(--danger);
}

/* ========== 面包屑 ========== */
.breadcrumb {
    padding: 1rem 0;
    background: rgba(20, 20, 20, 0.95);
    border-bottom: 1px solid var(--border);
}

.breadcrumb ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.breadcrumb li {
    display: inline;
    margin-right: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted);
}

.breadcrumb li:after {
    content: " / ";
    margin-left: 0.5rem;
    color: var(--muted);
    opacity: 0.7;
}

.breadcrumb li:last-child:after {
    content: "";
}

.breadcrumb a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ========== 术语提示 ========== */
.term-hint {
    position: relative;
    display: inline-block;
    border-bottom: 1px dashed var(--accent-gold);
    cursor: help;
    color: var(--accent-gold);
}

.term-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--card);
    color: var(--ink);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
    margin-bottom: 0.5rem;
    z-index: 1000;
}

.term-tooltip:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--card);
}

.term-hint:hover .term-tooltip {
    opacity: 1;
}

/* ========== 筛选器 ========== */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--card-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.filter-tag {
    padding: 0.5rem 1rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 999px;
    cursor: pointer;
    color: var(--muted);
    font-size: 0.875rem;
    transition: var(--transition);
}

.filter-tag:hover,
.filter-tag.active {
    background: rgba(212, 175, 55, 0.2);
    color: var(--accent-gold);
    border-color: var(--accent-border);
}

/* ========== 收藏按钮 ========== */
.bookmark-btn {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 1.2rem;
    transition: color var(--transition);
}

.bookmark-btn:hover,
.bookmark-btn.bookmarked {
    color: var(--accent-orange);
}

/* 导览页进度条（浅色背景下可见） */
.guide-progress-wrap {
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.guide-progress-text {
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--accent-gold);
    font-weight: 700;
}
.guide-progress-hint {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--muted);
}

/* ========== 进度条 ========== */
.progress-bar {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    height: 8px;
    margin: 1rem 0;
    overflow: hidden;
}

.progress-fill {
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-orange));
    height: 100%;
    transition: width var(--transition);
    border-radius: 8px;
}

/* ========== 计算器 ========== */
.calculator {
    background: var(--card-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-soft);
}

.calculator-input {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.calculator-input label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--ink-strong);
    font-weight: 600;
    font-size: 0.9375rem;
}

.calculator-input input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--card);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    color: var(--ink);
    transition: var(--transition);
}

.calculator-input input:focus {
    outline: none;
    border-color: var(--accent-border);
}

.calculator-result {
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--accent-border);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-top: 1.5rem;
}

.calculator-result h4 {
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.calculator-result .result-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink-strong);
}

/* ========== 对比表格 ========== */
.comparison-table {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.comparison-table table {
    min-width: 600px;
}

.comparison-table th:first-child {
    position: sticky;
    left: 0;
    background: rgba(212, 175, 55, 0.2);
    z-index: 1;
}

/* ========== 图表容器 ========== */
.chart-container {
    background: var(--card-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-soft);
}

.chart-placeholder {
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
}

/* ========== 可视化盒子 ========== */
.visual-box {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--accent-border);
    border-left: 4px solid var(--accent-gold);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.visual-box.warning {
    background: var(--warning-dim);
    border-left-color: var(--warning);
    border-color: rgba(245, 158, 11, 0.25);
}

.visual-box.success {
    background: var(--success-dim);
    border-left-color: var(--success);
    border-color: rgba(16, 185, 129, 0.2);
}

.visual-box.info {
    background: var(--warning-dim);
    border-left-color: var(--warning);
    border-color: rgba(245, 158, 11, 0.25);
}

/* ========== 比喻卡片 ========== */
.analogy-card {
    background: var(--card-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.analogy-card:hover {
    border-color: var(--accent-border);
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
}

.analogy-icon {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.analogy-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    text-align: center;
}

.analogy-content {
    color: var(--muted);
    line-height: 1.75;
}

/* ========== 步骤可视化 ========== */
.step-visual {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.step-visual-item {
    flex: 1;
    min-width: 150px;
    text-align: center;
    padding: 1rem;
    background: var(--card-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
}

.step-visual-item:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    color: var(--accent-gold);
}

.step-visual-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--accent-red-dim);
    color: var(--accent-gold);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-sm);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-visual-text {
    font-size: 0.9rem;
    color: var(--muted);
}

/* ========== 对比卡片 ========== */
.comparison-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.comparison-item {
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.comparison-item.good {
    background: var(--success-dim);
    border-color: rgba(16, 185, 129, 0.25);
}

.comparison-item.bad {
    background: var(--danger-dim);
    border-color: rgba(239, 68, 68, 0.25);
}

.comparison-item-title {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comparison-item.good .comparison-item-title {
    color: var(--success);
}

.comparison-item.bad .comparison-item-title {
    color: var(--danger);
}

/* ========== 数字高亮 ========== */
.number-highlight {
    display: inline-block;
    background: linear-gradient(135deg, #b8860b, var(--accent-gold));
    color: #fff;
    padding: 0.3rem 0.75rem;
    border-radius: 8px;
    font-weight: 700;
    margin: 0 0.25rem;
    font-size: 0.95em;
}

/* ========== 图标列表 ========== */
.icon-list {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.icon-list li {
    padding: 0.8rem 0;
    padding-left: 3rem;
    position: relative;
    line-height: 1.6;
    color: var(--muted);
}

.icon-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    width: 1.75rem;
    height: 1.75rem;
    background: var(--success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.75rem;
}

.icon-list li.warning::before {
    background: var(--warning);
    content: "⚠";
}

.icon-list li.error::before {
    background: var(--danger);
    content: "✗";
}

/* ========== 流程图 ========== */
.flow-diagram {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.flow-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--card-soft);
    border-radius: var(--radius);
    border-left: 4px solid var(--accent-gold);
    border: 1px solid var(--border);
    border-left-width: 4px;
    border-left-color: var(--accent-gold);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.flow-step-number {
    min-width: 48px;
    height: 48px;
    background: var(--accent-red-dim);
    color: var(--accent-gold);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.flow-step-content {
    flex: 1;
    color: var(--muted);
}

.flow-arrow {
    text-align: center;
    color: var(--accent-gold);
    font-size: 1.25rem;
    margin: -0.5rem 0;
}

/* ========== 收益/风险可视化 ========== */
.profit-visual {
    background: var(--success-dim);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: var(--radius);
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.profit-visual h3 {
    color: var(--success);
    margin-bottom: 1rem;
    font-weight: 700;
}

.profit-amount {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--success);
    margin: 1rem 0;
}

.risk-visual {
    background: var(--danger-dim);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: var(--radius);
    padding: 2rem;
    margin: 2rem 0;
}

.risk-level {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-weight: 700;
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.risk-level.low {
    background: var(--success);
    color: white;
}

.risk-level.medium {
    background: var(--warning);
    color: #fff;
}

.risk-level.high {
    background: var(--danger);
    color: white;
}

/* ========== 问答页快速入口 ========== */
.quick-entry-box {
    background: rgba(30, 28, 22, 0.95);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-left: 4px solid var(--warning);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.quick-entry-box h3 {
    color: var(--warning);
    margin-bottom: 1rem;
    font-weight: 700;
}

.quick-entry-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.quick-entry-links a {
    display: block;
    padding: 0.65rem 1rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--accent-gold);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.quick-entry-links a:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--accent-border);
}

.search-stats {
    margin-top: 0.5rem;
    color: var(--muted);
    font-size: 0.9rem;
}

/* ========== 侧边栏 · 联系方式弹窗 ========== */
.contact-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

.contact-sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 120px;
    padding: 12px 8px;
    background: linear-gradient(135deg, #b8860b, #d4af37);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    writing-mode: vertical-rl;
    letter-spacing: 0.2em;
    text-decoration: none;
    border-radius: 14px 0 0 14px;
    box-shadow: -4px 0 20px rgba(212, 175, 55, 0.25);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    border-right: none;
}

.contact-sidebar-btn:hover {
    width: 52px;
    color: #fff;
    box-shadow: -6px 0 24px rgba(212, 175, 55, 0.35);
}

.contact-modal-mask {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.contact-modal-mask.is-open {
    display: flex;
    opacity: 1;
}

.contact-modal-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 380px;
    overflow: hidden;
}

.contact-modal-head {
    padding: 1rem 1.25rem;
    background: rgba(212, 175, 55, 0.18);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contact-modal-head h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.contact-modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--muted);
    font-size: 1.25rem;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition);
}

.contact-modal-close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--ink-strong);
}

.contact-modal-body {
    padding: 1.25rem 1.25rem 1.5rem;
}

.contact-modal-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--ink-strong);
    transition: var(--transition);
}

.contact-modal-item:last-child {
    border-bottom: none;
}

.contact-modal-item:hover {
    color: var(--accent-gold);
}

.contact-modal-item .icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-modal-item.tg .icon { background: rgba(0, 136, 204, 0.15); }
.contact-modal-item.x .icon { background: rgba(212, 175, 55, 0.15); }

.contact-modal-item strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.contact-modal-item span {
    font-size: 0.85rem;
    color: var(--muted);
}

/* 价差模拟器 */
.simulator-section .simulator-ref-table {
    width: 100%;
    max-width: 360px;
    border-collapse: collapse;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}
.simulator-section .simulator-ref-table th,
.simulator-section .simulator-ref-table td {
    border: 1px solid var(--border);
    padding: 0.5rem 0.75rem;
    text-align: left;
}
.simulator-section .simulator-ref-table th {
    background: rgba(212, 175, 55, 0.15);
    font-weight: 600;
}
.simulator-box.simulator-box .calculator-input {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}
.simulator-direction {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.simulator-radio {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: normal;
}
.simulator-radio input { margin: 0; }
.simulator-result h4 { margin-bottom: 0.75rem; }
.simulator-summary,
.simulator-action {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}
.simulator-profit { margin-top: 0.5rem; }

@media (max-width: 768px) {
    .contact-sidebar-btn {
        width: 44px;
        height: 100px;
        font-size: 13px;
    }
}

/* 联系方式独立页 */
.contact-page .contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-page .contact-card {
    display: block;
    background: var(--card-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    text-decoration: none;
    color: var(--ink-strong);
    transition: var(--transition);
}

.contact-page .contact-card:hover {
    border-color: var(--accent-border);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.contact-page .contact-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-page .contact-card-tg .contact-card-icon {
    background: rgba(0, 136, 204, 0.15);
    color: #0088cc;
}

.contact-page .contact-card-x .contact-card-icon {
    background: rgba(0, 0, 0, 0.08);
    color: var(--ink-strong);
}

.contact-page .contact-card h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.contact-page .contact-card p {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.contact-page .contact-card-action {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-gold);
}

/* ========== 移动端菜单 ========== */
.mobile-menu-toggle {
    display: none;
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--accent-gold);
    font-size: 1.25rem;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.mobile-menu-toggle:hover {
    border-color: var(--accent-border);
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(20, 20, 20, 0.98);
        border: 1px solid var(--border);
        border-top: none;
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
        border-radius: 0 0 var(--radius) var(--radius);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 0.75rem 1rem;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .entries-grid {
        grid-template-columns: 1fr;
    }

    .must-see-grid {
        grid-template-columns: 1fr;
    }

    .diagnosis-options {
        grid-template-columns: 1fr;
    }

    .calculator-input {
        grid-template-columns: 1fr;
    }

    .sidebar {
        margin-bottom: 2rem;
    }

    .comparison-card {
        grid-template-columns: 1fr;
    }

    .step-visual-item:not(:last-child)::after {
        display: none;
    }

    div[style*="grid-template-columns: 250px"] {
        grid-template-columns: 1fr !important;
    }
}

/* ========== 站点导航页（hub）动态背景：仅 transform/opacity，pointer-events:none，不阻塞点击 ========== */
.page-hub {
    position: relative;
}

.hub-scene {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hub-scene-base {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(201, 162, 39, 0.11) 0%, transparent 58%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(45, 90, 61, 0.09) 0%, transparent 52%),
        radial-gradient(ellipse 50% 35% at 15% 70%, rgba(92, 42, 42, 0.07) 0%, transparent 48%),
        linear-gradient(180deg, #0a0a0a 0%, #0d0d0d 40%, #0a0a0a 100%);
}

/* Web3 质感网格：多层细线 + 微噪点感（纯 CSS，无图） */
.hub-scene-mesh {
    position: absolute;
    inset: 0;
    opacity: 0.34;
    background-image:
        linear-gradient(rgba(212, 175, 55, 0.065) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.05) 1px, transparent 1px);
    background-size: 48px 48px, 48px 48px;
    mask-image: radial-gradient(ellipse 75% 65% at 50% 42%, black 32%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 42%, black 32%, transparent 78%);
    will-change: transform;
    animation: hubMeshDrift 48s linear infinite;
}

/* 六边形暗示（data URI 很轻） */
.hub-scene-hex {
    position: absolute;
    inset: -5%;
    opacity: 0.11;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cpath fill='none' stroke='%23c9a227' stroke-width='0.4' d='M14 0v10M0 24.5h28M14 39v10'/%3E%3Cpath fill='none' stroke='%23c9a227' stroke-width='0.25' d='M14 8l12 7v14l-12 7-12-7V15z'/%3E%3C/svg%3E");
    background-size: 28px 49px;
    animation: hubMeshDrift 60s linear infinite reverse;
}

@keyframes hubMeshDrift {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-48px, -24px, 0); }
}

/* 氛围光晕：blur + 慢移，只动 transform */
.hub-scene-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(56px);
    will-change: transform;
    opacity: 0.48;
}

.hub-scene-glow--1 {
    width: 45vmax;
    height: 45vmax;
    top: -15vmax;
    left: -10vmax;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 68%);
    animation: hubGlow1 32s ease-in-out infinite;
}

.hub-scene-glow--2 {
    width: 40vmax;
    height: 40vmax;
    bottom: -10vmax;
    right: -8vmax;
    background: radial-gradient(circle, rgba(45, 90, 61, 0.16) 0%, transparent 62%);
    animation: hubGlow2 38s ease-in-out infinite;
}

@keyframes hubGlow1 {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(4%, 3%, 0) scale(1.05); }
}

@keyframes hubGlow2 {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(-3%, -4%, 0) scale(1.08); }
}

/* K 线层：左右两侧弱显，整体只做轻微位移 */
.hub-scene-candles {
    position: absolute;
    top: 50%;
    width: min(42vw, 320px);
    height: 120px;
    transform: translateY(-50%);
    opacity: 0.62;
    mix-blend-mode: normal;
}

.hub-scene-candles--left {
    left: 0;
    animation: hubCandleFloat 28s ease-in-out infinite;
}

.hub-scene-candles--right {
    right: 0;
    animation: hubCandleFloat 34s ease-in-out infinite reverse;
}

.hub-candles-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hub-candles-svg--mirror {
    transform: scaleX(-1);
}

@keyframes hubCandleFloat {
    0%, 100% { transform: translate3d(0, -50%, 0); opacity: 0.58; }
    50% { transform: translate3d(0, calc(-50% + 8px), 0); opacity: 0.68; }
}

/* Web3 节点：小数点连线感，opacity 呼吸 */
.hub-scene-nodes {
    position: absolute;
    inset: 0;
    opacity: 0.68;
}

.hub-node {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #f0d058, #b8860b 60%, transparent 70%);
    box-shadow: 0 0 14px rgba(212, 175, 55, 0.55), 0 0 28px rgba(212, 175, 55, 0.22);
    will-change: opacity, transform;
    animation: hubNodePulse 4s ease-in-out infinite;
}

.hub-node:nth-child(1) { top: 18%; left: 12%; animation-delay: 0s; }
.hub-node:nth-child(2) { top: 42%; left: 8%; animation-delay: 0.6s; width: 4px; height: 4px; }
.hub-node:nth-child(3) { top: 68%; left: 18%; animation-delay: 1.2s; }
.hub-node:nth-child(4) { top: 22%; right: 14%; animation-delay: 0.3s; }
.hub-node:nth-child(5) { top: 58%; right: 10%; animation-delay: 0.9s; width: 5px; height: 5px; }

@keyframes hubNodePulse {
    0%, 100% { opacity: 0.5; transform: scale3d(1, 1, 1); }
    50% { opacity: 0.92; transform: scale3d(1.12, 1.12, 1); }
}

@media (max-width: 768px) {
    .hub-scene-candles--left,
    .hub-scene-candles--right {
        width: min(55vw, 200px);
        height: 90px;
        opacity: 0.44;
    }
    .hub-scene-nodes .hub-node:nth-child(2),
    .hub-scene-nodes .hub-node:nth-child(4) {
        opacity: 0.4;
    }
    .hub-scene-mesh { opacity: 0.28; }
    .hub-scene-hex { opacity: 0.08; }
}

@media (prefers-reduced-motion: reduce) {
    .hub-scene-mesh,
    .hub-scene-hex,
    .hub-scene-glow--1,
    .hub-scene-glow--2,
    .hub-scene-candles--left,
    .hub-scene-candles--right,
    .hub-node {
        animation: none;
        will-change: auto;
    }
    .hub-scene-candles--left,
    .hub-scene-candles--right {
        transform: translateY(-50%);
        opacity: 0.52;
    }
}

/* 主内容压在背景之上，避免遮挡点击 */
.hub-main--above-scene {
    position: relative;
    z-index: 1;
}

.page-hub .footer {
    position: relative;
    z-index: 1;
}

.page-hub .contact-sidebar {
    z-index: 1001;
}

/* ========== 站点导航页（hub）竖向项目列表 ========== */
.page-hub .navbar {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.hub-main {
    padding: 1.5rem 0 3rem;
    min-height: calc(100vh - 180px);
}

.hub-brand {
    text-align: center;
    padding: 1.25rem 0 1.5rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.5rem;
}

.hub-brand--compact {
    padding: 1rem 0 1.25rem;
    margin-bottom: 1.25rem;
}

.hub-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    color: var(--accent-gold);
    letter-spacing: 0.12em;
    margin-bottom: 0.25rem;
}

.hub-title-line {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.08em;
    margin: 0 0 0.65rem 0;
}

.hub-tagline {
    max-width: 520px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.hub-projects-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 1.25rem;
    text-align: center;
}

.hub-project-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 720px;
    margin: 0 auto 2rem;
}

.hub-project-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.25rem;
    padding: 1.35rem 1.5rem;
    background: var(--card-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.hub-project-card--active:hover {
    border-color: var(--accent-border);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.hub-project-card--disabled {
    cursor: default;
    opacity: 0.72;
    pointer-events: none;
    user-select: none;
}

.hub-project-num {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--muted);
    min-width: 2rem;
}

.hub-project-body {
    flex: 1;
    min-width: 200px;
}

.hub-project-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink-strong);
    margin-bottom: 0.35rem;
}

.hub-project-card--active .hub-project-name {
    color: var(--accent-gold);
}

.hub-project-desc {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
}

.hub-project-arrow {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-gold);
    white-space: nowrap;
}

.hub-project-soon {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--muted);
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    white-space: nowrap;
}

.hub-footnote {
    text-align: center;
    font-size: 0.875rem;
    color: var(--muted);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ========== 信号源与跟单页（营销型展示） ========== */
.page-signals .content-page {
    padding-top: 0.5rem;
}

.signal-hero {
    padding: 1.25rem 0 1.25rem;
    background: var(--card-soft);
    border-bottom: 1px solid var(--border);
}

.signal-hero-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    margin-bottom: 1rem;
}

.signal-hero-left {
    min-width: 0;
}

.signal-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.25rem, 2.2vw, 1.7rem);
    font-weight: 800;
    color: var(--accent-gold);
    margin: 0 0 0.2rem 0;
}

.signal-hero-tagline {
    font-size: 0.875rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.4;
}

.signal-hero-row .signal-trust-badges {
    flex-shrink: 0;
    margin: 0;
    gap: 0.35rem;
}

.signal-hero-row .signal-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
}

.signal-metrics {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.signal-metric {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    text-align: center;
}

.signal-metric-value {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1.2;
}

.signal-metric-value--subdued {
    color: var(--muted);
    font-weight: 700;
}

.signal-metric-label {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 0.25rem;
    display: block;
}

.signal-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.signal-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted);
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.2);
}

.signal-chart-wrap {
    background: var(--card-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.15rem;
    margin-bottom: 0.5rem;
    box-shadow: var(--shadow-soft);
}

.signal-chart-wrap .chart-container {
    position: relative;
    height: 280px;
    min-height: 280px;
    max-height: 280px;
    overflow: hidden;
}

.signal-chart-wrap .chart-container--balance {
    width: 100%;
}

.signal-chart-wrap .chart-container canvas {
    max-height: 280px !important;
}

.signal-chart-wrap .chart-container--bar {
    height: 220px;
    min-height: 220px;
    max-height: 220px;
    overflow: hidden;
}

.signal-chart-wrap .chart-container--bar canvas {
    max-height: 220px !important;
}

.signal-chart-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.signal-chart-tab {
    font-size: 0.85rem;
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    transition: var(--transition);
}

.signal-chart-tab:hover,
.signal-chart-tab.active {
    background: var(--accent-dim);
    border-color: var(--accent-border);
    color: var(--accent-gold);
}

.signal-chart-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink-strong);
    margin: 0 0 0.5rem 0;
}

.signal-section-hint {
    font-size: 0.875rem;
    color: var(--muted);
    margin: 0 0 0.75rem 0;
}

.signal-bars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.signal-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.85rem;
}

.signal-stat-card {
    background: var(--card-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
}

.signal-stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 0.35rem;
}

.signal-stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.signal-trades-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card-soft);
}

.signal-trades-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.signal-trades-table th,
.signal-trades-table td {
    padding: 0.6rem 0.85rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.signal-trades-table th {
    background: rgba(0, 0, 0, 0.3);
    color: var(--accent-gold);
    font-weight: 700;
}

.signal-trades-table tr:last-child td {
    border-bottom: none;
}

.signal-trades-empty {
    color: var(--muted);
    text-align: center;
    padding: 1.5rem;
}

.signal-profit-up {
    color: var(--success);
    font-weight: 600;
}

.signal-profit-down {
    color: var(--danger);
    font-weight: 600;
}

.signal-credibility {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card-soft);
    overflow: hidden;
}

.signal-credibility-summary {
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--ink-strong);
    list-style: none;
}

.signal-credibility-summary::-webkit-details-marker {
    display: none;
}

.signal-credibility-summary::after {
    content: ' +';
    color: var(--accent-gold);
}

.signal-credibility[open] .signal-credibility-summary::after {
    content: ' −';
}

.signal-credibility-body {
    padding: 0 1rem 1rem;
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--muted);
    border-top: 1px solid var(--border);
}

.signal-credibility-body p {
    margin: 0.5rem 0 0 0;
}

.signal-credibility-body p:first-child {
    margin-top: 0.75rem;
}

.signal-cta {
    text-align: center;
    padding: 1.5rem 0;
}

.signal-cta-lead {
    font-size: 1rem;
    color: var(--ink-strong);
    margin: 0 0 1rem 0;
}

.signal-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.signal-daily-report {
    margin-top: 1rem;
    padding: 1rem 1.15rem;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.signal-daily-report-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin: 0 0 0.35rem 0;
}

.signal-daily-report-hint {
    font-size: 0.8125rem;
    color: var(--muted);
    margin: 0 0 0.75rem 0;
}

.signal-daily-row-more {
    display: none;
}

.signal-daily-report.signal-daily-expanded .signal-daily-row-more {
    display: table-row;
}

.signal-daily-toggle-row td {
    border-bottom: none;
    padding: 0.6rem 0.75rem;
    text-align: center;
}

.signal-daily-toggle-btn {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-gold);
    background: transparent;
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-sm);
    padding: 0.4rem 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.signal-daily-toggle-btn:hover {
    background: var(--accent-dim);
}

.signal-daily-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.signal-daily-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.signal-daily-table th,
.signal-daily-table td {
    padding: 0.5rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.signal-daily-table th {
    background: rgba(0, 0, 0, 0.3);
    color: var(--accent-gold);
    font-weight: 700;
}

.signal-daily-table td.profit-positive {
    color: var(--success);
    font-weight: 600;
}

.signal-daily-table td.profit-negative {
    color: var(--danger);
    font-weight: 600;
}

.signal-daily-empty {
    color: var(--muted);
    text-align: center;
    padding: 1rem;
}

@media (max-width: 1100px) {
    .signal-metrics {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .signal-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
    .signal-bars-grid {
        grid-template-columns: 1fr;
    }
}
