/* Mobile browser chrome samples two opaque edge elements independently. */
.qs-browser-edge{display:none}
@media(max-width:767px),(pointer:coarse) and (orientation:landscape) and (max-height:500px){
 html.qs-browser-edges:has(body.qsr-starry-home){height:100svh!important;min-height:0!important;overflow:hidden!important;overflow:clip!important;overscroll-behavior:none;background:var(--qs-edge-top,var(--qsr-browser-chrome,#061b55))!important}
 .qs-browser-edges body.qsr-starry-home{height:100svh!important;min-height:0!important;margin:0;overflow:hidden!important;overflow:clip!important;overscroll-behavior:none;background:transparent!important}
 .qs-browser-edges body.qsr-starry-home .qsr-home{--qs-browser-gap:0px;height:100svh!important;min-height:0!important;overflow:hidden!important}
 .qs-browser-edges body.admin-bar.qsr-starry-home .qsr-home{height:calc(100svh - 46px)!important}
 .qs-browser-edges .qsr-home .qsr-scene{width:max(100%,150svh)}
 /* Keep animated mobile foreground and edge sampling on the same CSS filter path.
    WebKit can skip a parent SVG url() filter on a transform-animated child (bug 219729). */
 .qs-browser-edges .qsr-home .qsr-layer[data-role=foreground]{overflow:hidden;filter:hue-rotate(calc(var(--terrain-hue)*1deg)) saturate(var(--terrain-saturation)) brightness(var(--terrain-brightness))}
 /* Mobile keeps the horizontal grass plane (27%–68% of the source), excluding both dark side silhouettes. */
 .qs-browser-edges .qsr-home .qsr-layer[data-role=foreground] img{width:243.902439%;max-width:none;height:100%;margin-left:-65.853659%}
 .qs-browser-edges .qsr-home:has(.qs-home-note) .qsr-intro{top:21%;bottom:calc(95px + env(safe-area-inset-bottom,0px))}
 .qs-browser-edges .qsr-home .qsr-footer{bottom:calc(18px + env(safe-area-inset-bottom,0px))}
 .qs-browser-edges .qsr-home .qsr-settings{bottom:calc(76px + env(safe-area-inset-bottom,0px));max-height:calc(100svh - 165px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}
 .qs-browser-edges .qsr-home .qsr-menu{max-height:calc(100svh - 160px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}
 body.qsr-starry-home>.qs-browser-edge{display:block;position:fixed;left:0;right:0;height:12px;z-index:1;pointer-events:none;opacity:1;filter:none;backdrop-filter:none;-webkit-backdrop-filter:none;transform:none;border:0;box-shadow:none}
 body.qsr-starry-home>.qs-browser-edge--top{top:0;background:var(--qs-edge-top,#061b55)}
 body.qsr-starry-home>.qs-browser-edge--bottom{bottom:0;background:var(--qs-edge-bottom,#01174f)}
 body.admin-bar.qsr-starry-home>.qs-browser-edge--top{display:none}
 @supports(height:100dvh){
  html.qs-browser-edges:has(body.qsr-starry-home),.qs-browser-edges body.qsr-starry-home{height:100dvh!important}
  .qs-browser-edges body.qsr-starry-home .qsr-home{height:100dvh!important}
  .qs-browser-edges body.admin-bar.qsr-starry-home .qsr-home{height:calc(100dvh - 46px)!important}
  .qs-browser-edges .qsr-home .qsr-scene{width:max(100%,150dvh)}
  .qs-browser-edges .qsr-home .qsr-settings{max-height:calc(100dvh - 165px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}
  .qs-browser-edges .qsr-home .qsr-menu{max-height:calc(100dvh - 160px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}
 }
}
@media(max-width:767px) and (orientation:landscape),(pointer:coarse) and (orientation:landscape) and (max-height:500px){.qs-browser-edges .qsr-home:has(.qs-home-note) .qsr-intro{top:23%}}
/* Keep the draft notice visible without covering Safari's bottom edge sample. */
@media(max-width:767px),(pointer:coarse) and (orientation:landscape) and (max-height:500px){
 html.qs-browser-edges #wpvibe-preview-banner{bottom:74px!important;left:18px!important;right:18px!important;width:auto!important;border-radius:12px!important;max-height:140px!important;overflow:auto!important}
}

