    :root {
      --primary-color: #3b82f6;
      --primary-light: #eff6ff;
      --primary-dark: #2563eb;
      --text-dark: #1e293b;
      --text-medium: #64748b;
      --text-light: #94a3b8;
      --bg-light: #f8fafc;
      --white: #ffffff;
      --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.05);
      --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
      --shadow-md: 0 6px 10px rgba(0, 0, 0, 0.08);
      --radius: 8px;
      --transition: all 0.3s ease;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background-color: var(--bg-light);
      color: var(--text-dark);
      line-height: 1.5;
    }

    /* 头部样式 */
    header {
      background-color: var(--white);
      padding: 15px 20px;
      box-shadow: var(--shadow-sm);
      position: sticky;
      top: 0;
      z-index: 100;
    }

    .header-container {
      max-width: 1200px;
      margin: 0 auto;
    }

    .nav-top {
      display: flex;
      align-items: center;
      gap: 25px;
      margin-bottom: 15px;
    }

    .logo {
      text-decoration: none;
      color: var(--primary-color);
      font-size: 22px;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .logo i {
      font-size: 24px;
    }

    .nav-top a:not(.logo) {
      text-decoration: none;
      color: var(--text-medium);
      font-weight: 500;
      transition: var(--transition);
      padding: 5px 0;
    }

    .nav-top a:not(.logo):hover {
      color: var(--primary-color);
    }

    .nav-category {
      display: flex;
      gap: 10px;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      white-space: nowrap;
      margin: 0 -20px;
      padding: 10px 20px;
    }

    .nav-category::-webkit-scrollbar {
      display: none;
    }

    .nav-category a {
      display: inline-flex;
      padding: 8px 16px;
      border-radius: 20px;
      background-color: #f1f5f9;
      color: #64748b;
      font-size: 14px;
      text-decoration: none;
      flex-shrink: 0;
      transition: all 0.3s ease;
    }

    .nav-category a.active,
    .nav-category a:hover {
      background-color: var(--primary-color);
      color: white;
    }

    /* 搜索框样式 */
    .search-container {
      margin: 15px 0;
      position: relative;
      max-width: 500px;
    }

    .search-input {
      width: 100%;
      padding: 10px 15px;
      padding-right: 40px;
      border: 1px solid #e2e8f0;
      border-radius: var(--radius);
      font-size: 14px;
      transition: var(--transition);
      background-color: var(--white);
      box-shadow: var(--shadow-sm);
    }

    .search-input:focus {
      outline: none;
      border-color: var(--primary-color);
      box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    }

    .search-icon {
      position: absolute;
      right: 15px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-light);
    }

    /* 主内容区样式 */
    main {
      padding: 25px 20px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .page-title {
      margin-bottom: 20px;
      font-size: 20px;
      color: var(--text-dark);
      transition: var(--transition);
    }

    /* 电脑端工具列表 - 每行4个卡片 */
    .tool-list {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 15px;
    }

    /* 简化版工具卡片 - 图标和标题左右布局 */
    .tool-card {
      background-color: var(--white);
      border-radius: var(--radius);
      padding: 12px;
      box-shadow: var(--shadow);
      transition: var(--transition);
      display: flex;
      flex-direction: column;
      height: 100%;
      min-height: 120px;
    }

    .tool-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-md);
    }

    .tool-header {
      display: flex;
      align-items: center;
      margin-bottom: 8px;
    }

    .tool-icon {
      width: 32px;
      height: 32px;
      background-color: var(--primary-light);
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 10px;
      flex-shrink: 0;
      overflow: hidden;
    }

    .tool-icon img {
      width: 24px;
      height: 24px;
      object-fit: contain;
    }

    .tool-card h3 {
      font-size: 15px;
      color: var(--text-dark);
      font-weight: 600;
      line-height: 1.3;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      flex: 1;
      min-width: 0;
    }

    .tool-card p {
      color: var(--text-medium);
      font-size: 13px;
      margin-bottom: 12px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      width: 100%;
    }

    .btn-group {
      display: flex;
      gap: 8px;
      margin-top: auto;
    }

    .btn {
      text-decoration: none;
      padding: 6px 12px;
      border-radius: 5px;
      font-size: 13px;
      font-weight: 500;
      transition: var(--transition);
      text-align: center;
      flex: 1;
      min-width: 0;
      cursor: pointer;
      border: none;
      outline: none;
    }

    .btn.copy {
      background-color: #f1f5f9;
      color: var(--text-medium);
    }

    .btn.copy:hover {
      background-color: #e2e8f0;
    }

    .btn.copy:active {
      transform: scale(0.98);
      background-color: #d1d8e0;
    }

    .btn.use {
      background-color: var(--primary-color);
      color: var(--white);
    }

    .btn.use:hover {
      background-color: var(--primary-dark);
    }

    /* 平板电脑适配 */
    @media (max-width: 1024px) {
      .tool-list {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      }
    }

    /* 移动端优化 */
    @media (max-width: 768px) {
      .nav-top {
        gap: 15px;
      }

      .logo span {
        display: none;
      }

      .nav-category {
        gap: 8px;
        padding: 8px 15px;
        margin: 0 -15px;
      }
      
      .nav-category a {
        padding: 6px 12px;
        font-size: 13px;
      }

      .tool-list {
        grid-template-columns: 1fr;
        gap: 12px;
      }

      .tool-card {
        padding: 12px;
        flex-direction: row;
        align-items: center;
        min-height: auto;
      }

      .tool-header {
        margin-bottom: 0;
        margin-right: 12px;
        flex: 1;
        min-width: 0;
      }

      .tool-icon {
        width: 36px;
        height: 36px;
        margin-right: 12px;
      }

      .tool-icon img {
        width: 28px;
        height: 28px;
      }

      .tool-card h3 {
        font-size: 15px;
        white-space: normal;
      }

      .tool-card p {
        display: none;
      }

      .btn-group {
        margin-left: auto;
        margin-top: 0;
        flex-shrink: 0;
      }

      .btn {
        padding: 6px 10px;
        font-size: 13px;
        min-width: 70px;
      }
    }

    @media (max-width: 480px) {
      .btn {
        padding: 6px 8px;
        font-size: 12px;
        min-width: 60px;
      }
    }