/* ETFH5 — 金融金主题 */
:root {
    --gold: #C5A55A;
    --gold-light: #D4BC7C;
    --gold-dark: #A68B3E;
    --bg-primary: #0D0D1A;
    --bg-card: #1A1A2E;
    --bg-card-hover: #222240;
    --text-primary: #F0E6D2;
    --text-secondary: #8A8A9A;
    --text-muted: #5A5A6A;
    --border: #2A2A3E;
    --green: #4CAF50;
    --red: #EF5350;
    --radius: 12px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    padding-bottom: 70px;
    -webkit-font-smoothing: antialiased;
}

/* 顶部标题栏 */
.header {
    background: linear-gradient(135deg, var(--bg-card) 0%, #16162A 100%);
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header h1 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 1px;
}

.header .subtitle {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* 内容区 */
.container {
    padding: 16px;
    max-width: 480px;
    margin: 0 auto;
}

/* Hero区 */
.hero {
    text-align: center;
    padding: 32px 20px;
    background: linear-gradient(180deg, rgba(197, 165, 90, 0.08) 0%, transparent 100%);
    border-bottom: 1px solid var(--border);
}

.hero-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.hero h2 {
    font-size: 22px;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 8px;
}

.hero p {
    font-size: 13px;
    color: var(--text-secondary);
    max-width: 280px;
    margin: 0 auto;
}

/* 指标卡片 */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 16px 0;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
    transition: background 0.2s;
}

.stat-card:active {
    background: var(--bg-card-hover);
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold);
}

.stat-value.positive {
    color: var(--green);
}

.stat-value.negative {
    color: var(--red);
}

/* 区块标题 */
.section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 24px 0 12px;
    padding-left: 4px;
    border-left: 3px solid var(--gold);
    padding-left: 10px;
}

/* 推荐卡片 */
.holding-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.holding-info {
    flex: 1;
}

.holding-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.holding-code {
    font-size: 12px;
    color: var(--text-secondary);
}

.holding-weight {
    font-size: 20px;
    font-weight: 700;
    color: var(--gold);
    text-align: right;
}

.holding-weight span {
    font-size: 12px;
    color: var(--text-secondary);
}

/* 历史列表 */
.history-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    margin-bottom: 8px;
}

.history-date {
    font-size: 13px;
    color: var(--gold-light);
    font-weight: 600;
}

.history-holdings {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.history-return {
    font-size: 14px;
    font-weight: 600;
}

.history-return.positive {
    color: var(--green);
}

.history-return.negative {
    color: var(--red);
}

/* 图表容器 */
.chart-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
    margin: 12px 0;
}

.chart-wrapper {
    width: 100%;
    height: 320px;
}

/* 时间范围按钮 */
.time-range {
    display: flex;
    gap: 8px;
    margin: 12px 0;
    flex-wrap: wrap;
}

.time-btn {
    flex: 1;
    min-width: 60px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 13px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.time-btn.active {
    background: var(--gold);
    color: var(--bg-primary);
    border-color: var(--gold);
    font-weight: 600;
}

/* 关于页 */
.about-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin: 12px 0;
}

.about-section h3 {
    font-size: 15px;
    color: var(--gold);
    margin-bottom: 10px;
}

.about-section p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 12px 0;
}

.about-feature-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.about-feature-text h4 {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.about-feature-text p {
    font-size: 12px;
    color: var(--text-secondary);
}

.disclaimer {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    padding: 20px;
    line-height: 1.8;
}

/* 底部导航 */
.tab-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-around;
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
    z-index: 100;
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 11px;
    padding: 4px 16px;
    transition: color 0.2s;
}

.tab-item.active {
    color: var(--gold);
}

.tab-icon {
    font-size: 20px;
    margin-bottom: 2px;
}

/* 回撤分析网格 */
.drawdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 12px 0;
}

.drawdown-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
    margin-bottom: 12px;
}

.dd-status-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.dd-status-value {
    font-size: 16px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
}

.status-recovering {
    color: var(--red);
    background: rgba(239, 83, 80, 0.12);
}

.status-recovered {
    color: var(--green);
    background: rgba(76, 175, 80, 0.12);
}

/* 统计摘要条 */
.summary-bar {
    display: flex;
    justify-content: space-around;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
    margin: 12px 0;
}

.summary-item {
    text-align: center;
}

.summary-label {
    font-size: 11px;
    color: var(--text-secondary);
}

.summary-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--gold);
    margin-top: 2px;
}

/* 加载状态 */
.loading {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
    font-size: 14px;
}

/* 信号元信息 */
.signal-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
    padding: 8px 4px;
    margin-bottom: 8px;
}

/* === 小哆说量化 · 样式 === */
.xiaoduo-banner {
    background: linear-gradient(135deg, rgba(197, 165, 90, 0.1) 0%, rgba(13, 13, 26, 0.95) 100%);
    border-bottom: 1px solid var(--border);
    padding: 16px;
}

.xiaoduo-brand {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.xiaoduo-tip-card {
    background: var(--bg-card);
    border: 1px solid var(--gold-dark);
    border-radius: var(--radius);
    padding: 14px 16px;
}

.xiaoduo-tip-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.xiaoduo-tip-content {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.xiaoduo-about-section {
    border-color: var(--gold-dark);
}
/* === 小哆说量化 end === */

/* === 收益率日历 === */
.cal-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 12px;
    margin-bottom: 10px;
}

.cal-toggle {
    display: flex;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2px;
}

.cal-toggle-btn {
    padding: 5px 14px;
    font-size: 13px;
    color: var(--text-secondary);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.cal-toggle-btn.active {
    background: var(--gold);
    color: var(--bg-primary);
    font-weight: 600;
}

.cal-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cal-nav-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg-primary);
    color: var(--gold);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.cal-nav-btn:active {
    background: var(--gold);
    color: var(--bg-primary);
}

.cal-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    min-width: 90px;
    text-align: center;
}

.cal-summary {
    margin-bottom: 10px;
}

.cal-summary-row {
    display: flex;
    justify-content: space-around;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px;
    font-size: 12px;
    color: var(--text-secondary);
}

.cal-summary-row b {
    font-weight: 700;
    color: var(--text-primary);
    margin-left: 4px;
}

/* A股: 红涨绿跌 */
.cal-summary-row b.positive { color: var(--red); }
.cal-summary-row b.negative { color: var(--green); }

.cal-body {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px;
}

.cal-grid {
    display: grid;
    gap: 4px;
}

.cal-month {
    grid-template-columns: repeat(7, 1fr);
}

.cal-year {
    grid-template-columns: repeat(4, 1fr);
}

.cal-head {
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    padding: 4px 0;
    font-weight: 600;
}

.cal-cell {
    border-radius: 6px;
    text-align: center;
    transition: transform 0.15s;
}

.cal-empty {
    background: transparent;
}

.cal-day {
    min-height: 52px;
    padding: 4px 2px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.cal-date {
    font-size: 11px;
    color: var(--text-primary);
    font-weight: 600;
    align-self: flex-start;
    padding-left: 2px;
}

.cal-ret {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-primary);
}

/* A股: 红涨绿跌 */
.cal-day.positive .cal-ret { color: #FFC2C0; }
.cal-day.negative .cal-ret { color: #B9F2C0; }

.cal-month-cell {
    padding: 14px 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 72px;
}

.cal-month-cell.empty {
    background: rgba(42, 42, 62, 0.3);
}

.cal-month-name {
    font-size: 12px;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 4px;
}

.cal-month-ret {
    font-size: 14px;
    font-weight: 700;
}

.cal-month-cell.positive .cal-month-ret { color: #FFC2C0; }
.cal-month-cell.negative .cal-month-ret { color: #B9F2C0; }
.cal-month-cell.empty .cal-month-ret { color: var(--text-muted); }
/* === 收益率日历 end === */

/* === 三策略改版 v3 === */

/* 状态徽章 */
.badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 20px;
    white-space: nowrap;
}
.badge-holding { color: var(--green); background: rgba(76, 175, 80, 0.12); }
.badge-defense { color: #4FC3F7; background: rgba(79, 195, 247, 0.12); }
.badge-cash { color: var(--text-secondary); background: rgba(138, 138, 154, 0.15); }

/* 首页策略卡片 */
.strategy-card {
    display: block;
    text-decoration: none;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--sc-color, var(--gold));
    border-radius: var(--radius);
    padding: 14px 16px;
    margin-bottom: 12px;
    transition: background 0.2s;
}
.strategy-card:active { background: var(--bg-card-hover); }
.sc-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}
.sc-name { font-size: 16px; font-weight: 700; color: var(--text-primary); }
.sc-tag { font-size: 12px; color: var(--text-secondary); margin-bottom: 10px; }
.asset-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    color: var(--sc-color, var(--gold));
    border: 1px solid var(--sc-color, var(--gold));
    border-radius: 4px;
    padding: 0 5px;
    margin-right: 6px;
    vertical-align: 1px;
}
.sc-metrics {
    display: flex;
    justify-content: space-between;
    background: var(--bg-primary);
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 8px;
}
.sc-metric { text-align: center; }
.sc-metric-label { font-size: 11px; color: var(--text-muted); }
.sc-metric-value { font-size: 15px; font-weight: 700; color: var(--gold); }
.sc-metric-value.positive { color: var(--green); }
.sc-metric-value.negative { color: var(--red); }
.sc-today {
    font-size: 12px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sc-date {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
    display: flex;
    justify-content: space-between;
}
.sc-arrow { color: var(--sc-color, var(--gold)); font-weight: 700; }

/* 策略切换器 */
.strategy-switcher {
    display: flex;
    gap: 8px;
    padding: 10px 16px 0;
    max-width: 480px;
    margin: 0 auto;
}
.switch-pill {
    flex: 1;
    text-align: center;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 6px 4px;
    white-space: nowrap;
    transition: all 0.2s;
}
.switch-pill.active {
    color: var(--bg-primary);
    background: var(--pill-color, var(--gold));
    border-color: var(--pill-color, var(--gold));
}

/* 内部tab（今日/净值/回撤/历史） */
.inner-tabs {
    display: flex;
    max-width: 480px;
    margin: 10px auto 0;
    padding: 0 16px;
    border-bottom: 1px solid var(--border);
}
.inner-tab {
    flex: 1;
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 10px 0;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    user-select: none;
}
.inner-tab.active {
    color: var(--gold);
    font-weight: 700;
    border-bottom-color: var(--gold);
}
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* 提示条 */
.notice-banner {
    font-size: 13px;
    border-radius: var(--radius);
    padding: 10px 14px;
    margin: 12px 0;
}
.notice-defense { color: #4FC3F7; background: rgba(79, 195, 247, 0.1); border: 1px solid rgba(79, 195, 247, 0.3); }
.notice-pending { color: var(--gold-light); background: rgba(197, 165, 90, 0.1); border: 1px solid rgba(197, 165, 90, 0.3); }

/* 因子说明卡 */
.factor-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    margin: 12px 0;
}
.factor-name { font-size: 14px; font-weight: 700; color: var(--gold); margin-bottom: 4px; }
.factor-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.6; }

/* 执行时间轴 */
.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
    margin: 12px 0;
}
.timeline-step {
    display: flex;
    gap: 12px;
    position: relative;
    padding-bottom: 14px;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 26px;
    bottom: 0;
    width: 1px;
    background: var(--border);
}
.timeline-time {
    flex-shrink: 0;
    width: 54px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--gold);
    background: rgba(197, 165, 90, 0.12);
    border-radius: 6px;
}
.timeline-body { flex: 1; }
.timeline-title { font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.timeline-hint { font-size: 11px; color: var(--text-muted); }
.timeline-item {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
    padding: 2px 0;
}
.timeline-item.muted { color: var(--text-muted); }
.timeline-item .positive { color: var(--red); }
.timeline-item .negative { color: var(--green); }

/* 风格组 hero */
.group-hero {
    background: linear-gradient(135deg, rgba(171, 71, 188, 0.12) 0%, var(--bg-card) 60%);
    border: 1px solid rgba(171, 71, 188, 0.35);
    border-radius: var(--radius);
    padding: 16px;
    margin: 12px 0;
}
.group-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.group-hero-label { font-size: 12px; color: var(--text-secondary); }
.group-hero-name { font-size: 20px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.group-hero-sub { font-size: 12px; color: var(--text-secondary); }
.group-hero-core {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed var(--border);
}

/* 动量评分条 */
.mbar-row { margin-bottom: 10px; }
.mbar-row.mbar-inactive { opacity: 0.45; }
.mbar-label { font-size: 12px; color: var(--text-primary); margin-bottom: 3px; }
.gtag {
    font-size: 10px;
    font-weight: 600;
    border-radius: 4px;
    padding: 0 5px;
    margin-left: 4px;
    vertical-align: 1px;
}
.gtag-holding { color: #AB47BC; background: rgba(171, 71, 188, 0.15); }
.gtag-core { color: var(--gold); background: rgba(197, 165, 90, 0.15); }
.gtag-cand { color: var(--text-secondary); background: rgba(138, 138, 154, 0.15); }
.mbar-track {
    background: var(--bg-primary);
    border-radius: 4px;
    height: 10px;
    overflow: hidden;
    display: inline-block;
    width: calc(100% - 52px);
    vertical-align: middle;
}
.mbar-fill { height: 100%; border-radius: 4px; }
.mbar-pos { background: linear-gradient(90deg, var(--gold-dark), var(--gold)); }
.mbar-neg { background: rgba(138, 138, 154, 0.4); }
.mbar-value {
    display: inline-block;
    width: 46px;
    text-align: right;
    font-size: 12px;
    font-weight: 700;
    vertical-align: middle;
}
.mbar-value.positive { color: var(--gold); }
.mbar-value.negative { color: var(--text-secondary); }
.mbar-note { font-size: 11px; color: var(--text-muted); line-height: 1.6; margin: 8px 0; }

/* 调仓动作 */
.action-item {
    display: flex;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 14px;
    margin-bottom: 8px;
}
.action-side {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    border-radius: 6px;
}
.action-buy { color: #FFC2C0; background: rgba(239, 83, 80, 0.18); }
.action-sell { color: #B9F2C0; background: rgba(76, 175, 80, 0.18); }
.action-body { flex: 1; }
.action-name { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.action-pp { font-size: 12px; color: var(--text-secondary); font-weight: 400; margin-left: 6px; }
.action-reason { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* 8组净值折叠区 */
.groups-details {
    margin: 16px 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
}
.groups-details summary {
    font-size: 14px;
    font-weight: 600;
    color: var(--gold);
    cursor: pointer;
    user-select: none;
}
.groups-details .chart-container { border: none; padding: 8px 0 0; margin: 0; background: transparent; }

/* 对比表 */
.compare-table-wrap { overflow-x: auto; margin: 12px 0; }
.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 12px;
}
.compare-table th {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 600;
    padding: 10px 8px;
    border-bottom: 1px solid var(--border);
    text-align: right;
    white-space: nowrap;
}
.compare-table th:first-child { text-align: left; }
.compare-table td {
    padding: 10px 8px;
    border-bottom: 1px solid var(--border);
    text-align: right;
    color: var(--text-primary);
    font-weight: 600;
    white-space: nowrap;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td:first-child { text-align: left; font-weight: 600; }
.compare-table td.positive { color: var(--green); }
.compare-table td.negative { color: var(--red); }
.ct-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
}

/* 特征卡 */
.feature-card {
    display: block;
    text-decoration: none;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    margin-bottom: 10px;
}
.feature-card:active { background: var(--bg-card-hover); }
.fc-name { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.fc-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    padding: 2px 0;
}
.fc-row span { color: var(--text-muted); flex-shrink: 0; }
.fc-row b { color: var(--text-secondary); font-weight: 600; text-align: right; }
.fc-row b.positive { color: var(--green); }
.fc-row b.negative { color: var(--red); }
/* === 三策略改版 v3 end === */

/* === 课程培训改版：课程hero / 页脚 / 法务页 === */
.pc-only { display: none; }

/* 课程hero（移动端金融金深色；PC浅色覆盖见pc.css） */
.course-hero {
    background: linear-gradient(135deg, rgba(197, 165, 90, 0.10) 0%, var(--bg-card) 60%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 16px;
    margin-bottom: 16px;
}
.course-hero-title { font-size: 20px; font-weight: 700; color: var(--text-primary); }
.course-hero-title em { color: var(--gold); font-style: normal; }
.course-hero-sub { font-size: 12px; color: var(--gold); font-weight: 600; margin: 4px 0 8px; }
.course-hero p { font-size: 12px; color: var(--text-secondary); }
.course-hero-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.course-hero-tags span {
    font-size: 11px; color: var(--gold-light);
    background: rgba(197, 165, 90, 0.12);
    border: 1px solid rgba(197, 165, 90, 0.25);
    border-radius: 999px; padding: 3px 10px;
}

.site-footer {
    max-width: 480px;
    margin: 8px auto 0;
    padding: 18px 16px 24px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
}
.site-footer a { color: var(--text-secondary); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-links {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 6px; font-size: 12px; margin-bottom: 8px;
}
.footer-sep { color: var(--text-muted); }
.footer-contact { margin-bottom: 6px; }
.footer-copy { font-size: 10px; }

.legal-updated { font-size: 11px; color: var(--text-muted); margin-bottom: 12px; }
.legal-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 12px;
}
.legal-section h3 { font-size: 14px; color: var(--gold); margin-bottom: 8px; }
.legal-section p { font-size: 12px; color: var(--text-secondary); margin-bottom: 6px; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul { padding-left: 18px; margin: 4px 0 6px; }
.legal-section li { font-size: 12px; color: var(--text-secondary); margin-bottom: 4px; }
.legal-section a { color: var(--gold); word-break: break-all; }
.contact-mail {
    font-size: 15px; font-weight: 600; color: var(--gold);
    text-decoration: none; word-break: break-all;
}
