@layer ar-azeroth155,ar-world154;
@layer ar-azeroth155 {
/* Native Dorm material recipe: unchanged cat endpieces, nine-sliced rail and wells. */
.ar-library-player[data-player-app=azeroth]{--az-bar:72px;height:calc(var(--world-window-width154)*.5625 + var(--az-bar))!important;background:#170d1c!important;border-color:#9e4a91!important}
.ar-library-player[data-player-app=azeroth] .ar-library-player-top{box-sizing:border-box!important;height:var(--az-bar)!important;min-height:var(--az-bar)!important;flex:0 0 var(--az-bar)!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:0 4px!important;background:#170d1c!important;border:13px solid transparent!important;border-left-width:59px!important;border-right-width:59px!important;border-image:url('/assets/sanctuary/hud-r40/azeroth-rail-v1.webp') 26 118 26 118 fill stretch!important;border-image-width:13px 59px!important}
.ar-library-player[data-player-app=azeroth] .ar-library-player-heading{flex:1 1 auto!important;width:auto!important;height:auto!important;text-align:left!important;min-width:0!important;display:block!important}
.ar-library-player[data-player-app=azeroth] .ar-library-player-heading h2{font:600 clamp(12px,1.3vw,17px)/1.3 system-ui,sans-serif!important;white-space:nowrap!important;color:#ffd4ef!important;text-shadow:none!important;overflow:hidden!important;text-overflow:ellipsis!important}
.ar-library-player[data-player-app=azeroth] .ar-library-player-actions{flex:0 0 auto!important;display:flex!important;margin:0!important;gap:6px!important;align-items:center!important}
.ar-library-player[data-player-app=azeroth] .ar-library-player-actions>button{box-sizing:border-box!important;flex:0 0 46px!important;width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important;padding:10px!important;background:#170d1c!important;border:9px solid transparent!important;border-bottom-width:6px!important;border-image:url('/assets/sanctuary/hud-r40/azeroth-well-v1.webp') 84 78 30 78 fill stretch!important;border-image-width:9px 9px 6px!important;color:#ffd4ef!important;box-shadow:none!important;font:14px system-ui!important;position:relative!important;overflow:visible!important}
.ar-library-player[data-player-app=azeroth] .ar-library-player-actions>button>svg{position:absolute;inset:0;margin:auto;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.ar-library-player[data-player-app=azeroth] .ar-library-player-actions>button>span{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important}
.ar-library-player[data-player-app=azeroth] .ar-library-player-actions>button:hover{color:#fff1fc!important;filter:brightness(1.18)}
.ar-library-player[data-player-app=azeroth] .ar-library-player-actions>button:focus-visible{outline:2px solid #dfa7ff!important;outline-offset:2px!important}
.ar-library-player[data-player-app=azeroth] .ar-library-player-actions>button[aria-pressed=true]{box-shadow:inset 0 -3px #e8a1ee!important}
.ar-library-player[data-player-app=azeroth] [data-world-menu154]{display:none!important}
.ar-library-player[data-player-app=azeroth] .ar-library-loading{background:linear-gradient(#120b1c55,#100b19aa),url('/assets/sanctuary/room-azeroth-occupied-unlit-preview-v6.webp') center/cover!important}
.ar-library-player[data-player-app=azeroth] .ar-launch-atmosphere,.ar-library-player[data-player-app=azeroth] .ar-launch-knot{display:none!important}
.ar-library-player[data-player-app=azeroth] .ar-launch-content{padding:18px 28px!important;min-height:0!important;gap:8px!important;background:radial-gradient(ellipse,#1d1029ed,#140b21a8 65%,transparent 75%)!important;border:0!important;box-shadow:none!important;color:#ffe2f6!important}
.ar-library-player[data-player-app=azeroth] .ar-launch-content::before{content:'';display:block!important;flex:none;width:110px;height:110px;margin:0 auto 8px;background:url('/assets/azeroth-game-r155/kitty.svg') center/contain no-repeat;animation:az-kitty155 2s ease-in-out infinite alternate}
.ar-library-player[data-player-app=azeroth] .ar-launch-content h2,.ar-library-player[data-player-app=azeroth] .ar-launch-content p{font-family:system-ui,sans-serif!important;color:#ffe2f6!important;text-align:center!important}
@keyframes az-kitty155{to{filter:drop-shadow(0 0 9px #ee65c58a)}}
@media(prefers-reduced-motion:reduce){.ar-library-player[data-player-app=azeroth] .ar-launch-content::before{animation:none}}
@media(max-width:700px),(max-height:600px){.ar-library-player[data-player-app=azeroth]{--az-bar:104px}.ar-library-player[data-player-app=azeroth] .ar-library-player-top{flex-direction:column!important;justify-content:center!important;gap:5px!important;padding:5px 0!important;border-width:10px 34px!important;border-image-width:10px 34px!important}.ar-library-player[data-player-app=azeroth] .ar-library-player-heading{flex:0 0 auto!important;text-align:center!important;width:100%!important}.ar-library-player[data-player-app=azeroth] .ar-library-player-heading h2{font-size:13px!important}.ar-library-player[data-player-app=azeroth] .ar-library-player-actions{gap:4px!important}.ar-library-player[data-player-app=azeroth] .ar-library-player-actions>button{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;flex-basis:44px!important}.ar-library-player[data-player-app=azeroth] .ar-launch-content{padding:6px 14px!important;gap:4px!important}.ar-library-player[data-player-app=azeroth] .ar-launch-content::before{width:64px;height:64px;margin-bottom:0}.ar-library-player[data-player-app=azeroth] .ar-launch-content p{font-size:12px!important;line-height:1.3!important}}
/* No invisible full-scene lamp target. The one focusable control follows the painted lamp. */
html[data-world-embedded154=cyber] #sanctuary-lamp-target{display:none!important;pointer-events:none!important}
html[data-world-embedded154=cyber] #sanctuary-view #sanctuary-scene-bounds [data-hotspot=lamp]{left:25%!important;top:32.1363%!important;width:5.2486%!important;height:11.418%!important;min-width:0!important;min-height:0!important;transform:none!important;border:0!important;border-radius:0!important;background:transparent!important;clip-path:polygon(44% 0,66% 4%,89% 18%,100% 31%,100% 37%,61% 39%,61% 91%,84% 94%,84% 100%,22% 100%,22% 94%,45% 91%,45% 39%,0 39%,0 31%,11% 17%,27% 5%)!important;z-index:70!important}
html[data-world-embedded154=cyber] #sanctuary-view [data-hotspot=lamp] .sanctuary-hotspot-dot,html[data-world-embedded154=cyber] #sanctuary-view [data-hotspot=lamp] .sanctuary-hotspot-label{display:none!important}
html[data-world-embedded154=cyber] #sanctuary-view #sanctuary-scene-bounds [data-hotspot=lamp]:is(:hover,:focus-visible){background:#ffd2f72c!important;outline:none!important}
html[data-world-embedded154=cyber] #sanctuary-view [data-hotspot=bookshelf]{display:none!important}
}

@layer ar-azeroth155{@media(max-width:700px),(max-height:600px){.ar-library-player[data-player-app=azeroth][data-az-talk155=true]{height:calc(100dvh - 24px)!important;max-height:calc(100dvh - 24px)!important;width:min(1000px,calc(100vw - 16px))!important}}}

@layer ar-azeroth155{
html[data-world-embedded154=cyber] #sanctuary-view :is(.sanctuary-mobile-header39,.sanctuary-mobile-actions39,.sanctuary-mobile-backdrop39,.sanctuary-mobile-view-status39,.sanctuary-mobile-toys39,.sanctuary-mobile-toy-shelf39,.sanctuary-mobile-feature39,.sanctuary-mobile-toggle39,.sanctuary-mobile-hint39){display:none!important;pointer-events:none!important}
.ar-library-player[data-player-app=azeroth]:has([data-player-retry]:not([hidden])){min-height:min(450px,calc(100dvh - 24px))!important}
.ar-library-player[data-player-app=azeroth] [data-player-retry]{position:relative!important;display:block!important;min-height:44px!important;margin:8px auto 0!important;padding:8px 20px!important;color:#ffe2f6!important;background:#392040!important;border:1px solid #f874d1!important;border-radius:5px!important;font:600 14px system-ui!important}
.ar-library-player[data-player-app=azeroth] [data-player-retry][hidden]{display:none!important}
}@layer ar-azeroth155{@media(max-width:700px),(max-height:600px){
.ar-library-player[data-player-app=azeroth] .ar-library-player-top{border:1px solid #bf66aa!important;border-image:none!important;padding:8px 38px!important;box-shadow:inset 0 0 0 3px #36132f,inset 0 0 0 5px #d869c680!important}
.ar-library-player[data-player-app=azeroth] .ar-library-player-top::before,.ar-library-player[data-player-app=azeroth] .ar-library-player-top::after{content:'';position:absolute;top:50%;transform:translateY(-50%);width:34.4px;height:42px;background-image:url('/assets/sanctuary/hud-r40/azeroth-rail-v1.webp');background-size:431.67px 42px;background-repeat:no-repeat;pointer-events:none}
.ar-library-player[data-player-app=azeroth] .ar-library-player-top::before{left:3px;background-position:left center}
.ar-library-player[data-player-app=azeroth] .ar-library-player-top::after{right:3px;background-position:right center}
}}@layer ar-azeroth155{
html[data-world-embedded154=cyber] #sanctuary-view{--hub-bar:0px!important}
html[data-world-embedded154=cyber] #sanctuary-view :is(.sanctuary-window-head,.hud38-window-options,#sanctuary-window-ui-toggle){display:none!important}
html[data-world-embedded154=cyber] #sanctuary-view #sanctuary-window-view .sanctuary-resident-target{opacity:1!important;visibility:visible!important;pointer-events:auto!important}
@media(min-width:701px) and (max-height:600px){
.ar-library-player[data-player-app=azeroth][data-az-talk155=true]{--az-bar:64px}
.ar-library-player[data-player-app=azeroth][data-az-talk155=true] .ar-library-player-top{flex-direction:row!important;padding:8px 42px!important;gap:12px!important}
.ar-library-player[data-player-app=azeroth][data-az-talk155=true] .ar-library-player-heading{width:auto!important;flex:1 1 auto!important;text-align:left!important}
}
}
@layer ar-azeroth155{
/* r161: retain the original dark scene veil; layer a soft oval behind its sigil. */
.ar-library-player[data-player-app=azeroth] .ar-library-loading::after{content:''!important;position:absolute!important;inset:auto!important;left:50%!important;top:50%!important;width:min(640px,94%)!important;height:min(370px,86%)!important;z-index:0!important;transform:translate(-50%,-48%)!important;border-radius:50%;pointer-events:none;background:radial-gradient(ellipse 24% 23% at 50% 35%,#f5b6eb8c 0%,#e577d95c 27%,#a83eaa24 62%,transparent 100%),radial-gradient(ellipse 43% 40% at 48% 42%,#763e91c4 0%,#55287591 38%,#43215c40 65%,transparent 100%),radial-gradient(ellipse 26% 32% at 31% 49%,#d557a947 0%,#9a397c21 45%,transparent 100%),radial-gradient(ellipse 35% 25% at 65% 67%,#9a79ef6b 0%,#704fbb36 43%,transparent 100%)!important;filter:blur(7px);animation:az-aura161 4s ease-in-out infinite alternate}
.ar-library-player[data-player-app=azeroth] .ar-launch-content{z-index:1;background:transparent!important}
@keyframes az-aura161{from{opacity:.82}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.ar-library-player[data-player-app=azeroth] .ar-library-loading::after{animation:none;opacity:1}}
@media(forced-colors:active){.ar-library-player[data-player-app=azeroth] .ar-library-loading::after{display:none}}
}

/* r164: retain the painted endcaps while restoring their native cat action in the game toolbar. */
@layer ar-azeroth155{
.ar-library-player[data-player-app=azeroth] .ar-library-player-top{position:relative!important}
.ar-library-player[data-player-app=azeroth] [data-az-cat164]{position:absolute!important;top:50%!important;transform:translateY(-50%)!important;width:48px!important;height:56px!important;min-width:44px!important;min-height:44px!important;margin:0!important;padding:0!important;border:0!important;border-radius:5px!important;background:transparent!important;box-shadow:none!important;z-index:2!important;cursor:pointer!important}
.ar-library-player[data-player-app=azeroth] [data-az-cat164=left]{left:-54px!important}
.ar-library-player[data-player-app=azeroth] [data-az-cat164=right]{right:-54px!important}
.ar-library-player[data-player-app=azeroth] [data-az-cat164]:focus-visible{outline:2px solid #ffd4ef!important;outline-offset:0!important}
.ar-library-player[data-player-app=azeroth] [data-az-cat164]:hover{background:#ffb8f015!important}
.ar-library-player[data-player-app=azeroth] [data-az-cat164]:disabled{cursor:default!important}
@media(max-width:700px),(max-height:600px){.ar-library-player[data-player-app=azeroth] [data-az-cat164]{width:44px!important;height:48px!important}.ar-library-player[data-player-app=azeroth] [data-az-cat164=left]{left:0!important}.ar-library-player[data-player-app=azeroth] [data-az-cat164=right]{right:0!important}}
}
