:root {
            --theme-color: #4a90e2;
            --category-bg: #f8f9fa;
        }
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            margin: 0;
            background: #f5f5f5;
            color: #333;
            line-height: 1.5;
        }
        a {
            text-decoration: none;
        }
        .container {
            max-width: 600px;
            margin: 0 auto;
            padding: 12px 16px;
        }
        
        /* 标题区域 */
        .header {
            position: relative;
            text-align: center;
            padding: 15px 0;
            border-bottom: 1px solid #eee;
        }
        .app-title {
            font-size: 20px;
            font-weight: 500;
            margin: 0;
            text-align: center;
        }
        .login-status {
            font-size: 14px;
            color: var(--light-text);
            display: block;
            margin: 8px auto 0;
            text-align: center;
        }
        .login-status a {
            color: var(--light-text);
        }

        /* 搜索框 */
        .search-container {
            position: relative;
            margin: 20px 0;
        }
        .search-bar {
            width: 100%;
            height: 40px;
            background: #fff;
            border: 1px solid #e5e5e5;
            border-radius: 8px;
            padding: 0 15px;
            font-size: 15px;
            box-sizing: border-box;
        }
        .search-results {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: white;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            max-height: 300px;
            overflow-y: auto;
            z-index: 10;
            display: none;
        }
        .search-result-item {
            padding: 12px 15px;
            border-bottom: 1px solid #eee;
            cursor: pointer;
        }
        .search-result-item:hover {
            background: #f5f5f5;
        }
        .search-result-item:last-child {
            border-bottom: none;
        }

        /* 分类区块 */
        .category-group {
            background: #fff;
            border-radius: 12px;
            padding: 0 16px;
            margin: 16px 0;
            box-shadow: 0 2px 12px rgba(0,0,0,0.04);
        }
        .category-title {
            font-size: 16px;
            font-weight: 600;
            padding: 14px 0;
            border-bottom: 1px solid #eee;
            margin: 0;
        }

        /* 工具网格 */
        .tool-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 16px;
            padding: 16px 0;
        }
        .tool-card {
            background: var(--category-bg);
            border: 1px solid #eee;
            border-radius: 8px;
            padding: 12px;
            text-align: center;
            transition: all 0.2s;
            cursor: pointer;
            text-decoration: none;
            color: inherit;
            display: block;
        }
        .tool-card:hover {
            background: #f1f1f1;
            transform: translateY(-2px);
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        .tool-icon {
            font-size: 24px;
            color: var(--theme-color);
            margin-bottom: 8px;
        }
        .tool-name {
            font-size: 13px;
            line-height: 1.4;
        }

        /* 底部工具 */
        .bottom-tools {
            display: flex;
            gap: 16px;
            margin-top: 8px;
        }
        .bottom-tool {
            flex: 1;
            background: var(--category-bg);
            border: 1px solid #eee;
            border-radius: 8px;
            padding: 12px;
            text-align: center;
            cursor: pointer;
            text-decoration: none;
            color: inherit;
        }
        .bottom-tool:hover {
            background: #f1f1f1;
            transform: translateY(-2px);
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            transition: all 0.2s;
        }
        /* 页脚 */
        footer {
            background: #fff;
            padding: 25px;
            margin-top: 10px;
            text-align: center;
            color: #666;
            border-top: 1px solid #eee;
        }
        .footer-content {
            max-width: 800px;
            margin: 0 auto;
            line-height: 1.6;
        }
        .footer-content a {
            color: var(--light-text);
        }

        /* 电脑端优化 */
        @media (min-width: 768px) {
            .container {
                max-width: 1024px;
                padding: 20px 40px;
            }
            .tool-grid {
                grid-template-columns: repeat(4, 1fr);
            }
            .category-group {
                margin: 30px 0;
            }
            .app-title {
                font-size: 26px;
            }
            .login-status {
                font-size: 16px;
            }
            .category-title {
                font-size: 18px;
                padding: 18px 0;
            }
            .tool-icon {
                font-size: 28px;
            }
            .tool-name {
                font-size: 14px;
            }
            .search-bar {
                height: 46px;
                font-size: 16px;
            }
            footer {
                padding: 30px;
                margin-top: 30px;
            }
            .footer-content {
                display: flex;
                justify-content: space-between;
                align-items: center;
            }
            .footer-content p {
                margin: 5px 0;
            }
        }

        /* 大屏幕优化 */
        @media (min-width: 1200px) {
            .tool-grid {
                grid-template-columns: repeat(5, 1fr);
            }
            .container {
                max-width: 1200px;
            }
        }