/* One viewport-wide atmosphere, shared by every route and every scroll position. */
body{isolation:isolate}
.site-bokeh{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none;contain:strict;--glow-mint:105,230,182;--glow-blue:87,168,255;--glow-violet:197,154,255;--glow-opacity:.23}
:root[data-theme=light] .site-bokeh{--glow-mint:20,170,115;--glow-blue:42,137,220;--glow-violet:146,88,208;--glow-opacity:.36}
.site-bokeh i{position:absolute;display:block;width:clamp(220px,30vw,520px);aspect-ratio:1;border-radius:50%;opacity:var(--glow-opacity);background:radial-gradient(circle,rgba(var(--glow-mint),.9) 0%,rgba(var(--glow-mint),.45) 24%,rgba(var(--glow-mint),.08) 52%,transparent 70%);animation:ambient-drift 28s ease-in-out infinite alternate;left:-8%;top:8%}
.site-bokeh i:nth-child(2){left:35%;top:-18%;animation-duration:35s;animation-delay:-12s;--glow-mint:var(--glow-blue)}
.site-bokeh i:nth-child(3){left:78%;top:15%;animation-duration:31s;animation-delay:-20s;--glow-mint:var(--glow-violet)}
.site-bokeh i:nth-child(4){left:14%;top:58%;animation-duration:38s;animation-delay:-9s;--glow-mint:var(--glow-blue)}
.site-bokeh i:nth-child(5){left:53%;top:47%;animation-duration:26s;animation-delay:-17s}
.site-bokeh i:nth-child(6){left:82%;top:77%;animation-duration:33s;animation-delay:-5s;--glow-mint:var(--glow-violet)}
.site-bokeh i:nth-child(7){left:40%;top:88%;width:clamp(150px,18vw,300px);animation-duration:29s;animation-delay:-23s}
.site-bokeh i:nth-child(8){left:62%;top:4%;width:clamp(140px,16vw,260px);animation-duration:24s;animation-delay:-8s;--glow-mint:var(--glow-blue)}
/* Broader, more saturated light-mode glows without changing content surfaces. */
:root[data-theme=light] .site-bokeh i{background:radial-gradient(circle,rgba(var(--glow-mint),.95) 0%,rgba(var(--glow-mint),.65) 28%,rgba(var(--glow-mint),.2) 52%,transparent 72%)}
@keyframes ambient-drift{0%{transform:translate3d(-25px,-35px,0) scale(.9)}50%{transform:translate3d(45px,30px,0) scale(1.07)}100%{transform:translate3d(-15px,80px,0) scale(1.15)}}
:root.lights-paused .site-bokeh i,:root.page-inactive .site-bokeh i{animation-play-state:paused}
#siteToolbar .lights-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;white-space:nowrap;font-size:12px}
#siteToolbar .lights-toggle svg{width:17px;height:17px;flex:none}
#siteToolbar .lights-toggle:disabled{opacity:.65;cursor:default}
@media(max-width:600px){.site-bokeh i{width:280px}.site-bokeh i:nth-child(n+7){display:none}#siteToolbar .lights-toggle{width:44px;padding:10px}#siteToolbar .lights-toggle span{display:none}.site-preferences{gap:8px}}
@media(prefers-reduced-motion:reduce){.site-bokeh i{animation:none!important}}
