/* Palette ownership is restored in r128; Youth keeps its own authored CSS. */
body[data-library-mode="youth"] [data-hub-full]{display:none!important}
/* Larger backpack, centered by the native move controller below the toolbar. */
#sanctuary-view[data-room-hub] #sanctuary-backpack-dock.room-hub-workspace{width:min(900px,calc(100% - 24px));height:min(640px,calc(100dvh - var(--hub-bar) - 32px))}
#sanctuary-view[data-room-hub] #sanctuary-backpack-dock>.sanctuary-dialog-shell{flex:1;height:100%;max-height:100%}
#sanctuary-view[data-room-hub] #sanctuary-backpack-dock .sanctuary-panel{max-height:none}
/* Room paths keep their original clickable doors and turn controls. */
#auriela-hallway78 .house-nav87,.study-nav138{position:fixed!important;top:max(12px,env(safe-area-inset-top))!important;right:max(12px,env(safe-area-inset-right))!important;bottom:auto!important;left:auto!important;transform:none;display:flex;align-items:center;justify-content:center;gap:14px;z-index:70}
.study-nav138>button{display:grid;place-items:center;width:72px;height:58px;min-width:44px;min-height:44px;padding:0;border:0;background:none;cursor:pointer;filter:drop-shadow(0 2px 4px #0009)}
.study-nav138>button img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}
.study-nav138>button:last-child img{transform:scaleX(-1)}
.study-nav138>button:nth-child(2){width:52px;height:52px}
.study-nav138>button:disabled{opacity:.3;cursor:default}
.study-nav138>button:focus-visible{outline:3px solid #ffe2b9;outline-offset:4px}
.study-nav138[hidden]{display:none!important}
#sanctuary-view .study-house-arrow89{display:none!important}
#sanctuary-view[data-cottage-spawn-loading138] .sanctuary-frame{visibility:hidden}
/* Keep the existing Bible frame and lettering family; give its title a quiet
   centered place in the header rather than an isolated default heading. */
.creek-reading120[data-mode=bible]>#creek-reading-title120{align-self:center;width:fit-content;max-width:calc(100% - 100px)!important;box-sizing:border-box;margin:0 auto 10px!important;padding:4px 22px 10px!important;border:0;border-bottom:1px solid #a18459;background:transparent;box-shadow:none;color:#604829!important;font-family:Georgia,'Times New Roman',serif;font-size:clamp(21px,2.4vw,30px);font-weight:500;line-height:1.2;letter-spacing:.05em;text-align:center;text-shadow:0 1px #fff9e0}
@media(max-width:600px){#auriela-hallway78 .house-nav87,.study-nav138{gap:9px;top:max(8px,env(safe-area-inset-top))!important;right:max(8px,env(safe-area-inset-right))!important}.study-nav138>button{width:58px;height:50px}.study-nav138>button:nth-child(2){width:46px;height:46px}.creek-reading120[data-mode=bible]>#creek-reading-title120{padding-inline:8px!important;max-width:calc(100% - 76px)!important;letter-spacing:.02em}}
@media(forced-colors:active){.creek-reading120[data-mode=bible]>#creek-reading-title120{color:CanvasText;border-color:CanvasText;text-shadow:none}}

/* The office row follows native dorm controls; full-bleed house controls keep their own row. */
#sanctuary-view .study-nav138{top:var(--study-nav-top145,max(12px,env(safe-area-inset-top)))!important}
