.main-nav>.container{position:relative} .main-nav #all-toggle{width:238px}.category-popup{position:absolute;top:42px;left:0;width:100%;height:480px;z-index:30;display:grid;grid-template-columns:238px minmax(0,1fr);background:white;border:1px solid #dfbfc5;border-top:0;box-shadow:0 12px 28px #17384e26;border-radius:0 0 5px 5px;font-size:12px;font-weight:normal;text-align:left}.category-popup[hidden]{display:none}.category-rail{background:#fafbfc;border-right:1px solid #e2e7eb;overflow:auto;overscroll-behavior:contain;padding:5px 0}.category-root{display:block;width:100%;min-height:41px;border:0;border-radius:0;border-left:3px solid transparent;text-align:left;background:transparent;padding:10px 10px 10px 13px;font-size:12px;font-weight:bold;line-height:1.65;color:#244254;white-space:normal}.category-root:hover,.category-root[aria-selected=true]{border-left-color:#e60020;background:#fff0f3;color:#cc001c}.category-detail{min-width:0;display:flex;flex-direction:column;overflow:hidden}.category-detail-head{display:flex;align-items:center;gap:14px;padding:10px 15px;border-bottom:1px solid #e6ebef;flex-shrink:0;min-height:51px}.category-detail-head strong{font-size:14px;color:#c6001b;white-space:nowrap}.category-detail-head input{width:220px;max-width:50%;padding:5px 9px;border:1px solid #dbe1e6;border-radius:3px;font-size:12px;font-weight:normal}.category-detail-head .menu-close{margin-left:auto;border:0;font-size:21px;padding:0 5px;line-height:1;color:#657786}.category-scroll{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:4px 16px 12px;scrollbar-width:thin;scrollbar-color:#bdc7cf #f1f4f6}.category-row{display:grid;grid-template-columns:116px minmax(0,1fr);gap:8px;padding:11px 0 7px;border-bottom:1px solid #eef1f3;align-items:start}.category-row:last-child{border-bottom:0}.category-row .group-link{font-size:12px;color:#be0020;font-weight:bold;line-height:23px}.category-items{display:flex;flex-wrap:wrap;align-items:center;row-gap:5px}.category-items a{display:inline-block;font-size:12px;color:#334d60;font-weight:normal;border-left:1px solid #dce2e6;margin:3px 0;padding:0 10px;line-height:17px;white-space:normal}.category-items a:hover,.group-link:hover{text-decoration:underline;color:#e60020}.category-detail-foot{padding:7px 16px;border-top:1px solid #e6ebef;font-size:11px;font-weight:normal;color:#748694;display:flex;justify-content:space-between;background:#fafbfc;flex-shrink:0}.category-detail-foot a{font-size:11px;color:#be0020}.category-empty{padding:35px 10px;text-align:center;color:#6c7e8c}.category-detail-head input:focus{outline:2px solid #b7c9e9}.category-popup mark{background:#fff1ba;color:inherit}
.main-nav #all-toggle{width:210px;flex-shrink:0;height:40px;background:#e60012;color:white;border:0;border-radius:0;font-size:15px;font-weight:bold;cursor:pointer;text-align:center;padding:0 10px}
.main-nav #all-toggle:hover{color:white;background:#cf0010}
.main-nav .category-popup{top:40px;grid-template-columns:238px minmax(0,1fr);line-height:1.5;white-space:normal;box-sizing:border-box}
.category-popup *{box-sizing:border-box}.category-popup button,.category-popup input{font-family:inherit}.category-popup a{text-decoration:none}.category-popup button{cursor:pointer}.category-popup button:focus-visible,.category-popup a:focus-visible{outline:2px solid #93acd3;outline-offset:-2px}.main-nav{position:relative;z-index:100}.category-root{border-bottom:1px solid #edf0f2}.category-popup .menu-close{background:white}.category-popup .category-detail-head strong{margin:0}.category-popup .category-detail-foot a{color:#be0020}
@media(max-width:650px){.main-nav .category-popup{grid-template-columns:130px minmax(0,1fr);width:calc(100vw - 24px)}.category-root{font-size:11px;padding:8px}.category-detail-head{flex-wrap:wrap;gap:5px;padding:8px}.category-detail-head input{width:100%;max-width:none;order:3}.category-row{display:block}.category-scroll{padding:5px 9px}.category-detail-foot span{display:none}}
.main-nav{z-index:10001}.category-popup{font-family:"Microsoft YaHei",Arial,sans-serif}

/* 首页默认只展开一级目录，悬停时展示右侧明细。 */
.main-nav .category-popup:not(.show-detail){width:238px;grid-template-columns:238px;border-right:1px solid #dfbfc5;box-shadow:0 3px 8px #17384e12}
.category-popup:not(.show-detail) .category-detail{display:none}
.main-nav #all-toggle{width:238px}
.category-popup .category-root{min-height:36px;padding-top:7px;padding-bottom:7px}
@media(max-width:650px){.main-nav .category-popup:not(.show-detail){width:238px;grid-template-columns:238px}}

/* 为首页常驻分类预留左侧空间，避免遮挡内容。 */
.ai-home-entry,.banner-section{box-sizing:border-box;width:1190px;margin-left:auto;margin-right:auto;padding-left:250px}
.ai-home-entry>.container,.banner-section>.container{width:100%;box-sizing:border-box;padding-left:0;padding-right:0}
.ai-home-entry{padding-top:16px;padding-bottom:14px}
.ai-home-entry>.container{gap:12px;flex-wrap:wrap}
.ai-home-entry>.container>div:first-child{width:100%}
.ai-home-entry h2{font-size:18px}.ai-home-entry p{font-size:12px}
.ai-home-entry form{flex:1;flex-basis:65%}.ai-home-entry input{padding:9px}.ai-home-entry button{padding:9px 15px}
.ai-home-entry>.ai-home-scenes{margin-top:10px;gap:6px}.ai-home-scenes a{padding:6px;font-size:12px}
.banner-section .banner-center{flex:1;width:auto;min-width:0}.banner-section .banner-right{flex-shrink:0}

/* 保持原 AI 样式，右侧同宽排列，轮播图与分类目录对齐。 */
.ai-home-entry{padding-top:22px;padding-bottom:22px;border-bottom:0}
.ai-home-entry>.container{flex-wrap:nowrap;gap:18px;align-items:center}
.ai-home-entry>.container>div:first-child{width:350px;flex-shrink:0}
.ai-home-entry h2{font-size:21px;margin-bottom:4px}.ai-home-entry p{font-size:13px}
.ai-home-entry form{flex:1;min-width:0;flex-basis:auto}
.ai-home-entry input{padding:12px;font-size:14px}.ai-home-entry button{padding:12px 20px;font-size:14px;white-space:nowrap}
.ai-home-entry>.container>a{white-space:nowrap;font-size:13px}
.ai-home-entry>.ai-home-scenes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:18px}
.ai-home-scenes a{padding:10px 12px;font-size:13px}
.banner-section{padding-top:0;padding-bottom:0}.banner-section .banner-slider,.banner-section .banner-slide{height:300px}
.banner-section .banner-slide img{object-fit:contain;background:#f4f4f4}
.category-popup:not(.show-detail) .category-rail{display:flex;flex-direction:column}
.category-popup:not(.show-detail) .category-root{flex:1;display:flex;align-items:center}

/* 简洁 AI 单行入口 + 通栏 banner */
.ai-home-entry.ai-simple{padding-top:12px;padding-bottom:12px}
.ai-home-entry.ai-simple>.container{padding:14px 16px;gap:18px;border:1px solid #d9e2fa;border-left:3px solid #315ed1;border-radius:4px;background:#fff;min-height:74px;box-sizing:border-box}
.ai-home-entry.ai-simple .ai-simple-title{width:265px;flex-shrink:0}
.ai-home-entry.ai-simple h2{font-size:18px;color:#254caa;margin:0 0 3px;white-space:nowrap}
.ai-home-entry.ai-simple h2 span{font-size:11px;font-weight:normal;color:#188577}
.ai-home-entry.ai-simple p{font-size:12px;color:#687b8b;margin:0;white-space:nowrap}
.ai-home-entry.ai-simple form>div{border:1px solid #b9cbf5;border-radius:4px;height:40px}
.ai-home-entry.ai-simple input{padding:9px 10px;font-size:12px;min-width:0}
.ai-home-entry.ai-simple button{background:#315ed1;color:white;padding:9px 12px;font-size:12px;white-space:nowrap}
.ai-home-entry.ai-simple>.container>a{font-size:11px;color:#315ed1}
.banner-section .banner-slider,.banner-section .banner-slide{height:420px}
.banner-section .banner-slide img{width:100%;height:100%;object-fit:fill}

.category-popup .category-root{display:flex;align-items:center;gap:7px;padding-left:8px;padding-right:8px}.category-floor{flex:0 0 27px;color:#cb001c;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums}.category-root-label{flex:1;min-width:0;text-align:left}
