
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background-color: #f5f7fa;
            color: #1e2329;
            line-height: 1.5;
        }
        
        /* 币安风格头部导航 */
        .navbar {
            background-color: #f0b90b;
            height: 64px;
            display: flex;
            align-items: center;
            padding: 0 20px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        
        .navbar-container {
            max-width: 1150px;
            width: 100%;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
            color: #1e2329;
            font-size: 22px;
            font-weight: 700;
        }
        
        .logo-icon {
            width: 32px;
            height: 32px;
            background-color: #1e2329;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #f0b90b;
            font-weight: bold;
        }
        
        .nav-links {
            display: flex;
            gap: 32px;
            align-items: center;
        }
        
        .nav-link {
            text-decoration: none;
            color: #1e2329;
            font-size: 16px;
            font-weight: 500;
            transition: opacity 0.2s;
        }
        
        .nav-link:hover {
            opacity: 0.7;
        }
        
        .nav-link.active {
            font-weight: 700;
            border-bottom: 2px solid #1e2329;
            padding-bottom: 4px;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
            flex-wrap: wrap;
            gap: 16px;
        }
        
        .title {
            font-size: 24px;
            font-weight: 700;
            color: #1e2329;
        }
        
        .update-time {
            font-size: 14px;
            color: #707a8a;
        }
        
        .error {
            background-color: #fff2f0;
            border: 1px solid #ffccc7;
            color: #ff4d4f;
            padding: 12px 16px;
            border-radius: 8px;
            margin-bottom: 20px;
        }
        
        .success {
            background-color: #f6ffed;
            border: 1px solid #b7eb8f;
            color: #52c41a;
            padding: 12px 16px;
            border-radius: 8px;
            margin-bottom: 20px;
        }
        
        .back-btn {
            display: inline-block;
            padding: 8px 16px;
            background-color: #f0b90b;
            color: #1e2329;
            text-decoration: none;
            border-radius: 4px;
            font-weight: 500;
            margin-bottom: 20px;
        }
        
        .back-btn:hover {
            background-color: #d4a20a;
        }
        
        /* 分页样式 */
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            margin-top: 24px;
            flex-wrap: wrap;
        }
        
        .page-link {
            display: inline-block;
            padding: 8px 16px;
            background-color: #fff;
            border: 1px solid #eaecef;
            border-radius: 4px;
            text-decoration: none;
            color: #1e2329;
            transition: all 0.2s;
        }
        
        .page-link:hover:not(.active):not(.disabled) {
            background-color: #f0b90b;
            border-color: #f0b90b;
            color: #1e2329;
        }
        
        .page-link.active {
            background-color: #f0b90b;
            border-color: #f0b90b;
            color: #1e2329;
            font-weight: 600;
        }
        
        .page-link.disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }
        
        /* 详情页样式 */
        .detail-card {
            background-color: #fff;
            border-radius: 12px;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
            padding: 32px;
            margin-bottom: 24px;
        }
        
        .coin-header {
            margin-bottom: 24px;
        }
        
        .coin-info h1 {
            font-size: 32px;
            font-weight: 700;
            margin-bottom: 4px;
        }
        
        .coin-info .name {
            font-size: 16px;
            color: #707a8a;
        }
        
        .price-section {
            margin-bottom: 32px;
        }
        
        .current-price {
            font-size: 48px;
            font-weight: 700;
            margin-bottom: 8px;
        }
        
        .change-info {
            font-size: 20px;
            font-weight: 500;
        }
        
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-bottom: 32px;
        }
        
        .stat-item {
            padding: 16px;
            background-color: #f8f9fa;
            border-radius: 8px;
        }
        
        .stat-label {
            font-size: 14px;
            color: #707a8a;
            margin-bottom: 8px;
        }
        
        .stat-value {
            font-size: 18px;
            font-weight: 600;
        }
        
        /* K线图时间周期切换 */
        .interval-tabs {
            display: flex;
            gap: 8px;
            margin-bottom: 16px;
        }
        
        .interval-tab {
            padding: 8px 16px;
            background-color: #f8f9fa;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.2s;
        }
        
        .interval-tab.active {
            background-color: #f0b90b;
            color: #1e2329;
            font-weight: 600;
        }
        
        .interval-tab:hover:not(.active) {
            background-color: #e9ecef;
        }
        
        /* ECharts K线图容器 */
        .chart-container {
            width: 100%;
            height: 550px;
            border-radius: 8px;
            background-color: #fff;
        }
        
        /* 列表页样式 */
        .table-container {
            background-color: #fff;
            border-radius: 12px;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
            overflow: hidden;
        }
        
        .crypto-table {
            width: 100%;
            border-collapse: collapse;
        }
        
        .crypto-table th,
        .crypto-table td {
            padding: 16px;
            text-align: right;
            border-bottom: 1px solid #eaecef;
        }
        
        .crypto-table th {
            background-color: #f8f9fa;
            font-weight: 600;
            color: #707a8a;
            font-size: 14px;
        }
        
        .crypto-table th:first-child,
        .crypto-table td:first-child {
            text-align: left;
        }
        
        .crypto-table th:nth-child(2),
        .crypto-table td:nth-child(2) {
            text-align: left;
        }
        
        .crypto-table tr:hover {
            background-color: #f8f9fa;
        }
        
        .coin-link {
            text-decoration: none;
            color: #1e2329;
        }
        
        .coin-link:hover {
            color: #f0b90b;
        }
        
        .coin-symbol {
            font-weight: 600;
        }
        
        .coin-name {
            color: #707a8a;
            font-size: 14px;
        }
        
        .up {
            color: #16c784;
        }
        
        .down {
            color: #ea3943;
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .navbar {
                height: auto;
                padding: 12px 20px;
            }
            
            .navbar-container {
                flex-direction: column;
                gap: 12px;
            }
            
            .nav-links {
                gap: 16px;
                flex-wrap: wrap;
                justify-content: center;
            }
            
            .container {
                padding: 12px;
            }
            
            .title {
                font-size: 20px;
            }
            
            .detail-card {
                padding: 20px;
            }
            
            .current-price {
                font-size: 36px;
            }
            
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .chart-container {
                height: 400px;
            }
            
            /* 移动端表格优化 */
            .crypto-table thead {
                display: none;
            }
            
            .crypto-table tr {
                display: block;
                margin-bottom: 16px;
                border: 1px solid #eaecef;
                border-radius: 8px;
                padding: 16px;
            }
            
            .crypto-table td {
                display: flex;
                justify-content: space-between;
                padding: 8px 0;
                border-bottom: 1px solid #f0f0f0;
                text-align: right;
            }
            
            .crypto-table td:last-child {
                border-bottom: none;
            }
            
            .crypto-table td::before {
                content: attr(data-label);
                font-weight: 600;
                color: #707a8a;
                text-align: left;
            }
            
            .crypto-table td:first-child {
                font-weight: 700;
                font-size: 16px;
            }
            
            .crypto-table td:nth-child(2) {
                justify-content: flex-start;
            }
            
            .crypto-table td:nth-child(2)::before {
                display: none;
            }
        }
        
        @media (max-width: 480px) {
            .stats-grid {
                grid-template-columns: 1fr;
            }
            
            .current-price {
                font-size: 28px;
            }
            
            .chart-container {
                height: 350px;
            }
            
            .interval-tab {
                padding: 6px 12px;
                font-size: 12px;
            }
            
            .page-link {
                padding: 6px 12px;
                font-size: 12px;
            }
        }