/* GOALCU 17.8.30 - conservative landscape arcade integration.
   Do not change canvas coordinates, native 16:9 art, shot physics or stage transforms.
   The native stage is maximized WITHOUT stretching or clipping its playing area. */
:root{--gc-display-gold:#c8a45a}
@media (orientation:landscape){
  body.gc-screen:is(.gc-responsive-zombie,.gc-responsive-longshot,.gc-responsive-shoot) .gc-screen-root{
    box-sizing:border-box!important;display:flex!important;flex-direction:column!important;
    grid-template-columns:none!important;grid-template-rows:none!important;
    width:100%!important;max-width:none!important;
    height:var(--gc-viewport-height,100dvh)!important;min-height:0!important;
    padding:max(3px,env(safe-area-inset-top)) max(6px,env(safe-area-inset-right)) max(3px,env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left))!important;
    gap:3px!important;overflow:hidden!important;
  }
  body.gc-screen:is(.gc-responsive-zombie,.gc-responsive-longshot,.gc-responsive-shoot) .gc-screen-root>:is(header,.masthead){
    grid-area:auto!important;display:flex!important;flex-direction:row!important;
    align-items:center!important;flex-wrap:nowrap!important;
    justify-content:space-between!important;min-height:30px!important;max-height:40px!important;
    height:auto!important;flex:0 0 auto!important;width:100%!important;
    gap:5px!important;margin:0!important;padding:1px 2px!important;
  }
  body.gc-screen:is(.gc-responsive-zombie,.gc-responsive-longshot,.gc-responsive-shoot) .gc-screen-root>:is(.hud,.stats,.scoreboard){
    grid-area:auto!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
    align-content:center!important;align-self:stretch!important;
    min-height:0!important;max-height:44px!important;flex:0 0 auto!important;
    gap:4px!important;margin:0!important;width:100%!important;
  }
  body.gc-screen.gc-responsive-shoot .gc-screen-root>.scoreboard{grid-template-columns:repeat(6,minmax(0,1fr))!important}
  body.gc-screen.gc-responsive-longshot .gc-screen-root>.stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.gc-screen:is(.gc-responsive-zombie,.gc-responsive-longshot,.gc-responsive-shoot) .gc-screen-root>:is(.hud,.stats,.scoreboard)>div{
    grid-area:auto!important;min-height:0!important;min-width:0!important;padding:2px 5px!important;margin:0!important;
    display:flex!important;justify-content:center!important;gap:1px!important;
  }
  body.gc-screen:is(.gc-responsive-zombie,.gc-responsive-longshot,.gc-responsive-shoot) .gc-screen-root>:is(.hud,.stats,.scoreboard) :is(small,span){font-size:clamp(8px,1vw,11px)!important;line-height:1.1!important}
  body.gc-screen:is(.gc-responsive-zombie,.gc-responsive-longshot,.gc-responsive-shoot) .gc-screen-root>:is(.hud,.stats,.scoreboard) :is(strong,b){font-size:clamp(11px,1.45vw,19px)!important;line-height:1.08!important}
  body.gc-screen:is(.gc-responsive-zombie,.gc-responsive-longshot,.gc-responsive-shoot) .gc-screen-root>.arena{
    grid-area:auto!important;box-sizing:border-box!important;position:relative!important;
    flex:0 1 auto!important;align-self:center!important;min-height:0!important;
    width:var(--gc-field-width,100%)!important;max-width:100%!important;
    margin:0 auto!important;height:auto!important;
    overflow:hidden!important;
    border:2px solid #64826b!important;border-radius:10px!important;
  }
  body.gc-screen.gc-responsive-shoot .gc-screen-root>.arena{aspect-ratio:1000/560!important}
  body.gc-screen:is(.gc-responsive-zombie,.gc-responsive-longshot) .gc-screen-root>.arena{aspect-ratio:16/9!important}
  body.gc-screen:is(.gc-responsive-zombie,.gc-responsive-longshot,.gc-responsive-shoot) .gc-screen-root>.arena>canvas#game{
    display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;
  }
  /* The playfield and HUD share one surface, no detached side column. */
  body.gc-screen:is(.gc-responsive-zombie,.gc-responsive-longshot,.gc-responsive-shoot) .gc-screen-root :is(.headright,.headtools,.actions){display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:4px!important;min-width:0!important}
  body.gc-screen:is(.gc-responsive-zombie,.gc-responsive-longshot,.gc-responsive-shoot) .gc-screen-root :is(.headright,.headtools,.actions) :is(button,a){min-height:29px!important;padding:4px 7px!important;font-size:clamp(9px,1.12vw,13px)!important}
  body.gc-screen:is(.gc-responsive-zombie,.gc-responsive-longshot,.gc-responsive-shoot) .gc-screen-root :is(.brand,.gc-brand){min-width:0!important;flex-wrap:nowrap!important;white-space:nowrap}
  body.gc-screen.gc-responsive-shoot .gc-screen-root>.shop-area{grid-area:auto!important;width:100%!important;min-height:0!important;height:0!important;flex:0 0 0!important;margin:0!important;overflow:visible!important}
  body.gc-screen.gc-responsive-shoot .gc-screen-root>.shop-area>.shop-bar{max-height:0;overflow:visible}
  body.gc-screen:is(.gc-responsive-zombie,.gc-responsive-longshot,.gc-responsive-shoot) .gc-rotate-hint{display:none!important}
}
/* Controls are visibly actionable, but menu contents do not steal permanent pitch height. */
body.gc-screen:is(.gc-responsive-zombie,.gc-responsive-longshot) .gc-shop-toggle,
body.gc-screen.gc-responsive-shoot #shopToggle{
  display:inline-flex!important;align-items:center;justify-content:center;
  font-weight:900!important;white-space:nowrap!important;cursor:pointer!important;
  background:#c8a45a!important;color:#10271c!important;border:2px solid #efcd79!important;
  border-radius:9px!important;box-shadow:0 2px 9px #0008!important;
  min-height:34px!important;padding:5px 10px!important;touch-action:manipulation!important;
}
body.gc-screen.gc-responsive-shoot .arena>.shop-bar{
  z-index:16!important;max-width:min(78%,750px)!important;
  background:#0d281fe3!important;
}
body.gc-screen.gc-responsive-shoot .arena>.shop-bar #shopToggle{font-size:11px!important;min-height:32px!important}
body.gc-screen.gc-responsive-shoot .shop-area>.shop-bar>span{display:none!important}
body.gc-screen.gc-responsive-longshot .stats>div:has(#attempts){display:none!important}
body.gc-screen.gc-responsive-zombie .hud>div:has(#kills){display:none!important}
/* Narrow portrait phones continue using their game's natural stacked layout. */
@media (orientation:portrait){
  body.gc-screen:is(.gc-responsive-zombie,.gc-responsive-longshot,.gc-responsive-shoot) .gc-screen-root{overflow-y:auto!important;overscroll-behavior:contain}
  body.gc-screen:is(.gc-responsive-zombie,.gc-responsive-longshot,.gc-responsive-shoot) .gc-screen-root>.arena{margin-inline:auto!important}
}
