/* ============================================================
   英文版排版覆盖（仅 en 页面加载，最后加载，优先级高于设计稿）
   背景：中文版靠 <br> 手动分行 + white-space:nowrap 控制断行；
   英文句子更长，直接套用会溢出容器被裁切。
   ============================================================ */

/* 首屏长句：放开换行，收紧字号与行宽 */
#opening .chapter-description{
  white-space:normal!important;
  max-width:22em!important;
  font-size:clamp(17px,1.32vw,21px)!important;
  line-height:1.52!important;
  letter-spacing:-.01em!important;
  text-wrap:pretty;
}
#opening .hero-provenance{
  white-space:normal!important;
  max-width:24em;
  letter-spacing:0;
}

/* 章节标题、专栏标题：英文长标题允许换行 */
#xiangqi-contact h2,
#xiangqi-immersive-proof h2,
#xiangqi-series-gallery .sg-series-name,
#xiangqi-material-showcase h2,
h2.chapter-title{
  white-space:normal!important;
  text-wrap:balance;
}

/* 英文正文统一允许换行，避免中文式 nowrap 造成溢出 */
.chapter-description,
.chapter-title + p,
.hero-provenance{
  text-wrap:pretty;
}

/* 品牌字标旁的英文名 */
.wordmark-en{
  align-self:center;
  margin-left:-4px;
  margin-right:6px;
  font-size:10px;
  letter-spacing:.22em;
  text-transform:uppercase;
  opacity:.55;
  white-space:nowrap;
  font-family:"Times New Roman",Georgia,serif;
}
@media(max-width:1024px){
  .wordmark-en{display:none}
}

/* 法务落款英文行更长，放宽行宽 */
#xiangqi-contact .cp-legal p{max-width:64ch}
.pd-legal p{max-width:64ch}

/* 联系区地址：英文按 街道 / 区域 两行排，街道加粗在前 */
#xiangqi-contact address br{display:block!important}
#xiangqi-contact address strong{margin-left:0!important;display:block;margin-top:2px}

@media(max-width:760px){
  #opening .chapter-description{font-size:16px!important;max-width:19em!important;line-height:1.55!important}
}

/* 统计数字下方标签：英文更长，允许两行 */
#xiangqi-immersive-proof .hp-facts dt{white-space:normal!important;line-height:1.5}

/* 400,000+ 的加号要紧贴数字 */
.hp-u-plus{margin-left:0!important}

/* 不断行片段 */
.nw{white-space:nowrap}

/* 品牌根基标题：英文长句，缩字号 + balance，避免在 spring-unit 处断行 */
#heritage-title{
  font-size:clamp(24px,2.5vw,36px)!important;
  line-height:1.32!important;
  letter-spacing:-.01em!important;
  text-wrap:balance;
  white-space:normal!important;
}

/* 统计数据：英文数字 "400,000+" 比 "40万+" 宽得多，重分列宽并略缩字号 */
#xiangqi-immersive-proof .hp-facts{grid-template-columns:.66fr 1.18fr 1.16fr!important}
#xiangqi-immersive-proof .hp-facts dd{font-size:clamp(24px,2.2vw,34px)!important}

/* 材料标签栏：中文两字标签的宽度，英文需缩字号 */
#xiangqi-materials .ml-topic-name{font-size:14px!important;letter-spacing:0}
#xiangqi-materials .ml-topic-hint{font-size:10.5px!important}
@media(max-width:1400px){
  #xiangqi-materials .ml-topic-name{font-size:13px!important}
  #xiangqi-materials .ml-topic-hint{font-size:10px!important}
}
@media(max-width:1000px){
  #xiangqi-materials .ml-topic-name{font-size:12.5px!important}
  #xiangqi-materials .ml-topic-hint{font-size:9.5px!important}
}

/* 材料区大标题：中文四字标题的 nowrap 会撑破英文长句 */
#xiangqi-materials .ml-intro h2{
  white-space:normal!important;
  font-size:clamp(32px,3.4vw,48px)!important;
  line-height:1.2!important;
  text-wrap:balance;
}
#xiangqi-materials .ml-mobile-break{display:block!important}

/* ---------- 产品页 ---------- */

/* 睡感标签：原设计 nowrap，"Medium Soft / Extra Soft" 会被单元格裁切 */
.pd-feels span{
  white-space:normal!important;
  font-size:11.5px!important;
  line-height:1.2!important;
  text-align:center;
  text-wrap:balance;
}
.pd-feels a{min-height:68px}

/* 材料标签：三列均分，英文比中文长，略缩字号 */
.pd-materials a{font-size:12.5px!important;padding-inline:6px!important}

/* 产品图上的示意图标注是叠加文字，英文换行处理 */
.pd-diagram-label strong{font-size:clamp(13px,1.5vw,17px)}

