/* ============================================================
   适老智家 · 智能系统（system.html）—— 总览页（模块简介）
   五个模块的入口：智能灯光 / 智能安防 / 智能厨房 / 智能家电 / 智能清洁。
   各模块的详细内容搬到了 lights / security / kitchen / appliances / cleaning 五页，
   其中新做的四页共用 css/sys-detail.css。
   颜色、按钮、卡片一律沿用 styles.css，这里只放这一页自己的东西。
   ============================================================ */

/* ---------- 页头下方的一行提示（已停用，规则保留） ----------
   2026-10-14 精简版：system.html 去掉「先说清楚」蓝框与「七个模块」标题，
   卡片直接跟在页头下面。要恢复时把 HTML 里那段 .sy-leadline 贴回即可。 */
.sy-leadline {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 0 0 52px;
  padding: 22px 24px;
  background: var(--brand-soft);
  border: var(--bw) solid var(--line);
  border-radius: var(--r-sm);
}
.sy-leadline svg {
  width: min(2rem, 40px);
  height: min(2rem, 40px);
  flex: none;
  color: var(--brand-strong);
}
.sy-leadline p {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.65;
  color: var(--ink-2);
}
.sy-leadline b { color: var(--ink); font-weight: 750; }

/* ---------- 页头下方的视频介绍位 ----------
   16:9 封面 + 正中一个播放圆钮。成片路径写在 figure 的 data-src 上，
   由 system.html 尾部那段内联脚本按需加载（点一下才拉，省首屏流量）。
   ⚠️ 封面容器必须保持 16:9 —— 混元生图自带右下角「AI 生成」角标，
      改成 16:10 / 4:3 会把角标裁掉（实测 16:10 裁掉「成」字）。 */
.sy-video {
  margin: 30px auto 0;
  max-width: 880px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--card);
  border: var(--bw) solid var(--img-line);
  box-shadow: var(--shadow-lift);
}
.sy-video-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--night);
}
.sy-video-poster,
.sy-video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.sy-video-poster { object-fit: cover; }
.sy-video-el { z-index: 2; object-fit: contain; background: #000; }

/* 「视频介绍」小标签：压在封面左上角，深色半透明 + 白字。
   这里不封顶：绝对定位在封面内，长辈模式跟着放大只会更清楚，撑不破版。 */
.sy-video-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  padding: .28em .72em .32em;
  border-radius: 999px;
  background: rgba(11, 18, 32, .62);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.2;
}
/* 播放圆钮：96px 封顶（长辈模式根字号 27px，不封顶会顶到 145px）；
   再压一道 21vw —— 手机上封面只有 356×200，96px 会占掉一半高度。 */
.sy-video-play {
  position: absolute;
  inset: 0;
  z-index: 3;
  margin: auto;
  display: grid;
  place-items: center;
  width: min(5.4rem, 96px, 21vw);
  height: min(5.4rem, 96px, 21vw);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: var(--brand);
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(16, 32, 60, .30);
  transition: transform .18s ease, background .18s ease;
}
.sy-video-play svg {
  width: min(2.2rem, 40px);
  height: min(2.2rem, 40px);
  fill: currentColor;
  /* 三角形的视觉重心偏左，右挪一点才像正中 */
  margin-left: 4px;
}
.sy-video-play:hover { transform: scale(1.06); background: #fff; }
.sy-video-play:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }

/* 加载中 / 成片还没到位 */
.sy-video.is-loading .sy-video-play { cursor: progress; opacity: .68; }
.sy-video.is-playing .sy-video-play,
.sy-video.is-playing .sy-video-badge { display: none; }

.sy-video-cap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .3rem .8rem;
  padding: 12px 18px 14px;
  text-align: center;
  font-size: .96rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink-2);
}
.sy-video-cap-note {
  padding: .12em .62em .18em;
  border: var(--bw) solid var(--line);
  border-radius: 999px;
  background: var(--bg-2);
  font-size: .86rem;
}

/* ============================================================
   01 七个模块总览
   9 张卡：1 列 → 2 列（660）→ 3 列（1000）。
   9 = 3×3，3 列下正好排满；2 列下是 4 行 + 1 张，末行差一格
   ⇒ 最后一张（09 智能健康）带 .sy-mod--wide 跨 2 列把末行补满。
   ⚠️ 这条跨列只在 2 列区间生效（见下方 .sy-mod--wide 的媒体查询），
      3 列下 9 张正好排满，跨列反而会多出一行空壳。
   （1 列/长辈模式下不跨列，回到普通竖排。）
   （自己起容器：styles.css 里 .cards 的「最后一张跨列」规则
     是给首页 18 张卡准备的，套上来会误伤这里的排版）
   ============================================================ */
.sy-mods {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.sy-mod {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 26px;
  background: #fff;
  border: var(--bw) solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  /* a 标签默认是蓝色 + 下划线；这里复位 + 整张卡继承父色 */
  color: inherit;
  text-decoration: none;
  transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
}
/* 整张卡 hover 反馈 —— 抬一抬、描边变蓝、阴影加深，告诉用户「这整张都能点」 */
.sy-mod:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  box-shadow: 0 6px 22px rgba(14,23,41,.08), 0 2px 6px rgba(14,23,41,.04);
}
.sy-mod:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}
.sy-mod-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.sy-ico {
  border: var(--bw) solid var(--line);
  width: min(3.4rem, 70px);
  height: min(3.4rem, 70px);
  flex: none;
  border-radius: var(--r-sm);
  background: var(--tone-a);
  color: var(--tone-a-ink);
  display: grid;
  place-items: center;
}
.sy-ico svg { width: min(2rem, 42px); height: min(2rem, 42px); }
.sy-mod[data-tone="b"] .sy-ico { background: var(--tone-b); color: var(--tone-b-ink); }
.sy-mod[data-tone="c"] .sy-ico { background: var(--tone-c); color: var(--tone-c-ink); }
.sy-mod[data-tone="d"] .sy-ico { background: var(--tone-d); color: var(--tone-d-ink); }
.sy-mod[data-tone="e"] .sy-ico { background: var(--tone-e); color: var(--tone-e-ink); }
.sy-no {
  margin-left: auto;
  font-size: min(1.9rem, 40px);
  font-weight: 750;
  line-height: 1;
  color: var(--line);
}
.sy-mod h3 {
  margin: 0 0 10px;
  font-size: 1.34rem;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: .02em;
}
.sy-mod > p {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.65;
  color: var(--ink-2);
}
/* 模块卡里的「包含哪些」小清单 */
.sy-tags {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sy-tags li {
  padding: .3rem .72rem;
  border-radius: 999px;
  background: #EDF1F7;
  border: var(--bw) solid var(--line);
  font-size: .88rem;
  font-weight: 700;
  color: var(--ink-2);
}
/* 模块卡底部的「跳到哪一页」—— 现在是 span，纯视觉指示，整张卡已是 <a> */
.sy-jump {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: auto;
  font-size: .96rem;
  font-weight: 750;
  color: var(--brand-strong);
  border-bottom: 2px solid transparent;
  transition: border-color .18s var(--ease);
}
.sy-jump svg { width: min(1rem, 20px); height: min(1rem, 20px); flex: none; transition: transform .22s var(--ease); }

.sy-mod:hover .sy-jump { border-bottom-color: var(--brand-strong); }
.sy-mod:hover .sy-jump svg { transform: translateX(3px); }

/* 补末行用：给奇数张卡里的最后一张加 class="sy-mod--wide"
   （9 张时是 09 智能健康 —— 2 列下是 4 行 + 1 张，末行差一格）。
   满行摆开，图标在左、文字在右，跨 2 列把末行补齐，不留半格。
   ⚠️ 只作用在 2 列区间（660~999）：9 张在 3 列下正好 3×3，跨列反而会把
      末行挤到第 4 行、多出一行空壳。张数若再变，先数一遍再动这里。
   1 列和长辈模式下不跨列（覆盖规则在文件末尾）。 */
@media (min-width: 660px) and (max-width: 999px) {
  .sy-mods .sy-mod--wide {
    grid-column: span 2;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: repeat(4, auto);
    column-gap: 26px;
    align-content: center;
    padding: 28px 30px;
  }
  .sy-mods .sy-mod--wide .sy-mod-top {
    grid-column: 1;
    grid-row: 1 / 5;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 0;
  }
  .sy-mods .sy-mod--wide .sy-no { margin-left: 0; }
  .sy-mods .sy-mod--wide h3 { grid-column: 2; grid-row: 1; margin-bottom: 8px; }
  .sy-mods .sy-mod--wide > p { grid-column: 2; grid-row: 2; margin-bottom: 14px; max-width: 56ch; }
  .sy-mods .sy-mod--wide .sy-tags { grid-column: 2; grid-row: 3; margin-bottom: 12px; }
  .sy-mods .sy-mod--wide .sy-jump { grid-column: 2; grid-row: 4; margin-top: 0; justify-self: start; }
}

/* ============================================================
   02 一个底座：全屋挂在一个系统里
   ============================================================ */
.sy-base-sec {
  background: linear-gradient(180deg, rgba(29, 78, 216, .07) 0%, rgba(29, 78, 216, 0) 100%);
}
.sy-base {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  counter-reset: sb;
}
.sy-base li {
  position: relative;
  padding: 22px 22px 22px 62px;
  background: #fff;
  border: var(--bw) solid var(--line);
  border-radius: var(--r-sm);
  counter-increment: sb;
}
.sy-base li::before {
  content: counter(sb);
  position: absolute;
  left: 20px;
  top: 20px;
  width: min(1.85rem, 38px);
  height: min(1.85rem, 38px);
  display: grid;
  place-items: center;
  border-radius: 2px;
  background: var(--brand);
  color: #fff;
  font-size: .92rem;
  font-weight: 750;
}
.sy-base h3 {
  margin: 0 0 4px;
  font-size: 1.12rem;
  font-weight: 750;
  letter-spacing: .02em;
}
.sy-base p {
  margin: 0;
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink-2);
}

/* ============================================================
   03 各模块的小节头：编号 + 标题 + 一句说明
   ============================================================ */
.sy-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin: 0 0 30px;
}
.sy-head-ico {
  border: var(--bw) solid var(--brand-line);
  width: min(3.2rem, 66px);
  height: min(3.2rem, 66px);
  flex: none;
  border-radius: var(--r-sm);
  background: var(--brand-soft);
  color: var(--brand-strong);
  display: grid;
  place-items: center;
}
.sy-head-ico svg { width: min(1.9rem, 40px); height: min(1.9rem, 40px); }
.sy-head-txt { min-width: 0; }
.sy-head-no {
  font-family: var(--mono);
  display: inline-block;
  margin-bottom: 6px;
  padding: .16rem .62rem;
  border-radius: 999px;
  background: var(--brand-strong);
  color: #fff;
  font-size: .8rem;
  font-weight: 750;
  letter-spacing: .1em;
}
.sy-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: .02em;
}
.sy-head p {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 42em;
}

/* 6 张卡的自定义容器（2 列 / 3 列都排得满） */
.sy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

/* 3 张卡一组的容器（1 列 → 3 列），用于厨房三件套这种「就三样」的地方 */
.sy-trio {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.sy-trio-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  background: #fff;
  border: var(--bw) solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
.sy-trio-card .sy-ico { margin-bottom: 16px; }
.sy-trio-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 750;
  line-height: 1.3;
}
.sy-trio-card p {
  margin: 0;
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.65;
  color: var(--ink-2);
}

/* ============================================================
   04 智能门锁：一张卡装下一串能力
   ============================================================ */
.sy-lock {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.sy-lock-card {
  padding: 28px 26px;
  background: #fff;
  border: var(--bw) solid var(--line);
  border-top: 8px solid var(--brand);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow);
}
.sy-lock-card h3 {
  margin: 0 0 16px;
  font-size: 1.3rem;
  font-weight: 750;
  letter-spacing: .02em;
}
.sy-ways {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sy-ways li {
  position: relative;
  padding: 8px 0 8px 1.7rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink-2);
  border-bottom: var(--bw) dashed var(--line);
}
.sy-ways li:last-child { border-bottom: 0; }
.sy-ways li::before {
  content: "";
  position: absolute;
  left: .22rem;
  top: 1.15em;
  width: .5rem;
  height: .5rem;
  border-radius: 2px;
  background: var(--brand);
}
.sy-ways b { color: var(--ink); font-weight: 750; }
.sy-ways .sy-hot {
  font-family: var(--mono);
  display: inline-block;
  margin-left: .4rem;
  padding: .06rem .46rem;
  border-radius: 999px;
  background: var(--brand-strong);
  color: #fff;
  font-size: .74rem;
  font-weight: 750;
  letter-spacing: .06em;
  vertical-align: middle;
}

/* ============================================================
   05 场景：深色卡，做出「一天里的三个时刻」的氛围
   ============================================================ */
.sy-scenes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.sy-scene {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  border-radius: var(--r);
  background: linear-gradient(160deg, var(--night) 0%, var(--night-2) 100%);
  color: #F1F5FA;
  overflow: hidden;
}
.sy-scene::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, .30) 0%, rgba(56, 189, 248, 0) 70%);
  pointer-events: none;
}
.sy-scene-tag {
  font-family: var(--mono);
  display: inline-block;
  /* 上面的 .sy-scene 改成了 flex 列，拉伸对齐会把 inline-block 的胶囊
     拉成整宽色带 —— 显式收回「按内容宽」。 */
  align-self: flex-start;
  margin-bottom: 14px;
  padding: .24rem .74rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: #D8E4F4;
  font-size: .84rem;
  font-weight: 750;
  letter-spacing: .1em;
}
.sy-scene h3 {
  margin: 0 0 14px;
  font-size: 1.3rem;
  font-weight: 750;
  line-height: 1.35;
  color: #fff;
}
.sy-scene ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ss;
  /* 三张卡在同一行里等高（grid 默认 stretch），但各自列表长短不一 ⇒
     短的那张底部空出一截，三张卡的字底边参差。
     让列表吃掉剩下的高度、行与行之间均分，最后一行就自动贴齐卡底。
     实测 1280px 下原先 9/8/8 行（底边差 33px），现在三张底边一致。 */
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.sy-scene li {
  position: relative;
  padding: 6px 0 6px 1.7rem;
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.6;
  color: #E9F1FA;
  counter-increment: ss;
}
.sy-scene li::before {
  content: counter(ss) ".";
  position: absolute;
  left: 0;
  top: 6px;
  font-weight: 750;
  color: #BFD8F5;
}
.sy-scene li b { color: #fff; font-weight: 750; }

/* 每个「时刻」卡顶部配一张实景图。
   用负外边距顶到卡片边缘（卡内边距是 30px 26px），靠 .sy-scene 的
   overflow:hidden 把方角裁成圆角。
   z-index:1 是为了压住 .sy-scene::after 那团右上角的光晕 —— 否则光晕会糊在照片上。 */
.sy-scene-fig {
  position: relative;
  z-index: 1;
  margin: -30px -26px 18px;
  overflow: hidden;
}
.sy-scene-fig img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.sy-scene-fig figcaption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  padding: .22rem .6rem;
  border-radius: 999px;
  background: rgba(11, 18, 32, .62);
  color: #D8E4F4;
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .04em;
}

/* 模块小节里的那个「跳转」按钮行：借用 .chips-cta 的居中排布，只加上边距。
   按钮里的文案是 nowrap 的，窄屏 + 长辈模式（根字号 27px）下会顶破容器，
   所以这里放开折行并封住最大宽度。 */
.sy-cta-row { margin-top: 28px; }
.sy-cta-row .btn-more { max-width: 100%; white-space: normal; line-height: 1.4; }
@media (max-width: 620px) {
  .sy-cta-row .btn-more { width: 100%; }
}
html[data-mode="elder"] .sy-cta-row .btn-more { font-size: min(1.15rem, 23px); }

/* ============================================================
   06 分三步走
   ============================================================ */
.sy-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  counter-reset: st;
}
.sy-step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 26px;
  background: #fff;
  border: var(--bw) solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
.sy-step-no {
  display: inline-block;
  /* .sy-step 是 flex 列，默认 align-items:stretch 会把 inline-block
     撑成一条整宽浅蓝带；而「早上 6:30」那个同角色的 .sy-scene-tag 是窄胶囊。
     两处收成同一种形。 */
  align-self: flex-start;
  margin-bottom: 14px;
  padding: .24rem .8rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: .84rem;
  font-weight: 750;
  letter-spacing: .1em;
}
.sy-step h3 {
  margin: 0 0 12px;
  font-size: 1.26rem;
  font-weight: 750;
  line-height: 1.3;
}
.sy-step ul {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  /* 同 .sy-scene ol：三张卡等高，列表吃掉剩余高度把行距摊匀，
     末条贴到分隔线上面 —— 三张卡的「¥ 量级」那行就都对齐了。 */
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.sy-step li {
  position: relative;
  padding: 5px 0 5px 1.5rem;
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink-2);
}
.sy-step li::before {
  font-family: var(--mono);
  content: "";
  position: absolute;
  left: .18rem;
  top: 1.02em;
  width: .46rem;
  height: .46rem;
  border-radius: 10px;
  background: var(--brand);
}
.sy-step-money {
  display: block;
  margin-top: auto;
  padding-top: 14px;
  border-top: var(--bw) solid var(--line);
  font-size: .94rem;
  font-weight: 700;
  color: var(--ink-2);
}
.sy-step-money b { color: var(--brand); font-weight: 750; letter-spacing: .06em; }

/* ============================================================
   07 常见疑问（和厨房页同一套折叠样式，独立一份，便于以后各改各的）
   ============================================================ */
.sy-faq { max-width: 52em; margin: 0 auto; }
.sy-q {
  border: var(--bw) solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  box-shadow: var(--shadow);
}
.sy-q + .sy-q { margin-top: 12px; }
.sy-q > summary {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 3.4rem;
  padding: 16px 22px;
  cursor: pointer;
  list-style: none;
  font-size: 1.06rem;
  font-weight: 750;
  line-height: 1.5;
  color: var(--ink);
}
.sy-q > summary::-webkit-details-marker { display: none; }
.sy-q > summary::after {
  content: "+";
  margin-left: auto;
  flex: none;
  width: min(1.9rem, 40px);
  height: min(1.9rem, 40px);
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 1.3rem;
  font-weight: 750;
  line-height: 1;
}
.sy-q[open] > summary::after { content: "\2212"; }
.sy-q[open] > summary { border-bottom: var(--bw) solid var(--line); }
.sy-q p {
  margin: 0;
  padding: 16px 22px 20px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.7;
  color: var(--ink-2);
}
.sy-q p b { color: var(--ink); font-weight: 750; }
.sy-q p + p { padding-top: 0; }

/* ---- 提醒条（合规与免责） ---- */
.sy-note {
  margin: 30px 0 0;
  padding: 20px 22px;
  background: #EDF1F7;
  border: var(--bw) solid var(--line);
  border-radius: var(--r-sm);
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.65;
  color: var(--ink-2);
}
.sy-note b { color: var(--ink); font-weight: 750; }

/* ============================================================
   响应式
   ============================================================ */
@media (min-width: 660px) {
  /* 多列下让每一行等高：卡片文案长短不一时，行与行之间不会一高一矮。
     配合 .sy-jump 的 margin-top:auto，底部链接自动贴齐行底。
     ⚠️ 这里**不能**用 grid-auto-rows:1fr。1fr 会把所有隐式行都拉到
        最高那一行（实测 461px），而第 7 张卡 .sy-mod--wide 独占末行、
        内容只有 222px ⇒ 卡里空出 240px，看着像卡坏了。
        auto 下行内几张照样等高（grid 默认 align-items:stretch），
        只是行与行之间允许有差（实测 407 / 426 / 461），反而更紧凑。 */
  .sy-mods    { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .sy-grid    { grid-template-columns: repeat(2, 1fr); }
  .sy-base    { grid-template-columns: repeat(2, 1fr); }
  .sy-lock    { grid-template-columns: repeat(2, 1fr); }
  .sy-trio    { grid-template-columns: repeat(3, 1fr); }
  /* ⚠️ .sy-steps 不在这档 —— 三张步骤卡在 660px 排 3 列，
     每张卡内宽只剩 141px（「卫生间、卧室的毫米波雷达」要折成 3 行），
     整段挤成三条窄柱。它跟 .sy-scenes 一起放到 900px 再分栏。 */
}
@media (min-width: 900px) {
  .sy-base  { grid-template-columns: repeat(3, 1fr); }
  .sy-scenes,
  .sy-steps { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .sy-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) {
  .sy-mods { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   长辈模式
   —— 根字号 27px，凡 rem 尺寸都补 px 封顶，免得徽章/图标撑破
   ============================================================ */
html[data-mode="elder"] .sy-mods,
html[data-mode="elder"] .sy-grid,
html[data-mode="elder"] .sy-base,
html[data-mode="elder"] .sy-lock,
html[data-mode="elder"] .sy-trio,
html[data-mode="elder"] .sy-scenes,
html[data-mode="elder"] .sy-steps { grid-template-columns: 1fr; }

/* 长辈模式一律单列：万一有卡带了 .sy-mod--wide，也回到普通竖排，别再跨列
   （跨列在单列里会撑出隐式列） */
html[data-mode="elder"] .sy-mods .sy-mod--wide {
  grid-column: auto;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 26px;
}
/* 单列后卡片内也要回到「图标在左、编号在右」，和其他四张一致 */
html[data-mode="elder"] .sy-mods .sy-mod--wide .sy-mod-top {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}
html[data-mode="elder"] .sy-mods .sy-mod--wide .sy-no { margin-left: auto; }

html[data-mode="elder"] .sy-video-play {
  width: min(6rem, 112px, 21vw);
  height: min(6rem, 112px, 21vw);
}
html[data-mode="elder"] .sy-leadline p { font-size: 1.04rem; }
html[data-mode="elder"] .sy-mod { padding: 30px 26px 26px; }
html[data-mode="elder"] .sy-mod h3 { font-size: 1.36rem; }
html[data-mode="elder"] .sy-mod > p,
html[data-mode="elder"] .sy-base p,
html[data-mode="elder"] .sy-ways li,
html[data-mode="elder"] .sy-step li,
html[data-mode="elder"] .sy-scene li,
html[data-mode="elder"] .sy-q p { color: #0E1729; }
html[data-mode="elder"] .sy-no { font-size: min(1.9rem, 40px); }
html[data-mode="elder"] .sy-tags li { font-size: .92rem; }
html[data-mode="elder"] .sy-base li { padding: 24px 22px 24px 64px; }
html[data-mode="elder"] .sy-head h2 { font-size: 1.8rem; }
html[data-mode="elder"] .sy-lock-card h3,
html[data-mode="elder"] .sy-scene h3 { font-size: 1.36rem; }
html[data-mode="elder"] .sy-q > summary { font-size: 1.1rem; padding: 18px 22px; }

/* ============================================================
   系统卡宣传图（2026-10-15 加入） —— 9 张 16:9 横版主题图
   紧跟在 <a class="sy-mod"> 开头后，视觉上「图先说话」，
   下面接原结构（图标/标题/正文/tags/按钮）。
   图本身就是 1280×720，原比例；卡片可能比之前高 180~220px。
   ============================================================ */
.sy-mod-fig {
  margin: 0 0 18px;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: var(--bw) solid var(--line);
  background: var(--bg-2, #F4F7FB);
}
.sy-mod-fig img {
  display: block;
  width: 100%;
  /* 必须是 16:9（混元产物就是这个比例） */
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.sy-mod-top { margin-top: 0; }
/* 图版位 + 长辈模式单列回退：图也跟卡片同宽 */
html[data-mode="elder"] .sy-mod-fig { margin-bottom: 14px; }
