     body {
            font-family: 'Arial', 'Microsoft YaHei', sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f0f0f0;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #333;
            line-height: 1.6;
        }
        .container {
            max-width: 500px;
            width: 90%;
            padding: 25px;
            background-color: #ffffff;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            text-align: center;
            margin: 20px;
        }
        h1 {
            color: #2c3e50;
            margin-bottom: 25px;
            font-size: 1.8em;
            font-weight: 600;
            border-bottom: 2px solid #007BFF;
            padding-bottom: 10px;
            display: inline-block;
        }
        .service-intro {
            margin: 10px 0;
            background: #f8f9fa;
            padding: 5px;
            border-radius: 8px;
            text-align: left;
        }
        .service-intro strong {
            color: #007BFF;
            font-weight: 600;
        }
        .form-group {
            display: flex;
            flex-direction: column;
            margin-bottom: 20px;
            text-align: left;
        }
        .form-group label {
            margin-bottom: 8px;
            font-weight: 500;
            color: #2c3e50;
        }
        .form-group input[type="text"] {
            width: 100%; /* 减去padding和border的宽度 */
            padding: 12px;
            border: 2px solid #e0e0e0;
            border-radius: 6px;
            font-size: 14px;
            transition: border-color 0.3s;
            box-sizing: border-box; /* 确保padding和border包含在宽度内 */
        }
        .form-group input:focus {
            border-color: #007BFF;
            outline: none;
        }
        input[type="button"] {
            padding: 12px 30px;
            background-color: #007BFF;
            color: #fff;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: 16px;
            font-weight: 500;
            transition: background-color 0.3s, transform 0.2s;
            width: 100%;
            box-sizing: border-box; /* 确保padding包含在宽度内 */
        }
        input[type="button"]:hover {
            background-color: #0056b3;
            transform: translateY(-1px);
        }
        #loading {
            display: none;
            margin: 15px 0;
            font-weight: bold;
            color: #007BFF;
            padding: 10px;
            background: #f8f9fa;
            border-radius: 6px;
        }
        .related-links {
            margin-top: 25px;
            font-size: 0.95em;
        }
        .related-links a {
            color: #007BFF;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
        }
        .related-links a:hover {
            color: #0056b3;
            text-decoration: underline;
        }
        
        /* 弹窗样式 */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
        }
        .modal-content {
            background-color: #fff;
            margin: 5% auto;
            padding: 15px;
            border-radius: 8px;
            width: 90%;
            max-width: 800px;
            max-height: 100vh;
            overflow-y: auto;
            box-shadow: 0 4px 20px rgba(0,0,0,0.2);
        }
        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-bottom: 10px;
            margin-bottom: 10px;
            border-bottom: 1px solid #e0e0e0;
        }
        .modal-title {
            font-size: 1.3em;
            font-weight: bold;
            color: #2c3e50;
        }
        .close {
            color: #aaa;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
        }
        .close:hover {
            color: #333;
        }
        /* 调整模态框内边距 */
        .modal-body {
            padding: 0 !important; /* 移除内边距 */
        }
        .modal-footer {
            text-align: right;
            padding-top: 10px;
            border-top: 1px solid #e0e0e0;
        }
        .modal-footer button {
            padding: 8px 16px;
            background-color: #007BFF;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }
        .modal-footer button:hover {
            background-color: #0056b3;
        }
        
        /* 表格样式 - 电脑端 */
        .result-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 14px;
            margin: 0; /* 移除外边距 */
        }
        
        /* 微调表头定位 */
        .result-table th {
            top: 0; /* 保持置顶 */
            background-color: #007BFF;
            color: white;
            position: sticky;
            z-index: 2; /* 确保在滚动内容之上 */
        }
        
        .result-table td {
            border-bottom: 1px solid #e0e0e0;
            text-align: center; 
        }
        
        .result-table tr:nth-child(even) {
            background-color: #f9f9f9;
        }
        
        .result-table tr:hover {
            background-color: #f0f0f0;
        }
    
      /* 列宽设置 */
      .website-col { width: 10%; font-weight: bold; }
      .product-col { width: 60%; }
      .stock-col { width: 10%;  }
      .price-col { width: 10%;  font-weight: bold; color: #e74c3c; }
      .action-col { width: 10%; }
    
      /* 按钮样式 */
      .buy-btn {
        padding: 6px 12px;
        background-color: #28a745;
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 12px;
        transition: all 0.3s;
        display: inline-block;
        text-decoration: none;
      }
      .buy-btn:hover {
        background-color: #218838;
        transform: translateY(-1px);
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
      }
    
    /* 手机 */
      @media screen and (max-width: 480px) {
        .modal-content {
          margin: 5% auto;
          width: 100%;
        }
        .result-table {
          font-size: 12px;
          overflow-x: auto;
        }
        .website-col { width: 20%; }
        .product-col { width: 40%; }
        .stock-col, .price-col { width: 10%; }
        .action-col { width: 20%; }
        }
        /* 修改表格容器为独立滚动层 */
        .table-container {
            max-height: 75vh;
            overflow-y: auto;
            margin-top: 10px;
            border: 1px solid #e0e0e0;
            border-radius: 6px;
        }
        /* 推荐站点样式 */
        .recommend-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 12px;
            padding: 10px 0;
        }
        
        .site-card {
            background: #ffffff;
            border: 1px solid #eee;
            border-radius: 8px;
            padding: 15px;
            text-decoration: none;
            transition: all 0.3s ease;
            overflow: hidden;
        }
        
        .site-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            border-color: #007BFF;
        }
        
        .site-name {
            color: #2c3e50;
            font-weight: 600;
            font-size: 15px;
            margin-bottom: 5px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .site-url {
            color: #7f8c8d;
            font-size: 13px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .recommend-error, .recommend-empty {
            background: #fff9e6;
            padding: 15px;
            border-radius: 8px;
            text-align: center;
            color: #e67e22;
        }
        
        @media (max-width: 480px) {
            .recommend-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .site-card {
                padding: 12px;
            }
            
            .site-name {
                font-size: 14px;
            }
        }
        /* 添加在原有CSS中 */
        .hot-search {
            text-align: center;
        }
        
        .keyword-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            justify-content: center;
        }
        
        .hot-keyword {
            padding: 6px 12px;
            background-color: #f0f0f0;
            border: 1px solid #ddd;
            border-radius: 15px;
            color: #666;
            font-size: 13px;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .hot-keyword:hover {
            background-color: #007BFF;
            color: white;
            border-color: #007BFF;
            transform: translateY(-1px);
        }