.widget.toc .card-content.toc-content{scroll-behavior:smooth;will-change:scroll-position;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 140px);padding-bottom:8px;position:relative;overflow:hidden auto}.widget.toc .toc-content::-webkit-scrollbar{width:4px}.widget.toc .toc-content::-webkit-scrollbar-track{background:0 0;border-radius:4px}.widget.toc .toc-content::-webkit-scrollbar-thumb{background:var(--theme,#409eff);opacity:.6;border-radius:4px;transition:background .3s}.widget.toc .toc-content::-webkit-scrollbar-thumb:hover{background:var(--theme,#409eff);opacity:1}.widget.toc .toc-content{scrollbar-width:thin;scrollbar-color:var(--theme,#409eff) transparent}.widget.toc{position:relative}.widget.toc .toc-content:before{content:"";background:linear-gradient(to bottom, var(--background,#fff) 0%, var(--background,#fff) 30%, transparent 100%);pointer-events:none;z-index:2;opacity:0;height:20px;margin-bottom:-20px;transition:opacity .3s;position:sticky;top:0;left:0;right:0}.widget.toc .toc-content:after{content:"";background:linear-gradient(to top, var(--background,#fff) 0%, var(--background,#fff) 30%, transparent 100%);pointer-events:none;z-index:2;opacity:0;height:20px;margin-top:-20px;transition:opacity .3s;position:sticky;bottom:0;left:0;right:0}.widget.toc .toc-content.can-scroll-up:before,.widget.toc .toc-content.can-scroll-down:after{opacity:1}.widget.toc .menu-list a{border-radius:4px;margin:2px 0;transition:all .25s}.widget.toc .menu-list a.is-active{background-color:var(--bg-e,#409eff);color:var(--light-a,#fff);font-weight:500;transform:translate(2px);box-shadow:0 2px 8px #0000001a}.widget.toc .menu-list a:not(.is-active):hover{background-color:var(--bg-c,#f5f5f5);transform:translate(2px)}.widget.toc .menu-list a i{transition:transform .25s,color .25s}.widget.toc .menu-list a.is-active i,.widget.toc .menu-list a:hover i{color:var(--theme,#409eff);transform:rotate(45deg)}.widget.toc .menu-list a.is-active i{color:inherit}@media (height>=900px){.widget.toc .card-content.toc-content{max-height:calc(100vh - 120px)}}@media (width<=1023px){.widget.toc .card-content.toc-content{max-height:calc(100vh - 120px)}}.navbar-slideout .toc-content{scroll-behavior:smooth;max-height:calc(100vh - 300px);overflow-y:auto}.navbar-slideout .toc-content::-webkit-scrollbar{width:3px}.navbar-slideout .toc-content::-webkit-scrollbar-thumb{background:var(--theme,#409eff);border-radius:3px}html[data-theme=dark] .widget.toc .toc-content:before,html.dark .widget.toc .toc-content:before{background:linear-gradient(to bottom, var(--background,#1a1a2e) 0%, var(--background,#1a1a2e) 30%, transparent 100%)}html[data-theme=dark] .widget.toc .toc-content:after,html.dark .widget.toc .toc-content:after{background:linear-gradient(to top, var(--background,#1a1a2e) 0%, var(--background,#1a1a2e) 30%, transparent 100%)}html[data-theme=dark] .widget.toc .menu-list a.is-active,html.dark .widget.toc .menu-list a.is-active{box-shadow:0 2px 8px #0000004d}@keyframes toc-highlight{0%{background-color:var(--bg-e,#409eff)}50%{background-color:var(--theme,#409eff)}to{background-color:var(--bg-e,#409eff)}}.widget.toc .menu-list a.is-active.toc-flash{animation:.6s toc-highlight}.widget.toc .toc-content:empty:before,.widget.toc .toc-content:empty:after{display:none}@media print{.widget.toc .card-content.toc-content{max-height:none;overflow:visible}.widget.toc .toc-content:before,.widget.toc .toc-content:after{display:none}}
