/* Responsive behavior follows the visitor's viewport, never a saved device mode. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
img,video,iframe{max-width:100%}
button,a,input,select,summary{-webkit-tap-highlight-color:transparent}
button,a,summary{touch-action:manipulation}
body>header.site-header{
 padding-top:max(12px,env(safe-area-inset-top,0px));
 padding-left:max(16px,5.5%,env(safe-area-inset-left,0px));
 padding-right:max(16px,5.5%,env(safe-area-inset-right,0px));
}
body.guide-app #prayer .mystery-stage{
 padding-left:max(25px,env(safe-area-inset-left,0px));
 padding-right:max(25px,env(safe-area-inset-right,0px));
}
.welcome-header{padding-top:max(14px,env(safe-area-inset-top,0px));padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
.welcome-footer{padding-bottom:max(18px,env(safe-area-inset-bottom,0px))}
@media(max-width:700px){
 body.guide-app #prayer .mystery-stage{padding-left:max(13px,env(safe-area-inset-left,0px));padding-right:max(13px,env(safe-area-inset-right,0px))}
 body>header.site-header{padding-left:max(12px,env(safe-area-inset-left,0px));padding-right:max(12px,env(safe-area-inset-right,0px))}
 body:not(.guide-app) .hero.clean-welcome.faith-welcome h1>span,
 body:not(.guide-app) .hero.clean-welcome.faith-welcome h1>em{white-space:normal}
 body:not(.guide-app) .hero.clean-welcome.faith-welcome .hero-play{
  display:inline-flex;align-items:center;min-height:48px;font-size:clamp(23px,6.4vw,30px);line-height:1.3;
 }
 body:not(.guide-app) .hero-invitation .hero-prayer-note a{
  display:inline-flex;align-items:center;min-height:44px;max-width:100%;font-size:16px;line-height:1.4;
 }
 #site-menu{
  width:min(360px,calc(100vw - 24px));max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));
  top:max(12px,env(safe-area-inset-top,0px));right:max(12px,env(safe-area-inset-right,0px));font-size:16px;
 }
 #site-menu nav a,#site-menu nav summary{min-height:44px;box-sizing:border-box;font-size:16px;line-height:1.4}
 #site-menu select,#site-menu input:not([type=range]),#site-menu textarea{font-size:16px;min-height:44px;max-width:100%}
 .join-option h2,.welcome-film>h2{font-size:clamp(27px,7.5vw,34px)}
 .join-option ol{font-size:18px}
}
/* A rotated phone keeps a compact header and a scrollable prayer region. */
@media(max-height:500px) and (orientation:landscape){
 body>header.site-header{padding-top:max(6px,env(safe-area-inset-top,0px));padding-bottom:6px}
 body>header.site-header .brand-photo{width:40px;height:40px;flex-basis:40px}
 body>header.site-header .brand .brand-name{font-size:17px}
 body>header.site-header .brand .brand-tagline{font-size:17px;margin-top:2px;line-height:1.2}
 body>header.site-header .brand .brand-wordmark small{font-size:9px;line-height:1.2}
}
