/* Local Agandar signals. Native cards/controls never translate. */
#questlog-agandar-atmosphere231{position:absolute;inset:0;z-index:2;overflow:hidden;pointer-events:none;contain:strict;isolation:isolate;opacity:.68}
#questlog-agandar-atmosphere231[hidden]{display:none!important}
.ag231-fragment{position:absolute;left:var(--x);top:var(--y);width:var(--w);height:var(--h);border-left:1px solid #cd314c80;border-top:1px solid #9a21364d;background:repeating-linear-gradient(0deg,#ad223b14 0 1px,transparent 1px 5px),linear-gradient(90deg,#570a2026,transparent);clip-path:polygon(0 0,73% 0,100% 22%,100% 100%,17% 100%,0 72%);animation:ag231-fracture var(--duration) steps(1,end) var(--delay) infinite;animation-play-state:paused}
.ag231-fragment::after{content:'';position:absolute;left:12%;right:3%;top:46%;height:1px;background:#c3334e7a;box-shadow:18px 4px #8b142a3d,-22px 9px #8b142a30}
.ag231-trace{position:absolute;left:var(--x);top:var(--y);width:var(--w);height:var(--h);border-left:1px solid #95273d66;border-bottom:1px solid #95273d66;animation:ag231-carrier var(--duration) ease-in-out var(--delay) infinite;animation-play-state:paused}
.ag231-trace::after{content:'';position:absolute;bottom:-2px;right:0;width:4px;height:4px;background:#cd425d88;box-shadow:0 0 8px #a52c4666}
.ag231-texture{position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent 0 5px,#0904082b 5px 6px);opacity:.3;mask-image:linear-gradient(90deg,#000,transparent 24% 76%,#000)}
#questlog-agandar-atmosphere231[data-moving=true] :is(.ag231-fragment,.ag231-trace){animation-play-state:running}
@keyframes ag231-fracture{0%,73%,76%,100%{transform:translate(0);opacity:.26}73.5%{transform:translate(7px,-1px);opacity:.52}74.5%{transform:translate(-4px,1px);opacity:.34}75.5%{transform:translate(2px);opacity:.38}}
@keyframes ag231-carrier{0%,100%{opacity:.18}51%{opacity:.55}79%{opacity:.3}}
body[data-ar-document=games][data-window-theme=agandar] :is(.hub-intro,.hub-toolbar,.hub-card,.sanctuary-card){box-shadow:inset 2px 0 #61132755,0 8px 24px #0005}
body[data-ar-document=games][data-window-theme=agandar] :is(.hub-intro,.hub-toolbar){border-color:#662138!important}
@media(max-width:640px){.ag231-fragment:nth-child(even),.ag231-trace:nth-child(even){display:none}#questlog-agandar-atmosphere231{opacity:.48}}
@media(prefers-reduced-motion:reduce),(forced-colors:active),(prefers-contrast:more){#questlog-agandar-atmosphere231{display:none!important}}

/* Anchored signal detailing is visible above opaque panel fill, clear of copy. */
body[data-ar-document=games][data-window-theme=agandar] :is(.hub-intro,.hub-toolbar){position:relative}
body[data-ar-document=games][data-window-theme=agandar] :is(.hub-intro,.hub-toolbar)::before{content:'';position:absolute;right:10px;top:7px;width:112px;height:9px;pointer-events:none;border-top:1px solid #a32b4580;border-right:1px solid #a32b4580;background:repeating-linear-gradient(90deg,transparent 0 9px,#8b233a66 9px 11px,transparent 11px 23px);opacity:.6}
body[data-ar-document=games][data-window-theme=agandar] :is(.hub-intro,.hub-toolbar)::after{content:'';position:absolute;left:9px;bottom:6px;width:67px;height:5px;pointer-events:none;border-bottom:1px solid #8d294366;background:linear-gradient(90deg,#9d2b4566 0 16%,transparent 16% 34%,#9d2b4533 34% 61%,transparent 61%);opacity:.5}
body[data-ar-document=games][data-window-theme=agandar] #hub-title{color:#bd4059!important}
body:has(#questlog-agandar-atmosphere231[data-moving=true]) .hub-intro::before{animation:ag231-fracture 19.7s steps(1,end) -8.4s infinite}
body:has(#questlog-agandar-atmosphere231[data-moving=true]) .hub-toolbar::after{animation:ag231-fracture 27.3s steps(1,end) -17.1s infinite}
@media(prefers-reduced-motion:reduce),(forced-colors:active),(prefers-contrast:more){body[data-ar-document=games][data-window-theme=agandar] :is(.hub-intro,.hub-toolbar)::before,body[data-ar-document=games][data-window-theme=agandar] :is(.hub-intro,.hub-toolbar)::after{display:none}}
