/* 三项企业数据与认证共用一张悬浮卡片；数值仍来自原 Stats 区块。 */
.yumin-home-stats--factory { position: relative; z-index: 2; margin-top: -78px; padding-bottom: 0; background: linear-gradient(to bottom, transparent 78px, #00928e 78px); container: yumin-home-stats / inline-size; font-family: YuminHomeHero, Inter, Arial, sans-serif; }
.yumin-home-stats--factory .yumin-home-stats__layout { box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 3fr) minmax(230px, .92fr); width: min(1200px, calc(100% - 64px)); margin-inline: auto; gap: 0; overflow: hidden; background: #fff; border: 1px solid rgba(220,233,232,.8); border-radius: 24px; box-shadow: 0 20px 48px rgba(10,62,66,.13); }
.yumin-home-stats--factory .yumin-home-stats__card { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); min-width: 0; padding: 0; background: #fff; }
.yumin-home-stats--factory .yumin-home-stats__item { position: relative; min-width: 0; padding: 38px 34px; }
.yumin-home-stats--factory .yumin-home-stats__item + .yumin-home-stats__item::before { position: absolute; top: 34px; bottom: 34px; left: 0; width: 1px; content: ""; background: #dce9e8; }
.yumin-home-stats--factory .yumin-home-stats__item strong { display: block; color: #009b98; font-size: clamp(32px, 2.9cqi, 40.8px); font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.yumin-home-stats--factory .yumin-home-stats__plus { font-size: .62em; vertical-align: super; margin-left: 1px; }
.yumin-home-stats--factory .yumin-home-stats__item > span { display: block; margin-top: 12px; color: #638084; font-size: 13.6px; font-weight: 600; line-height: 1.7; }
.yumin-home-stats--factory .yumin-home-stats__badge { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 12px; min-width: 0; padding: 32px 30px; overflow: hidden; color: #fff; background: #009b98; }
.yumin-home-stats--factory .yumin-home-stats__badge::after { position: absolute; right: -40px; bottom: -50px; width: 150px; height: 150px; box-sizing: content-box; border: 26px solid rgba(255,255,255,.09); border-radius: 50%; content: ""; pointer-events: none; }
.yumin-home-stats--factory .yumin-home-stats__badge strong { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; line-height: 1.25; }
.yumin-home-stats--factory .yumin-home-stats__shield { width: 26px; height: 26px; flex: 0 0 auto; opacity: .95; }
.yumin-home-stats--factory .yumin-home-stats__badge-code { border: 1.5px solid rgba(255,255,255,.55); padding: 3px 8px; border-radius: 6px; font-size: 16.8px; font-weight: 700; letter-spacing: .06em; }
.yumin-home-stats--factory .yumin-home-stats__badge-name { font-size: 21.12px; font-weight: 700; letter-spacing: -.02em; }
.yumin-home-stats--factory .yumin-home-stats__badge > span { position: relative; z-index: 1; color: rgba(255,255,255,.82); font-size: 13.6px; font-weight: 600; line-height: 1.7; }
/* 自定义统计数目自动换行，不隐藏后台新增的项目。 */
.yumin-home-stats--factory .yumin-home-stats__card:has(.yumin-home-stats__item:nth-child(4)) { grid-auto-rows: auto; }
@container yumin-home-stats (max-width: 1024px) {
  .yumin-home-stats--factory .yumin-home-stats__layout { grid-template-columns: 1fr; }
  .yumin-home-stats--factory .yumin-home-stats__badge { flex-direction: row; align-items: center; justify-content: space-between; padding: 22px 26px; }
}
@container yumin-home-stats (max-width: 760px) {
  .yumin-home-stats--factory .yumin-home-stats__layout { width: calc(100% - 40px); border-radius: 16px; }
  .yumin-home-stats--factory .yumin-home-stats__card { grid-template-columns: 1fr; }
  .yumin-home-stats--factory .yumin-home-stats__item { padding: 24px 24px 22px; }
  .yumin-home-stats--factory .yumin-home-stats__item + .yumin-home-stats__item::before { top: 0; bottom: auto; right: 24px; left: 24px; width: auto; height: 1px; }
  .yumin-home-stats--factory .yumin-home-stats__item strong { font-size: 28px; }
  .yumin-home-stats--factory .yumin-home-stats__item > span { margin-top: 8px; }
  .yumin-home-stats--factory .yumin-home-stats__badge { padding: 24px; }
}
@media (max-width: 760px) { .yumin-home-stats--factory { margin-top: -56px; padding-bottom: 0; background: linear-gradient(to bottom, transparent 56px, #00928e 56px); } }

/* 动态数字保持等宽，递增时标签和列宽不会抖动。 */
.yumin-home-stats__item strong { font-variant-numeric: tabular-nums; }

/* 四等分统计轨道与更紧凑的设计内边距。移动端保留原本纵向布局。 */
@media(min-width:1025px) {
  .yumin-home-stats--factory { margin-top:-72px; background:linear-gradient(to bottom,transparent 72px,#00928e 72px); }
  .yumin-home-stats--factory .yumin-home-stats__layout { width:min(1184px,calc(100% - 56px)); grid-template-columns:3fr 1fr; border-radius:20px; }
  .yumin-home-stats--factory .yumin-home-stats__item { padding:30px 28px; }
  .yumin-home-stats--factory .yumin-home-stats__item strong { font-size:44px; line-height:1.05; }
  .yumin-home-stats--factory .yumin-home-stats__item > span { margin-top:6px; font-size:13.5px; }
  .yumin-home-stats--factory .yumin-home-stats__badge { padding:30px 28px; gap:6px; }
  .yumin-home-stats--factory .yumin-home-stats__badge strong { gap:8px; }
  .yumin-home-stats--factory .yumin-home-stats__badge-code { border:0; padding:0; font-size:24px; letter-spacing:0; }
  .yumin-home-stats--factory .yumin-home-stats__badge-name { font-size:24px; }
  .yumin-home-stats--factory .yumin-home-stats__shield { width:22px; height:22px; }
}
