/* One viewport-sized effect follows the pointer across the entire page. */
.atrilume-spotlight-page{--as-size:clamp(210px,19vw,270px);--as-strength:.85;--as-highlight:rgba(242,227,205,.30);--as-core:rgba(227,192,143,.32);--as-mid:rgba(185,142,99,.20);--as-edge:rgba(185,142,99,0)}
/* Screen blending preserves the page's dark surfaces and readable text. */
.atrilume-spotlight-page body:before{content:'';position:fixed;inset:0;z-index:50;pointer-events:none;mix-blend-mode:screen;opacity:var(--as-strength);background:radial-gradient(circle calc(var(--as-size)/2) at 50% 44%,var(--as-highlight) 0%,var(--as-core) 10%,var(--as-mid) 42%,var(--as-edge) 82%)}
.atrilume-spotlight-page .atrilume-spotlight__layer{position:fixed;inset:0;z-index:50;overflow:hidden;pointer-events:none;contain:paint;mix-blend-mode:screen;opacity:var(--as-strength)}
.atrilume-spotlight-page .atrilume-spotlight__light{position:absolute;top:0;left:0;width:var(--as-size);height:var(--as-size);transform:translate3d(0,0,0);will-change:transform;pointer-events:none;background:radial-gradient(circle closest-side at 50% 50%,var(--as-highlight) 0%,var(--as-core) 10%,var(--as-mid) 42%,var(--as-edge) 82%)}
.atrilume-spotlight-page .atrilume-cursor-host{position:fixed;inset:0;overflow:hidden;z-index:101;pointer-events:none;mix-blend-mode:difference}
.atrilume-spotlight-page .atrilume-cursor{position:absolute;left:0;top:0;width:6px;height:6px;margin:-3px 0 0 -3px;opacity:0;pointer-events:none;border:0;border-radius:50%;background:#F2EEE4;will-change:transform}
.atrilume-spotlight-page[data-cursor-active=true] .atrilume-cursor{opacity:1}
.atrilume-spotlight-page[data-cursor-hover=true] .atrilume-cursor{width:10px;height:10px;margin:-5px 0 0 -5px}
@media(max-width:760px){.atrilume-spotlight-page{--as-size:clamp(120px,31vw,180px)}}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 .atrilume-spotlight-page[data-spotlight-mode=dynamic] body:before{display:none}
 .atrilume-spotlight-page[data-spotlight-mode=dynamic][data-cursor-active=true],.atrilume-spotlight-page[data-spotlight-mode=dynamic][data-cursor-active=true] *{cursor:none!important}
}
@media(hover:none),(pointer:coarse),(prefers-reduced-motion:reduce){
 .atrilume-spotlight-page .atrilume-spotlight__layer,.atrilume-spotlight-page .atrilume-cursor-host{display:none}
 .atrilume-spotlight-page[data-spotlight-mode=dynamic] body:before{display:block}
}
@media(forced-colors:active){.atrilume-spotlight-page body:before,.atrilume-spotlight-page .atrilume-spotlight__layer,.atrilume-spotlight-page .atrilume-cursor-host{display:none}.atrilume-spotlight-page[data-cursor-active=true],.atrilume-spotlight-page[data-cursor-active=true] *{cursor:auto!important}}
