/* DARK dividers use the public running header and responsive spacing. */
html[data-theme="dark"] #main :is(#cq-chapter-01,#zhike-chapter-03,#other-products-chapter-04)>.u-header{position:absolute;left:0;right:0;top:0;z-index:5;color:rgba(255,255,255,.75)}
html[data-theme="dark"] #main :is(#cq-chapter-01,#zhike-chapter-03,#other-products-chapter-04) .zkc-stage>.zkc-header{display:none}
/* The badge starts at 140px in the artboard while the running header sizes independently. */
@media screen {
  html[data-theme="dark"] body:not(.canvas-mode) #main :is(#cq-chapter-01, #zhike-chapter-03, #other-products-chapter-04, #brand-chapter-05).chapter-divider {
    --chapter-stage-offset: max(0px, calc(var(--portfolio-row-height) + 24px - 140px * var(--zk592-scale, 1)));
    height: calc(700px * var(--zk592-scale, 1) + 2px + var(--chapter-stage-offset));
  }

  html[data-theme="dark"] body:not(.canvas-mode) #main .chapter-divider > .zkc-stage {
    top: var(--chapter-stage-offset, 0px);
  }
}
