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

        body {
            font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background: #000000;
            color: #eaecef;
            line-height: 1.5;
            margin: 0;
            padding: 0;
            font-size: 15px;
            width: 100%;
            min-height: 100vh;
            overflow-x: hidden;
        }

        /* 数字和英文专用字体 */
        .number-text, .symbol-text, .price-text, .percentage-text {
            font-family: 'SF Pro Display', 'SF Mono', 'Roboto Mono', 'Monaco', 'Consolas', monospace;
            font-variant-numeric: tabular-nums;
            letter-spacing: 0.5px;
        }

        .container {
            width: 100%;
            max-width: 800px;
            margin: 0 auto;
            background: #000000;
            min-height: auto;
            padding: 0;
            box-sizing: border-box;
        }

        .header {
            background: #1e2329;
            color: #eaecef;
            padding: 16px 20px;
            border-bottom: 1px solid #2b3139;
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 0;
            width: 100%;
            box-sizing: border-box;
        }

        .header h1 {
            font-size: 20px;
            color: #f0b90b;
            margin: 0;
            font-weight: 600;
        }

        .header .subtitle {
            font-size: 12px;
            color: #848e9c;
            margin-top: 2px;
        }

        /* 移动端头部优化 */
        @media (max-width: 768px) {
            .header {
                padding: 12px 16px;
                flex-direction: column;
                align-items: flex-start;
                gap: 4px;
            }

            .header h1 {
                font-size: 18px;
                line-height: 1.3;
            }

            .header .subtitle {
                font-size: 11px;
            }
        }

        @media (max-width: 480px) {
            .header {
                padding: 10px 12px;
            }

            .header h1 {
                font-size: 16px;
                font-weight: 700;
            }

            .header .subtitle {
                font-size: 10px;
                color: #999;
            }
        }



        /* 自定义筛选菜单样式 */
        .custom-filter-section {
            background: #1e2329;
            border-bottom: 1px solid #2b3139;
            padding: 16px 20px;
            margin-bottom: 0;
            width: 100%;
            box-sizing: border-box;
        }

        /* 移动端筛选区域优化 */
        @media (max-width: 768px) {
            .custom-filter-section {
                padding: 12px 16px;
            }

            .filter-container {
                padding: 12px 0;
            }

            .filter-options {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }

            .filter-option {
                padding: 10px 8px;
                font-size: 13px;
                min-height: 36px;
            }

            .search-actions {
                margin-top: 12px;
                justify-content: center;
            }

            .search-btn,
            .reset-btn {
                padding: 10px 20px;
                font-size: 13px;
                min-width: 80px;
            }
        }

        @media (max-width: 480px) {
            .custom-filter-section {
                padding: 10px 12px;
            }

            .filter-container {
                padding: 8px 0;
                gap: 12px;
            }

            .filter-options {
                grid-template-columns: 1fr;
                gap: 8px;
            }

            .filter-option {
                padding: 20px 20px;
                font-size: 14px;
                min-height: 40px;
                font-weight: 500;
            }

            .filter-title {
                font-size: 13px;
                margin-bottom: 6px;
            }

            .search-actions {
                margin-top: 10px;
                flex-direction: column;
                gap: 8px;
            }

            .search-btn,
            .reset-btn {
                padding: 12px 16px;
                font-size: 14px;
                width: 100%;
                border-radius: 6px;
            }
        }

        .filter-tabs {
            display: flex;
            gap: 24px;
            margin-bottom: 16px;
        }

        .filter-tab {
            color: #848e9c;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            padding: 8px 0;
            border-bottom: 2px solid transparent;
            transition: all 0.2s ease;
        }

        .filter-tab.active {
            color: #f0b90b;
            border-bottom-color: #f0b90b;
        }

        .filter-tab:hover {
            color: #eaecef;
        }

        .filter-container {
            display: flex;
            flex-direction: column;
            gap: 16px;
            width: 100%;
            padding: 16px 0;
            box-sizing: border-box;
        }

        .filter-level-1,
        .filter-level-2,
        .symbol-filter {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .filter-title {
            font-size: 14px;
            font-weight: 500;
            color: #848e9c;
            margin-bottom: 8px;
        }

        .filter-options {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
            width: 100%;
        }

        /* 做多/做空方向切换：占满整行，每项各占50%且显示下划线 */
        .direction-options {
            grid-template-columns: repeat(2, 1fr);
            width: 100%;
            gap: 12px;
        }
        .direction-options .filter-option {
            text-decoration: none;
            font-size: 16px;
            font-weight: 700;
            min-height: 48px;
            padding: 12px 16px;
            border-radius: 8px;
        }

        .filter-option {
            background: #2b3139;
            border: 1px solid #474d57;
            border-radius: 5px;
            padding: 8px 12px;
            cursor: pointer;
            transition: all 0.2s ease;
            font-size: 12px;
            font-weight: 400;
            color: #eaecef;
            user-select: none;
            text-align: center;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            min-height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .filter-option:hover {
            background: #474d57;
            border-color: #f0b90b;
            color: #f0b90b;
        }

        .filter-option.active {
            background: #f0b90b;
            border-color: #f0b90b;
            color: #0b0e11;
        }

        .count-badge {
            display: inline-block;
            background: #0ecb81;
            color: #0b0e11;
            font-size: 10px;
            font-weight: 600;
            padding: 2px 2px;
            border-radius: 3px;
            margin-left: 6px;
            min-width: 16px;
            text-align: center;
        }



        .filter-option.active .count-badge {
            background: rgba(11, 14, 17, 0.8);
            color: #f0b90b;
        }

        .filter-option:hover .count-badge {
            background: #1a73e8;
            color: white;
        }

        /* 禁用状态样式 */
        .filter-option.disabled {
            background: #2b2f36;
            border-color: #3c4043;
            color: #6c757d;
            cursor: not-allowed;
            opacity: 0.6;
        }

        .filter-option.disabled:hover {
            background: #2b2f36;
            border-color: #3c4043;
            color: #6c757d;
            cursor: not-allowed;
        }

        .count {
            display: inline-block;
            background: #0ecb81;
            color: #0b0e11;
            font-size: 10px;
            font-weight: 600;
            padding: 2px 6px;
            border-radius: 3px;
            margin-left: 6px;
            min-width: 16px;
            text-align: center;
        }



        .filter-option.active .count {
            background: rgba(11, 14, 17, 0.8);
            color: #f0b90b;
        }

        .filter-option:hover .count {
            background: #1a73e8;
            color: white;
        }

        .future-badge {
            display: inline-block;
            background: #6c757d;
            color: #ffffff;
            font-size: 10px;
            font-weight: 600;
            padding: 2px 6px;
            border-radius: 3px;
            margin-left: 6px;
            min-width: 16px;
            text-align: center;
        }



        .symbol-filter {
            flex-direction: row;
            align-items: center;
            gap: 12px;
        }

        .symbol-filter input {
            flex: 1;
            padding: 12px 16px;
            border: 2px solid #e8eaed;
            border-radius: 8px;
            font-size: 14px;
            transition: border-color 0.2s ease;
        }

        .symbol-filter input:focus {
            outline: none;
            border-color: #1a73e8;
            box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
        }

        .clear-btn {
            background: #f8f9fa;
            border: 2px solid #e8eaed;
            border-radius: 8px;
            padding: 12px 16px;
            cursor: pointer;
            transition: all 0.2s ease;
            font-size: 14px;
            color: #5f6368;
        }

        .clear-btn:hover {
            background: #e8eaed;
            color: #333;
        }

        /* 日期选择器样式 */
        .date-filter {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .date-input-container {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
        }

        .date-input-group {
            display: flex;
            flex-direction: column;
            gap: 4px;
            flex: 1;
            min-width: 140px;
        }

        .date-input-label {
            font-size: 12px;
            color: #848e9c;
            font-weight: 500;
        }

        .date-input {
            background: #2b3139;
            border: 1px solid #474d57;
            border-radius: 4px;
            padding: 8px 12px;
            color: #eaecef;
            font-size: 14px;
            transition: all 0.2s ease;
            width: 100%;
            box-sizing: border-box;
        }

        .date-input:focus {
            outline: none;
            border-color: #f0b90b;
            box-shadow: 0 0 0 2px rgba(240, 185, 11, 0.1);
        }

        .date-input::-webkit-calendar-picker-indicator {
            filter: invert(1);
            cursor: pointer;
        }

        .input-hint {
            font-size: 11px;
            color: #848e9c;
            margin-top: 2px;
            font-style: italic;
        }

        /* 自定义下拉菜单样式 */
        .custom-select {
            position: relative;
            width: 100%;
        }

        .select-trigger {
            background: #1e2329;
            border: 1px solid #474d57;
            border-radius: 4px;
            padding: 8px 12px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.2s ease;
            min-height: 36px;
        }

        .select-trigger:hover {
            border-color: #f0b90b;
        }

        .select-trigger.active {
            border-color: #f0b90b;
            box-shadow: 0 0 0 2px rgba(240, 185, 11, 0.1);
        }

        .select-text {
            color: #eaecef;
            font-size: 12px;
            flex: 1;
        }

        .select-arrow {
            color: #848e9c;
            font-size: 10px;
            transition: transform 0.2s ease;
            margin-left: 8px;
        }

        .select-trigger.active .select-arrow {
            transform: rotate(180deg);
        }

        .select-options {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: #1e2329;
            border: 1px solid #474d57;
            border-radius: 4px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            z-index: 1000;
            max-height: 200px;
            overflow-y: auto;
            display: none;
            margin-top: 2px;
        }

        .select-options.show {
            display: block;
        }

        .select-option {
            padding: 8px 12px;
            color: #eaecef;
            font-size: 12px;
            cursor: pointer;
            transition: all 0.2s ease;
            border-bottom: 1px solid #2b3139;
        }

        .select-option:last-child {
            border-bottom: none;
        }

        .select-option:hover {
            background: #2b3139;
            color: #f0b90b;
        }

        .select-option.selected {
            background: #f0b90b;
            color: #0b0e11;
            font-weight: 600;
        }

        .select-option.selected:hover {
            background: #d4a00a;
        }

        .date-actions {
            display: flex;
            gap: 8px;
            align-items: flex-end;
        }

        .date-btn {
            background: #f0b90b;
            border: none;
            border-radius: 4px;
            padding: 8px 16px;
            color: #0b0e11;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            white-space: nowrap;
        }

        .date-btn:hover {
            background: #d4a00a;
            transform: translateY(-1px);
        }

        .date-btn.secondary {
            background: #474d57;
            color: #eaecef;
        }

        .date-btn.secondary:hover {
            background: #5a6169;
        }

        .today-btn {
            background: #0ecb81;
            color: #0b0e11;
        }

        .today-btn:hover {
            background: #0bb56b;
        }

        /* 移动端日期选择器优化 */
        @media (max-width: 768px) {
            .date-input-container {
                flex-direction: column;
                gap: 8px;
            }

            .date-input-group {
                min-width: 100%;
            }

            .date-actions {
                width: 100%;
                justify-content: space-between;
            }

            .date-btn {
                flex: 1;
                padding: 10px 12px;
                font-size: 13px;
            }
        }

        @media (max-width: 480px) {
            .date-actions {
                flex-direction: column;
                gap: 8px;
            }

            .date-btn {
                width: 100%;
                padding: 12px 16px;
                font-size: 14px;
            }
        }

        .search-actions {
            display: flex;
            gap: 12px;
            justify-content: flex-start;
            margin-top: 16px;
        }

        .search-btn,
        .reset-btn {
            padding: 8px 16px;
            border: 1px solid #474d57;
            border-radius: 4px;
            font-size: 12px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .search-btn {
            background: #f0b90b;
            color: #0b0e11;
            border-color: #f0b90b;
        }

        .search-btn:hover {
            background: #fcd535;
            border-color: #fcd535;
        }

        .reset-btn {
            background: #2b3139;
            color: #eaecef;
            border-color: #474d57;
        }

        .reset-btn:hover {
            background: #e8eaed;
            color: #333;
        }

        /* 移动端适配 */
        @media (max-width: 768px) {
            .container {
                padding: 16px;
            }

            .custom-filter-section {
                padding: 16px;
            }

            .filter-container {
                gap: 16px;
            }

            .filter-options {
                grid-template-columns: repeat(3, 1fr);
                gap: 6px;
            }

            .filter-option {
                padding: 6px 8px;
                font-size: 11px;
                min-height: 28px;
            }

            .symbol-filter {
                flex-direction: column;
                align-items: stretch;
            }

            .search-actions {
                flex-direction: column;
            }

            .search-btn,
            .reset-btn {
                width: 100%;
            }
        }

        .filters {
            background: #f8f9fa;
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 24px;
        }

        .filter-row {
            display: flex;
            gap: 16px;
            align-items: center;
            flex-wrap: wrap;
        }

        .filter-group {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .filter-group label {
            font-weight: 500;
            color: #333;
            font-size: 14px;
        }

        .filter-group select,
        .filter-group input {
            padding: 8px 12px;
            border: 1px solid #dadce0;
            border-radius: 4px;
            font-size: 14px;
            background: white;
        }

        .filter-btn {
            background: #1a73e8;
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 4px;
            font-size: 14px;
            cursor: pointer;
            transition: background 0.2s;
        }

        .filter-btn:hover {
            background: #1557b0;
        }



        .stats-overview {
            display: none;
        }

        .stats-grid {
            display: none;
        }

        .stat-card {
            display: none;
        }

        .stat-card:hover {
            display: none;
        }

        .stat-card.active {
            display: none;
        }

        .stat-value {
            display: none;
        }

        .stat-label {
            display: none;
        }

        .stat-detail {
            display: none;
        }

        .analysis-results {
            background: #0b0e11;
            padding: 0;
            margin: 0;
        }

        .interval-section {
            background: #0b0e11;
            border: none;
            border-radius: 0;
            overflow: visible;
        }

        .interval-header {
            display: none;
        }

        .symbol-list {
            padding: 20px;
        }

        .symbol-card {
            background: #f8f9fa;
            border: 1px solid #e8eaed;
            border-radius: 6px;
            padding: 16px;
            margin-bottom: 16px;
            transition: all 0.2s ease;
        }

        .symbol-card:hover {
            border-color: #1a73e8;
            box-shadow: 0 2px 8px rgba(26, 115, 232, 0.15);
        }

        .symbol-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
            padding-bottom: 8px;
            border-bottom: 1px solid #e8eaed;
        }

        .symbol-name {
            font-size: 16px;
            font-weight: 600;
            color: #1a73e8;
        }

        .match-count {
            font-size: 12px;
            font-weight: 500;
            color: #0b0e11;
            margin-left: 6px;
            background: #f0b90b;
            padding: 2px 6px;
            border-radius: 3px;
        }

        .symbol-stats {
            display: flex;
            gap: 16px;
            font-size: 12px;
            color: #5f6368;
        }

        .symbol-details {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 12px;
            margin-top: 12px;
        }

        .detail-item {
            background: white;
            padding: 8px 12px;
            border-radius: 4px;
            border: 1px solid #e8eaed;
            font-size: 12px;
        }

        .detail-label {
            color: #5f6368;
            margin-bottom: 2px;
        }

        .detail-value {
            font-weight: 500;
            color: #333;
        }

        .positive {
            color: #0ecb81;
        }

        .negative {
            color: #f6465d;
        }

        .empty-state {
            text-align: center;
            padding: 60px 20px;
            color: #5f6368;
        }

        .empty-state .icon {
            font-size: 48px;
            margin-bottom: 16px;
        }

        .empty-state h3 {
            color: #ffffff;
            margin-bottom: 12px;
            font-size: 18px;
        }

        .empty-state p {
            margin-bottom: 8px;
            line-height: 1.5;
        }

        .empty-state p.hint {
            color: #fcd535;
            font-size: 14px;
            margin-top: 16px;
        }

        /* 表格列表样式 */
        .symbol-summary-section {
            background: #0b0e11;
            border: none;
            border-radius: 0;
            overflow: visible;
        }

        .section-header {
            display: none;
        }

        .symbol-list-container {
            padding: 0;
            overflow-x: hidden;
            width: 100%;
            box-sizing: border-box;
        }

        .symbol-list-container::-webkit-scrollbar {
            height: 6px;
        }

        .symbol-list-container::-webkit-scrollbar-track {
            background: #0b0e11;
        }

        .symbol-list-container::-webkit-scrollbar-thumb {
            background: #2b3139;
            border-radius: 3px;
        }

        .symbol-list-container::-webkit-scrollbar-thumb:hover {
            background: #474d57;
        }

        .symbol-table {
            width: 100%;
            border-collapse: collapse;
            background: #0b0e11;
            border-radius: 0;
            overflow: visible;
            box-shadow: none;
        }

        .symbol-table thead {
            background: #1e2329;
            border-bottom: 1px solid #2b3139;
        }

        .symbol-table th {
            padding: 18px 20px;
            text-align: left;
            font-weight: 600;
            color: #848e9c;
            border-bottom: 1px solid #2b3139;
            font-size: 16px;
            background: #1e2329;
            font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }

        .symbol-table th:first-child {
            width: 50%;
            text-align: left;
        }

        .symbol-table th:nth-child(2) {
            width: 25%;
            text-align: left;
        }

        /* 全部时间周期显示时的列宽 */
        .symbol-table th:nth-child(2),
        .symbol-table th:nth-child(3),
        .symbol-table th:nth-child(4) {
            width: 35%;
            text-align: center;
        }

        .symbol-table th:nth-child(5) {
            width: 35%;
            text-align: center;
        }

        .symbol-table th:last-child {
            width: 15%;
            text-align: center;
        }

        /* 单个时间周期显示时的列宽 */
        .symbol-table.single-interval th:nth-child(2) {
            width: 65% !important;
            text-align: center;
        }

        .symbol-table.single-interval th:nth-child(3) {
            width: 20% !important;
            text-align: center;
        }

        .symbol-table.single-interval th:last-child {
            width: 15%;
            text-align: center;
        }

        .symbol-row {
            border-bottom: 1px solid #2b3139;
            transition: background 0.2s ease;
        }

        .symbol-row:hover {
            background: #1e2329;
        }

        .symbol-table td {
            padding: 16px 20px;
            vertical-align: middle;
            font-size: 16px;
            color: #eaecef;
            background: #0b0e11;
            font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            line-height: 1.5;
        }

        .symbol-table td:first-child {
            padding: 16px 8px;
        }



        .symbol-cell .symbol-name {
            font-weight: 600;
            color: #eaecef;
            font-size: 18px;
            font-family: 'SF Pro Display', 'SF Mono', 'Roboto Mono', 'Monaco', 'Consolas', monospace;
            font-variant-numeric: tabular-nums;
            letter-spacing: 0.5px;
        }

        .symbol-change-cell {
            padding: 16px 16px;
            display: flex;
            flex-direction: column;
            gap: 6px;
            align-items: flex-start;
            justify-content: center;
        }

        .symbol-change-cell .symbol-name {
            font-weight: 600;
            color: #eaecef;
            font-size: 18px;
            line-height: 1.3;
            font-family: 'SF Pro Display', 'SF Mono', 'Roboto Mono', 'Monaco', 'Consolas', monospace;
            font-variant-numeric: tabular-nums;
            letter-spacing: 0.5px;
        }

        .symbol-change-cell .change-value {
            font-weight: 700;
            color: #0ecb81;
            font-size: 17px;
            line-height: 1.3;
            font-family: 'SF Pro Display', 'SF Mono', 'Roboto Mono', 'Monaco', 'Consolas', monospace;
            font-variant-numeric: tabular-nums;
            letter-spacing: 0.3px;
        }

        .interval-cell {
            padding: 16px 16px;
        }

        .interval-data {
            display: flex;
            flex-direction: column;
            gap: 8px;
            align-items: center;
            justify-content: center;
            height: 100%;
        }

        .consecutive-info {
            display: flex;
            flex-direction: column;
            gap: 3px;
            align-items: center;
            justify-content: center;
        }

        .consecutive-count {
            font-size: 15px;
            color: #848e9c;
            font-weight: 600;
            font-family: 'SF Pro Display', 'SF Mono', 'Roboto Mono', 'Monaco', 'Consolas', monospace;
            font-variant-numeric: tabular-nums;
            letter-spacing: 0.3px;
        }

        .total-change {
            color: #0ecb81;
            padding: 0;
            border-radius: 0;
            font-size: 18px;
            font-weight: 700;
            background: transparent;
            font-family: 'SF Pro Display', 'SF Mono', 'Roboto Mono', 'Monaco', 'Consolas', monospace;
            font-variant-numeric: tabular-nums;
            letter-spacing: 0.3px;
        }

        .time-info {
            color: #848e9c;
            font-size: 14px;
            line-height: 1.4;
            text-align: center;
            font-family: 'SF Pro Display', 'SF Mono', 'Roboto Mono', 'Monaco', 'Consolas', monospace;
            font-variant-numeric: tabular-nums;
            letter-spacing: 0.2px;
            font-weight: 500;
        }

        .no-data {
            color: #474d57;
            font-style: italic;
            text-align: center;
        }

        /* 单个时间周期显示的新列样式 */
        .change-cell, .time-cell {
            padding: 16px 16px;
            text-align: center;
            font-size: 16px;
            font-family: 'SF Pro Display', 'SF Mono', 'Roboto Mono', 'Monaco', 'Consolas', monospace;
            font-variant-numeric: tabular-nums;
            letter-spacing: 0.3px;
        }

        .change-cell {
            color: #0ecb81;
            font-weight: 700;
            font-size: 18px;
        }

        .time-cell {
            color: #848e9c;
            font-size: 14px;
            line-height: 1.4;
            font-weight: 500;
        }

        .time-range-info {
            display: flex;
            flex-direction: column;
            gap: 3px;
            align-items: center;
            justify-content: center;
        }

        .time-start {
            color: #848e9c;
            font-weight: 600;
            font-size: 14px;
            font-family: 'SF Pro Display', 'SF Mono', 'Roboto Mono', 'Monaco', 'Consolas', monospace;
            font-variant-numeric: tabular-nums;
            letter-spacing: 0.2px;
        }

        .time-end {
            color: #848e9c;
            font-size: 14px;
            font-family: 'SF Pro Display', 'SF Mono', 'Roboto Mono', 'Monaco', 'Consolas', monospace;
            font-variant-numeric: tabular-nums;
            letter-spacing: 0.2px;
            font-weight: 500;
        }

        .total-cell {
            text-align: center;
        }

        .total-patterns {
            background: #1a73e8;
            color: white;
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 12px;
            font-weight: 600;
            display: inline-block;
        }

        .action-cell {
            text-align: center;
            vertical-align: middle;
        }

        .action-buttons {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .favorite-btn {
            background: #2b3139;
            border: 1px solid #474d57;
            color: #eaecef;
            padding: 8px;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
        }

        .favorite-btn:hover {
            background: #474d57;
            border-color: #848e9c;
            color: #f0b90b;
        }

        .favorite-btn.favorited {
            background: #f0b90b;
            border-color: #f0b90b;
            color: #1e2329;
        }

        .favorite-btn.favorited:hover {
            background: #fcd535;
            border-color: #fcd535;
        }

        .favorite-btn.favorited .favorite-icon path {
            fill: #1e2329;
            stroke: #1e2329;
        }

        .favorite-btn .favorite-icon path {
            fill: none;
            stroke: currentColor;
            transition: all 0.2s ease;
        }

        /* 提示消息样式 */
        .toast-container {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 9999;
            pointer-events: none;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .toast {
            background: #2b3139;
            border: 1px solid #474d57;
            border-radius: 8px;
            padding: 12px 16px;
            margin-bottom: 8px;
            color: #eaecef;
            font-size: 14px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            transform: translateY(-100%);
            opacity: 0;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
            min-width: 200px;
            max-width: 300px;
        }

        .toast.show {
            transform: translateY(0);
            opacity: 1;
        }

        .toast.success {
            border-color: #f0b90b;
            background: linear-gradient(135deg, #2b3139 0%, #3a4149 100%);
        }

        .toast.success::before {
            content: '✓';
            background: #f0b90b;
            color: #1e2329;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 12px;
            flex-shrink: 0;
        }

        .toast.error {
            border-color: #f6465d;
            background: linear-gradient(135deg, #2b3139 0%, #3a4149 100%);
        }

        .toast.error::before {
            content: '✕';
            background: #f6465d;
            color: #ffffff;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 12px;
            flex-shrink: 0;
        }

        @keyframes slideInDown {
            from {
                transform: translateY(-100%);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        @keyframes slideOutUp {
            from {
                transform: translateY(0);
                opacity: 1;
            }
            to {
                transform: translateY(-100%);
                opacity: 0;
            }
        }

        .detail-btn {
            background: #2b3139;
            border: 1px solid #474d57;
            color: #eaecef;
            padding: 8px;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
        }

        .detail-btn:hover {
            background: #474d57;
            border-color: #848e9c;
            color: #f0b90b;
        }

        .detail-icon {
            transition: transform 0.2s ease;
        }

        .detail-btn.expanded .detail-icon {
            transform: rotate(180deg);
        }

        .detail-row {
            background: #1e2329;
        }

        .detail-row td {
            padding: 0;
        }

        .detail-content {
            background: #1e2329;
            border-top: 1px solid #474d57;
            padding: 20px 0;
            margin: 0;
            width: 100%;
            box-sizing: border-box;
        }

        .detail-interval-section {
            margin: 0 20px 20px 20px;
        }

        .detail-interval-section h4 {
            color: #f0b90b;
            margin-bottom: 12px;
            font-size: 16px;
            font-weight: 600;
        }

        .detail-result-section {
            margin-bottom: 16px;
            border: 1px solid #474d57;
            border-radius: 8px;
            padding: 12px;
            background: #1e2329;
        }

        .detail-result-section h5 {
            color: #fcd535;
            margin: 0 0 12px 0;
            font-size: 14px;
            font-weight: 500;
        }

        .no-detail-data {
            color: #848e9c;
            font-style: italic;
            text-align: center;
            padding: 20px;
        }

        .detail-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .detail-list-item {
            background: #2b3139;
            border: 1px solid #474d57;
            border-radius: 8px;
            padding: 16px;
            transition: all 0.2s ease;
        }

        .detail-list-item:hover {
            background: #343a46;
            border-color: #848e9c;
        }

        .detail-item-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
            padding-bottom: 8px;
            border-bottom: 1px solid #474d57;
        }

        .kline-sequence {
            font-weight: 600;
            color: #f0b90b;
            font-size: 14px;
        }

        .kline-time {
            color: #848e9c;
            font-size: 12px;
        }

        .detail-item-content {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .detail-item-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .detail-label {
            color: #848e9c;
            font-size: 13px;
            font-weight: 500;
        }

        .detail-value {
            color: #eaecef;
            font-size: 13px;
            font-weight: 600;
        }

        .kline-change.positive {
            color: #0ecb81;
        }

        /* 简洁列表样式 */
        .detail-simple-list {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }
        .detail-simple-item {
            display: grid;
            grid-template-columns: 70px 120px 80px 1fr;
            align-items: center;
            padding: 6px 8px;
            border-bottom: 1px solid #2b3139;
            background: transparent;
        }
        .detail-simple-item:last-child {
            border-bottom: none;
        }
        .detail-simple-item .seq {
            font-weight: 600;
            color: #f0b90b;
            font-size: 13px;
        }
        .detail-simple-item .time {
            color: #848e9c;
            font-size: 12px;
        }
        .detail-simple-item .change {
            font-size: 13px;
            font-weight: 700;
            color: #eaecef;
        }
        .detail-simple-item .change.positive {
            color: #0ecb81;
        }
        .detail-simple-item .price {
            color: #eaecef;
            font-size: 13px;
        }
        .detail-simple-item .volume {
            color: #f0b90b;
            font-size: 13px;
            font-weight: 600;
        }

        /* 普通会员简化信息样式 */
        .detail-simple-item .simple-message {
            color: #0ecb81;
            font-size: 13px;
            font-weight: 600;
            background: rgba(14, 203, 129, 0.1);
            padding: 4px 8px;
            border-radius: 4px;
            border: 1px solid rgba(14, 203, 129, 0.3);
        }

        /* 普通会员简化布局 */
        .detail-simple-item.simple-layout {
            grid-template-columns: 150px 1fr;
            gap: 12px;
        }

        /* 普通会员符合条件时间显示 */
        .simple-condition-time {
            color: #4CAF50;
            font-weight: 500;
            font-size: 14px;
            padding: 8px 0;
            border-left: 3px solid #4CAF50;
            padding-left: 12px;
            margin: 8px 0;
        }

        .kline-price {
            color: #eaecef;
            font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
        }

        /* 移动端适配 */
        @media (max-width: 768px) {
            .container {
                max-width: 100%;
                padding: 16px 12px;
            }

            .header h1 {
                font-size: 24px;
            }

            .filter-row {
                flex-direction: column;
                align-items: stretch;
            }

            .filter-group {
                justify-content: space-between;
            }

            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
            }

            .stat-card {
                padding: 16px 12px;
            }

            .stat-value {
                font-size: 20px;
            }

            .symbol-list-container {
                padding: 0;
                overflow-x: hidden;
                width: 100%;
            }

            /* 全部时间周期显示时 */
            .symbol-table {
                width: 100%;
                table-layout: fixed;
            }

            /* 单个时间周期显示时 */
            .symbol-table.single-interval {
                width: 100%;
                table-layout: fixed;
            }

            .symbol-table th,
            .symbol-table td {
                padding: 8px 4px;
                font-size: 10px;
                word-break: break-all;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }

            .symbol-table th:first-child,
            .symbol-table td:first-child {
                width: 45%;
                padding: 8px 2px;
            }

            /* 全部时间周期时的移动端列宽 */
            .symbol-table th:nth-child(2),
            .symbol-table th:nth-child(3),
            .symbol-table th:nth-child(4) {
                width: 13%;
            }

            .symbol-table th:nth-child(5) {
                width: 17%;
            }

            .symbol-table th:last-child {
                width: 12%;
            }

            /* 单个时间周期时的移动端列宽 */
            .symbol-table.single-interval th:nth-child(2) {
                width: 25% !important;
            }

            .symbol-table.single-interval th:nth-child(3) {
                width: 30% !important;
            }

            .symbol-table.single-interval th:last-child {
                width: 15%;
            }



            .time-info {
                font-size: 9px;
            }

            .detail-content {
                padding: 10px 0;
                margin: 0;
                width: 100%;
                box-sizing: border-box;
            }

            .detail-interval-section {
                margin: 0 10px 15px 10px;
            }

            .detail-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 8px;
            }

            /* 详情展开内容的平板响应式布局 */
            .detail-simple-item {
                grid-template-columns: 20% 30% 22% 28%;
                gap: 4px;
                padding: 8px 6px;
                font-size: 12px;
            }

            .detail-simple-item .seq {
                font-size: 12px;
            }

            .detail-simple-item .time {
                font-size: 11px;
            }

            .detail-simple-item .change {
                font-size: 12px;
            }

            .detail-simple-item .volume {
                font-size: 11px;
            }
        }

        @media (max-width: 480px) {
            .container {
                max-width: 100%;
                padding: 12px 8px;
            }

            .stats-grid {
                grid-template-columns: repeat(4, 1fr);
                gap: 8px;
            }

            .stat-card {
                padding: 8px 4px;
            }

            .stat-value {
                font-size: 16px;
            }

            .stat-label {
                font-size: 12px;
            }

            .stat-detail {
                font-size: 10px;
            }

            .symbol-list-container {
                padding: 0;
                width: 100%;
                overflow-x: hidden;
            }

            /* 全部时间周期显示时 */
            .symbol-table {
                width: 100%;
                table-layout: fixed;
            }

            /* 单个时间周期显示时 */
            .symbol-table.single-interval {
                width: 100%;
                table-layout: fixed;
            }

            .symbol-table th,
            .symbol-table td {
                padding: 6px 2px;
                font-size: 9px;
                word-break: break-all;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                vertical-align: middle;
            }

            .symbol-table th:first-child,
            .symbol-table td:first-child {
                width: 55%;
                padding: 10px 2px;
            }

            /* 全部时间周期时的小屏幕列宽 */
            .symbol-table th:nth-child(2),
            .symbol-table th:nth-child(3),
            .symbol-table th:nth-child(4) {
                width: 10%;
            }

            .symbol-table th:nth-child(5) {
                width: 15%;
            }

            .symbol-table th:last-child {
                width: 10%;
            }

            /* 单个时间周期时的小屏幕列宽 */
            .symbol-table.single-interval th:nth-child(2) {
                width: 35% !important;
            }

            .symbol-table.single-interval th:last-child {
                width: 15%;
            }

            .symbol-change-cell {
                padding: 10px 4px;
                gap: 2px;
            }

            .symbol-change-cell .symbol-name {
                font-size: 14px;
                font-weight: 600;
            }

            .symbol-change-cell .change-value {
                font-size: 13px;
                font-weight: 700;
            }

            .total-change {
                font-size: 12px;
                padding: 2px 4px;
                font-weight: 700;
            }

            .time-info {
                font-size: 12px;
                line-height: 1.3;
            }

            .consecutive-count {
                font-size: 11px;
            }

            .time-range-info {
                gap: 2px;
            }

            .time-start {
                font-size: 12px;
                font-weight: 600;
            }

            .time-end {
                font-size: 12px;
            }

            .detail-interval-section {
                margin: 0 8px 12px 8px;
            }

            .detail-grid {
                grid-template-columns: 1fr;
                gap: 6px;
            }

            .detail-content {
                padding: 8px 0;
                margin: 0;
                width: 100%;
                box-sizing: border-box;
            }

            .detail-kline-item {
                padding: 8px;
                margin: 0 8px;
            }

            /* 详情展开内容的响应式布局 */
            .detail-simple-item {
                grid-template-columns: 18% 28% 20% 34%;
                gap: 2px;
                padding: 6px 4px;
                font-size: 11px;
            }

            .detail-simple-item .seq {
                font-size: 11px;
            }

            .detail-simple-item .time {
                font-size: 10px;
            }

            .detail-simple-item .change {
                font-size: 11px;
            }

            .detail-simple-item .volume {
                font-size: 10px;
            }

            .symbol-change-cell {
                padding: 8px 2px;
                gap: 1px;
            }

            .symbol-change-cell .symbol-name {
                font-size: 12px;
                font-weight: 600;
                line-height: 1.1;
            }

            .symbol-change-cell .change-value {
                font-size: 11px;
                font-weight: 700;
                line-height: 1.1;
            }

            /* 超小屏幕下的筛选器样式 */
            .filter-options {
                grid-template-columns: repeat(3, 1fr);
                gap: 4px;
            }

            .filter-option {
                padding: 4px 6px;
                font-size: 10px;
                min-height: 24px;
            }
        }

        /* 分页控件样式 */
        .pagination-container {
            margin-top: 20px;
            padding: 15px 0;
            border-top: 1px solid #2a2a2a;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 10px;
        }

        .pagination-info {
            color: #888;
            font-size: 14px;
        }

        .pagination-controls {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .pagination-btn {
            background: linear-gradient(135deg, #4a90e2, #357abd);
            border: none;
            border-radius: 6px;
            padding: 8px 16px;
            color: white;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.3s ease;
            min-width: 80px;
        }

        .pagination-btn:hover:not(.disabled) {
            background: linear-gradient(135deg, #357abd, #2968a3);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
        }

        .pagination-btn.disabled {
            background: #333;
            color: #666;
            cursor: not-allowed;
            opacity: 0.6;
        }

        .pagination-info-center {
            background: #2a2a2a;
            border: 1px solid #444;
            border-radius: 6px;
            padding: 8px 16px;
            color: #fff;
            font-weight: 500;
            min-width: 80px;
            text-align: center;
        }

        .page-info {
            font-size: 14px;
        }

        /* 响应式分页样式 */
        @media (max-width: 768px) {
            .pagination-container {
                margin-top: 15px;
                padding: 12px 0;
                flex-direction: column;
                gap: 12px;
                text-align: center;
            }

            .pagination-info {
                order: 2;
                font-size: 13px;
                color: #999;
            }

            .pagination-controls {
                order: 1;
                justify-content: center;
                gap: 8px;
                width: 100%;
            }

            .pagination-btn {
                flex: 1;
                max-width: 100px;
                min-width: 70px;
                padding: 10px 8px;
                font-size: 13px;
                border-radius: 8px;
            }

            .pagination-info-center {
                flex: 0 0 auto;
                min-width: 80px;
                padding: 10px 12px;
                font-size: 13px;
                border-radius: 8px;
            }
        }

        @media (max-width: 480px) {
            .pagination-container {
                margin-top: 12px;
                padding: 10px 0;
                gap: 10px;
            }

            .pagination-controls {
                gap: 6px;
                padding: 0 8px;
            }

            .pagination-btn {
                flex: 1;
                max-width: 90px;
                min-width: 65px;
                padding: 12px 6px;
                font-size: 12px;
                border-radius: 6px;
                font-weight: 500;
            }

            .pagination-btn span {
                display: block;
                line-height: 1.2;
            }

            .pagination-info-center {
                flex: 0 0 auto;
                min-width: 70px;
                padding: 12px 8px;
                font-size: 12px;
                border-radius: 6px;
                font-weight: 600;
            }

            .pagination-info {
                font-size: 11px;
                padding: 0 8px;
            }

            .total-info {
                display: block;
                text-align: center;
            }
        }

        /* 超小屏幕优化 */
        @media (max-width: 360px) {
            .pagination-container {
                padding: 8px 0;
                gap: 8px;
            }

            .pagination-controls {
                gap: 4px;
                padding: 0 4px;
            }

            .pagination-btn {
                min-width: 55px;
                padding: 10px 4px;
                font-size: 11px;
            }

            .pagination-info-center {
                min-width: 60px;
                padding: 10px 6px;
                font-size: 11px;
            }

            .pagination-info {
                font-size: 10px;
            }

            /* 详情展开内容的超小屏幕优化 */
            .detail-simple-item {
                grid-template-columns: 16% 30% 18% 36%;
                gap: 1px;
                padding: 4px 2px;
                font-size: 10px;
            }

            .detail-simple-item .seq {
                font-size: 10px;
            }

            .detail-simple-item .time {
                font-size: 9px;
            }

            .detail-simple-item .change {
                font-size: 10px;
            }

            .detail-simple-item .volume {
                font-size: 9px;
            }

            /* 时间范围选择器优化 */
            .filter-option {
                padding: 8px 12px;
                font-size: 12px;
                min-height: auto;
            }

            .count-badge {
                font-size: 9px;
                padding: 1px 4px;
                margin-left: 4px;
                min-width: 14px;
                border-radius: 6px;
            }

            .count-badge::before,
            .count::before,
            .future-badge::before {
                left: -10px;
                font-size: 7px;
            }

            .filter-options {
                gap: 6px;
            }

            .filter-level-1 .filter-options,
            .filter-level-2 .filter-options {
                flex-wrap: wrap;
                justify-content: flex-start;
            }

            /* 新币时间选项特殊样式 - 一行5个 */
            .filter-level-2[data-interval="新币"] .filter-options {
                display: grid !important;
                grid-template-columns: repeat(5, 1fr) !important;
                gap: 8px !important;
                max-width: 100%;
                flex-wrap: unset !important;
                justify-content: unset !important;
            }

            .filter-level-2[data-interval="新币"] .filter-option {
                min-width: auto;
                text-align: center;
                padding: 8px 4px;
                font-size: 12px;
            }

            /* 表格显示优化 */
            .symbol-list-container {
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
            }

            .symbol-table {
                min-width: 100%;
                table-layout: fixed;
            }

            .symbol-table th,
            .symbol-table td {
                padding: 14px 6px;
                font-size: 11px;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                line-height: 1.4;
                vertical-align: middle;
                text-align: center;
            }

            .symbol-table th:first-child,
            .symbol-table td:first-child {
                width: 50%;
                min-width: 120px;
                padding: 16px 8px;
                text-align: left;
                vertical-align: middle;
            }

            /* 全部时间周期时的超小屏幕列宽 */
            .symbol-table th:nth-child(2),
            .symbol-table th:nth-child(3),
            .symbol-table th:nth-child(4) {
                width: 12%;
                min-width: 35px;
            }

            .symbol-table th:nth-child(5) {
                width: 16%;
                min-width: 45px;
            }

            .symbol-table th:last-child {
                width: 10%;
                min-width: 30px;
            }

            /* 单个时间周期时的超小屏幕列宽 */
            .symbol-table.single-interval th:nth-child(2) {
                width: 35%;
                min-width: 80px;
            }

            .symbol-table.single-interval th:last-child {
                width: 15%;
                min-width: 40px;
            }

            /* 确保容器不会被挤压 */
            .container {
                padding: 12px 10px;
                min-width: 320px;
            }

            /* 筛选区域优化 */
            .filter-level-1,
            .filter-level-2 {
                margin-bottom: 16px;
            }

            .filter-title {
                margin-bottom: 10px;
                font-size: 13px;
            }
        }

        /* 加载层样式 */
        .loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            backdrop-filter: blur(3px);
        }

        .loading-content {
            text-align: center;
            color: white;
        }

        .loading-gear {
            margin-bottom: 20px;
            animation: spin 2s linear infinite;
        }

        .loading-text {
            font-size: 18px;
            font-weight: 500;
            color: #ffffff;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
        }

        @keyframes spin {
            from {
                transform: rotate(0deg);
            }
            to {
                transform: rotate(360deg);
            }
        }

        /* 滑入滑出动画 */
        @keyframes slideInRight {
            from {
                transform: translateX(100%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        @keyframes slideOutRight {
            from {
                transform: translateX(0);
                opacity: 1;
            }
            to {
                transform: translateX(100%);
                opacity: 0;
            }
        }

        /* 隐藏加载层的类 */
        .loading-overlay.hidden {
            display: none;
        }

        /* 选项卡样式 - 与页面风格协调 */
        .tabs-container {
            margin-bottom: 0;
            padding: 0 20px;
            background: #1e2329;
            border-bottom: 1px solid #2b3139;
        }

        .tabs {
            display: flex;
            background: transparent;
            border-radius: 0;
            padding: 0;
            gap: 0;
            max-width: none;
        }

        .tab-button {
            background: transparent;
            border: none;
            color: #848e9c;
            padding: 16px 24px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
            border-bottom: 2px solid transparent;
            position: relative;
            font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }

        .tab-button:hover {
            color: #eaecef;
            background: rgba(240, 185, 11, 0.05);
        }

        .tab-button.active {
            color: #f0b90b;
            border-bottom-color: #f0b90b;
            background: transparent;
            font-weight: 600;
        }

        .tab-button.active:hover {
            color: #f0b90b;
            background: rgba(240, 185, 11, 0.08);
        }
