/* Zählwiese v188 — consistent painted Home button at the top-right of EVERY game.
   Legacy screens that hide their app-header get the same accessible button moved out of it. */
#app #homeBtn.zw-go-home {
 display:grid!important;place-items:center!important;
 position:fixed!important;top:max(8px,env(safe-area-inset-top))!important;
 right:max(9px,env(safe-area-inset-right))!important;left:auto!important;
 width:clamp(52px,14vw,67px)!important;height:clamp(52px,14vw,67px)!important;
 min-width:0!important;min-height:0!important;
 max-width:67px!important;max-height:67px!important;
 margin:0!important;padding:0!important;opacity:1!important;visibility:visible!important;
 z-index:220!important;
 background:transparent url('/bakery-v166/home.webp') center center/contain no-repeat!important;
 border:0!important;border-radius:50%!important;
 box-shadow:none!important;filter:drop-shadow(0 3px 3px #7a4f4260)!important;
 transform:none!important;pointer-events:auto!important;
 -webkit-tap-highlight-color:transparent!important;touch-action:manipulation!important;
}
#app #homeBtn.zw-go-home > *{visibility:hidden!important;pointer-events:none!important}
#app #homeBtn.zw-go-home:focus-visible{outline:4px solid #62442d!important;outline-offset:3px!important}
#app #homeBtn.zw-go-home:active{filter:brightness(1.08) drop-shadow(0 1px 2px #55351a66)!important}
@media(orientation:landscape){
 #app #homeBtn.zw-go-home{
  right:max(7px,env(safe-area-inset-right))!important;
  top:max(4px,env(safe-area-inset-top))!important;
  width:clamp(45px,12dvh,60px)!important;height:clamp(45px,12dvh,60px)!important;
 }
}

/* The Picnic help/restart pair moves opposite the Home control, so they cannot overlap. */
#app .zw107 .zw107-controls{
 left:1.6%!important;right:auto!important;justify-content:flex-start!important;
}
