/* 全局样式重置 - 完全复用原页面 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Microsoft Yahei", Arial, sans-serif;
        }
        
        html, body {
            height: 100%;
            min-height: 100vh;
            background-color: #f5f5f5;
            color: #333;
            line-height: 1.6;
            min-width: 320px;
            display: flex;
            flex-direction: column;
            /* 防止body重排影响导航栏 */
            overflow-x: hidden;
        }
        
        /* 头部样式 - 核心修改：固定高度 + 防止重排 */
        .header {
            background-color: #fff;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            text-align: center;
            /* 改用固定高度 + 最小/最大限制，移除vh单位 */
            height: 170px;
            min-height: 170px;
            max-height: 285px;
            /* 关键：防止布局偏移 */
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 12px 10px;
            margin-bottom: 20px;
            /* 锁定导航栏布局 */
            flex-shrink: 0;
        }
        
        .header-container {
            max-width: 1200px;
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 8px; /* 固定间距，移除vh单位 */
            height: 100%;
            /* 防止容器重排 */
            flex-shrink: 0;
        }
        
        /* 图片Logo样式 */
        .logo {
            width: 100%;
            max-width: 280px;
            height: auto;
            flex: 0 0 auto;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 3px;
        }
        .logo a {
                display: block;
                width: 100%;
                height: 100%;
            }
        .logo-img {
            width: 100%;
            max-width: 260px;
            height: auto;
            max-height: 80px;
            object-fit: contain;
            border-radius: 8px;
        	display: block;
        }
        
        /* 搜索框容器 - 固定尺寸 */
        .search-wrapper {
            width: 100%;
            flex: 0 0 auto;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 3px 0 8px;
            /* 移除min-height: 60px，避免强制拉高容器 */
        }
        
        .search-box {
            flex: 1;
            max-width: 600px;
            min-width: 280px;
            position: relative;
            /* 防止搜索框重排 */
            flex-shrink: 0;
        }
        
        .search-input {
            width: 100%;
            padding: 10px 20px; /* 减少垂直padding，降低整体高度 */
            border: 1px solid #ddd;
            border-radius: 30px;
            font-size: 16px;
            outline: none;
            transition: border-color 0.3s, box-shadow 0.3s;
            height: 50px; /* 用固定height替代min-height，锁定高度 */
            line-height: 24px; /* 固定行高，避免文字撑开高度 */
        }
        
        .search-input:focus {
            border-color: #3498db;
            box-shadow: 0 0 8px rgba(52, 152, 219, 0.3);
        }
        
        .search-btn {
            position: absolute;
            right: 8px;
            top: 50%;
            transform: translateY(-50%);
            background-color: #3498db;
            color: white;
            border: none;
            padding: 0 20px; /* 移除垂直padding，用height控制高度 */
            border-radius: 25px;
            cursor: pointer;
            font-size: 15px;
            white-space: nowrap;
            font-weight: 500;
            height: 42px; /* 固定高度，替代min-height */
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* 主内容区域 - 减小底部间距 */
        .main-container {
            max-width: 1200px;
            margin: 15px auto 8px; /* 底部间距从20px减为8px */
            display: flex;
            gap: 10px;
            padding: 0 10px;
            overflow-x: hidden;
            flex: 1;
            padding-bottom: 10px; /* 底部内边距从20px减为10px */
        }

        /* 左侧导航样式 - 宽度减少10%（180px） */
        .nav-left {
            flex: 0 0 180px;
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            overflow: hidden;
            max-height: calc(71.5vh - 30px);
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }

        /* 右侧子栏目样式 */
        .sub-nav-right {
            flex: 1;
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            padding: 15px;
            max-height: calc(71.5vh - 30px);
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
            overflow-x: hidden;
        }

        /* 导航项样式 - 基础字体 */
        .nav-item {
            padding: 14px 12px;
            border-bottom: 1px solid #eee;
            cursor: pointer;
            transition: background-color 0.3s;
            font-size: 17px; /* 桌面端基础字体 */
            font-weight: 500;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            text-align: center;
        }

        .nav-item:hover, .nav-item.active {
            background-color: #3498db;
            color: white;
        }

        /* 子栏目列表样式 */
        .sub-nav-list {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            padding-right: 5px;
        }

        .sub-nav-item {
            padding: 8px 14px;
            background-color: #f8f9fa;
            border-radius: 20px;
            font-size: 16px; /* 桌面端基础字体 */
            color: #555;
            transition: all 0.3s;
            white-space: nowrap;
            max-width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            cursor: pointer; /* 手型光标 */
            user-select: none; /* 禁止文本选中 */
        }

        /* 新增：a标签继承sub-nav-item样式，去除默认链接样式 */
        .sub-nav-item a {
            color: inherit;
            text-decoration: none;
            display: block;
            width: 100%;
            height: 100%;
        }

        .sub-nav-item:hover {
            background-color: #3498db;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 3px 6px rgba(52, 152, 219, 0.2);
        }

        /* 滚动条样式优化 */
        ::-webkit-scrollbar {
            width: 6px;
            height: 6px;
        }

        ::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 3px;
        }

        ::-webkit-scrollbar-thumb {
            background: #ccc;
            border-radius: 3px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: #3498db;
        }

        /* 平板适配 - 顶部高度减少10%，底部间距减小 */
        @media (max-width: 768px) {
            .header {
                height: 25.65vh; /* 28.5vh × 90%，再减少10% */
                min-height: 144px; /* 160px × 90% */
                max-height: 256.5px; /* 285px × 90% */
                padding: 8px 10px 10px; /* 进一步减少内边距 */
				margin-bottom: 0px;
            }

            .header-container {
                gap: 0.6vh; /* 减小间距 */
            }

            .logo {
                max-width: 250px; /* 缩小Logo容器 */
                margin-bottom: 2px;
            }

            .logo-img {
                max-width: 230px; /* 缩小Logo */
                max-height: 7.5vh; /* 减少高度 */
            }

            .search-wrapper {
                padding: 2px 0 6px;
            }

            .main-container {
                margin: 10px auto 6px; /* 底部间距进一步减小 */
                padding-bottom: 8px;
            }

            .nav-left {
                flex: 0 0 clamp(108px, 22.5vw, 180px);
                max-height: calc(74.35vh - 20px); /* 同步调整高度 */
            }

            .search-input {
                padding: 15px 20px;
                font-size: 15px; /* 搜索框文字缩小1px */
                min-height: 50px;
            }

            .search-btn {
                padding: 12px 20px;
                font-size: 14px; /* 搜索按钮文字缩小1px */
                min-height: 40px;
            }

            /* 平板端字体缩小 */
            .nav-item {
                font-size: 15px; /* 从17px改为15px */
                padding: 15px 14px;
            }

            .sub-nav-item {
                font-size: 14px; /* 从16px改为14px */
                padding: 9px 15px;
            }

            .sub-nav-right {
                padding: 12px;
                max-height: calc(74.35vh - 20px);
                min-width: calc(100vw - clamp(108px, 22.5vw, 180px) - 30px);
            }
        }

        /* 小屏手机适配 - 顶部高度再优化，底部间距最小化 */
        @media (max-width: 480px) {
            .header {
                height: 23vh; /* 比平板端再略减，确保不拥挤 */
                min-height: 130px;
                max-height: 230px;
                padding: 6px 8px 8px;
            }

            .logo {
                max-width: 220px;
            }

            .logo-img {
                max-width: 200px;
                max-height: 6.5vh;
            }

            .search-input {
                min-height: 54px;
                padding: 16px 20px;
                font-size: 14px; /* 搜索框文字缩小为14px */
            }

            .search-btn {
                min-height: 42px;
                padding: 12px 18px;
                font-size: 13px; /* 搜索按钮文字缩小为13px */
            }

            .main-container {
                margin: 10px auto 4px; /* 底部间距最小化 */
                padding-bottom: 6px;
                gap: 8px; /* 减小左右导航间距 */
            }

            .nav-left {
                flex: 0 0 clamp(99px, 19.8vw, 162px);
            }

            /* 小屏手机字体进一步缩小 */
            .nav-item {
                font-size: 14px; /* 从17px改为14px */
                padding: 13px 10px;
                line-height: 1.5;
            }

            .sub-nav-right {
                min-width: calc(100vw - clamp(99px, 19.8vw, 162px) - 25px);
                padding: 10px; /* 减少内边距 */
            }

            .sub-nav-item {
                font-size: 13px; /* 从16px改为13px */
                padding: 8px 13px;
                min-height: 36px;
            }
        }

        /* 超小屏手机 - 极致优化间距 */
        @media (max-width: 320px) {
            .header {
                height: 21vh;
                min-height: 120px;
                max-height: 210px;
            }

            .logo-img {
                max-width: 180px;
                max-height: 6vh;
            }

            .search-input {
                min-height: 50px;
                padding: 14px 18px;
                font-size: 13px; /* 搜索框文字缩小为13px */
            }
            
            .main-container {
                margin: 8px auto 3px;
                padding-bottom: 5px;
            }

            /* 超小屏手机字体继续缩小 */
            .nav-item {
                font-size: 13px; /* 从16px改为13px */
                padding: 12px 8px;
                letter-spacing: 0;
            }
            
            .sub-nav-item {
                font-size: 12px; /* 从15px改为12px */
                padding: 7px 11px;
                gap: 8px;
            }
        }