/* 家谱：允许横向纵向自由滚动，不再把一屏以外的人切掉 */
html body .kin-tree,
html body .tree-wrap,
html body .tree-box,
html body .kinship-tree,
html body [class*="tree"] {
  overflow: auto !important;
  max-width: none !important;
  max-height: none !important;
}

/* 每一辈那一行：按内容撑开，横向可滑 */
html body [class*="tree"] [class*="row"],
html body [class*="gen-"],
html body [class*="level"] {
  flex-wrap: nowrap !important;
  min-width: max-content !important;
}

/* 家谱页外层容器也放开 */
html body .page > div[style*="overflow"] {
  overflow: auto !important;
}
