/* ==========================================================================
   万相大师 · 顶栏下拉面板 + 页脚分组 2026-11-30 v2
   作用：1) 四个下拉改成富面板（产品 / 案例 / 平台 / 关于）
         2) 页脚新增分组小标题与教程条
   加载：nav-20261126.css 之后，页面 </head> 前一行
   作用域：只影响 .nav-links 内的 details、.nav-drawer 内条目、footer
   ========================================================================== */

/* ---------------- 面板外壳 ---------------- */
html body .nav-links > details > .nav-submenu{
  position:absolute;
  top:calc(100% + 10px);
  left:50%;
  right:auto;
  transform:translateX(-50%);
  min-width:0;
  max-width:none;
  display:block;
  padding:24px 26px;
  border-radius:18px;
  background:#FFFDF9;
  border:1px solid rgba(34,26,20,.09);
  box-shadow:0 30px 70px -26px rgba(34,26,20,.34), 0 2px 6px rgba(34,26,20,.05);
  z-index:70;
}
html body .nav-links > details > .nav-submenu::before{
  content:"";position:absolute;left:0;right:0;top:-14px;height:14px;
}
html body .nav-links > details[open] > .nav-submenu{
  animation:navPanelIn .18s cubic-bezier(.2,.7,.3,1);
}
@keyframes navPanelIn{
  from{opacity:0;transform:translate(-50%,-8px)}
  to{opacity:1;transform:translate(-50%,0)}
}
@media (prefers-reduced-motion:reduce){
  html body .nav-links > details[open] > .nav-submenu{animation:none}
}

/* 面板宽度 */
html body .nav-links .nav-submenu.ns-prod{width:620px}
html body .nav-links .nav-submenu.ns-case{width:580px}
html body .nav-links .nav-submenu.ns-plat{width:320px}
html body .nav-links .nav-submenu.ns-about{width:280px}

/* 组标题 */
html body .nav-links .nav-submenu h5{
  font-family:inherit;
  font-size:11px;font-weight:700;letter-spacing:.16em;
  color:#8A7C6E;text-transform:uppercase;
  margin:0 0 12px;padding:0;
  display:flex;align-items:center;gap:7px;
}
html body .nav-links .nav-submenu h5::before{
  content:"";width:3px;height:11px;border-radius:2px;background:#BC3C14;opacity:.85;flex:0 0 3px;
}

/* 两列 */
html body .nav-links .nav-submenu .ns-cols{display:flex;gap:22px;align-items:stretch}
html body .nav-links .nav-submenu .ns-col{min-width:0}
html body .nav-links .nav-submenu .ns-col + .ns-col{
  border-left:1px solid rgba(34,26,20,.09);padding-left:22px;
}

/* 普通条目 */
html body .nav-links .nav-submenu a.ns-i{
  display:block;padding:8.5px 10px;border-radius:10px;
  transition:background .15s ease;
}
html body .nav-links .nav-submenu a.ns-i b{
  display:block;font-size:14.5px;font-weight:700;line-height:1.5;color:#221A14;
  transition:color .15s ease;
}
html body .nav-links .nav-submenu a.ns-i > span{
  display:block;font-size:12.5px;line-height:1.55;color:#6E6156;margin-top:1px;
  overflow-wrap:anywhere;
}
html body .nav-links .nav-submenu a.ns-i:hover{background:#F4EDE3}
html body .nav-links .nav-submenu a.ns-i:hover b{color:#BC3C14}

/* 案例胶囊 / 底部条 */
html body .nav-links .nav-submenu .ns-chips{
  display:flex;flex-wrap:wrap;gap:5px;margin-top:8px;padding-top:9px;
  border-top:1px dashed rgba(34,26,20,.12);
}
html body .nav-links .nav-submenu .ns-chips a{
  display:inline-block;padding:3px 8px;border-radius:999px;
  background:#F4EDE3;color:#6E6156;font-size:11px;
}
html body .nav-links .nav-submenu .ns-chips a:hover{background:rgba(200,65,26,.1);color:#BC3C14}
html body .nav-links .nav-submenu .ns-foot{
  margin-top:8px;padding-top:9px;border-top:1px dashed rgba(34,26,20,.12);
}
html body .nav-links .nav-submenu .ns-foot a{
  display:inline-block;padding:0;font-size:12px;font-weight:700;color:#BC3C14;
}
html body .nav-links .nav-submenu .ns-soon{
  margin-top:9px;padding-top:9px;border-top:1px dashed rgba(34,26,20,.12);
  font-size:11.5px;color:#A89A8B;
}

/* ---------------- 产品卡 ---------------- */
html body .nav-links .nav-submenu a.pc-card{
  display:block;width:100%;max-width:246px;padding:0;
  border-radius:14px;overflow:hidden;background:#fff;
  border:1px solid rgba(200,65,26,.14);
  transition:box-shadow .18s ease;
}
html body .nav-links .nav-submenu a.pc-card:hover{box-shadow:0 14px 30px -18px rgba(34,26,20,.4)}
html body .nav-links .nav-submenu .pc-th{
  display:flex;align-items:flex-start;justify-content:space-between;
  height:88px;padding:12px 13px;
  background:radial-gradient(120% 90% at 8% 0%,#F6B48D 0%,#E0642C 46%,#A9330F 100%);
}
html body .nav-links .nav-submenu .pc-badge{
  display:inline-block;background:rgba(255,255,255,.9);color:#8F2B0E;
  font-size:9.5px;font-weight:800;letter-spacing:.08em;
  border-radius:5px;padding:3px 6px;line-height:1;
}
html body .nav-links .nav-submenu .pc-bub{
  font-family:"Songti SC",STSong,SimSun,serif;font-size:13.5px;
  color:rgba(255,255,255,.95);letter-spacing:.04em;align-self:flex-end;
}
html body .nav-links .nav-submenu .pc-body{display:block;padding:13px 14px 16px}
html body .nav-links .nav-submenu .pc-body b{
  display:block;font-size:13.5px;font-weight:700;line-height:1.45;color:#221A14;
}
html body .nav-links .nav-submenu .pc-desc{
  display:block;margin-top:4px;font-size:11.5px;line-height:1.6;color:#6E6156;
}
html body .nav-links .nav-submenu .pc-chips{display:flex;flex-wrap:wrap;gap:4px;margin-top:7px}
html body .nav-links .nav-submenu .pc-chips i{
  font-style:normal;font-size:9.5px;line-height:1.4;color:#6E6156;
  background:#F4EDE3;border-radius:4px;padding:2px 5px;
}
html body .nav-links .nav-submenu .pc-go{
  display:block;margin-top:9px;font-size:11.5px;font-weight:700;color:#BC3C14;line-height:1.4;
}

/* ---------------- 平台能力：单列 5 行 ---------------- */
html body .nav-links .nav-submenu .ns-plat-list{display:flex;flex-direction:column;gap:0}
html body .nav-links .nav-submenu a.ns-p{
  display:flex;align-items:center;gap:10px;padding:7px 8px;border-radius:10px;
  transition:background .15s ease;
}
html body .nav-links .nav-submenu a.ns-p:hover{background:#F4EDE3}
html body .nav-links .nav-submenu .ns-p .ic{
  width:34px;height:34px;border-radius:10px;flex:0 0 34px;
  background:linear-gradient(180deg,#FBF1E6,#F5E6D6);
  display:flex;align-items:center;justify-content:center;
}
html body .nav-links .nav-submenu .ns-p .ic svg{
  width:17px;height:17px;stroke:#B8390F;fill:none;stroke-width:1.7;
  stroke-linecap:round;stroke-linejoin:round;
}
html body .nav-links .nav-submenu .ns-p .tx{min-width:0}
html body .nav-links .nav-submenu .ns-p .tx b{
  display:block;font-size:14px;font-weight:700;line-height:1.4;color:#221A14;
}
html body .nav-links .nav-submenu .ns-p .tx span{
  display:block;font-size:12px;line-height:1.45;color:#6E6156;margin-top:2px;
}

/* 窄屏兜底 */
@media (max-width:1280px){
  html body .nav-links .nav-submenu.ns-prod{width:580px}
  html body .nav-links .nav-submenu.ns-case{width:552px}
  html body .nav-links .nav-submenu a.pc-card{max-width:232px}
}
@media (max-width:1200px){
  html body .nav-links .nav-submenu.ns-prod{width:552px}
  html body .nav-links .nav-submenu.ns-case{width:528px}
}

/* ---------------- 移动抽屉 ---------------- */
html body .nav-drawer .acc-g{
  display:flex;align-items:center;gap:6px;
  font-size:10px;letter-spacing:.16em;font-weight:700;color:#8A7C6E;
  margin:9px 0 3px;
}
html body .nav-drawer .acc-g::before{
  content:"";width:3px;height:9px;border-radius:2px;background:#BC3C14;opacity:.85;
}
/* 抽屉：普通条目改为列表行，只有产品保留卡片 */
html body .nav-drawer .acc-pad a.acc-opt:not(.is-card){
  background:transparent;
  border:0;
  border-bottom:1px solid rgba(34,26,20,.07);
  border-radius:0;
  padding:10px 2px;
  margin:0;
}
html body .nav-drawer .acc-pad a.acc-opt:not(.is-card):last-child{border-bottom:0}
html body .nav-drawer .acc-pad a.acc-opt:not(.is-card) .go{font-size:16px;color:#C6B8A6;font-weight:400}
html body .nav-drawer a.acc-opt.is-card{border-color:rgba(200,65,26,.2)}
html body .nav-drawer a.acc-opt.is-card b{font-size:13px}

/* ---------------- 页脚分组 ---------------- */
html body footer .foot-cta{
  display:flex;align-items:center;gap:14px;margin-top:14px;flex-wrap:wrap;
}
html body footer .foot-cta .btn{padding:9px 16px;font-size:12.5px}
html body footer .foot-sub{
  font-size:10.5px;letter-spacing:.1em;font-weight:700;color:#9A8B7C;
  margin:12px 0 4px;
}
html body footer .foot-sub:first-child{margin-top:0}
html body footer .foot-tut{
  display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;
  margin-top:22px;padding-top:14px;border-top:1px dashed rgba(34,26,20,.12);
  font-size:12.5px;
}
html body footer .foot-tut .lab{
  font-size:11.5px;letter-spacing:.12em;font-weight:700;color:#8A7C6E;
}
html body footer .foot-tut a{color:#6E6156}
html body footer .foot-tut a:hover{color:#BC3C14}
html body footer .foot-tut i{font-style:normal;color:#C6B8A6}
/* 2026-12-04 服务项副标允许换行
   原因：en-20261110.css 的 .nav-links{white-space:nowrap} 会继承到副标，
   而本层只设了 display:block，长副标被裁（英文原文案 349px 就一直被裁到 255px）。 */
html body .nav-links .nav-submenu a.ns-i > span{
  white-space:normal;word-break:break-word;overflow-wrap:anywhere;
}
