/* v.638 — rules.html: в выбранном светлом режиме старые river/stone-полосы
   не должны занимать место между бумажными страницами.
   Тёмный режим намеренно не затрагивается. */
html[data-rules-theme-choice="light"] body.page-rules :is(
  .rules-river-strip,
  .bgimg-2,
  .animated-river-stone-strip,
  .animated-river-strip,
  .animated-river-strip-v130
) {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  min-height: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

html[data-rules-theme-choice="light"] body.page-rules :is(
  .rules-river-strip,
  .bgimg-2,
  .animated-river-stone-strip,
  .animated-river-strip,
  .animated-river-strip-v130
)::before,
html[data-rules-theme-choice="light"] body.page-rules :is(
  .rules-river-strip,
  .bgimg-2,
  .animated-river-stone-strip,
  .animated-river-strip,
  .animated-river-strip-v130
)::after {
  display: none !important;
  content: none !important;
}
