/* 全站手机端纵向节奏：集中在主题样式之后加载，桌面端不生效。 */
.cp-mobile-break { display: none; }
@media (max-width: 800px) {
  /* 每个主版块独立占据至少一屏；长内容自然延长，不裁切。 */
  body .section,
  body .about-section,
  body .mkt-section,
  body .digital-human-showcase,
  body .ad-director-showcase,
  body .solution-operations-demo,
  body .adboom-showcase,
  body .model-duration,
  body .agent-creation,
  body .operations-demo,
  body .capability-wall {
    min-height: 100svh !important;
    box-sizing: border-box;
    height: auto !important;
    padding-top: 104px !important;
    padding-bottom: 40px !important;
  }
  /* 首页每幕保留整屏，仅将内容组放到导航下方，不缩短幕与幕的距离。 */
  body.home-ui.home-refresh .home-reel > .home-scene:not(.home-hero) {
    height: auto;
    min-height: 100svh;
    box-sizing: border-box;
    padding-top: 104px;
    padding-bottom: 40px;
    align-items: flex-start;
  }
  body.home-ui.home-refresh .home-reel > .home-scene.enterprise-scene {
    min-height: 0;
    padding-bottom: 32px;
  }
  /* 收紧视频末尾到企业文化标题的幕间留白。 */
  body.home-ui.home-refresh .home-reel > .home-scene.culture-scene {
    padding-top: 48px;
  }
  body.home-ui.home-refresh .enterprise-scene .scene-grid,
  body.home-ui.home-refresh .culture-scene .culture-layout,
  body.home-ui.home-refresh .values-silk .vsilk-inner,
  body.home-ui.home-refresh .vision-scene .vision-layout,
  body.home-ui.home-refresh .cta-scene .cta-layout {
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    align-content: start;
    gap: 32px;
  }
  body.home-ui.home-refresh .vision-scene .vision-copy {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
  }
  body.home-ui.home-refresh .vision-scene .vision-copy h2 { margin-top: 0; }
  /* 全球生态独立排版：文字在上、地球在下，不再以整屏背景承载文字。 */
  body.home-ui.home-refresh .home-reel > .home-scene.vision-scene {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: start;
    gap: 16px;
    padding-top: 104px;
    padding-bottom: 24px;
  }
  body.home-ui.home-refresh .vision-scene .vision-layout {
    grid-column: 1;
    grid-row: 1;
    padding-inline: 22px;
    box-sizing: border-box;
  }
  body.home-ui.home-refresh .vision-scene .vision-copy {
    width: 100%;
    margin-inline: 0;
  }
  body.home-ui.home-refresh .vision-scene .vision-copy h2 {
    margin: 0;
    font-size: clamp(30px, 9.3vw, 40px);
    line-height: 1.25;
  }
  body.home-ui.home-refresh .vision-scene .vision-copy .scene-lead {
    margin: 22px 0 0;
    font-size: 14px;
    line-height: 1.9;
  }
  body.home-ui.home-refresh .vision-scene .vision-backdrop {
    position: relative;
    inset: auto;
    grid-column: 1;
    grid-row: 2;
    height: clamp(340px, 52svh, 500px);
    background-size: auto 100%;
    background-position: 28% center;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 82%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 12%, #000 82%, transparent);
  }
  body.home-ui.home-refresh .vision-scene .vision-shade { display: none; }
  body.home-ui.home-refresh .values-scene { padding-top: 104px; padding-bottom: 40px; }
  /* 首屏保留完整背景，将内容组的视觉中心适度抬高。 */
  body.home-ui.home-refresh .home-hero,
  body.home-ui.home-refresh .home-hero .qx-sticky {
    height: 100svh;
    min-height: 600px;
    max-height: none;
  }
  body.home-ui.home-refresh .home-hero .qx-sticky { box-sizing: border-box; padding-bottom: 64px; }
  /* 关于巨芯：原整屏和底部对齐会在标题前产生大片空白。 */
  body.about-refresh .about-company { min-height: 100svh; box-sizing: border-box; padding-block: 104px 40px; }
  body.about-refresh .about-process .cp-scene {
    height: auto !important;
    min-height: 100svh !important;
    box-sizing: border-box;
    padding-top: 104px !important;
    padding-bottom: 40px !important;
    align-items: flex-start;
  }
  body.about-refresh .about-hero { min-height: 100svh; height: auto; box-sizing: border-box; }
  body.about-refresh .about-hero-copy { margin-top: 0; padding-top: 24px; }
  /* 关于首屏副标题：完整一句固定单行，按实际内容宽度缩放。 */
  body.about-refresh .about-hero-copy { container-type: inline-size; }
  body.about-refresh .about-hero-lead {
    font-size: min(18px, 4.6cqw);
    white-space: nowrap;
  }
  body.about-refresh .about-hero-lead em { display: inline; }
  /* 收紧前一幕尾部与图文幕之间的留白。 */
  body.about-refresh .about-process .cp-scene.cp-scene-orb {
    min-height: 0 !important;
    background: #050d1c;
  }
  body.about-refresh .about-process .cp-scene.cp-scene-orb::before { background: none; }
  body.about-refresh .cp-fig-orb picture { display: block; width: 100%; height: 100%; }
  /* 技术链路与营销增长独立成幕，保留方形构图并缩短幕间距。 */
  body.about-refresh .about-process .cp-scene.cp-compute-stage,
  body.about-refresh .about-process .cp-scene.cp-media-stage {
    display: block;
    width: 100%;
    height: calc(100vw + 72px) !important;
    min-height: 0 !important;
    aspect-ratio: auto;
    padding: 0 !important;
  }
  body.about-refresh .about-process .cp-compute-stage .cp-split,
  body.about-refresh .about-process .cp-media-stage .cp-split {
    position: absolute;
    inset: auto 0;
    top: 48px;
    width: 100%;
    height: 100vw;
    transform: none;
    padding: 0;
  }
  body.about-refresh .about-process .cp-compute-stage::before,
  body.about-refresh .about-process .cp-media-stage::before {
    inset: auto 0;
    top: 48px;
    height: 100vw;
    transform: none;
  }
  body.about-refresh .about-process .cp-compute-stage::before {
    background-image: url("https://pub-static-assets.tos-cn-guangzhou.volces.com/uploads/images/20261109/e5b5e682-9286-4a05-839a-261d03e0ec99.webp");
    background-position: center;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  }
  body.about-refresh .about-process .cp-media-stage::before {
    background-image: url("https://pub-static-assets.tos-cn-guangzhou.volces.com/uploads/images/20261109/ba758541-0ca6-4241-b4ba-7da04a42ffa2.webp");
    background-position: center;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  }
  body.about-refresh .about-process .cp-compute-stage::after,
  body.about-refresh .about-process .cp-media-stage::after {
    background: linear-gradient(180deg, #050d1c22, transparent 70%);
  }
  body.about-refresh .about-process .cp-compute-stage .cp-copy,
  body.about-refresh .about-process .cp-media-stage .cp-copy {
    position: absolute;
    margin: 0;
    padding: 0;
    max-width: none;
    background: transparent;
    box-sizing: border-box;
  }
  body.about-refresh .about-process .cp-compute-stage .cp-copy {
    top: 14%;
    right: 5%;
    width: 42%;
  }
  body.about-refresh .about-process .cp-compute-stage .cp-chain-kicker {
    margin-bottom: 14px;
    gap: 6px;
    font-size: clamp(9px, 2.4vw, 14px);
    letter-spacing: .12em;
  }
  body.about-refresh .about-process .cp-compute-stage .cp-chain-kicker i { width: 14px; }
  body.about-refresh .about-process .cp-compute-stage .compute-words { padding: 0; border: 0; gap: 8px; }
  body.about-refresh .about-process .cp-compute-stage .cp-copy h3 .compute-words span {
    font-size: clamp(18px, 5vw, 34px);
    line-height: 1.3;
  }
  body.about-refresh .about-process .cp-compute-stage .cp-team {
    display: block;
    margin-top: 22px;
    padding-top: 12px;
  }
  body.about-refresh .about-process .cp-compute-stage .cp-team > span,
  body.about-refresh .about-process .cp-compute-stage .cp-team .cp-pills span {
    font-size: clamp(10px, 2.7vw, 16px);
    line-height: 1.7;
    letter-spacing: 0;
  }
  body.about-refresh .about-process .cp-compute-stage .cp-pills { gap: 6px; margin: 4px 0; }
  body.about-refresh .about-process .cp-media-stage .cp-copy {
    top: 7%;
    left: 6%;
    width: 88%;
  }
  body.about-refresh .about-process .cp-media-stage .cp-copy h3 {
    max-width: 95%;
    font-size: clamp(20px, 7vw, 46px);
    line-height: 1.35;
    margin: 0;
  }
  body.about-refresh .about-process .cp-media-stage .cp-lead {
    width: 48%;
    margin-top: 28px;
    font-size: clamp(9px, 2.7vw, 16px);
    line-height: 1.8;
  }
  body.about-refresh .about-process .cp-media-stage .cp-mobile-break { display: initial; }
  /* 行业内容从幕顶开始排版，移除居中与标题双重留白。 */
  body.about-refresh .about-process .cp-scene.cp-industries-stage {
    justify-content: flex-start;
    align-items: stretch;
    min-height: 0 !important;
    padding-top: 40px !important;
    padding-bottom: 24px !important;
    border-top: 0;
    border-bottom: 0;
  }
  body.about-refresh .about-process .cp-industries-stage::before {
    background: linear-gradient(180deg, #050d1c, transparent 120px);
  }
  body.about-refresh .site-footer.site-footer {
    border-top: 0;
    background: #050d1c;
    padding-top: 40px;
  }
  body.about-refresh .site-footer.site-footer::before {
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 96px);
    mask-image: linear-gradient(180deg, transparent, #000 96px);
  }
  body.about-refresh .about-process .cp-industries-head { padding-top: 0; }
  body.about-refresh .about-process {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: 0;
  }
  body.about-refresh .cp-industries-stage .cp-scroll-cue {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    align-self: center;
    flex: none;
    margin-top: 24px;
  }
  /* 产品平台保持一产品一幕，内容组在幕内上移。 */
  body.platform-overview.is-wenjing .ads-studio,
  body.platform-overview.is-wenjing .wenjing-scene,
  body.platform-overview.is-wenjing .drama-platform-scene {
    height: auto !important;
    min-height: 100svh !important;
    box-sizing: border-box;
    padding-top: 104px;
    padding-bottom: 40px;
    justify-content: flex-start;
    gap: 32px;
  }
  body.platform-overview .mg-hero { height: auto !important; min-height: 100svh !important; box-sizing: border-box; align-items: flex-start; }
  body.platform-overview .mg-stage { padding-top: 120px; padding-bottom: 48px; }
  /* 资讯和营销首屏抬高内容，同时保留背景图展示面积。 */
  body.news-hero-page .page-hero.news-page-hero { height: 100svh; min-height: 100svh; box-sizing: border-box; }
  body.news-hero-page .news-page-hero-copy { margin: 0; padding-top: 138px; }
  body.mkt-page .mkt-hero { height: 100svh; min-height: 100svh; box-sizing: border-box; }
  body.mkt-page .mkt-hero-copy { box-sizing: border-box; justify-content: flex-start; padding-top: 138px; }
  /* 社交电商首屏：以右侧手机为取景主体，下移画面避开标题。 */
  body.mkt-page--broadcast .mkt-hero-banners img,
  body.mkt-page--broadcast .mkt-hero-banners img.is-active {
    inset: auto 0 0;
    height: 72%;
    object-fit: cover;
    object-position: 88% center;
    animation: none;
    transform: none;
  }
  body.mkt-page--broadcast .mkt-hero-banners::after {
    background: linear-gradient(180deg, #06162d 0%, #06162d 26%, #06162d88 40%, #06162d00 62%, #04122266 100%);
  }
  body.mkt-page--broadcast .mkt-hero-title {
    font-size: clamp(30px, 9vw, 40px);
  }
  body.contact-refresh .contact-hero { height: calc(100svh - 74px); min-height: calc(100svh - 74px); box-sizing: border-box; }
  body.contact-refresh .contact-hero-copy { padding-top: 72px; }
  body.contact-refresh .contact-routes { padding-top: 40px; padding-bottom: 40px; }
  /* 解决方案首屏原来的定位偏移需一并复位，避免内容抬高后重叠。 */
  body.solutions-hero-page .solution-platform-hero { min-height: 100svh !important; height: auto; box-sizing: border-box; }
  body.solutions-hero-page .solution-platform-hero .solutions-hero-copy {
    top: auto;
    margin-top: 40px;
    padding-bottom: 40px;
  }
  body.solutions-hero-page .solution-platform-hero .solutions-hero-copy > p { top: auto; }
  /* 首屏标题只在显式换行处断开，字号跟随实际文字容器宽度。 */
  body.solutions-hero-page .solution-platform-hero .solutions-hero-copy {
    container-type: inline-size;
  }
  body.solutions-hero-page .solution-platform-hero .solutions-hero-copy h1 {
    font-size: min(42px, 9.8cqw) !important;
    line-height: 1.3;
    white-space: nowrap;
  }
  /* 圆环背景配合两行标题上移，保持原有图形比例。 */
  body.solutions-hero-page .solution-platform-hero .solution-hero-orbit {
    top: calc(50% - 72px);
  }
  /* 普通产品详情、新闻详情和隐私页面。 */
  body .page-hero:not(.news-page-hero):not(.solution-platform-hero) { min-height: 100svh; box-sizing: border-box; padding-top: 110px; padding-bottom: 36px; }
  body.jx-product .product-hero { min-height: 100svh; box-sizing: border-box; padding-top: 110px; padding-bottom: 40px; }
  body .cta-section { padding-block: 48px 40px; }

  /* 广告渠道平台卡片：左侧图标，右侧标题与说明。 */
  body.mkt-page--channel .mkt-platforms {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  body.mkt-page--channel .mkt-platform {
    display: grid;
    grid-template-columns: clamp(48px, 15vw, 68px) minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 8px 16px;
    align-content: center;
    padding: clamp(16px, 4.5vw, 22px);
    text-align: left;
  }
  body.mkt-page--channel .mkt-platform .mkt-platform-icon {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: center;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    margin: 0;
  }
  body.mkt-page--channel .mkt-platform h3 {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    font-size: clamp(16px, 4.6vw, 20px);
    line-height: 1.4;
  }
  body.mkt-page--channel .mkt-platform p {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    font-size: clamp(12px, 3.3vw, 15px);
    line-height: 1.75;
    overflow-wrap: anywhere;
  }

  /* 价值观：收紧长列表的纵向节奏，窄屏标题保持完整两行。 */
  body.home-ui.home-refresh .values-silk .vsilk-inner {
    width: 100%;
    padding-inline: 22px;
    box-sizing: border-box;
    gap: 28px;
  }
  body.home-ui.home-refresh .values-silk .vsilk-copy h2 {
    font-size: clamp(30px, 9.3vw, 40px);
    line-height: 1.25;
    letter-spacing: -.06em;
  }
  body.home-ui.home-refresh .values-silk .vsilk-lead {
    margin: 22px 0 0;
    font-size: 14px;
    line-height: 1.9;
  }
  body.home-ui.home-refresh .values-silk .vsilk-list article {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    padding: 22px 0;
  }
  body.home-ui.home-refresh .values-silk .vsilk-list h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: 0;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  body.home-ui.home-refresh .values-silk .vsilk-list h3::before {
    content: "";
    width: 3px;
    height: 16px;
    flex: 0 0 3px;
    background: #7bcaff;
  }
  body.home-ui.home-refresh .values-silk .vsilk-list p {
    font-size: 13px;
    line-height: 1.85;
    letter-spacing: 0;
    color: #a8b9cf;
  }

  /* 企业文化卡片：图形居左、文字居右，避免上下堆叠占用过高空间。 */
  body.home-ui.home-refresh .culture-cards { gap: 14px; }
  body.home-ui.home-refresh .culture-cards article,
  body.home-ui.home-refresh .culture-cards article:nth-child(n) {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 18px;
    row-gap: 10px;
    align-content: center;
    align-items: center;
    min-height: 138px;
    padding: 20px;
    box-sizing: border-box;
    transform: none;
  }
  body.home-ui.home-refresh .culture-cards .culture-icon {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: center;
    margin: 0;
    width: 62px;
    height: 62px;
  }
  body.home-ui.home-refresh .culture-cards h3 {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    font-size: 20px;
  }
  body.home-ui.home-refresh .culture-cards p {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    padding: 0;
    border-top: 0;
    min-height: 0;
    line-height: 1.8;
  }
}

/* 资讯与联系页：手机端改为紧凑横幅，保留更多原图场景。 */
@media (max-width: 800px) {
  body.news-hero-page .page-hero.news-page-hero {
    height: clamp(330px, 92vw, 440px);
    min-height: 0;
    max-height: none;
  }
  body.news-hero-page .news-page-hero-photo img {
    object-position: 60% center;
    animation: none;
    transform: none;
  }
  body.news-hero-page .news-page-hero-photo::after {
    background: linear-gradient(90deg, #0b1119d9 0%, #0b12198c 44%, #0c141c14 100%),
      linear-gradient(180deg, #070c1240 0%, transparent 35%, #070c1273 100%);
  }
  body.news-hero-page .news-page-hero-inner {
    justify-content: flex-end;
    box-sizing: border-box;
    padding-top: 96px;
    padding-bottom: 34px;
  }
  body.news-hero-page .news-page-hero-copy { margin: 0; padding: 0; }
  body.news-hero-page .news-page-hero h1 {
    font-size: clamp(30px, 8.2vw, 40px);
    line-height: 1.3;
  }
  body.news-hero-page .news-page-hero-descriptor {
    margin-top: 18px;
    gap: 8px;
    font-size: 10px;
    letter-spacing: .08em;
  }
  body.news-hero-page .news-page-hero-descriptor i { width: 22px; }
  body.contact-refresh .contact-hero {
    height: clamp(256px, calc(92vw - 74px), 366px);
    min-height: 0;
    box-sizing: border-box;
  }
  /* 靠右取景使画面向左移动，完整保留蓝色座椅。 */
  body.contact-refresh .contact-hero > img { object-position: right center; }
  body.contact-refresh .contact-hero-copy {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    padding-top: 24px;
    padding-bottom: 24px;
  }
  body.contact-refresh .contact-hero-copy i { width: 30px; margin-bottom: 16px; }
  body.contact-refresh .contact-hero h1 { font-size: clamp(30px, 8.2vw, 40px); }
  body.contact-refresh .contact-hero p {
    max-width: 32em;
    margin-top: 16px;
    font-size: 12px;
    line-height: 1.85;
  }
}

/* 产品平台手机端：压缩首幕尾部与短剧平台之间的空白。 */
@media (max-width: 800px) {
  body.platform-overview .mg-hero {
    min-height: 0 !important;
    padding-bottom: 160px;
  }
  body.platform-overview .mg-stage { padding-bottom: 24px; }
  body.platform-overview .mg-orbit {
    bottom: auto;
  }
  body.platform-overview.is-wenjing #scene-reelforge { padding-top: 48px; }
}

/* 首页末幕按内容收尾，避免按钮之后出现整屏空白。 */
@media (max-width: 800px) {
  body.home-ui.home-refresh .home-reel > .home-scene.cta-scene {
    min-height: 0;
    padding-bottom: 48px;
  }
}


/* 解决方案手机端：保留圆环展示空间，收紧首幕到数字人能力之间的留白。 */
@media (max-width: 800px) {
  body.solutions-hero-page .solution-platform-hero {
    min-height: 0 !important;
    padding-bottom: clamp(112px, 34.6vw, 180px) !important;
  }
  body.solutions-hero-page .solution-platform-hero .solution-hero-orbit {
    top: auto;
    bottom: 64px;
    transform: translateX(-50%);
  }
  body.solutions-hero-page .solution-platform-hero + .digital-human-showcase {
    min-height: 0 !important;
    padding-top: 48px !important;
  }
}
