/* Zählwiese – Tiere zählen 2.0, hand-painted uniform game surface v267.
   Raster assets only: CSS controls placement, never draws scenery/figures. */
#app:has(.zw247-game){
  background-color:#91ca7c!important;
  background-image:url('/animals-v267/wiese-portrait.webp')!important;
  background-size:cover!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
}
#app .main-content.zw247-game,
#app .zw247-game,
#app .zw247-game .zw247-meadow{
  background-color:transparent!important;
  background-image:none!important;
}
#app .zw247-game .zw247-rewards .zw247-reward{
  display:grid!important;place-items:center!important;
  padding:0!important;margin:0 auto!important;
  background:transparent!important;border:0!important;
  border-radius:50%!important;box-shadow:none!important;
  filter:drop-shadow(0 2px 2px #5d3f2c45)!important;
  overflow:visible!important;
}
#app .zw247-game .zw247-rewards .zw247-reward>img{
  display:block!important;object-fit:contain!important;object-position:50% 50%!important;
  width:100%!important;height:100%!important;
  margin:0!important;padding:0!important;
  max-height:100%!important;max-width:100%!important;
  transform:none!important;filter:none!important;
}
#app .zw247-game .zw247-reward-row{
  align-items:center!important;justify-content:space-evenly!important;
  column-gap:clamp(4px,2vw,17px)!important;
  row-gap:clamp(3px,1.2dvh,13px)!important;
}
#app:has(.zw247-game) #zw240Restart{
  border:0!important;border-radius:0!important;box-shadow:none!important;
  filter:none!important;outline:0!important;
  background:transparent url('/animals-v267/restart.webp') center / contain no-repeat!important;
  width:clamp(57px,16.8vw,75px)!important;height:clamp(57px,16.8vw,75px)!important;
  min-width:0!important;min-height:0!important;
  left:max(8px,env(safe-area-inset-left,0px))!important;
  top:max(7px,env(safe-area-inset-top,0px))!important;
  margin:0!important;padding:0!important;
  z-index:2147480000!important;
}
#app:has(.zw247-game) #zw240Restart::before,
#app:has(.zw247-game) #zw240Restart::after,
#app:has(.zw247-game) #zw240Restart>*{
  content:none!important;display:none!important;visibility:hidden!important;
  background:none!important;border:0!important;box-shadow:none!important;
}
#app:has(.zw247-game) #homeBtn{
  border:0!important;border-radius:0!important;box-shadow:none!important;
  filter:none!important;
  background:transparent url('/animals-v267/home.webp') center / contain no-repeat!important;
  width:clamp(57px,16.8vw,75px)!important;height:clamp(57px,16.8vw,75px)!important;
  top:max(7px,env(safe-area-inset-top,0px))!important;
  right:max(8px,env(safe-area-inset-right,0px))!important;
  margin:0!important;padding:0!important;
}
#app:has(.zw247-game) #homeBtn::before,
#app:has(.zw247-game) #homeBtn::after,
#app:has(.zw247-game) #homeBtn>*{
  content:none!important;display:none!important;visibility:hidden!important;
}
@media (orientation:landscape){
 #app:has(.zw247-game){
   background-image:url('/animals-v267/wiese-landscape.webp')!important;
   background-position:center center!important;
   background-size:cover!important;
 }
}
@media (prefers-reduced-motion:reduce){
 #app .zw247-game .zw247-reward{transition:none!important}
}
