/* Only the original outer chapter shell changes. Descendant styling is untouched. */
[data-open-section] {
  position: relative !important;
  isolation: isolate;
  overflow: clip !important;
  overflow-clip-margin: border-box var(--section-bleed);
  border-color: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: none !important;
}
[data-open-section]::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc((100% - var(--section-viewport-width)) / 2);
  width: var(--section-viewport-width);
  background: var(--section-original-background);
  pointer-events: none;
  z-index: -1;
}
/* Decorative rim/halo belongs to the removed outer shell, never to an inner card. */
[data-open-section]::after { display: none !important; }
