/* Captions now inherit the scene's scale and hit-testing on touch devices. */
.elaris-scene-caption{z-index:20!important;pointer-events:none!important}
.elaris-scene-caption :is(button,a){pointer-events:auto}
/* The notes book and palace hotspots already live inside their illustrated canvas. */
@media(max-width:760px){
 #elarisNavigation{top:calc(8px + env(safe-area-inset-top));padding-top:0!important}
 #elarisNavigation #journeyBack{max-width:none!important;min-width:0;flex:1}
 #elarisNavigation #journeyPalaces{margin-left:auto}
 #notes .rn-workspace{padding-top:calc(75px + env(safe-area-inset-top));padding-bottom:calc(90px + env(safe-area-inset-bottom))}
 #notes .rn-library{padding-top:calc(76px + env(safe-area-inset-top))}
 #notes .rn-library-body{padding-bottom:calc(100px + env(safe-area-inset-bottom))}
 #notes .rn-editor-top{flex-wrap:wrap}
 #notes .rn-editor-top select{min-width:0;max-width:min(140px,36vw)!important}
 #future.fs-enhanced[data-journey=page] .future-workspace{width:auto!important;height:auto!important;inset:0!important;min-height:0!important;padding-top:calc(125px + env(safe-area-inset-top))!important;padding-bottom:calc(100px + env(safe-area-inset-bottom))!important}
 #future.fs-enhanced .fs-heading>label{max-width:100%}
 #future.fs-enhanced .fs-days{min-width:0}
 #future.fs-enhanced .fs-days textarea{font-size:16px!important}
 #esSpace .es-toolbar,#esSpace .es-editbar{max-height:25dvh;overflow:auto}
 #esSpace .es-toolbar{bottom:calc(74px + env(safe-area-inset-bottom))}
 #esSpace .es-editbar{bottom:calc(148px + env(safe-area-inset-bottom))}
 #esSpace .es-stage{bottom:calc(82px + env(safe-area-inset-bottom));top:calc(125px + env(safe-area-inset-top))}
}
@media(pointer:coarse) and (max-height:500px){
 #elarisNavigation button{min-height:38px}
 .elaris-scene-caption{padding:8px 12px!important;max-height:calc(100svh - 140px);overflow:auto}
 .elaris-scene-caption h1{font-size:23px!important}
 .elaris-scene-caption p,.elaris-scene-caption .palace-purpose{font-size:12px!important}
 #notes .rn-workspace{padding-top:66px}
 #rnJourney .rn-opening-book{width:90px;height:120px}
 #rnJourney .rn-opening-cover{gap:10px;padding:8px}
 #rnJourney .rn-opening-cover b{font-size:17px}
 #rnJourney .rn-journey-scene h1{font-size:27px;margin:6px 0 12px}
 #rnJourneySkip{margin-top:16px}
}
