
        * {
            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;
            padding: 10px 10px 0 10px; /* 统一padding */
            z-index: 100;
        }
        
        .search-container {
            background: white;
            border-radius: 12px;
            padding: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            width: 100%;
        }
        
        .search-box {
            position: relative;
        }
        
        #searchInput {
            width: 100%;
            padding: 12px 12px 12px 40px;
            font-size: 16px;
            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.2rem;
        }
        
        .search-stats {
            display: flex;
            justify-content: space-between;
            margin-top: 6px;
            padding-top: 6px;
            border-top: 1px solid #eee;
            font-size: 0.85rem;
            color: #666;
        }
        
        /* 标题区域 - 与表格对齐，透明背景 */
        .title-container {
            flex-shrink: 0;
            padding: 10px 10px 0 10px; /* 与fixed-top-area对齐 */
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            background: transparent; /* 透明背景 */
        }
        
        .update-date {
            font-size: 14px;
            font-weight: 600;
            color: white;
            text-align: center;
            background: rgba(255, 255, 255, 0.15); /* 与两列模板一致的半透明背景 */
            padding: 10px 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: 0 10px 10px 10px; /* 与顶部对齐 */
            overflow: hidden;
            display: flex;
            flex-direction: column;
            min-height: 0;
        }
        
        /* 表格容器 - 可滚动内容 */
        .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: 14px;
            min-height: 100%;
            table-layout: fixed;
        }
        
        /* 表格标题样式 */
        .tablelist thead {
            position: sticky;
            top: 0;
            z-index: 10;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        
        .tablelist th {
            color: white;
            padding: 12px 8px;
            font-weight: 600;
            font-size: 14px;
            text-align: center;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        /* 调整列宽比例 - 产品40%，参数60%，价格固定(5位数字宽度) */
        .tablelist th:nth-child(1) {
            text-align: center;
            width: 40%;
        }
        
        .tablelist th:nth-child(2) {
            text-align: center;
            width: 60%;
        }
        
        .tablelist th:nth-child(3) {
            width: 70px; /* 5位数字宽度 */
            text-align: center;
            min-width: 70px;
        }
        
        /* 表格内容行 */
        .tablelist tbody tr {
            border-bottom: 1px solid #f0f0f0;
            transition: background-color 0.2s;
        }
        
        .tablelist tbody tr:active {
            background-color: #f8f9fa;
        }
        
        .tablelist td {
            padding: 12px 8px;
            position: relative;
            cursor: pointer;
            vertical-align: top;
        }
        
        /* 产品名称列 - 40% */
        .tablelist td:nth-child(1) {
            width: 40%;
            font-weight: 500;
            color: #333;
            word-break: break-word;
            overflow: hidden;
            line-height: 1.4;
            text-align: left;
            cursor: pointer;
            min-height: 50px;
        }
        
        .product-name-content {
            width: 100%;
            overflow: hidden;
            font-size: 13px;
            display: block;
            white-space: normal;
            word-wrap: break-word;
        }
        
        /* 参数列 - 60% - 确保完全显示 */
        .tablelist td:nth-child(2) {
            width: 60%;
            font-weight: 500;
            color: #666;
            text-align: left;
            background: linear-gradient(135deg, #f8f9fa 0%, #f1f2f6 100%);
            border-left: 1px solid #eee;
            font-size: 12px;
            line-height: 1.4;
            cursor: pointer;
            min-height: 50px;
            padding-top: 10px;
            padding-bottom: 10px;
        }
        
        .parameter-content {
            width: 100%;
            overflow: visible;
            font-size: 12px;
            display: block;
            white-space: normal;
            word-wrap: break-word;
            line-height: 1.4;
        }
        
        /* 参数内部高亮匹配的文字 */
        .parameter-highlight {
            background-color: #ffeb3b;
            color: #333;
            padding: 1px 3px;
            border-radius: 3px;
            font-weight: bold;
        }
        
        /* 产品名称内部高亮匹配的文字 */
        .product-highlight {
            background-color: #ffeb3b;
            color: #333;
            padding: 1px 3px;
            border-radius: 3px;
            font-weight: bold;
        }
        
        /* 价格列 - 固定宽度(5位数字宽度) */
        .tablelist td:nth-child(3) {
            width: 70px;
            font-weight: 600;
            color: #e74c3c;
            font-size: 14px; /* 稍微缩小一点 */
            background: linear-gradient(135deg, #fdfcfb 0%, #f5f5f5 100%);
            text-align: center;
            border-left: 1px solid #eee;
            padding: 12px 3px; /* 左右内边距减小 */
            cursor: default;
            vertical-align: middle;
        }
        
        /* 价格标签样式 - 调整为更紧凑 */
        .price-tag {
            display: inline-block;
            background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
            color: white;
            padding: 4px 8px; /* 减小内边距 */
            border-radius: 12px;
            font-size: 13px;
            font-weight: 600;
            box-shadow: 0 2px 4px rgba(238, 90, 82, 0.2);
            white-space: nowrap;
            min-width: 40px; /* 最小宽度减小 */
            max-width: 65px; /* 最大宽度限制 */
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        /* 高亮匹配的行 */
        .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;
        }
        
        .action-btn.zoom {
            background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
            flex: 0.5;
        }
        
        .action-btn.zoom-out {
            background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
            flex: 0.5;
        }
        
        /* 缩放比例显示 */
        .zoom-indicator {
            position: fixed;
            top: 20px;
            right: 20px;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 8px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            z-index: 1000;
            backdrop-filter: blur(10px);
            display: none;
        }
        
        /* 复制通知 */
        .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: 40px 20px;
            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: 15px;
            opacity: 0.5;
        }
        
        .empty-state p {
            margin: 8px 0;
            line-height: 1.4;
        }
        
        /* 滚动条美化 */
        .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;
        }
        
        /* 缩放包装器 */
        .zoom-wrapper {
            flex: 1;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            touch-action: pan-x pan-y;
            position: relative;
        }
        
        /* 缩放级别样式 */
        .zoom-level-1 {
            transform: scale(1);
            transform-origin: top left;
            width: 100%;
        }
        
        .zoom-level-1-2 {
            transform: scale(1.2);
            transform-origin: top left;
            width: calc(100% * 1.2);
        }
        
        .zoom-level-1-4 {
            transform: scale(1.4);
            transform-origin: top left;
            width: calc(100% * 1.4);
        }
        
        .zoom-level-1-6 {
            transform: scale(1.6);
            transform-origin: top left;
            width: calc(100% * 1.6);
        }
        
        .zoom-level-1-8 {
            transform: scale(1.8);
            transform-origin: top left;
            width: calc(100% * 1.8);
        }
        
        .zoom-level-2 {
            transform: scale(2);
            transform-origin: top left;
            width: calc(100% * 2);
        }
        
        /* 响应式调整 */
        @media (max-width: 480px) {
            .fixed-top-area {
                padding: 8px 8px 0 8px;
            }
            
            .search-container {
                padding: 8px;
                border-radius: 10px;
            }
            
            #searchInput {
                padding: 10px 10px 10px 38px;
                font-size: 15px;
                border-radius: 6px;
            }
            
            .search-icon {
                left: 10px;
                font-size: 1rem;
            }
            
            .search-stats {
                font-size: 0.75rem;
                margin-top: 5px;
                padding-top: 5px;
            }
            
            .title-container {
                padding: 8px 8px 0 8px;
            }
            
            .update-date {
                font-size: 13px;
                padding: 8px 16px;
                border-radius: 10px;
                width: calc(100% - 16px); /* 左右各留8px缝隙 */
            }
            
            .content-area {
                padding: 0 8px 8px 8px;
            }
            
            .tablelist th {
                padding: 10px 6px;
                font-size: 13px;
            }
            
            /* 小屏幕调整列宽 */
            .tablelist th:nth-child(1) {
                width: 40%;
            }
            
            .tablelist th:nth-child(2) {
                width: 60%;
                font-size: 12px;
            }
            
            .tablelist th:nth-child(3) {
                width: 65px; /* 小屏幕再小一点 */
                min-width: 65px;
                font-size: 12px;
            }
            
            .tablelist td {
                padding: 8px 6px;
            }
            
            .tablelist td:nth-child(1) {
                width: 40%;
                min-height: 45px;
            }
            
            .tablelist td:nth-child(2) {
                width: 60%;
                font-size: 11px;
                min-height: 45px;
                padding-top: 8px;
                padding-bottom: 8px;
            }
            
            .tablelist td:nth-child(3) {
                width: 65px;
                font-size: 13px; /* 小屏幕字体缩小 */
                padding: 10px 2px; /* 内边距更小 */
            }
            
            .price-tag {
                font-size: 11px;
                padding: 3px 6px;
                min-width: 35px;
                max-width: 60px;
            }
            
            .product-name-content {
                font-size: 12px;
            }
            
            .parameter-content {
                font-size: 11px;
                line-height: 1.3;
            }
            
            /* 移动端空状态调整 */
            .empty-state {
                padding: 30px 15px;
                max-width: 250px;
            }
            
            .empty-state .icon {
                font-size: 2rem;
                margin-bottom: 12px;
            }
            
            .bottom-bar {
                padding: 10px;
            }
            
            .action-btn {
                padding: 10px;
                font-size: 12px;
            }
            
            .zoom-indicator {
                top: 15px;
                right: 15px;
                padding: 6px 10px;
                font-size: 11px;
            }
            
            /* 缩放级别调整 */
            .zoom-level-1-2 {
                width: calc(100% * 1.2);
            }
            
            .zoom-level-1-4 {
                width: calc(100% * 1.4);
            }
            
            .zoom-level-1-6 {
                width: calc(100% * 1.6);
            }
            
            .zoom-level-1-8 {
                width: calc(100% * 1.8);
            }
            
            .zoom-level-2 {
                width: calc(100% * 2);
            }
        }
        
        @media (max-width: 375px) {
            .tablelist th {
                padding: 8px 5px;
            }
            
            .tablelist th:nth-child(1) {
                width: 40%;
                font-size: 12px;
            }
            
            .tablelist th:nth-child(2) {
                width: 60%;
                font-size: 11px;
            }
            
            .tablelist th:nth-child(3) {
                width: 60px; /* 超小屏幕再缩小 */
                min-width: 60px;
                font-size: 11px;
            }
            
            .tablelist td:nth-child(1) {
                width: 40%;
                min-height: 40px;
            }
            
            .tablelist td:nth-child(2) {
                width: 60%;
                font-size: 10px;
                min-height: 40px;
            }
            
            .tablelist td:nth-child(3) {
                width: 60px;
                padding: 8px 1px;
                font-size: 12px;
            }
            
            .price-tag {
                font-size: 10px;
                padding: 2px 5px;
                min-width: 30px;
                max-width: 55px;
            }
            
            .product-name-content {
                font-size: 11px;
            }
            
            .parameter-content {
                font-size: 10px;
                line-height: 1.3;
            }
            
            /* 标题区域超小屏幕调整 */
            .title-container {
                padding: 6px 6px 0 6px;
            }
            
            .update-date {
                font-size: 12px;
                padding: 6px 14px;
                width: calc(100% - 12px); /* 左右各留6px缝隙 */
            }
            
            /* 超小屏幕空状态调整 */
            .empty-state {
                padding: 25px 15px;
                max-width: 220px;
            }
            
            .empty-state .icon {
                font-size: 1.8rem;
                margin-bottom: 10px;
            }
            
            .action-btn {
                font-size: 11px;
                padding: 8px;
            }
        }
        
        /* 暗色模式支持 */
        @media (prefers-color-scheme: dark) {
            .main-wrapper {
                background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            }
            
            .search-container,
            .table-container {
                background: rgba(30, 30, 46, 0.95);
                color: #e0e0e0;
            }
            
            .tablelist thead {
                background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            }
            
            .table-header-wrapper {
                background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            }
            
            .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:nth-child(1) {
                color: #e0e0e0;
            }
            
            .tablelist td:nth-child(2) {
                background: rgba(40, 40, 60, 0.6);
                border-left-color: #444;
                color: #aaa;
            }
            
            .tablelist td:nth-child(3) {
                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;
            }
            
            .zoom-indicator {
                background: rgba(255, 255, 255, 0.2);
            }
            
            /* 暗色模式下高亮文字 */
            .parameter-highlight, .product-highlight {
                background-color: #ffd700;
                color: #000;
            }
        }
