.channel-case-open { display: none; }
.channel-partners-more { display: none; }
.channel-detail {
  inset: 0; width: 100%; max-width: none; height: 100%; max-height: none;
  margin: 0; padding: 0; border: 0; background: #041121; color: #eaf5ff;
  box-sizing: border-box; overflow: hidden;
}
.channel-detail[open] { display: flex; flex-direction: column; }
.channel-detail::backdrop { background: #020b19e6; }
.channel-detail-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: max(18px, env(safe-area-inset-top)) 22px 18px;
  flex: none; border-bottom: 1px solid #8ac6f333;
}
.channel-detail-bar h2 { margin: 0; font-size: 19px; line-height: 1.5; color: #fff; }
.channel-detail-close { flex: none; border: 1px solid #8ac6f355; background: #102a41; color: #fff; padding: 8px 16px; border-radius: 24px; font: inherit; }
.channel-detail-content { overflow-y: auto; overscroll-behavior: contain; padding: 22px 22px max(32px, env(safe-area-inset-bottom)); }
.channel-detail-image { display: block; width: 100%; height: auto; max-height: 240px; object-fit: cover; border-radius: 10px; margin-bottom: 24px; }
body.mkt-page--channel .channel-detail p { font-size: 14px; line-height: 1.95; color: #c7d9e9; }
body.mkt-page--channel .channel-detail .mkt-reach-list { display: grid; gap: 24px; margin-top: 24px; }
body.mkt-page--channel .channel-detail .mkt-reach-list b { display: block; margin-bottom: 6px; color: #fff; font-size: 16px; }
body.mkt-page--channel .channel-detail .mkt-reach-list span { color: #c7d9e9; font-size: 14px; line-height: 1.9; }
.channel-detail .mkt-reach-list img, .channel-detail .mkt-reach-note img { width: 18px; height: 18px; display: inline-block; margin-right: 6px; }
body.mkt-page--channel .channel-detail .mkt-case-body { padding: 0; }
body.mkt-page--channel .channel-detail .mkt-case-body h3 { color: #fff; font-size: 23px; }
body.mkt-page--channel .channel-detail .mkt-case-facts { margin-top: 24px; }
body.mkt-page--channel .channel-detail .mkt-case-facts dd { color: #c7d9e9; }
body.mkt-page--channel .channel-detail .mkt-case-label,
body.mkt-page--channel .channel-detail .mkt-case-facts dt { color: #9dc0d9; font-size: 13px; letter-spacing: 0; }
@media (max-width: 800px) {
  body.mkt-page--channel .mkt-partner-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(6px, 2.4vw, 12px);
  }
  body.mkt-page--channel .mkt-partner-grid figure {
    aspect-ratio: 1;
    padding: 6px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 4px;
    min-width: 0;
  }
  body.mkt-page--channel .mkt-partner-grid figure:hover { background: #fff; }
  body.mkt-page--channel .mkt-partner-grid figure[hidden] { display: none; }
  body.mkt-page--channel .mkt-partner-grid img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
  }
  .channel-partners-more:not([hidden]) {
    display: block;
    margin: 24px auto 0;
    padding: 10px 24px;
    background: transparent;
    border: 0;
    color: #aec9df;
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 6px;
    cursor: pointer;
  }
  body.mkt-page--channel.channel-detail-ready .mkt-reach { display: grid; grid-template-columns: 1fr; gap: 14px; height: auto; }
  body.mkt-page--channel.channel-detail-ready .mkt-reach-panel,
  body.mkt-page--channel.channel-detail-ready .mkt-reach-panel.is-active {
    height: 144px; min-height: 0; flex: none; border-radius: 10px;
    cursor: pointer; transform: none; border: 1px solid #7db8df44;
  }
  body.mkt-page--channel.channel-detail-ready .mkt-reach-bg img { transform: none; filter: brightness(.75); object-position: center 40%; }
  body.mkt-page--channel.channel-detail-ready .mkt-reach-bg::after { background: linear-gradient(90deg, #03101fba, #03101f33); }
  body.mkt-page--channel.channel-detail-ready .mkt-reach-body { padding: 22px; justify-content: center; }
  body.mkt-page--channel.channel-detail-ready .mkt-reach-num,
  body.mkt-page--channel.channel-detail-ready .mkt-reach-detail { display: none; }
  body.mkt-page--channel.channel-detail-ready .mkt-reach-title,
  body.mkt-page--channel.channel-detail-ready .mkt-reach-panel.is-active .mkt-reach-title { margin: 0; justify-content: space-between; font-size: clamp(21px, 6vw, 27px); }
  body.mkt-page--channel.channel-detail-ready .mkt-reach-title .arrow { opacity: 1; transform: none; font-size: 24px; }
  body.mkt-page--channel .mkt-reach-panel:focus-visible,
  .channel-case-open:focus-visible, .channel-detail-close:focus-visible { outline: 3px solid #64c9ff; outline-offset: 3px; }
  body.mkt-page--channel.channel-detail-ready .mkt-cases { width: 100%; max-width: 380px; }
  body.mkt-page--channel.channel-detail-ready .mkt-cases-track { align-items: flex-start; }
  body.mkt-page--channel.channel-detail-ready .mkt-case { display: flex; flex-direction: column; gap: 0; background: #fff; border-radius: 12px; overflow: hidden; align-items: stretch; }
  body.mkt-page--channel.channel-detail-ready .mkt-case-media { margin: 0; min-height: 0; height: auto; aspect-ratio: 1.9; border-radius: 0; }
  body.mkt-page--channel.channel-detail-ready .mkt-case-media img { object-fit: cover; object-position: center; }
  body.mkt-page--channel.channel-detail-ready .mkt-case-tag,
  body.mkt-page--channel.channel-detail-ready [data-cases] .mkt-case-label,
  body.mkt-page--channel.channel-detail-ready [data-cases] .mkt-case-body > p { display: none; }
  body.mkt-page--channel.channel-detail-ready [data-cases] .mkt-case-body { padding: 18px 20px 20px; max-width: none; }
  body.mkt-page--channel.channel-detail-ready [data-cases] .mkt-case-body h3 { margin: 0; font-size: clamp(17px, 4.5vw, 21px); line-height: 1.5; text-align: center; color: #333; }
  body.mkt-page--channel.channel-detail-ready [data-cases] .mkt-case-facts { display: grid; grid-template-columns: 1fr; gap: 6px; margin: 16px 0; padding-top: 14px; border-top: 1px solid #e7ebef; }
  body.mkt-page--channel.channel-detail-ready [data-cases] .mkt-case-facts div { display: flex; justify-content: center; flex-wrap: wrap; align-items: baseline; padding: 0; border: 0; }
  body.mkt-page--channel.channel-detail-ready [data-cases] .mkt-case-facts dt { color: #666; font: inherit; font-size: 12px; letter-spacing: 0; }
  body.mkt-page--channel.channel-detail-ready [data-cases] .mkt-case-facts dd { margin: 0; color: #555; font-size: 12px; line-height: 1.8; }
  body.mkt-page--channel.channel-detail-ready [data-cases] .mkt-case-facts b { display: inline; margin: 0 0 0 4px; color: #da4d46; font-size: 19px; }
  body.mkt-page--channel.channel-detail-ready .channel-case-open { display: block; width: 100%; padding: 10px 16px; background: #fff; color: #c44a43; border: 1px solid #d95a51; border-radius: 30px; font-size: 13px; cursor: pointer; }
}

/* 手机端场景详情就地展开，再次点击原卡片收起。 */
.channel-reach-expanded[hidden] { display: none !important; }
@media (max-width: 800px) {
  body.mkt-page--channel .channel-reach-expanded {
    padding: 22px;
    margin-top: -14px;
    background: #051321;
    border: 1px solid #7db8df44;
    border-top: 0;
    border-radius: 0 0 10px 10px;
  }
  body.mkt-page--channel.channel-detail-ready .mkt-reach-panel.is-expanded { border-radius: 10px 10px 0 0; }
  body.mkt-page--channel.channel-detail-ready .mkt-reach-panel.is-expanded .arrow { transform: rotate(90deg); }
  body.mkt-page--channel .channel-reach-expanded p { color: #c7d9e9; font-size: 14px; line-height: 1.95; }
  body.mkt-page--channel .channel-reach-expanded .mkt-reach-list { display: grid; gap: 24px; margin-top: 24px; }
  body.mkt-page--channel .channel-reach-expanded .mkt-reach-list b { display: block; margin-bottom: 6px; color: #fff; font-size: 16px; }
  body.mkt-page--channel .channel-reach-expanded .mkt-reach-list span { color: #c7d9e9; font-size: 14px; line-height: 1.9; }
  .channel-reach-expanded .mkt-reach-list img, .channel-reach-expanded .mkt-reach-note img { width: 18px; height: 18px; display: inline-block; margin-right: 6px; }
}
