/* r39: one 512x768 source pose painted continuously at native 265x397.5.
   Exact approved position and uniform scale remain unchanged. */
#sanctuary-scene-bounds{--agandar-actor-ambient:.4}
#sanctuary-scene-bounds[data-lamp=dim]{--agandar-actor-ambient:.32}
#sanctuary-scene-bounds .sanctuary-agandar-actor-r59{position:absolute;left:71.05263157894737%;top:40.06376195536664%;width:15.849282296650719%;height:42.2422954303932%;z-index:5;background:none;pointer-events:none;filter:brightness(var(--agandar-actor-ambient));contain:paint}
#sanctuary-scene-bounds .sanctuary-agandar-emission-r59{background:none;filter:none}
#sanctuary-scene-bounds .sanctuary-agandar-table-r59{position:absolute;inset:0;width:100%;height:100%;z-index:6;pointer-events:none}
/* The masked source already includes its approved alpha/intensity. No extra
   grain, global filter, generated noise, or duplicate floor-contact image. */
#sanctuary-scene-bounds .sanctuary-agandar-grain-r37{position:absolute;inset:0;z-index:4;pointer-events:none;background:url('/assets/sanctuary/remaster-r37/agandar/agandar-stone-filmgrain-r37.png') 0 0/100% 100% no-repeat;mix-blend-mode:overlay}
#sanctuary-scene-bounds :is(.sanctuary-agandar-actor-r59,.sanctuary-agandar-table-r59,.sanctuary-agandar-grain-r37)[hidden]{display:none!important}
/* New registered plates already own wall ON/OFF. Hide the complete displaced
   r58 host, not just its grain, plus any stale v10 authored light remnants. */
#sanctuary-view[data-scene=agandar][data-agandar-layered-art=r37] :is(.ar-agandar-interior,[data-room-layer=agandar-dimming],[data-room-layer=agandar-emission],[data-room-layer=agandar-spill],.sanctuary-lamp-glow,.sanctuary-scene-night){display:none!important;animation:none!important}

/* Eye-driven surface spill shares the actor clock, including paused blinks.
   The independent cheek/chin emission is not attenuated by this property. */
#sanctuary-scene-bounds [data-room-layer="agandar-mask-spill-r40"]{opacity:var(--agandar-eye-spill-opacity,1)!important}
