@media (max-width: 768px) {
    /* 让表格容器可以左右滑动 */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        display: block;
    }

    /* 表格保持正常宽度，不压缩，让内容完整显示 */
    table {
        min-width: 900px;
        width: auto;
        display: table;
        font-size: 11px;
    }

    table th,
    table td {
        padding: 6px 4px;
        font-size: 11px;
        white-space: nowrap;
    }

    /* 调整页面padding，给滑动留出空间 */
    .container, body {
        padding-left: 8px;
        padding-right: 8px;
    }

    /* 排名列稍微窄一点 */
    table th:first-child,
    table td:first-child {
        min-width: 50px;
    }

    /* 代币名称列 */
    table th:nth-child(2),
    table td:nth-child(2) {
        min-width: 80px;
    }

    /* 数字列 */
    table th:nth-child(4),
    table td:nth-child(4),
    table th:nth-child(5),
    table td:nth-child(5),
    table th:nth-child(6),
    table td:nth-child(6),
    table th:nth-child(7),
    table td:nth-child(7) {
        min-width: 80px;
    }

    /* Tab按钮可以左右滑动 */
    .tab-buttons {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }

    .tab-button {
        display: inline-block;
    }

    /* 图表容器也支持滑动 */
    .charts-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* 减小header字体 */
    .header h1 {
        font-size: 1.5rem;
    }

    .header p {
        font-size: 0.9rem;
    }

    /* 统计卡片改为单列 */
    .stats-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}
