/* Procedural SVG filaments echo the anomaly without another rendering loop. */
.chapter-enter{flex-direction:column;gap:8px;border:0;padding:8px 16px;bottom:calc(23px + var(--chapter-header-space,0px))}
.chapter-scroll-icon{display:block;width:30px;height:47px;color:color-mix(in srgb,var(--anomaly-energy,var(--mint)) 65%,var(--text));filter:drop-shadow(0 0 4px color-mix(in srgb,var(--anomaly-energy,var(--mint)) 30%,transparent))}
.chapter-scroll-icon svg{display:block;width:100%;height:100%;overflow:visible}
.scroll-shell{stroke:currentColor;stroke-width:1;opacity:.4}
.scroll-filament{stroke:currentColor;stroke-width:.8;stroke-dasharray:19 7 3 10;animation:scroll-filament-flow 7s linear infinite;opacity:.85}
.scroll-filament-secondary{stroke-width:.55;stroke-dasharray:8 11;animation-duration:10s;animation-direction:reverse;opacity:.55}
.scroll-trace{stroke:currentColor;stroke-width:.65;stroke-dasharray:2 4;opacity:.3}
.scroll-spark{fill:currentColor;animation:scroll-spark-drift 2.6s ease-in-out infinite}
.scroll-spark-halo{opacity:.12}
.scroll-dust{fill:currentColor;animation:scroll-dust-drift 3.4s ease-in-out infinite}
.scroll-dust-two{animation-delay:-1.7s}
.chapter-enter>span.chapter-scroll-caption{font-size:10px;letter-spacing:.6px;color:var(--muted)}
.chapter-enter:hover .chapter-scroll-caption{color:var(--text)}
@keyframes scroll-filament-flow{to{stroke-dashoffset:-156}}
@keyframes scroll-spark-drift{0%{transform:translateY(0);opacity:0}18%{opacity:1}72%{opacity:.8}100%{transform:translateY(18px);opacity:0}}
@keyframes scroll-dust-drift{0%,100%{transform:translate(0,0);opacity:.15}50%{transform:translate(2px,5px);opacity:.65}}
@media(max-width:650px){.chapter-enter{gap:5px;bottom:calc(20px + var(--chapter-header-space,0px))}.chapter-scroll-icon{width:25px;height:39px}.chapter-enter>span.chapter-scroll-caption{font-size:9px}}
@media(prefers-reduced-motion:reduce){.chapter-scroll-icon *{animation:none!important}.scroll-spark{opacity:1}}
