        /* 全局样式重置与基础设置 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-tap-highlight-color: transparent;
            /* 去除移动端点击高亮 */
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
            /* 系统字体栈 */
        }

        /* 主包装器 - 固定布局 */
        .main-wrapper {
            display: flex;
            flex-direction: column;
            height: 100vh;
            overflow: hidden;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            /* 主背景渐变 */
        }

        /* 顶部固定区域 */
        .fixed-top-area {
            flex-shrink: 0;
            /* 不收缩 */
            background: transparent;
            /* 透明背景 */
            z-index: 100;
            /* 保证在内容上方 */
        }

        /* 搜索区域样式 */
        .search-container {
            background: white;
            border-radius: 15px;
            padding: 12px;
            margin: 10px 10px 0 10px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            /* 轻微阴影 */

        }

        .search-box {
            position: relative;
            /* 为搜索图标定位 */
        }

        #searchInput {
            width: 100%;
            height: 35px;
            padding: 12px 12px 12px 40px;
            /* 左侧留空间给图标 */
            font-size: 14px;
            border: 1.5px solid #eaeaea;
            border-radius: 8px;
            outline: none;
            background: #f8f9fa;
            transition: all 0.3s ease;
            /* 平滑过渡效果 */
        }

        #searchInput:focus {
            border-color: #667eea;
            /* 聚焦时边框变色 */
            background: white;
            box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
            /* 聚焦光晕 */
        }

        .search-icon {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            /* 垂直居中 */
            color: #999;
            font-size: 1.1rem;
        }

        .search-stats {
            display: flex;
            justify-content: space-between;
            /* 两端对齐 */
            margin-top: 8px;
            padding-top: 8px;
            border-top: 1px solid #eee;
            /* 分隔线 */
            font-size: 0.7rem;
            color: #666;
        }

        /* 标题区域样式 - 与表格对齐 */
        .title-container {
            flex-shrink: 0;
            /* 不收缩 */
            padding: 10px 10px 0 10px;
            /* 左右与表格对齐 */
            display: flex;
            flex-direction: column;
            align-items: center;
            /* 水平居中 */
            gap: 8px;
            /* 元素间距 */
            background: transparent;
            /* 透明背景，显示主背景 */
        }

        .update-date {
            font-size: 14px;
            height: 25px;
            font-weight: 600;
            color: white;
            text-align: center;
            background: rgba(255, 255, 255, 0.15);
            /* 半透明背景 */
            padding: 6px 20px;
            border-radius: 12px;
            /* 圆弧边框 */
            backdrop-filter: blur(10px);
            /* 背景模糊效果 */
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            letter-spacing: 0.5px;
            /* 字间距 */
            width: calc(100% - 20px);
            /* 左右各留10px缝隙 */
            max-width: 400px;
            /* 最大宽度限制 */
            margin: 0 auto;
            /* 居中显示 */
        }

        /* 中间内容区域 - 可滚动 */
        .content-area {
            flex: 1;
            /* 占满剩余空间 */
            padding: 10px;
            /* 整体内边距 */
            overflow: hidden;
            display: flex;
            flex-direction: column;
            min-height: 0;
            /* 解决flex子元素高度问题 */
        }

        /* 表格容器样式 */
        .table-container {
            background: white;
            border-radius: 15px;
            /* 圆弧边框 */
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            /* 表格阴影 */
            flex: 1;
            /* 占满内容区域 */
            display: flex;
            flex-direction: column;
            min-height: 300px;
            /* 最小高度 */
            position: relative;
        }

        /* 表格头部 - 固定 */
        .table-header-wrapper {
            flex-shrink: 0;
            /* 不收缩 */
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            /* 表头渐变背景 */
            position: sticky;
            top: 0;
            z-index: 10;
            /* 表头在内容上方 */
            overflow: hidden;
        }

        /* 表格内容区域 - 可滚动 */
        .table-body-wrapper {
            flex: 1;
            /* 占满剩余空间 */
            overflow-y: auto;
            /* 垂直滚动 */
            -webkit-overflow-scrolling: touch;
            /* 移动端平滑滚动 */
            min-height: 200px;
            /* 最小高度 */
            position: relative;
        }

        /* 表格基础样式 */
        .tablelist {
            width: 100%;
            border-collapse: collapse;
            /* 合并边框 */
            font-size: 16px;
        }

        /* 表格标题样式 */
        .tablelist thead {
            position: sticky;
            top: 0;
            z-index: 10;
            /* 表头固定在顶部 */
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            /* 表头渐变背景 */
        }

        .tablelist th {
            color: white;
            padding: 6px 2px;
            /* 表头行高（上下内边距） */
            font-weight: 600;
            font-size: 16px;
        }

        /* 调整列宽比例 */
        .tablelist th:first-child,
        .tablelist td:first-child {
            width: calc(100% - 70px);
            /* 产品名称列宽度 */
        }

        .tablelist th:last-child,
        .tablelist td:last-child {
            width: 70px;
            /* 价格列宽度 */
            text-align: center;
            /* 价格列居中 */
        }

        /* 表格内容行样式 */
        .tablelist tbody tr {
            border-bottom: 1px solid #f0f0f0;
            /* 行分隔线 */
            transition: background-color 0.2s;
            /* 背景色过渡 */
        }

        .tablelist tbody tr:active {
            background-color: #f8f9fa;
            /* 点击时背景色 */
        }

        .tablelist td {
            padding: 16px 8px;
            /* 内容行行高（上下内边距） */
            position: relative;
            cursor: pointer;
            /* 鼠标指针变为手型 */
            vertical-align: middle;
            /* 内容垂直居中 */
        }

        /* 产品名称列样式 */
        .tablelist td:first-child {
            font-weight: 500;
            color: #333;
            word-break: break-word;
            /* 自动换行 */
            overflow: hidden;
            line-height: 1.4;
            text-align: left;
            /* 产品名称左对齐 */
        }

        .product-name-content {
            width: 100%;
            max-height: 70px;
            /* 产品名称最大高度 */
            overflow: hidden;
            display: -webkit-box;
            /* 多行文本溢出控制 */
            -webkit-line-clamp: 3;
            /* 最多显示3行 */
            -webkit-box-orient: vertical;
            font-size: 14px;
            line-height: 1.6;
            /* 文字行间距 */
        }

        /* 价格列样式 */
        .tablelist td:last-child {
            font-weight: 600;
            color: #e74c3c;
            font-size: 15px;
            background: linear-gradient(135deg, #fdfcfb 0%, #f5f5f5 100%);
            /* 价格列背景 */
            border-left: 1px solid #eee;
            /* 左侧分隔线 */
            padding: 12px 5px;
        }

        /* 价格标签样式 */
        .price-tag {
            display: inline-block;
            background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
            /* 价格标签渐变 */
            color: white;
            padding: 5px 10px;
            border-radius: 15px;
            /* 圆角标签 */
            font-size: 14px;
            font-weight: 600;
            box-shadow: 0 3px 6px rgba(238, 90, 82, 0.2);
            /* 标签阴影 */
            white-space: nowrap;
            /* 不换行 */
            min-width: 45px;
            /* 最小宽度 */
        }

        /* 复制按钮样式 */
        .copy-btn {
            position: absolute;
            right: 8px;
            top: 50%;
            transform: translateY(-50%);
            /* 垂直居中 */
            background: rgba(102, 126, 234, 0.1);
            border: none;
            border-radius: 6px;
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            /* 内容居中 */
            color: #667eea;
            font-size: 0.9rem;
            cursor: pointer;
            opacity: 0.3;
            /* 默认半透明 */
            transition: opacity 0.2s;
            /* 透明度过渡 */
            z-index: 2;
        }

        .copy-btn:hover,
        .copy-btn:active {
            opacity: 1;
            /* 悬停/点击时完全显示 */
            background: rgba(102, 126, 234, 0.2);
            /* 背景色变化 */
        }

        /* 高亮匹配的行 */
        .highlight {
            background-color: #fff9e6 !important;
            /* 高亮背景色 */
            border-left: 4px solid #f1c40f !important;
            /* 左侧高亮条 */
            animation: highlight-pulse 1.5s ease;
            /* 高亮动画 */
        }

        /* 高亮动画 */
        @keyframes highlight-pulse {
            0% {
                background-color: #fffde7;
            }

            50% {
                background-color: #fff9c4;
            }

            100% {
                background-color: #fff9e6;
            }
        }

        /* 底部操作栏 */
        .bottom-bar {
            flex-shrink: 0;
            /* 不收缩 */
            background: rgba(255, 255, 255, 0.95);
            /* 半透明背景 */
            backdrop-filter: blur(10px);
            /* 背景模糊 */
            padding: 12px;
            border-top: 1px solid rgba(0, 0, 0, 0.1);
            /* 顶部边框 */
            display: flex;
            justify-content: space-between;
            /* 两端对齐 */
            align-items: center;
            /* 垂直居中 */
            z-index: 100;
            /* 在内容上方 */
        }

        /* 操作按钮样式 */
        .action-btn {
            flex: 1;
            /* 平均分配空间 */
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            /* 按钮渐变 */
            color: white;
            border: none;
            border-radius: 10px;
            padding: 12px;
            margin: 0 4px;
            /* 按钮间距 */
            font-size: 13px;
            font-weight: 600;
            display: flex;
            align-items: center;
            justify-content: center;
            /* 内容居中 */
            gap: 6px;
            /* 图标与文字间距 */
            cursor: pointer;
            transition: transform 0.2s;
            /* 变换过渡 */
        }

        .action-btn:active {
            transform: scale(0.98);
            /* 点击时缩小 */
        }

        /* 重置按钮样式 */
        .action-btn.reset {
            background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
            /* 不同的渐变 */
            flex: 0.5;
            /* 宽度是其他按钮的一半 */
        }

        /* 复制通知 */
        .copy-notification {
            position: fixed;
            bottom: 70px;
            left: 50%;
            transform: translateX(-50%);
            /* 水平居中 */
            background: rgba(0, 0, 0, 0.85);
            color: white;
            padding: 10px 18px;
            border-radius: 10px;
            font-size: 13px;
            animation: slide-up 0.3s ease;
            /* 滑入动画 */
            z-index: 1000;
            /* 最上层 */
            max-width: 90%;
            text-align: center;
            backdrop-filter: blur(10px);
            /* 背景模糊 */
        }

        /* 通知滑入动画 */
        @keyframes slide-up {
            from {
                transform: translate(-50%, 100%);
                opacity: 0;
            }

            to {
                transform: translate(-50%, 0);
                opacity: 1;
            }
        }

        /* 空状态提示 */
        .empty-state {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            /* 完全居中 */
            text-align: center;
            padding: 35px 15px;
            color: #999;
            background: white;
            border-radius: 15px;
            display: none;
            /* 默认隐藏 */
            z-index: 20;
            /* 在表格上方 */
            width: 80%;
            max-width: 280px;
            /* 最大宽度 */
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            /* 阴影效果 */
        }

        .empty-state .icon {
            font-size: 2.5rem;
            margin-bottom: 12px;
            opacity: 0.5;
            /* 半透明图标 */
        }

        /* 滚动条美化 */
        .table-body-wrapper::-webkit-scrollbar {
            width: 5px;
            /* 滚动条宽度 */
        }

        .table-body-wrapper::-webkit-scrollbar-track {
            background: #f1f1f1;
            /* 轨道背景 */
            border-radius: 3px;
            /* 轨道圆角 */
        }

        .table-body-wrapper::-webkit-scrollbar-thumb {
            background: #667eea;
            /* 滑块颜色 */
            border-radius: 3px;
            /* 滑块圆角 */
        }

        /* 响应式调整 - 小屏设备 (<=480px) */
        @media (max-width: 480px) {
            .main-wrapper {
                padding: 0;
            }

            .search-container {
                margin: 8px 8px 0 8px;
                padding: 10px;
                border-radius: 12px;
            }

            .title-container {
                padding: 8px 8px 0 8px;
            }


            .update-date {
                font-size: 13px;
                font-weight: 600;
                padding: 4px 16px;
                border-radius: 10px;
                width: calc(100% - 16px);
                /* 左右各留8px缝隙 */
            }

            #searchInput {
                padding: 10px 10px 10px 38px;
                font-size: 13px;
            }

            .search-icon {
                left: 10px;
                font-size: 1rem;
            }

            .search-stats {
                font-size: 0.65rem;
            }

            .content-area {
                padding: 8px;
            }

            /* 表格响应式调整 */
            .tablelist th {
                padding: 6px 2px !important;
                /* 表头行高减小 */
                font-size: 13px;
            }

            .tablelist td {
                padding: 6px 3px !important;
                /* 内容行行高减小 */
            }

            .tablelist th:first-child,
            .tablelist td:first-child {
                width: calc(100% - 60px);
                /* 调整列宽 */
            }

            .tablelist th:last-child,
            .tablelist td:last-child {
                width: 60px;
                /* 调整列宽 */
            }

            .tablelist td:last-child {
                font-size: 14px;
                padding: 6px 4px;
            }

            .price-tag {
                font-size: 12px;
                padding: 4px 8px;
                min-width: 40px;
                border-radius: 12px;
            }

            .product-name-content {
                font-size: 12px;
                max-height: 60px;
                -webkit-line-clamp: 3;
                line-height: 1.5;
            }

            .copy-btn {
                width: 26px;
                height: 26px;
                right: 6px;
                font-size: 0.8rem;
            }

            .bottom-bar {
                padding: 10px;
            }

            .action-btn {
                padding: 10px;
                font-size: 12px;
            }
        }

        /* 响应式调整 - 超小屏设备 (<=375px) */
        @media (max-width: 375px) {

            /* 表格列宽调整 */
            .tablelist th:first-child,
            .tablelist td:first-child {
                width: calc(100% - 60px);
            }

            .tablelist th:last-child,
            .tablelist td:last-child {
                width: 60px;
            }

            .tablelist td:last-child {
                padding: 10px 3px;
            }

            .price-tag {
                font-size: 11px;
                padding: 3px 6px;
                min-width: 35px;
            }

            .product-name-content {
                font-size: 11px;
                max-height: 55px;
                line-height: 1.4;
            }

            .title-container {
                padding: 6px 6px 0 6px;
            }

            .update-date {
                font-size: 12px;
                padding: 6px 14px;
                width: calc(100% - 12px);
                /* 左右各留6px缝隙 */
            }

            .tablelist th {
                padding: 12px 6px;
            }

            .tablelist td {
                padding: 10px 6px;
            }
        }

        /* 暗色模式支持 */
        @media (prefers-color-scheme: dark) {
            .main-wrapper {
                background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
                /* 深色背景渐变 */
            }

            .table-header-wrapper,
            .tablelist thead {
                background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
                /* 深色表头 */
            }

            .search-container,
            .table-container {
                background: rgba(30, 30, 46, 0.95);
                /* 深色容器背景 */
                color: #e0e0e0;
                /* 深色文本 */
            }

            .update-date {
                background: rgba(255, 255, 255, 0.1);
                border-color: rgba(255, 255, 255, 0.15);
                color: #e0e0e0;
            }

            #searchInput {
                background: rgba(40, 40, 60, 0.8);
                border-color: #444;
                color: #e0e0e0;
            }

            .tablelist tbody tr {
                border-bottom-color: #333;
                /* 深色分隔线 */
            }

            .tablelist td:first-child {
                color: #e0e0e0;
            }

            .tablelist td:last-child {
                background: rgba(40, 40, 60, 0.8);
                border-left-color: #444;
            }

            .bottom-bar {
                background: rgba(30, 30, 46, 0.95);
            }

            .empty-state {
                background: rgba(30, 30, 46, 0.95);
                color: #aaa;
            }
        }

        /* 行间隔隔底纹样式 */
        .tablelist tbody tr:nth-child(even) {
            background-color: rgba(248, 249, 250, 0.5);
        }

        /* 深色模式下的行间隔底纹 */
        @media (prefers-color-scheme: dark) {
            .tablelist tbody tr:nth-child(even) {
                background-color: rgba(40, 40, 60, 0.5);
            }
        }