/* ============================================================================
 * 滚动运镜 / 拆解视觉系统（Apple 官网式 cinema 段落）
 * ----------------------------------------------------------------------------
 * 依赖：scroll-cinema.js（只负责把滚动的 0→1 进度写成 CSS 变量）
 * 原则：只动 transform / opacity；所有位移都从 --p 或 --sp 计算，滚动不掉帧。
 * 说明：cinema 段落固定用深色（#000 / #f5f5f7），明暗主题下都成立 —— 这是
 *       有意为之的「产品发布舞台」，与站点普通内容区形成节奏对比。
 * ========================================================================== */

.cinema {
  --c-bg: #000000;
  --c-fg: #f5f5f7;
  --c-dim: #86868b;
  --c-line: rgba(255, 255, 255, 0.14);
  --c-surface: #161617;
  --c-surface-2: #1d1d1f;
  --c-accent: #2997ff;
  --c-accent-solid: #0071e3;
  position: relative;
  background: var(--c-bg);
  color: var(--c-fg);
  isolation: isolate;
}

.cinema ::selection {
  background: rgba(41, 151, 255, 0.35);
  color: #fff;
}

.cinema-sticky {
  position: sticky;
  top: 0;
  display: grid;
  place-items: center;
  min-height: 100svh;
  height: 100svh;
  overflow: clip;
  padding: clamp(24px, 4vw, 56px) clamp(20px, 5vw, 72px);
}

.cinema-stage {
  position: relative;
  width: min(1160px, 100%);
  margin: 0 auto;
  transform-style: preserve-3d;
}

/* ---------- 通用排版（Apple 式大标题 + 灰副标题） ---------- */
.cinema-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent);
}

.cinema-display {
  margin: 0;
  font-size: clamp(38px, 6.4vw, 92px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.035em;
  text-wrap: balance;
  color: #fff;
}

.cinema-h2 {
  margin: 0;
  font-size: clamp(30px, 4.2vw, 62px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.cinema-lede {
  margin: 20px auto 0;
  max-width: 62ch;
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--c-dim);
  text-wrap: pretty;
}

.cinema-note {
  font-size: 14px;
  color: var(--c-dim);
  letter-spacing: 0.01em;
}

/* ---------- 进度原语：淡入 / 位移 ----------
 * 默认不给 JS 启动前的元素加隐藏，避免脚本异常时内容消失；
 * 只有 html.cinema-ready 之后才由 --sp 控制。
 * ------------------------------------------------------------------------ */
.cinema-layer,
.cinema [data-fade] {
  --sp: 0;
  will-change: transform, opacity;
  transform-style: preserve-3d;
}

html.cinema-ready .cinema [data-fade] {
  opacity: calc(var(--sp) * var(--fade-strength, 1));
  transform: translate3d(0, calc((1 - var(--sp)) * var(--fade-shift, 26px)), 0);
}

@media (prefers-reduced-motion: reduce) {
  html.cinema-ready .cinema [data-fade] {
    opacity: 1;
    transform: none;
  }
}

/* 由 --p 直接驱动的视差：位移/缩放/透明度都可以现算，不需要 JS 额外变量 */
.cinema [data-parallax] {
  transform: translate3d(
    0,
    calc(var(--p, 0) * var(--parallax-distance, -160px)),
    0
  );
}

/* ---------- 首屏：大标题 + 产品舱（scroll-scrubbed 运镜） ---------- */
.cinema-hero .cinema-sticky {
  place-items: end center;
  padding-bottom: clamp(28px, 5vh, 64px);
}

.cinema-hero .cinema-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 100%;
  justify-content: center;
  gap: clamp(18px, 2.6vh, 32px);
}

.cinema-hero .cinema-display {
  max-width: 20ch;
  transform: translate3d(0, calc(var(--p, 0) * -34px), 0) scale(calc(1 - var(--p, 0) * 0.055));
  opacity: calc(1 - var(--p, 0) * 0.85);
}

.cinema-hero .cinema-lede {
  transform: translate3d(0, calc(var(--p, 0) * -22px), 0);
  opacity: calc(1 - var(--p, 0) * 1.15);
}

.cinema-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  transform: translate3d(0, calc(var(--p, 0) * -16px), 0);
  opacity: calc(1 - var(--p, 0) * 1.3);
}

/* 产品舱：从倾斜 → 展平 → 推进，就是「运镜」的主体 */
.cinema-device {
  position: relative;
  width: min(960px, 100%);
  transform-style: preserve-3d;
  transform:
    perspective(1500px)
    rotateX(calc(var(--tilt-from, 16deg) - var(--p, 0) * var(--tilt-from, 16deg)))
    translate3d(0, calc(var(--p, 0) * -26px), 0)
    scale(calc(1 + var(--p, 0) * 0.05));
  will-change: transform;
}

.cinema-device-inner {
  position: relative;
  border-radius: 18px;
  border: 1px solid var(--c-line);
  background: linear-gradient(180deg, #1c1c1e, #101011);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 60px 120px -40px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.cinema-device-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--c-line);
  background: rgba(255, 255, 255, 0.02);
}

.cinema-device-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.cinema-device-title {
  margin-left: 8px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--c-dim);
}

.cinema-device-body {
  padding: clamp(16px, 2.2vw, 26px);
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--c-dim);
  animation: cinema-cue 2.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes cinema-cue {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.55;
  }
  50% {
    transform: translateY(6px);
    opacity: 1;
  }
}

/* ---------- 拆解舞台：6 层卡片从叠放 → 爆炸展开 → 收束 ---------- */
.cinema-tear .cinema-sticky {
  place-items: center;
}

.cinema-tear .cinema-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vh, 22px);
  min-height: 100%;
  width: 100%;
}

.cinema-tear-head {
  position: relative;
  z-index: 30;
  text-align: center;
}

.cinema-tear .cinema-h2 {
  max-width: 24ch;
}

.tear-stage {
  position: relative;
  width: min(1060px, 100%);
  height: min(58vh, 520px);
  margin-top: clamp(4px, 1.4vh, 16px);
  /* 注意：这里不要 preserve-3d —— 否则浏览器按 3D 深度排序，
     卡片会盖住顶部标题且 z-index 失效。只保留 perspective 给子元素做透视倾斜。 */
  perspective: 1500px;
  perspective-origin: 50% 46%;
}

/* 收束：整叠缩小并淡出，让位给"行动计划" */
.tear-stack {
  --sp: 0;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform: scale(calc(1 - 0.1 * var(--sp)));
  opacity: calc(1 - 0.88 * var(--sp));
}

.tear-card {
  --sp: 0;
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(320px, 34vw);
  height: max-content;
  min-height: 168px;
  padding: clamp(14px, 1.7vw, 22px);
  border-radius: 16px;
  border: 1px solid var(--c-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(18px) saturate(1.1);
  transform-style: preserve-3d;
  transform:
    translate3d(
      calc(var(--dx, 0px) * var(--sp)),
      calc(var(--stack-y, 0px) + var(--dy, 0px) * var(--sp)),
      calc(var(--dz, 0px) * var(--sp))
    )
    rotateX(calc(var(--rx, 0deg) * var(--sp)))
    rotateY(calc(var(--ry, 0deg) * var(--sp)))
    rotateZ(calc(var(--rz, 0deg) * var(--sp)))
    scale(calc((1 + var(--ds, 0) * var(--sp)) * (1 - 0.04 * var(--sp))));
  will-change: transform;
}

.tear-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.tear-card-index {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
  color: var(--c-accent);
}

.tear-card-tag {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-dim);
}

.tear-card-title {
  margin: 0;
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
}

.tear-card-metric {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 10px;
  font-size: clamp(22px, 2.3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.tear-card-metric small {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--c-dim);
}

.tear-card-desc {
  margin: 8px 0 0;
  font-size: clamp(12.5px, 1.1vw, 14px);
  line-height: 1.5;
  color: var(--c-dim);
}

/* 拆解后出现的连接线（可选装饰）：从卡片指向中心 */
.tear-wire {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1px;
  height: 120px;
  background: linear-gradient(180deg, rgba(41, 151, 255, 0.5), transparent);
  transform-origin: 0 0;
  opacity: calc(var(--sp, 0) * 0.9);
  pointer-events: none;
}

/* 收束后的「行动计划」卡片 */
.tear-result {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(620px, 88%);
  height: max-content;
  padding: clamp(20px, 2.4vw, 30px);
  border-radius: 18px;
  border: 1px solid rgba(41, 151, 255, 0.35);
  background: linear-gradient(180deg, rgba(41, 151, 255, 0.16), rgba(41, 151, 255, 0.05)), #0c0c0d;
  box-shadow: 0 40px 90px -40px rgba(41, 151, 255, 0.5);
  text-align: left;
}

.tear-result-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  color: #d6d6d8;
}

.tear-result-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.tear-result-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-accent);
  flex: none;
  transform: translateY(-2px);
}

/* ---------- 数字账本（浅色段，Apple 式大数字） ---------- */
.cinema-numbers {
  background: var(--c-bg);
  padding: clamp(72px, 11vw, 150px) clamp(20px, 5vw, 72px);
}

.cinema-numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(24px, 4vw, 48px) clamp(20px, 4vw, 56px);
  width: min(1160px, 100%);
  margin: clamp(28px, 4vw, 48px) auto 0;
}

.cinema-number {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--c-line);
}

.cinema-number-value {
  font-size: clamp(36px, 4.4vw, 62px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.cinema-number-label {
  font-size: clamp(12.5px, 1.1vw, 14px);
  line-height: 1.45;
  color: var(--c-dim);
}

.cinema-numbers-head {
  width: min(1160px, 100%);
  margin: 0 auto;
  text-align: left;
}

.cinema-numbers-head .cinema-h2 {
  max-width: 26ch;
}

.cinema-numbers-sub {
  margin: 14px 0 0;
  max-width: 56ch;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.6;
  color: var(--c-dim);
}

/* ---------- 移动端：拆解段退化为静态排版（不吸顶、不位移） ---------- */
@media (max-width: 760px) {
  .cinema-sticky {
    height: auto;
    min-height: 0;
    padding: 56px 20px;
    position: static;
  }

  .cinema[data-cinema-mobile="off"] {
    height: auto !important;
  }

  .cinema[data-cinema-mobile="off"] .tear-stage {
    height: auto;
    perspective: none;
  }

  .cinema[data-cinema-mobile="off"] .tear-stack {
    position: static;
    display: grid;
    gap: 12px;
    transform: none !important;
    opacity: 1 !important;
  }

  .cinema[data-cinema-mobile="off"] .tear-card {
    position: static;
    width: 100%;
    min-height: 0;
    transform: none !important;
    opacity: 1 !important;
    backdrop-filter: none;
  }

  .cinema[data-cinema-mobile="off"] .tear-result {
    position: static;
    width: 100%;
    margin-top: 12px;
    transform: none !important;
    opacity: 1 !important;
  }

  .cinema[data-cinema-mobile="off"] .tear-wire {
    display: none;
  }

  .cinema-tear .cinema-sticky,
  .cinema-hero .cinema-sticky {
    display: block;
  }

  .cinema-hero .cinema-stage,
  .cinema-tear .cinema-stage {
    min-height: 0;
  }

  .cinema-device {
    transform: none !important;
  }

  .cinema-display {
    font-size: clamp(32px, 9vw, 44px);
  }

  .tear-result-list {
    grid-template-columns: 1fr;
  }
}

/* ---------- 低性能兜底：用户要求减少动效时全部定格 ---------- */
@media (prefers-reduced-motion: reduce) {
  .cinema-layer,
  .cinema [data-fade],
  .cinema-device,
  .tear-card,
  .tear-stack {
    transform: none !important;
    opacity: 1 !important;
  }

  .scroll-cue {
    animation: none;
  }
}

/* ---------- 顶栏联动：影院段落滚到顶栏下方时，顶栏切成深色玻璃 ---------- */
.topbar {
  transition: background-color 300ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 300ms cubic-bezier(0.22, 1, 0.36, 1), color 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

html.over-cinema .topbar {
  background: rgba(18, 18, 20, 0.74);
  border-color: rgba(255, 255, 255, 0.14);
  color: #f5f5f7;
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
}

html.over-cinema .topbar .brand,
html.over-cinema .topbar .brand-sub,
html.over-cinema .topbar .nav-link {
  color: #f5f5f7;
}

html.over-cinema .topbar .nav-link.active {
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
}

html.over-cinema .topbar .input {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #f5f5f7;
}

html.over-cinema .topbar .btn-outline {
  color: #f5f5f7;
  border-color: rgba(255, 255, 255, 0.24);
}

html.over-cinema .topbar .btn-ghost {
  color: #f5f5f7;
}

/* ===== 首页接入补充（frontend-redesigner） =====
   只补首页专用结构：产品舱内容排版、Apple 式胶囊 CTA、提示语、移动端排布。
   以上 Lead 的影院视觉规则（.cinema / .tear-* / .cinema-numbers / over-cinema）一行未改。 */

/* 首屏标题：白 → 灰的竖向渐变（只出现在影院段，是产品的「发布舞台」语言） */
.home-hero .cinema-display {
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 55%, #8e8e93 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-hero .cinema-lede {
  max-width: 46ch;
}

/* Apple 式胶囊按钮 */
.home-actions {
  margin: 0;
}

.home-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 980px;
  background: var(--c-accent-solid, #0071e3);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 300ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-cta:hover {
  background: #0077ed;
  transform: translateY(-1px);
}

.home-cta:active {
  transform: scale(0.98);
}

.home-cta--ghost {
  background: transparent;
  color: var(--c-accent, #2997ff);
  padding-left: 12px;
  padding-right: 12px;
}

.home-cta--ghost::after {
  content: "›";
  font-size: 18px;
  line-height: 1;
  transform: translateY(-1px);
}

.home-cta--ghost:hover {
  background: transparent;
  color: #fff;
}

/* 产品舱：院校档案（真实接口数据） */
.home-device-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 18px;
}

.home-device-main {
  border-radius: 14px;
  padding: 18px;
  text-align: left;
  background: linear-gradient(160deg, #26262a, #131315);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.home-device-kicker {
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-accent, #2997ff);
}

.home-device-name {
  margin: 10px 0 2px;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}

.home-device-en {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--c-dim, #86868b);
}

.home-device-rows {
  margin-top: 16px;
  display: grid;
  gap: 0;
}

.home-device-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--c-dim, #86868b);
}

.home-device-row b {
  color: #f5f5f7;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
  min-width: 0;
}

.home-device-side {
  display: grid;
  gap: 10px;
  align-content: stretch;
}

.home-device-tile {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  padding: 14px;
  text-align: left;
}

.home-device-tile small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--c-dim, #86868b);
}

.home-device-tile b {
  display: block;
  margin-top: 6px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

/* 拆解段底部的提示语（demo 里的 .tear-hint 没有进 cinema.css） */
.tear-hint {
  margin: 0;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--c-dim, #86868b);
}

@media (max-width: 760px) {
  .home-hero .cinema-display {
    font-size: clamp(27px, 7.6vw, 36px);
    letter-spacing: -0.02em;
  }

  .home-hero .cinema-lede {
    font-size: 14.5px;
    line-height: 1.6;
  }

  .home-cta {
    flex: 1 1 auto;
    font-size: 14px;
    padding: 12px 18px;
  }

  .home-device-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-device-main {
    padding: 14px;
  }

  .home-device-name {
    font-size: 19px;
  }

  .home-device-side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .home-device-tile {
    padding: 10px;
  }

  .home-device-tile b {
    font-size: 15px;
  }

  .home-device-row {
    font-size: 12px;
    padding: 8px 0;
  }

  .tear-hint {
    font-size: 12.5px;
  }
}

/* ---------- 首页首屏适配：让「标题 + 副标题 + CTA + 产品舱 + 提示」正好吃进 100svh ----------
   影院段 sticky 舞台是 overflow: clip，内容一旦超过视口高度会被裁掉；
   这里收敛首屏字号与产品舱内边距，保证 900px 高度下标题完整可见。 */
@media (min-width: 761px) {
  .home-hero .cinema-sticky {
    place-items: center;
    padding: clamp(88px, 11vh, 112px) clamp(20px, 5vw, 72px) clamp(16px, 3.4vh, 32px);
  }

  .home-hero .cinema-stage {
    justify-content: center;
    gap: clamp(14px, 2vh, 24px);
  }

  .home-hero .cinema-display {
    font-size: clamp(36px, 5.6vw, 84px);
    line-height: 1.06;
  }

  .home-hero .cinema-lede {
    margin-top: 0;
    max-width: 56ch;
    font-size: clamp(15px, 1.35vw, 18px);
    line-height: 1.5;
  }

  .home-hero .cinema-device {
    width: min(880px, 100%);
  }

  .home-hero .cinema-device-body {
    padding: clamp(14px, 1.6vw, 20px);
  }

  .home-hero .home-device-main {
    padding: clamp(14px, 1.5vw, 18px);
  }

  .home-hero .home-device-name {
    font-size: clamp(19px, 1.9vw, 26px);
    margin: 8px 0 2px;
  }

  .home-hero .home-device-rows {
    margin-top: 10px;
  }

  .home-hero .home-device-row {
    padding: 7px 0;
  }

  .home-hero .home-device-tile {
    padding: 12px;
  }

  .home-hero .home-device-tile b {
    font-size: 20px;
  }

  .home-hero .scroll-cue {
    margin-top: 2px;
  }
}

/* 高度较矮的桌面窗口（例如 1440×800）再收一档，避免首屏被裁 */
@media (min-width: 761px) and (max-height: 820px) {
  .home-hero .cinema-display {
    font-size: clamp(32px, 4.8vw, 68px);
  }

  .home-hero .cinema-stage {
    gap: 12px;
  }

  .home-hero .cinema-device {
    width: min(780px, 100%);
  }
}

/* ---------- 首页第二轮打磨（Lead 反馈 1 / 3 / 4） ---------- */

/* 1) 拆解段标题：加宽到 30ch、字号收一档，并用 <br> 控制断行，中文不跨词 */
.home-tear .home-tear-title {
  max-width: 30ch;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.1;
}

/* 3) 拆解舞台收矮：6 张卡更像「同一叠拆出来」，两排之间不留 300px 空白 */
.home-tear .tear-stage {
  height: min(48vh, 430px);
}

.home-tear .cinema-tear-head {
  margin-bottom: 0;
}

/* 4) 首屏整体上移：900px 高度下 CTA + 产品舱 + 滚动提示全部露出 */
@media (min-width: 761px) {
  .home-hero .cinema-sticky {
    padding-top: clamp(72px, 8.6vh, 92px);
    padding-bottom: clamp(12px, 2.4vh, 22px);
  }

  .home-hero .cinema-stage {
    gap: 12px;
  }

  .home-hero .home-device {
    margin-top: -8px;
  }

  .home-hero .home-device-side {
    align-content: start;
  }

  .home-hero .home-device-tile b {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* 产品舱右侧没有可用的院校字段时（接口缺字段），主体占满整行 */
.home-device-grid--solo {
  grid-template-columns: 1fr;
}

/* 数字账本：桌面一行 6 个（auto-fit 在 1160px 下会挤成 5+1），平板 3 列，手机 2 列 */
.cinema-numbers-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px) clamp(16px, 2.6vw, 40px);
}

@media (max-width: 1024px) {
  .cinema-numbers-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .cinema-numbers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
