/* Override legacy reading-state rules that disabled snap inside long chapters.
   Oversized native snap areas remain freely scrollable between their two edges. */
html[data-wechat-free-scroll][data-wechat-native-snap]{
  scroll-snap-type:y mandatory!important;
  scroll-padding-block:0;
}
html[data-wechat-native-snap] :is(.wechat-cover,.wechat-intro,.wechat-overview-screen,.wechat-problem-screen,.wechat-decision,.wechat-flow,.wechat-report-screen,.wechat-prompt-screen,.wechat-evaluation-screen,.wechat-boundary-screen,.sales-template-hero,.sales-template-section){
  scroll-snap-align:start;
  scroll-snap-stop:always;
  scroll-margin-block:0;
}
/* The legacy article wrapper contains two chapters and must not add a third stop. */
html[data-wechat-native-snap] #wechat-original-content{scroll-snap-align:none;}
/* A body with overflow-x:hidden computes overflow-y:auto and captures the snap
   areas without actually scrolling. Keep chapter snap areas attached to HTML. */
html[data-wechat-native-snap] body{overflow:visible!important;}
html[data-wechat-native-snap]{overflow-x:clip;}
html[data-wechat-native-snap] .wechat-chapter-end{
  display:block;
  block-size:0;
  margin:0;
  padding:0;
  border:0;
  scroll-snap-align:end;
  scroll-snap-stop:always;
  scroll-margin:0;
  pointer-events:none;
}
