/* 所有工具页面专用样式 - 调整后 */
        .all-tools-container {
            display: flex;
            flex-direction: column;
            gap: 21px; /* 原30px的70% */
            margin-bottom: 28px; /* 原40px的70% */
            font-size: 70%; /* 全局文字大小调整为70% */
            width: 80%;
            margin: auto;
        }

        .tools-header {
            text-align: center;
            margin-bottom: 21px; /* 原30px的70% */
        }

        .tools-stats {
            display: flex;
            justify-content: center;
            gap: 21px; /* 原30px的70% */
            margin: 14px 0; /* 原20px的70% */
            flex-wrap: wrap;
        }

        .stat-card {
            background: linear-gradient(135deg, #6e8efb, #a777e3);
            color: white;
            padding: 14px; /* 原20px的70% */
            border-radius: 7px; /* 原10px的70% */
            text-align: center;
            min-width: 105px; /* 原150px的70% */
            box-shadow: 0 2.8px 10.5px rgba(0, 0, 0, 0.1); /* 原4px和15px的70% */
        }

        .stat-number {
            font-size: 1.75rem; /* 原2.5rem的70% */
            font-weight: 700;
            margin-bottom: 3.5px; /* 原5px的70% */
        }

        .stat-label {
            font-size: 0.63rem; /* 原0.9rem的70% */
            opacity: 0.9;
        }

        .categories-container {
            display: grid;
            grid-template-columns: repeat(2, 1fr); /* 两列布局 */
            gap: 17.5px; /* 原25px的70% */
        }

        .category-section {
            background: white;
            border-radius: 7px; /* 原10px的70% */
            box-shadow: 0 2.8px 10.5px rgba(0, 0, 0, 0.1); /* 原4px和15px的70% */
            overflow: hidden;
        }

        .category-header {
            background: linear-gradient(135deg, #6e8efb, #a777e3);
            color: white;
            padding: 14px; /* 原20px的70% */
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background 0.3s;
        }

        .category-header:hover {
            background: linear-gradient(135deg, #5d7cea, #9666d8);
        }

        .category-title {
            font-size: 0.98rem; /* 原1.4rem的70% */
            font-weight: 600;
            margin: 0;
        }

        .category-count {
            background: rgba(255, 255, 255, 0.2);
            padding: 2.8px 8.4px; /* 原4px和12px的70% */
            border-radius: 14px; /* 原20px的70% */
            font-size: 0.63rem; /* 原0.9rem的70% */
        }

        .category-icon {
            font-size: 0.84rem; /* 原1.2rem的70% */
            transition: transform 0.3s;
        }

        .category-icon.collapsed {
            transform: rotate(-90deg);
        }

        .category-content {
            padding: 0;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out, padding 0.3s ease-out;
        }

        .category-content.expanded {
            padding: 14px; /* 原20px的70% */
            max-height: 1400px; /* 原2000px的70% */
        }

        .tools-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); /* 原300px的70% */
            gap: 14px; /* 原20px的70% */
        }

        .tool-card {
            background: #f8f9fa;
            border-radius: 7px; /* 原10px的70% */
            padding: 14px; /* 原20px的70% */
            transition: all 0.3s;
            border: 1px solid #e9ecef;
            position: relative;
            overflow: hidden;
        }

        .tool-card:hover {
            transform: translateY(-3.5px); /* 原5px的70% */
            box-shadow: 0 5.6px 17.5px rgba(0, 0, 0, 0.15); /* 原8px和25px的70% */
            border-color: #6e8efb;
        }

        .tool-card-header {
            display: flex;
            align-items: center;
            gap: 10.5px; /* 原15px的70% */
            margin-bottom: 10.5px; /* 原15px的70% */
        }

        .tool-icon {
            width: 35px; /* 原50px的70% */
            height: 35px; /* 原50px的70% */
            background: linear-gradient(135deg, #6e8efb, #a777e3);
            border-radius: 7px; /* 原10px的70% */
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.05rem; /* 原1.5rem的70% */
            font-weight: bold;
        }

        .tool-info {
            flex: 1;
        }

        .tool-name {
            font-size: 0.84rem; /* 原1.2rem的70% */
            font-weight: 600;
            color: #2c3e50;
            margin: 0 0 3.5px 0; /* 原5px的70% */
        }

        .tool-category {
            font-size: 0.595rem; /* 原0.85rem的70% */
            color: #7f8c8d;
            background: #e8f4fc;
            padding: 2.1px 5.6px; /* 原3px和8px的70% */
            border-radius: 2.8px; /* 原4px的70% */
            display: inline-block;
        }

        .tool-description {
            color: #5a6c7d;
            line-height: 1.6;
            margin-bottom: 10.5px; /* 原15px的70% */
            font-size: 0.665rem; /* 原0.95rem的70% */
        }

        .tool-features {
            margin-bottom: 10.5px; /* 原15px的70% */
        }

        .tool-features ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .tool-features li {
            padding: 2.1px 0; /* 原3px的70% */
            color: #6c757d;
            font-size: 0.63rem; /* 原0.9rem的70% */
            position: relative;
            padding-left: 10.5px; /* 原15px的70% */
        }

        .tool-features li::before {
            content: "✓";
            position: absolute;
            left: 0;
            color: #27ae60;
            font-weight: bold;
        }

        .tool-actions {
            display: flex;
            gap: 7px; /* 原10px的70% */
            margin-top: 10.5px; /* 原15px的70% */
        }

        .tool-link {
            flex: 1;
            padding: 7px; /* 原10px的70% */
            background: linear-gradient(135deg, #6e8efb, #a777e3);
            color: white;
            text-decoration: none;
            border-radius: 3.5px; /* 原5px的70% */
            text-align: center;
            font-weight: 500;
            transition: all 0.3s;
        }

        .tool-link:hover {
            transform: translateY(-1.4px); /* 原2px的70% */
            box-shadow: 0 2.8px 10.5px rgba(110, 142, 251, 0.3); /* 原4px和15px的70% */
        }

        .search-container {
            background: white;
            border-radius: 7px; /* 原10px的70% */
            box-shadow: 0 2.8px 10.5px rgba(0, 0, 0, 0.1); /* 原4px和15px的70% */
            padding: 14px; /* 原20px的70% */
            width: 80%;
            margin: auto;
            margin-bottom: 1.5rem; /* 原30px的70% */
        }

        .search-box {
            display: flex;
            gap: 7px; /* 原10px的70% */
        }

        .search-input {
            flex: 1;
            padding: 8.4px 14px; /* 原12px和20px的70% */
            border: 1.4px solid #e9ecef; /* 原2px的70% */
            border-radius: 17.5px; /* 原25px的70% */
            font-size: 0.7rem; /* 原1rem的70% */
            outline: none;
            transition: border-color 0.3s;
        }

        .search-input:focus {
            border-color: #6e8efb;
        }

        .search-button {
            padding: 8.4px 17.5px; /* 原12px和25px的70% */
            background: linear-gradient(135deg, #6e8efb, #a777e3);
            color: white;
            border: none;
            border-radius: 17.5px; /* 原25px的70% */
            cursor: pointer;
            font-weight: 500;
            transition: all 0.3s;
        }

        .search-button:hover {
            transform: translateY(-1.4px); /* 原2px的70% */
            box-shadow: 0 2.8px 10.5px rgba(110, 142, 251, 0.3); /* 原4px和15px的70% */
        }

        .no-results {
            text-align: center;
            padding: 28px; /* 原40px的70% */
            color: #7f8c8d;
            font-style: italic;
        }

        .tool-badge {
            position: absolute;
            top: 7px; /* 原10px的70% */
            right: 7px; /* 原10px的70% */
            padding: 2.8px 5.6px; /* 原4px和8px的70% */
            border-radius: 2.8px; /* 原4px的70% */
            font-size: 0.525rem; /* 原0.75rem的70% */
            font-weight: 500;
        }

        .badge-new {
            background: #ff6b6b;
            color: white;
        }

        .badge-popular {
            background: #feca57;
            color: #2c3e50;
        }

        .badge-pro {
            background: #48dbfb;
            color: white;
        }

        /* 响应式设计 */
        @media (max-width: 1024px) {
            .tools-grid {
                grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); /* 原250px的70% */
            }
        }

        @media (max-width: 768px) {
            .categories-container {
                grid-template-columns: 1fr; /* 小屏幕下恢复单列 */
            }
            
            .tools-stats {
                gap: 10.5px; /* 原15px的70% */
            }
            
            .stat-card {
                min-width: 84px; /* 原120px的70% */
                padding: 10.5px; /* 原15px的70% */
            }
            
            .stat-number {
                font-size: 1.4rem; /* 原2rem的70% */
            }
            
            .tools-grid {
                grid-template-columns: 1fr;
            }
            
            .search-box {
                flex-direction: column;
            }
            
            .tool-card-header {
                flex-direction: column;
                text-align: center;
            }
            
            .tool-actions {
                flex-direction: column;
            }
        }

        @media (max-width: 480px) {
            .tools-stats {
                flex-direction: column;
                align-items: center;
            }
            
            .stat-card {
                width: 100%;
                max-width: 175px; /* 原250px的70% */
            }
            
            .category-header {
                padding: 10.5px; /* 原15px的70% */
            }
            
            .category-title {
                font-size: 0.84rem; /* 原1.2rem的70% */
            }
        }

        /* 动画效果 */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(14px); /* 原20px的70% */
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .tool-card {
            animation: fadeIn 0.6s ease-out;
        }

        .tool-card:nth-child(even) {
            animation-delay: 0.1s;
        }

        .tool-card:nth-child(odd) {
            animation-delay: 0.2s;
        }