/* Keep the browser inset areas in the same paper/chocolate palette as the page. */
html{color-scheme:light;background-color:var(--hdc-page-edge,#fff3d9)}
/* Safari samples 4px inside the viewport and excludes backgrounds <=10px high.
   Keep this opaque surface separate from the navbar's backdrop filter: Safari
   can extend its cream color behind the status bar instead of blurring content. */
.hdc-top-edge{display:none;position:fixed;inset:0 0 auto;height:max(12px,env(safe-area-inset-top,0px));background:#fff3d9;opacity:1;filter:none;backdrop-filter:none;-webkit-backdrop-filter:none;z-index:10001;pointer-events:none}
/* Never paint a fixed lower strip over scrolling content. Keep this rule for
   pages which still have the element from a previously cached script. */
.hdc-bottom-edge{display:none}
@media(hover:none) and (pointer:coarse){
 .hdc-top-edge{display:block}
 body.groovy-brand nav{background-color:#fff3d9}
}
body:is(.groovy-brand,.groovy-service,.groovy-nfc-page,.admin-shell,.admin-login){min-height:100svh}
body.groovy-brand nav{height:calc(102px + env(safe-area-inset-top,0px));padding-top:calc(10px + env(safe-area-inset-top,0px));padding-left:max(4vw,20px,env(safe-area-inset-left,0px));padding-right:max(4vw,20px,env(safe-area-inset-right,0px))}
body.groovy-brand:not(.groovy-home){padding-top:calc(102px + env(safe-area-inset-top,0px))}
body.groovy-home{padding-top:env(safe-area-inset-top,0px)}
body.groovy-brand footer{padding-bottom:calc(45px + env(safe-area-inset-bottom,0px))}
body.groovy-service{padding-top:max(30px,env(safe-area-inset-top,0px));padding-bottom:calc(60px + env(safe-area-inset-bottom,0px));padding-left:max(20px,env(safe-area-inset-left,0px));padding-right:max(20px,env(safe-area-inset-right,0px))}
body.groovy-nfc-page .nfc-story-nav{padding-top:calc(12px + env(safe-area-inset-top,0px))}
body.groovy-nfc-page .fin-block{padding-bottom:calc(48px + env(safe-area-inset-bottom,0px))}
body.admin-shell main{padding-bottom:calc(80px + env(safe-area-inset-bottom,0px))}
body.admin-login{padding-top:max(24px,env(safe-area-inset-top,0px));padding-bottom:max(24px,env(safe-area-inset-bottom,0px))}
body.admin-shell .nav-toggle{top:calc(16px + env(safe-area-inset-top,0px))}
@media(max-width:650px){body.groovy-brand nav{height:calc(84px + env(safe-area-inset-top,0px));padding-top:calc(8px + env(safe-area-inset-top,0px));padding-left:max(18px,env(safe-area-inset-left,0px));padding-right:max(18px,env(safe-area-inset-right,0px))}body.groovy-brand:not(.groovy-home){padding-top:calc(84px + env(safe-area-inset-top,0px))}body.groovy-brand footer{padding-bottom:calc(40px + env(safe-area-inset-bottom,0px))}body.admin-shell main{padding-top:calc(76px + env(safe-area-inset-top,0px))}}
