/* 后置护栏：在技能 / generated CSS 之后加载，压过页脚空洞、竖排品牌、详情窄壳。 */
/* 容器边距：大屏两侧合计约 48–64px，避免 1920 下各侧 ~320px 空白感。 */
.cc3cx7aie,.cc3v0t5xd,.cc2xw4q57{
  width:min(var(--container,1280px),calc(100% - clamp(40px,4vw,64px)));
  margin-inline:auto;
  box-sizing:border-box;
}
@media(max-width:1199px){.cc3cx7aie,.cc3v0t5xd,.cc2xw4q57{width:calc(100% - 48px)}}
@media(max-width:767px){.cc3cx7aie,.cc3v0t5xd,.cc2xw4q57{width:calc(100% - 32px)}}

/* 页脚：禁止技能用 min-height / 过大 padding 撑出空洞 */
footer,
footer[data-block="B02"],
.cc1p6trgd,
.cc1pb8yrf,.cc1pb8zxj,.cc1pb8zji,.cc1pb90pl,.cc1pb90bk{
  min-height:0!important;
  max-height:none;
}
footer,
footer[data-block="B02"],
.cc1p6trgd{
  padding-block:clamp(24px,3vw,40px)!important;
  padding-inline:0!important;
  display:block!important;
  justify-content:initial!important;
  align-content:initial!important;
}
footer .cc3v0t5xd,
footer[data-block="B02"] > .cc3v0t5xd,
.cc1p6trgd > .cc3v0t5xd{
  padding-block:0!important;
  min-height:0!important;
}
.cc2knnuzi{
  display:grid;
  grid-template-columns:1.4fr 1fr;
  gap:28px;
  padding-bottom:20px;
  align-items:start;
}
.cc2knnuzi:has(.cmqp2tw96){grid-template-columns:1.4fr 1fr 1fr}
.cl7eaxeze{
  grid-template-columns:1.2fr 1fr;
  gap:28px;
}
.cl7eaxeze:has(.cmqp2tw96){grid-template-columns:1.2fr 1fr 1fr}
.cc2knnuzi p{
  margin-top:12px;
  max-width:42em;
  line-height:1.65;
  font-size:14px;
}
.cc2rl2kv9{padding-bottom:16px;gap:10px 20px}
.cgam2jwy3{
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:baseline;
}
.cgam2jwy3 a{padding-top:12px}
@media(max-width:767px){
  .cc2knnuzi,.cl7eaxeze,.cc2knnuzi:has(.cmqp2tw96),.cl7eaxeze:has(.cmqp2tw96){
    grid-template-columns:1fr;
    gap:24px;
  }
  .cgam2jwy3{display:block}
}

/* 品牌/导航禁止竖排（技能偶发 writing-mode:vertical-*） */
.cc2rsf1c9,
.cc2f5n6et,
.ccirs9hsr,
header .cc2rsf1c9,
header a.cc2rsf1c9,
.cc3dw6h0r .cc2rsf1c9,
.cc2xw4q57 .cc2rsf1c9,
.cc2xw4q57 .cc2f5n6et{
  writing-mode:horizontal-tb!important;
  text-orientation:mixed!important;
}
.cc2f5n6et{
  display:flex!important;
  flex-direction:column;
  align-items:flex-start;
}

/* 详情 .cc2664tnh：外壳对齐 1480，压过技能窄壳 */
body:has(.cc2664tnh) .cc3o8jzld,
body:has(.cc2664tnh) .cl4eumrp7,
body:has(.cc2664tnh) .cc3cx7aie:has(.cc2664tnh),
body:has(.cc2664tnh) .cc315ph2f:has(.cc2664tnh),
body:has(.cc2664tnh) .cc2664tnh{
  width:min(1480px,calc(100% - 48px))!important;
  max-width:1480px!important;
  margin-inline:auto;
  box-sizing:border-box;
}
body:has(.cc2664tnh) .cc10mldvm,
body:has(.cc2664tnh) .cc10mldvm > *,
body:has(.cc2664tnh) .cc315ph2f,
body:has(.cc2664tnh) .cc1w9hsw1,
body:has(.cc2664tnh) .cc3uxt0kz:has(.cc2664tnh){
  max-width:none!important;
}

/* 页头：避免技能把 header 拉成过高竖条 */
header .cc2xw4q57,
.cc3dw6h0r .cc2xw4q57,
.cc2xw4q57{
  min-height:0;
}
.cc1pb8zji .cc2xw4q57{
  flex-direction:row!important;
  flex-wrap:wrap;
  align-items:center;
  height:auto;
  gap:12px 24px;
  padding-block:12px;
}

:root,.skill-layout{--container:1280px !important}
