/* Keep the dropped-pass scene anchored to the same corners at every resolution. */
body.game-theme #app .pass-scene81 > .novel-dialogue{
 inset:auto auto max(14px,env(safe-area-inset-bottom)) 246px!important;
 width:min(440px,calc(100vw - 274px))!important;
}
@media(max-width:760px){
 body.game-theme #app .pass-scene81 > .novel-dialogue{
  inset:auto auto max(78px,calc(env(safe-area-inset-bottom) + 70px)) 60px!important;
  width:min(440px,calc(100vw - 72px))!important;
  max-height:calc(100svh - 158px)!important;
 }
}

/* Frame campus art without stretching the verticals. Targets and art retain
   the shared full-size coordinates; panning starts at the room's focal area. */
body.game-theme .simulator-layout .campus-world:is(.place-lobby,.place-corridor,.place-lounge) .campus-image-stage{
 width:max(calc(100vw - var(--summer-plan-width,0px)),177.6833156svh)!important;
 height:max(100svh,calc((100vw - var(--summer-plan-width,0px)) * .562799))!important;
}
body.game-theme .simulator-layout .campus-world:is(.place-lobby,.place-corridor,.place-lounge) .campus-backdrop img{
 object-fit:cover;
 object-position:center;
}
