/* r36: only Azeroth's sitting/talking camera uses an explicit visibility switch.
   The original material renderer paints this native header button automatically. */
#sanctuary-window-ui-toggle[hidden]{display:none!important}
#sanctuary-view[data-room-hub][data-scene=cyber] #sanctuary-window-view[data-scene=cyber] .sanctuary-window-head{grid-template-columns:minmax(172px,1fr) auto minmax(360px,1fr)}
#sanctuary-view[data-room-hub][data-scene=cyber] #sanctuary-window-ui-toggle{min-width:84px;touch-action:manipulation}
/* Keep the pointer visible even when the user deliberately hides the UI. */
#sanctuary-view[data-room-hub] #sanctuary-window-view[data-scene=cyber][data-controls-mode=manual]{cursor:auto!important}
/* The same real button stays in the same upper-right position. No invisible
   click target, screen-edge reveal area, timer, or replacement control. */
#sanctuary-view[data-room-hub] #sanctuary-window-view[data-scene=cyber][data-controls-hidden=true] .sanctuary-window-head{opacity:1!important;visibility:visible!important;pointer-events:none!important;background:transparent!important;box-shadow:none!important}
#sanctuary-view[data-room-hub] #sanctuary-window-view[data-scene=cyber][data-controls-hidden=true] .sanctuary-window-head>:not(.sanctuary-window-controls),
#sanctuary-view[data-room-hub] #sanctuary-window-view[data-scene=cyber][data-controls-hidden=true] .sanctuary-window-controls>:not(#sanctuary-window-ui-toggle),
#sanctuary-view[data-room-hub] #sanctuary-window-view[data-scene=cyber][data-controls-hidden=true] :is(#sanctuary-side-companion-r27,.azeroth-speaker-target-r34){opacity:0!important;visibility:hidden!important;pointer-events:none!important}
#sanctuary-view[data-room-hub] #sanctuary-window-view[data-scene=cyber][data-controls-hidden=true] #sanctuary-window-ui-toggle{opacity:1!important;visibility:visible!important;pointer-events:auto!important;cursor:pointer!important}
#sanctuary-view[data-room-hub] #sanctuary-window-view[data-scene=cyber] #sanctuary-window-ui-toggle:focus-visible{outline:2px solid #ffd4ee;outline-offset:3px}
@media(max-width:999px){
 #sanctuary-view[data-room-hub][data-scene=cyber] #sanctuary-window-view[data-scene=cyber] .sanctuary-window-head{grid-template-columns:140px minmax(0,1fr) 318px}
}
@media(max-width:700px){
 #sanctuary-view[data-room-hub][data-scene=cyber] #sanctuary-window-view[data-scene=cyber] .sanctuary-window-head{grid-template-columns:auto minmax(0,1fr)}
 #sanctuary-view[data-room-hub][data-scene=cyber] #sanctuary-window-view[data-scene=cyber] .sanctuary-window-controls{flex-wrap:nowrap}
 #sanctuary-view[data-room-hub][data-scene=cyber] #sanctuary-window-ui-toggle{min-width:70px;padding-inline:10px}
}
@media(max-width:430px){
 #sanctuary-view[data-room-hub][data-scene=cyber] #sanctuary-window-view[data-scene=cyber] .sanctuary-window-head{padding-inline:16px}
 #sanctuary-view[data-room-hub][data-scene=cyber] #sanctuary-window-back{width:74px;max-width:74px!important}
 #sanctuary-view[data-room-hub][data-scene=cyber] #sanctuary-window-pause{width:72px;white-space:normal!important}
 #sanctuary-view[data-room-hub][data-scene=cyber] #sanctuary-window-ui-toggle{width:66px;min-width:66px;padding-inline:8px}
}
/* Native body scrollport only. No custom scroller and no header/layout changes.
   Modern engines use standard properties; WebKit's native track gets a 14px
   target, inset rose thumb, and distinct hover/active feedback. */
#sanctuary-view[data-scene=cyber] #sanctuary-side-companion-r27.room-hub-workspace #ar-azeroth-bubble:not([hidden]){scrollbar-width:auto;scrollbar-color:#c982aa #25131f}
#sanctuary-view[data-scene=cyber] #sanctuary-side-companion-r27 #ar-azeroth-bubble::-webkit-scrollbar{width:14px;height:14px}
#sanctuary-view[data-scene=cyber] #sanctuary-side-companion-r27 #ar-azeroth-bubble::-webkit-scrollbar-track{background:#25131f;border-radius:8px}
#sanctuary-view[data-scene=cyber] #sanctuary-side-companion-r27 #ar-azeroth-bubble::-webkit-scrollbar-thumb{min-height:36px;border:3px solid #25131f;border-radius:9px;background:#c982aa;background-clip:padding-box}
#sanctuary-view[data-scene=cyber] #sanctuary-side-companion-r27 #ar-azeroth-bubble::-webkit-scrollbar-thumb:hover{background-color:#e2a6c7}
#sanctuary-view[data-scene=cyber] #sanctuary-side-companion-r27 #ar-azeroth-bubble::-webkit-scrollbar-thumb:active{background-color:#f2c6df}
#sanctuary-view[data-scene=cyber] #sanctuary-side-companion-r27 #ar-azeroth-bubble::-webkit-scrollbar-corner{background:#25131f}
@supports selector(::-webkit-scrollbar){
 #sanctuary-view[data-scene=cyber] #sanctuary-side-companion-r27.room-hub-workspace #ar-azeroth-bubble:not([hidden]){scrollbar-color:auto}
}
@media(forced-colors:active){
 #sanctuary-view[data-room-hub] #sanctuary-window-view[data-scene=cyber] #sanctuary-window-ui-toggle{background:Canvas!important;color:ButtonText!important;border:1px solid ButtonText!important;forced-color-adjust:auto}
 #sanctuary-view[data-room-hub] #sanctuary-window-view[data-scene=cyber] #sanctuary-window-ui-toggle:focus-visible{outline-color:Highlight}
 #sanctuary-view[data-scene=cyber] #sanctuary-side-companion-r27.room-hub-workspace #ar-azeroth-bubble:not([hidden]){scrollbar-color:auto;forced-color-adjust:auto}
 #sanctuary-view[data-scene=cyber] #sanctuary-side-companion-r27 #ar-azeroth-bubble::-webkit-scrollbar-track{background:Canvas}
 #sanctuary-view[data-scene=cyber] #sanctuary-side-companion-r27 #ar-azeroth-bubble::-webkit-scrollbar-thumb,#sanctuary-view[data-scene=cyber] #sanctuary-side-companion-r27 #ar-azeroth-bubble::-webkit-scrollbar-thumb:hover,#sanctuary-view[data-scene=cyber] #sanctuary-side-companion-r27 #ar-azeroth-bubble::-webkit-scrollbar-thumb:active{background:ButtonText;border-color:Canvas}
}
