 <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
        }

        body {
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            min-height: 100vh;
            padding: 20px;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
        }

        /* 头部样式 */
        .header {
            text-align: center;
          /*  margin-bottom: 40px;
            padding: 20px; */
        }

        .logo {
            font-size: 2.5rem;
            font-weight: 700;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 10px;
        }

        .subtitle {
            color: #666;
            font-size: 1.1rem;
            margin-bottom: 30px;
        }

        /* 说明卡片 */
        .info-card {
            background: white;
            border-radius: 16px;
            padding: 25px;
            margin-bottom: 30px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            border: 1px solid rgba(255,255,255,0.2);
        }

        .info-title {
            font-size: 1.2rem;
            color: #333;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .info-title svg {
            width: 20px;
            height: 20px;
            color: #667eea;
        }

        .info-content {
            color: #666;
            line-height: 1.6;
        }

        .info-list {
            list-style: none;
            margin-top: 15px;
        }

        .info-list li {
            padding: 8px 0;
            border-bottom: 1px solid #f0f0f0;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .info-list li:last-child {
            border-bottom: none;
        }

        .info-list svg {
            color: #10b981;
            flex-shrink: 0;
        }

        /* 搜索区域 */
        .search-area {
            background: white;
            border-radius: 16px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            margin-bottom: 30px;
            border: 1px solid rgba(255,255,255,0.2);
        }

        .search-tabs {
            display: flex;
            gap: 10px;
            margin-bottom: 25px;
            border-bottom: 2px solid #f0f0f0;
            padding-bottom: 15px;
        }

        .search-tab {
            padding: 12px 24px;
            border-radius: 8px;
            background: #f8fafc;
            border: none;
            font-size: 1rem;
            color: #64748b;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
        }

        .search-tab.active {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
        }

        .search-tab:hover:not(.active) {
            background: #e2e8f0;
            color: #475569;
        }

        /* 内容区域 */
        .content-area {
            min-height: 300px;
        }

        /* 图片上传区域 */
        .upload-section {
            text-align: center;
            padding: 40px 20px;
            border: 2px dashed #cbd5e1;
            border-radius: 12px;
            background: #f8fafc;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            display: none;
        }

        .upload-section.active {
            display: block;
            animation: fadeIn 0.3s ease forwards;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .upload-section.dragover {
            border-color: #10b981;
            background: rgba(16, 185, 129, 0.05);
            transform: scale(1.02);
        }

        .upload-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 20px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .upload-icon svg {
            width: 40px;
            height: 40px;
            color: white;
        }

        .upload-text h3 {
            color: #334155;
            margin-bottom: 10px;
            font-size: 1.3rem;
        }

        .upload-text p {
            color: #64748b;
            margin-bottom: 20px;
        }

        .upload-button {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            padding: 12px 32px;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
        }

        .upload-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
        }

        .upload-button:active {
            transform: translateY(0);
        }

        .upload-button svg {
            width: 20px;
            height: 20px;
        }

        /* 隐藏原有的输入框，使用我们自己的按钮 */
        .hidden-input {
            display: none;
        }

        /* 图片预览区域 */
        .uploadthumbpic {
            margin-top: 20px;
            display: none;
        }

        #destination {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100px;
        }

        #destination img {
            max-width: 200px;
            max-height: 200px;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            object-fit: contain;
        }

        /* 文字搜索区域 */
        .text-search-section {
            display: none;
        }

        .text-search-section.active {
            display: block;
            animation: fadeIn 0.3s ease forwards;
        }

        .search-input-group {
            display: flex;
            gap: 15px;
            margin-bottom: 25px;
        }

        .search-input {
            flex: 1;
            padding: 16px 20px;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            font-size: 1rem;
            transition: all 0.3s ease;
            background: white;
        }

        .search-input:focus {
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

        .search-button {
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            color: white;
            border: none;
            padding: 16px 32px;
            border-radius: 12px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            white-space: nowrap;
            box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
        }

        .search-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
        }

        /* 搜索选项 */
        .search-options {
            background: #f8fafc;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 20px;
        }

        .options-title {
            color: #334155;
            font-weight: 600;
            margin-bottom: 15px;
            font-size: 1rem;
        }

        .option-group {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
        }

        .radio-label {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            color: #475569;
            font-weight: 500;
            padding: 10px 16px;
            border-radius: 8px;
            transition: all 0.2s ease;
            background: white;
            border: 1px solid #e2e8f0;
        }

        .radio-label:hover {
            background: #f1f5f9;
            border-color: #cbd5e1;
        }

        .radio-label.selected {
            background: #ebf8ff;
            border-color: #667eea;
            color: #334155;
        }

        .radio-input {
            width: 18px;
            height: 18px;
            accent-color: #667eea;
            cursor: pointer;
        }

        /* 搜索提示 */
        .search-tips {
            background: #f0f9ff;
            border: 1px solid #bae6fd;
            border-radius: 8px;
            padding: 15px;
            margin-top: 20px;
        }

        .search-tips-title {
            color: #0369a1;
            font-weight: 600;
            margin-bottom: 8px;
            font-size: 0.9rem;
        }

        .search-tips-text {
            color: #64748b;
            font-size: 0.9rem;
            line-height: 1.5;
        }

        /* 快速链接 */
        .quick-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
            flex-wrap: wrap;
        }

        .quick-link {
            padding: 10px 20px;
            background: #f1f5f9;
            border-radius: 8px;
            color: #475569;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            border: 1px solid transparent;
        }

        .quick-link:hover {
            background: #e2e8f0;
            color: #334155;
            border-color: #cbd5e1;
            transform: translateY(-1px);
        }

        /* 结果展示区域 */
        #wrapper {
            margin-top: 30px;
        }

        #content {
          /*  display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 20px;
            padding: 20px;
          */ 
        }

        .result-item {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
        }

        .result-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }

        .result-image {
            width: 100%;
            height: 180px;
            object-fit: cover;
            display: block;
            background: #f8fafc;
        }

        .result-title {
            padding: 12px;
            font-size: 0.9rem;
            color: #334155;
            text-align: center;
            font-weight: 500;
        }

        .tpl_box{
            column-count: 6;  
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            .tpl_box{
            column-count: 2;  
        }

            .search-input-group {
                flex-direction: column;
            }
            
            .search-tabs {
                flex-wrap: wrap;
            }
            
            .option-group {
                flex-direction: column;
                gap: 10px;
            }
            
            .quick-links {
                justify-content: center;
            }
            
            .radio-label {
                width: 100%;
                justify-content: center;
            }
            
            #content {
                grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            }
        }

        /* 加载动画 */
        .loading-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.95);
            z-index: 9999;
            justify-content: center;
            align-items: center;
            flex-direction: column;
        }

        .spinner {
            width: 50px;
            height: 50px;
            border: 3px solid #f3f3f3;
            border-top: 3px solid #667eea;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-bottom: 20px;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .loading-text {
            color: #334155;
            font-size: 1.1rem;
            font-weight: 500;
        }
        

        .tpl_box div{
            padding: 5px;
             margin-bottom: 10px;
              break-inside: avoid; 
               }
        .tpl_box img {
                  width: 100%;
            }

            .headerbar {
                margin-bottom: 30px;
            }
            .header_pc {
                height: 38px;
                line-height: 38px;
                font-size: 12px;
                background: #fff;
                box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.2);
                border-bottom: 1px solid #DDDDDD;
                position: fixed;
                top: 0;
                left: 0;
                z-index: 9999;
                width: 100%;
            }
            
            .header_pc  .hd_Body {
                margin: 0 auto;
                width: 1200px;
            }
            .header_pc .hd_Body .left {
                float: left;
            }
            
            #hd_Menu{float: left; height: 38px;}


         
  /* 二维码容器样式 */
  .qrcode-wrapper {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 9999;
    font-family: 'Arial', sans-serif;
  }
  
  /* 二维码浮动面板 */
  .qrcode-panel {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 15px;
    width: 150px;
    text-align: center;
    transition: all 0.3s ease;
    transform: translateY(10px);
    opacity: 0;
    visibility: hidden;
    position: absolute;
    bottom: 70px;
    left: 0;
  }
  
  .qrcode-wrapper:hover .qrcode-panel {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  /* 二维码标题 */
  .qrcode-title {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
  }
  
  /* 二维码图片容器 */
  .qrcode-img-container {
    margin: 0 auto;
    padding: 5px;
    background: white;
    border: 1px solid #eee;
  }
  
  /* 二维码特征浮动按钮 */
  .qrcode-float-btn {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 1px solid #eee;
  }
  
  .qrcode-float-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  }
  
  /* 二维码图标样式 */
  .qrcode-icon {
    width: 36px;
    height: 36px;
    background: #2c3e50;
    position: relative;
  }
  
  /* 创建二维码特征图案 */
  .qrcode-icon::before,
  .qrcode-icon::after {
    content: '';
    position: absolute;
    background: #fff;
  }
  
  /* 三个定位方块 */
  .qrcode-icon::before {
    width: 8px;
    height: 8px;
    border: 2px solid #2c3e50;
    top: 0;
    left: 0;
  }
  
  .qrcode-icon::after {
    width: 4px;
    height: 4px;
    bottom: 4px;
    right: 4px;
    box-shadow: 
      -8px 0 0 #2c3e50,
      0 -8px 0 #2c3e50,
      -8px -8px 0 #2c3e50,
      -4px -12px 0 #2c3e50,
      -12px -4px 0 #2c3e50;
  }
  
  /* 响应式调整 */
  @media (max-width: 768px) {
    .qrcode-wrapper {
      display: none;
    }
  }
  
  .footer {/* background-color:#fff; border-top:1px solid #eee; clear:both */}

.footer .btm {overflow: hidden; padding:1.5% 0;}

.copyright {
    text-align: center;
    font-size: 14px;
    color: #999;
}

    </style>