/**
 * 具象汇率大师 - 图表统一样式
 * 
 * 包含：
 * 1. 图表容器通用样式
 * 2. 图表头部样式
 * 3. 工具栏样式
 * 4. 统计信息样式
 * 5. AI分析区域样式
 * 6. 排名/摘要样式
 * 7. 暗色主题适配
 * 8. 响应式适配
 * 
 * @package NextickPro
 * @version 2.0.0
 */

/* ============================================================
   1. 图表容器通用样式
   ============================================================ */
.nextick-chart-container {
    width: 100%;
    min-height: 300px;
    background: transparent;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.nextick-chart-container.has-border {
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 4px;
}

.nextick-chart-container .chart-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #999;
    font-size: 14px;
}

.nextick-chart-container .chart-loading .spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(0, 0, 0, 0.06);
    border-top-color: #26a69a;
    border-radius: 50%;
    animation: nextick-chart-spin 0.8s linear infinite;
}

@keyframes nextick-chart-spin {
    to {
        transform: rotate(360deg);
    }
}

.nextick-chart-container .chart-error {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 20px;
}

.nextick-chart-error {
    padding: 30px 20px;
    text-align: center;
    color: #ef5350;
    border: 1px solid #ef5350;
    border-radius: 8px;
    background: rgba(239, 83, 80, 0.05);
}

.nextick-chart-error .error-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.nextick-chart-error .error-title {
    font-size: 15px;
    font-weight: 500;
}

.nextick-chart-error .error-hint {
    font-size: 13px;
    color: #999;
    margin-top: 6px;
}

/* ============================================================
   2. 图表头部样式
   ============================================================ */
.nextick-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px 8px 16px;
    flex-wrap: wrap;
    gap: 8px;
}

.nextick-chart-header .chart-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
}

.nextick-chart-header .chart-title .chart-icon {
    font-size: 20px;
}

.nextick-chart-header .chart-title .chart-name {
    color: #333;
}

.nextick-chart-header .chart-title .chart-badge {
    font-size: 11px;
    font-weight: 500;
    padding: 2px 12px;
    border-radius: 12px;
    background: rgba(38, 166, 154, 0.12);
    color: #26a69a;
}

.nextick-chart-header .chart-title .chart-badge.secondary {
    background: rgba(66, 165, 245, 0.12);
    color: #42a5f5;
}

.nextick-chart-header .chart-title .chart-badge.primary {
    background: rgba(38, 166, 154, 0.15);
    color: #26a69a;
    font-weight: 600;
}

.nextick-chart-header .chart-title .pair-name {
    color: #333;
    font-weight: 700;
}

.nextick-chart-header .chart-title .pair-price {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    font-family: 'Courier New', monospace;
}

.nextick-chart-header .chart-title .pair-change {
    font-size: 14px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 4px;
}

.nextick-chart-header .chart-title .pair-change.up {
    color: #26a69a;
    background: rgba(38, 166, 154, 0.08);
}

.nextick-chart-header .chart-title .pair-change.down {
    color: #ef5350;
    background: rgba(239, 83, 80, 0.08);
}

.nextick-chart-header .chart-title .pair-change.flat {
    color: #9e9e9e;
    background: rgba(158, 158, 158, 0.08);
}

.nextick-chart-header .chart-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #999;
}

.nextick-chart-header .chart-meta .chart-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #26a69a;
    font-weight: 500;
}

.nextick-chart-header .chart-meta .chart-live-badge::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #26a69a;
    border-radius: 50%;
    animation: nextick-live-pulse 1.5s ease-in-out infinite;
}

@keyframes nextick-live-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(0.6);
    }
}

.nextick-chart-header .chart-meta .chart-tip {
    color: #bdbdbd;
    font-size: 12px;
}

.chart-date-range {
    font-size: 12px;
    color: #999;
    font-weight: 400;
    margin-left: 8px;
}

/* ============================================================
   3. 工具栏样式
   ============================================================ */
.nextick-chart-toolbox {
    padding: 6px 16px 12px 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.nextick-chart-toolbox-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    width: 100%;
}

.nextick-chart-periods,
.nextick-chart-indicators {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.nextick-chart-period-btn,
.nextick-chart-indicator-btn,
.nextick-chart-export-btn,
.nextick-chart-fullscreen-btn,
.nextick-chart-refresh-btn {
    padding: 4px 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    font-size: 12px;
    color: #888;
    transition: all 0.2s;
    font-family: inherit;
    line-height: 1.5;
}

.nextick-chart-period-btn:hover,
.nextick-chart-indicator-btn:hover,
.nextick-chart-export-btn:hover,
.nextick-chart-fullscreen-btn:hover,
.nextick-chart-refresh-btn:hover {
    background: rgba(0, 0, 0, 0.04);
    color: #333;
}

.nextick-chart-period-btn.active {
    background: #26a69a;
    border-color: #26a69a;
    color: #fff;
}

.nextick-chart-period-btn.active:hover {
    background: #1e8c7a;
}

.nextick-chart-indicator-btn.active {
    background: rgba(38, 166, 154, 0.12);
    border-color: #26a69a;
    color: #26a69a;
}

.nextick-chart-export-btn,
.nextick-chart-fullscreen-btn,
.nextick-chart-refresh-btn {
    padding: 4px 10px;
    font-size: 14px;
}

.nextick-chart-export-btn:hover,
.nextick-chart-fullscreen-btn:hover,
.nextick-chart-refresh-btn:hover {
    background: rgba(0, 0, 0, 0.04);
}

.toolbox-separator {
    width: 1px;
    height: 24px;
    background: rgba(0, 0, 0, 0.08);
    display: inline-block;
}

/* ============================================================
   4. 统计信息样式
   ============================================================ */
.nextick-chart-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 16px;
    font-size: 13px;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    flex-wrap: wrap;
}

.nextick-chart-stats .stats-pair {
    font-weight: 600;
    color: #333;
}

.nextick-chart-stats .stats-price {
    font-weight: 700;
    font-size: 16px;
    font-family: 'Courier New', monospace;
}

.nextick-chart-stats .stats-change {
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 4px;
}

.nextick-chart-stats .stats-change.up {
    color: #26a69a;
    background: rgba(38, 166, 154, 0.08);
}

.nextick-chart-stats .stats-change.down {
    color: #ef5350;
    background: rgba(239, 83, 80, 0.08);
}

.nextick-chart-stats .stats-change.flat {
    color: #9e9e9e;
    background: rgba(158, 158, 158, 0.08);
}

.nextick-chart-stats .stats-detail {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #999;
}

.nextick-chart-stats .stats-detail span {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nextick-chart-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 16px 10px 16px;
    font-size: 12px;
    color: #999;
    flex-wrap: wrap;
    gap: 4px;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.nextick-chart-footer .footer-stats {
    display: flex;
    gap: 16px;
}

.nextick-chart-footer .footer-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nextick-chart-footer .footer-stats .stat-item .label {
    color: #bdbdbd;
}

.nextick-chart-footer .footer-stats .stat-item .value {
    font-weight: 500;
    color: #555;
}

.nextick-chart-footer .footer-source {
    font-size: 11px;
    color: #bdbdbd;
}

/* ============================================================
   5. AI分析区域样式
   ============================================================ */
.nextick-chart-ai-analysis {
    margin-top: 16px;
    padding: 16px 20px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: transparent;
}

.nextick-chart-ai-analysis .ai-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.nextick-chart-ai-analysis .ai-header .ai-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.nextick-chart-ai-analysis .ai-header .ai-title {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.nextick-chart-ai-analysis .ai-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 24px;
}

.nextick-chart-ai-analysis .ai-body .ai-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.nextick-chart-ai-analysis .ai-body .ai-item .ai-label {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

.nextick-chart-ai-analysis .ai-body .ai-item .ai-value {
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

.nextick-chart-ai-analysis .ai-body .ai-item .ai-value.up {
    color: #26a69a;
}

.nextick-chart-ai-analysis .ai-body .ai-item .ai-value.down {
    color: #ef5350;
}

.nextick-chart-ai-analysis .ai-body .ai-item .ai-value.flat {
    color: #9e9e9e;
}

.nextick-chart-ai-analysis .ai-body .ai-item.ai-suggestion {
    grid-column: 1 / -1;
    background: rgba(38, 166, 154, 0.05);
    padding: 8px 12px;
    border-radius: 4px;
    border-left: 3px solid #26a69a;
    margin-top: 4px;
}

.nextick-chart-ai-analysis .ai-body .ai-item.ai-suggestion .ai-value {
    color: #555;
}

.nextick-chart-ai-analysis .ai-body .ai-item.ai-levels {
    grid-column: 1 / -1;
}

.nextick-chart-ai-analysis .ai-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    font-size: 11px;
    color: #bdbdbd;
}

/* ============================================================
   6. 排名/摘要样式
   ============================================================ */
/* 多货币对比排名 */
.nextick-comparison-ranking {
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.nextick-comparison-ranking .ranking-title {
    font-weight: 600;
    font-size: 13px;
    color: #333;
    margin-bottom: 8px;
}

.nextick-comparison-ranking .ranking-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
}

.nextick-comparison-ranking .ranking-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.02);
}

.nextick-comparison-ranking .ranking-item .ranking-rank {
    font-weight: 600;
    color: #999;
    font-size: 11px;
    min-width: 18px;
}

.nextick-comparison-ranking .ranking-item .ranking-pair {
    font-weight: 500;
    color: #333;
}

.nextick-comparison-ranking .ranking-item .ranking-change {
    font-weight: 600;
    font-size: 12px;
}

.nextick-comparison-ranking .ranking-item .ranking-change.up {
    color: #26a69a;
}

.nextick-comparison-ranking .ranking-item .ranking-change.down {
    color: #ef5350;
}

.nextick-comparison-ranking .ranking-item .ranking-change.flat {
    color: #9e9e9e;
}

/* 涨跌幅排名摘要 */
.nextick-performance-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    padding: 10px 16px;
    margin-top: 10px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.nextick-performance-summary .summary-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.nextick-performance-summary .summary-item .summary-label {
    color: #999;
}

.nextick-performance-summary .summary-item .summary-value {
    font-weight: 600;
}

.nextick-performance-summary .summary-item .summary-value.up {
    color: #26a69a;
}

.nextick-performance-summary .summary-item .summary-value.down {
    color: #ef5350;
}

.nextick-performance-summary .summary-item .summary-value.flat {
    color: #9e9e9e;
}

.nextick-performance-summary .summary-item.best .summary-value {
    color: #26a69a;
}

.nextick-performance-summary .summary-item.worst .summary-value {
    color: #ef5350;
}

.nextick-performance-summary .summary-item.avg .summary-value {
    font-weight: 700;
}

/* 热力图图例 */
.nextick-heatmap-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    padding: 8px 16px;
    margin-top: 8px;
    font-size: 12px;
    color: #999;
    align-items: center;
}

.nextick-heatmap-legend .legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nextick-heatmap-legend .legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: inline-block;
}

.nextick-heatmap-legend .legend-note {
    color: #bdbdbd;
    font-size: 11px;
}

/* 日历控制 */
.nextick-calendar-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 4px 16px 12px 16px;
    align-items: center;
}

.nextick-calendar-controls .control-group {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nextick-calendar-controls .control-btn {
    padding: 4px 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    color: #666;
    text-decoration: none;
    transition: all 0.2s;
}

.nextick-calendar-controls .control-btn:hover {
    background: rgba(0, 0, 0, 0.04);
    color: #333;
}

.nextick-calendar-controls .control-btn.switch {
    font-size: 12px;
    padding: 4px 14px;
    background: rgba(38, 166, 154, 0.08);
    border-color: #26a69a;
    color: #26a69a;
}

.nextick-calendar-controls .control-btn.switch:hover {
    background: #26a69a;
    color: #fff;
}

.nextick-calendar-controls .control-label {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    padding: 0 6px;
    min-width: 50px;
    text-align: center;
}

/* 日历统计摘要 */
.nextick-calendar-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    padding: 10px 16px;
    margin-top: 10px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.nextick-calendar-summary .summary-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.nextick-calendar-summary .summary-item .summary-label {
    color: #999;
}

.nextick-calendar-summary .summary-item .summary-value {
    font-weight: 600;
}

.nextick-calendar-summary .summary-item .summary-value.up {
    color: #26a69a;
}

.nextick-calendar-summary .summary-item .summary-value.down {
    color: #ef5350;
}

.nextick-calendar-summary .summary-item .summary-value.flat {
    color: #9e9e9e;
}

/* ============================================================
   7. 散点图解读
   ============================================================ */
.nextick-scatter-interpretation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px 16px;
    padding: 12px 16px;
    margin-top: 10px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.nextick-scatter-interpretation .interpretation-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nextick-scatter-interpretation .interpretation-item .interpretation-label {
    font-size: 11px;
    color: #999;
}

.nextick-scatter-interpretation .interpretation-item .interpretation-value {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.nextick-scatter-interpretation .interpretation-advice {
    grid-column: 1 / -1;
    padding: 8px 12px;
    background: rgba(38, 166, 154, 0.05);
    border-radius: 4px;
    border-left: 3px solid #26a69a;
    font-size: 13px;
    color: #555;
}

/* ============================================================
   8. 雷达图详情
   ============================================================ */
.nextick-radar-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 20px;
    padding: 12px 16px;
    margin-top: 10px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.nextick-radar-details .detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nextick-radar-details .detail-item .detail-label {
    font-size: 12px;
    color: #888;
    min-width: 56px;
}

.nextick-radar-details .detail-item .detail-bar {
    flex: 1;
    height: 6px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 3px;
    overflow: hidden;
    min-width: 40px;
}

.nextick-radar-details .detail-item .detail-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.8s ease;
}

.nextick-radar-details .detail-item .detail-bar-fill.high {
    background: #26a69a;
}

.nextick-radar-details .detail-item .detail-bar-fill.medium {
    background: #ffa726;
}

.nextick-radar-details .detail-item .detail-bar-fill.low {
    background: #ef5350;
}

.nextick-radar-details .detail-item .detail-value {
    font-weight: 600;
    font-size: 12px;
    color: #333;
    min-width: 36px;
    text-align: right;
}

/* ============================================================
   9. 仪表盘情绪卡片
   ============================================================ */
.nextick-gauge-sentiment {
    margin-top: 12px;
}

.nextick-gauge-sentiment .sentiment-card {
    padding: 14px 18px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-left-width: 4px;
}

.nextick-gauge-sentiment .sentiment-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nextick-gauge-sentiment .sentiment-header .sentiment-icon {
    font-size: 24px;
}

.nextick-gauge-sentiment .sentiment-header .sentiment-label {
    font-size: 13px;
    color: #888;
}

.nextick-gauge-sentiment .sentiment-header .sentiment-value {
    font-weight: 700;
    font-size: 18px;
    margin-left: auto;
}

.nextick-gauge-sentiment .sentiment-body {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 8px;
}

.nextick-gauge-sentiment .sentiment-body .sentiment-score {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.nextick-gauge-sentiment .sentiment-body .sentiment-score .score-label {
    font-size: 12px;
    color: #999;
}

.nextick-gauge-sentiment .sentiment-body .sentiment-score .score-value {
    font-weight: 700;
    font-size: 20px;
    color: #333;
}

.nextick-gauge-sentiment .sentiment-body .sentiment-change {
    font-weight: 600;
    font-size: 15px;
    padding: 2px 12px;
    border-radius: 4px;
}

.nextick-gauge-sentiment .sentiment-body .sentiment-change.up {
    color: #26a69a;
    background: rgba(38, 166, 154, 0.08);
}

.nextick-gauge-sentiment .sentiment-body .sentiment-change.down {
    color: #ef5350;
    background: rgba(239, 83, 80, 0.08);
}

.nextick-gauge-sentiment .sentiment-body .sentiment-change.flat {
    color: #9e9e9e;
    background: rgba(158, 158, 158, 0.08);
}

.nextick-gauge-sentiment .sentiment-footer {
    margin-top: 8px;
    font-size: 11px;
    color: #bdbdbd;
}

/* ============================================================
   10. 暗色主题
   ============================================================ */
@media (prefers-color-scheme: dark) {
    .nextick-chart-container.has-border {
        border-color: rgba(255, 255, 255, 0.08);
    }

    .nextick-chart-header .chart-title .chart-name {
        color: #e0e0e0;
    }

    .nextick-chart-header .chart-title .pair-name {
        color: #e0e0e0;
    }

    .nextick-chart-header .chart-title .pair-price {
        color: #e0e0e0;
    }

    .nextick-chart-header .chart-meta .chart-tip {
        color: #666;
    }

    .nextick-chart-toolbox {
        border-bottom-color: rgba(255, 255, 255, 0.04);
    }

    .nextick-chart-period-btn,
    .nextick-chart-indicator-btn,
    .nextick-chart-export-btn,
    .nextick-chart-fullscreen-btn,
    .nextick-chart-refresh-btn {
        border-color: rgba(255, 255, 255, 0.1);
        color: #999;
    }

    .nextick-chart-period-btn:hover,
    .nextick-chart-indicator-btn:hover,
    .nextick-chart-export-btn:hover,
    .nextick-chart-fullscreen-btn:hover,
    .nextick-chart-refresh-btn:hover {
        background: rgba(255, 255, 255, 0.04);
        color: #e0e0e0;
    }

    .nextick-chart-period-btn.active {
        background: #26a69a;
        border-color: #26a69a;
        color: #fff;
    }

    .nextick-chart-indicator-btn.active {
        background: rgba(38, 166, 154, 0.15);
        border-color: #26a69a;
        color: #26a69a;
    }

    .nextick-chart-stats {
        border-top-color: rgba(255, 255, 255, 0.04);
    }

    .nextick-chart-stats .stats-pair {
        color: #e0e0e0;
    }

    .nextick-chart-stats .stats-detail {
        color: #666;
    }

    .nextick-chart-footer {
        border-top-color: rgba(255, 255, 255, 0.04);
        color: #666;
    }

    .nextick-chart-footer .footer-stats .stat-item .value {
        color: #bbb;
    }

    .nextick-chart-ai-analysis {
        border-color: rgba(255, 255, 255, 0.06);
    }

    .nextick-chart-ai-analysis .ai-header .ai-title {
        color: #e0e0e0;
    }

    .nextick-chart-ai-analysis .ai-body .ai-item .ai-value {
        color: #ccc;
    }

    .nextick-chart-ai-analysis .ai-body .ai-item .ai-value.up {
        color: #26a69a;
    }

    .nextick-chart-ai-analysis .ai-body .ai-item .ai-value.down {
        color: #ef5350;
    }

    .nextick-chart-ai-analysis .ai-body .ai-item.ai-suggestion {
        background: rgba(38, 166, 154, 0.08);
    }

    .nextick-chart-ai-analysis .ai-body .ai-item.ai-suggestion .ai-value {
        color: #bbb;
    }

    .nextick-chart-ai-analysis .ai-footer {
        border-top-color: rgba(255, 255, 255, 0.04);
        color: #666;
    }

    .nextick-comparison-ranking {
        border-color: rgba(255, 255, 255, 0.06);
    }

    .nextick-comparison-ranking .ranking-title {
        color: #e0e0e0;
    }

    .nextick-comparison-ranking .ranking-item {
        background: rgba(255, 255, 255, 0.02);
    }

    .nextick-comparison-ranking .ranking-item .ranking-pair {
        color: #ccc;
    }

    .nextick-performance-summary {
        border-color: rgba(255, 255, 255, 0.06);
    }

    .nextick-calendar-summary {
        border-color: rgba(255, 255, 255, 0.06);
    }

    .nextick-heatmap-legend {
        color: #666;
    }

    .nextick-heatmap-legend .legend-note {
        color: #666;
    }

    .nextick-calendar-controls .control-btn {
        border-color: rgba(255, 255, 255, 0.08);
        color: #999;
    }

    .nextick-calendar-controls .control-btn:hover {
        background: rgba(255, 255, 255, 0.04);
        color: #e0e0e0;
    }

    .nextick-calendar-controls .control-label {
        color: #e0e0e0;
    }

    .nextick-scatter-interpretation {
        border-color: rgba(255, 255, 255, 0.06);
    }

    .nextick-scatter-interpretation .interpretation-item .interpretation-value {
        color: #ccc;
    }

    .nextick-scatter-interpretation .interpretation-advice {
        background: rgba(38, 166, 154, 0.08);
        color: #bbb;
    }

    .nextick-radar-details {
        border-color: rgba(255, 255, 255, 0.06);
    }

    .nextick-radar-details .detail-item .detail-label {
        color: #666;
    }

    .nextick-radar-details .detail-item .detail-value {
        color: #ccc;
    }

    .nextick-radar-details .detail-item .detail-bar {
        background: rgba(255, 255, 255, 0.06);
    }

    .nextick-gauge-sentiment .sentiment-card {
        border-color: rgba(255, 255, 255, 0.06);
    }

    .nextick-gauge-sentiment .sentiment-body .sentiment-score .score-value {
        color: #e0e0e0;
    }

    .nextick-chart-error {
        border-color: #ef5350;
        background: rgba(239, 83, 80, 0.08);
    }

    .nextick-chart-error .error-hint {
        color: #666;
    }

    .toolbox-separator {
        background: rgba(255, 255, 255, 0.06);
    }
}

/* ============================================================
   11. 响应式适配
   ============================================================ */
@media (max-width: 768px) {
    .nextick-chart-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 12px 6px 12px;
    }

    .nextick-chart-header .chart-title {
        font-size: 14px;
        flex-wrap: wrap;
    }

    .nextick-chart-header .chart-title .pair-price {
        font-size: 16px;
    }

    .nextick-chart-toolbox {
        padding: 6px 12px 10px 12px;
    }

    .nextick-chart-toolbox-inner {
        gap: 6px;
    }

    .nextick-chart-period-btn,
    .nextick-chart-indicator-btn {
        padding: 3px 8px;
        font-size: 11px;
    }

    .nextick-chart-export-btn,
    .nextick-chart-fullscreen-btn,
    .nextick-chart-refresh-btn {
        padding: 3px 8px;
        font-size: 12px;
    }

    .nextick-chart-stats {
        padding: 6px 12px;
        font-size: 12px;
        gap: 8px;
    }

    .nextick-chart-stats .stats-price {
        font-size: 14px;
    }

    .nextick-chart-stats .stats-detail {
        gap: 6px;
        font-size: 11px;
        flex-wrap: wrap;
    }

    .nextick-chart-footer {
        padding: 4px 12px 8px 12px;
        font-size: 11px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .nextick-chart-footer .footer-stats {
        flex-wrap: wrap;
        gap: 8px;
    }

    .nextick-chart-ai-analysis {
        padding: 12px 14px;
    }

    .nextick-chart-ai-analysis .ai-body {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .nextick-chart-ai-analysis .ai-body .ai-item.ai-suggestion {
        grid-column: 1;
    }

    .nextick-chart-ai-analysis .ai-body .ai-item.ai-levels {
        grid-column: 1;
    }

    .nextick-chart-ai-analysis .ai-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .nextick-performance-summary {
        gap: 6px 12px;
        padding: 8px 12px;
        font-size: 12px;
    }

    .nextick-comparison-ranking .ranking-list {
        gap: 2px 8px;
    }

    .nextick-comparison-ranking .ranking-item {
        font-size: 11px;
        padding: 2px 6px;
    }

    .nextick-radar-details {
        grid-template-columns: 1fr;
        padding: 10px 12px;
    }

    .nextick-scatter-interpretation {
        grid-template-columns: 1fr 1fr;
        padding: 10px 12px;
    }

    .nextick-scatter-interpretation .interpretation-advice {
        grid-column: 1 / -1;
    }

    .nextick-calendar-controls {
        padding: 4px 12px 10px 12px;
        gap: 4px 10px;
    }

    .nextick-calendar-summary {
        gap: 4px 12px;
        padding: 8px 12px;
        font-size: 12px;
    }

    .nextick-heatmap-legend {
        padding: 6px 12px;
        gap: 6px 12px;
        font-size: 11px;
    }

    .nextick-gauge-sentiment .sentiment-card {
        padding: 12px 14px;
    }

    .nextick-gauge-sentiment .sentiment-body {
        flex-wrap: wrap;
        gap: 8px;
    }

    .nextick-gauge-sentiment .sentiment-body .sentiment-score .score-value {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .nextick-chart-container {
        min-height: 250px;
    }

    .nextick-chart-header .chart-title {
        font-size: 13px;
    }

    .nextick-chart-header .chart-title .pair-price {
        font-size: 14px;
    }

    .nextick-chart-header .chart-title .chart-badge {
        font-size: 10px;
        padding: 1px 8px;
    }

    .nextick-chart-period-btn,
    .nextick-chart-indicator-btn {
        padding: 2px 6px;
        font-size: 10px;
    }

    .nextick-chart-stats {
        font-size: 11px;
        gap: 4px 8px;
    }

    .nextick-chart-stats .stats-price {
        font-size: 13px;
    }

    .nextick-chart-stats .stats-detail {
        font-size: 10px;
    }

    .nextick-chart-ai-analysis .ai-body .ai-item .ai-label {
        font-size: 11px;
    }

    .nextick-chart-ai-analysis .ai-body .ai-item .ai-value {
        font-size: 12px;
    }

    .nextick-performance-summary {
        font-size: 11px;
        gap: 4px 10px;
        padding: 6px 10px;
    }

    .nextick-scatter-interpretation {
        grid-template-columns: 1fr;
    }

    .nextick-gauge-sentiment .sentiment-header .sentiment-value {
        font-size: 16px;
    }

    .nextick-gauge-sentiment .sentiment-body .sentiment-score .score-value {
        font-size: 16px;
    }

    .nextick-gauge-sentiment .sentiment-body .sentiment-change {
        font-size: 13px;
    }
}