/* GOALCU 17.8.34 — strictly scoped landscape presentation.
   Stage dimensions exactly match intrinsic canvas world aspect ratio.
   Canvas logic and touch world coordinates are NOT modified. */
@media (orientation: landscape) {
 html:has(body:where(.gc-screen):is(.gc-responsive-zombie,.gc-responsive-shoot,.gc-responsive-longshot)),
 body:where(.gc-screen):is(.gc-responsive-zombie,.gc-responsive-shoot,.gc-responsive-longshot) {
   margin:0!important;padding:0!important;width:100%!important;height:100%!important;
   overflow:hidden!important;overscroll-behavior:none!important;
 }
 body:where(.gc-screen):is(.gc-responsive-zombie,.gc-responsive-shoot,.gc-responsive-longshot) :is(.gc-screen-root,main.wrap,main.shell){
   position:fixed!important;inset:0!important;z-index:1!important;
   box-sizing:border-box!important;display:block!important;
   width:100vw!important;height:100dvh!important;min-height:0!important;
   max-height:none!important;max-width:none!important;
   margin:0!important;padding:0!important;gap:0!important;overflow:hidden!important;
   background:#10291f!important;
 }
 body:where(.gc-screen):is(.gc-responsive-zombie,.gc-responsive-longshot) {--gc-ratio:1.7777777778;--gc-inverse:.5625}
 body:where(.gc-screen).gc-responsive-shoot{--gc-ratio:1.7857142857;--gc-inverse:.56}
 body:where(.gc-screen):is(.gc-responsive-zombie,.gc-responsive-shoot,.gc-responsive-longshot) :is(.gc-screen-root,main.wrap,main.shell)>.arena {
   position:absolute!important;inset:auto!important;left:50%!important;top:50%!important;
   transform:translate(-50%,-50%)!important;display:block!important;grid-area:auto!important;
   width:min(100vw,calc(100dvh * var(--gc-ratio)))!important;
   height:min(100dvh,calc(100vw * var(--gc-inverse)))!important;
   aspect-ratio:var(--gc-ratio)!important;max-width:none!important;max-height:none!important;
   min-width:0!important;min-height:0!important;flex:none!important;
   margin:0!important;padding:0!important;box-sizing:border-box!important;
   border:0!important;border-radius:0!important;overflow:hidden!important;
   background:#214d34!important;z-index:1!important;
 }
 body:where(.gc-screen):is(.gc-responsive-zombie,.gc-responsive-shoot,.gc-responsive-longshot) :is(.gc-screen-root,main.wrap,main.shell)>.arena>canvas#game{
   display:block!important;position:absolute!important;inset:0!important;
   width:100%!important;height:100%!important;max-height:100%!important;max-width:100%!important;
   margin:0!important;object-fit:fill!important; /* safe: parent ratio == intrinsic world ratio */
 }
 body:where(.gc-screen).gc-responsive-zombie .arena>canvas#game{image-rendering:pixelated!important}
 /* All chrome is overlay and never participates in arena sizing. */
 body:where(.gc-screen):is(.gc-responsive-zombie,.gc-responsive-shoot,.gc-responsive-longshot) :is(.gc-screen-root,main.wrap,main.shell)>:is(header,.masthead){
   position:fixed!important;left:auto!important;right:max(4px,env(safe-area-inset-right))!important;
   top:4px!important;bottom:auto!important;z-index:110!important;
   box-sizing:border-box!important;display:flex!important;flex-flow:column nowrap!important;
   justify-content:flex-start!important;align-items:stretch!important;
   width:auto!important;height:auto!important;min-height:0!important;max-height:100dvh!important;
   margin:0!important;padding:0!important;gap:4px!important;
   border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;
 }
 body:where(.gc-screen):is(.gc-responsive-zombie,.gc-responsive-shoot,.gc-responsive-longshot) :is(.gc-screen-root,main.wrap,main.shell)>:is(header,.masthead) :is(.brand,.gc-brand){display:none!important}
 body:where(.gc-screen):is(.gc-responsive-zombie,.gc-responsive-shoot,.gc-responsive-longshot) :is(.gc-screen-root,main.wrap,main.shell)>:is(header,.masthead) :is(.actions,.headright,.headtools){
   display:flex!important;flex-flow:column nowrap!important;justify-content:start!important;align-items:stretch!important;
   margin:0!important;gap:4px!important;min-width:0!important;max-width:100px!important;
 }
 body:where(.gc-screen):is(.gc-responsive-zombie,.gc-responsive-shoot,.gc-responsive-longshot) :is(.gc-screen-root,main.wrap,main.shell)>:is(header,.masthead) :is(button,a){
   white-space:nowrap!important;font-size:10px!important;padding:5px 6px!important;
   min-height:30px!important;max-width:100px!important;min-width:0!important;
   line-height:1.1!important;box-shadow:none!important;
   background:#102f24d9!important;color:#e6e8d5!important;
   border:1px solid #79917a!important;border-radius:7px!important;
 }
 body:where(.gc-screen):is(.gc-responsive-zombie,.gc-responsive-longshot) .gc-shop-toggle,
 body:where(.gc-screen).gc-responsive-shoot #shopToggle{
   color:#0b2419!important;background:#c8a45a!important;border:2px solid #e6d08c!important;
   font-weight:900!important;
 }
 /* Compact informative HUD. Keep it transparent and visually subordinate. */
 body:where(.gc-screen):is(.gc-responsive-zombie,.gc-responsive-shoot,.gc-responsive-longshot) :is(.gc-screen-root,main.wrap,main.shell)>:is(.hud,.scoreboard,.stats){
   position:fixed!important;top:max(3px,env(safe-area-inset-top))!important;
   left:50%!important;right:auto!important;transform:translateX(-50%)!important;
   z-index:105!important;display:flex!important;flex-flow:row nowrap!important;
   align-items:center!important;justify-content:center!important;
   width:auto!important;max-width:calc(100vw - 210px)!important;
   height:26px!important;min-height:0!important;max-height:26px!important;
   gap:6px!important;margin:0!important;padding:1px 7px!important;
   border:0!important;border-radius:6px!important;background:#0a221bbd!important;
   box-shadow:none!important;overflow:hidden!important;
 }
 body:where(.gc-screen):is(.gc-responsive-zombie,.gc-responsive-shoot,.gc-responsive-longshot) :is(.gc-screen-root,main.wrap,main.shell)>:is(.hud,.scoreboard,.stats)>div{
   width:auto!important;min-width:0!important;max-width:none!important;flex:0 1 auto!important;
   display:flex!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:center!important;
   gap:3px!important;height:23px!important;max-height:23px!important;min-height:0!important;
   padding:0 3px!important;margin:0!important;background:transparent!important;
   border:0!important;border-radius:0!important;overflow:hidden!important;
 }
 body:where(.gc-screen):is(.gc-responsive-zombie,.gc-responsive-shoot,.gc-responsive-longshot) :is(.gc-screen-root,main.wrap,main.shell)>:is(.hud,.scoreboard,.stats)>div :is(small,span){font-size:clamp(8px,1vw,11px)!important;line-height:1!important;white-space:nowrap!important;letter-spacing:0!important}
 body:where(.gc-screen):is(.gc-responsive-zombie,.gc-responsive-shoot,.gc-responsive-longshot) :is(.gc-screen-root,main.wrap,main.shell)>:is(.hud,.scoreboard,.stats)>div :is(strong,b){font-size:clamp(10px,1.25vw,14px)!important;line-height:1!important;white-space:nowrap!important}
 body:where(.gc-screen).gc-responsive-zombie .hud>div:has(#kills),body:where(.gc-screen).gc-responsive-longshot .stats>div:has(#attempts){display:none!important}
 body:where(.gc-screen):is(.gc-responsive-zombie,.gc-responsive-shoot,.gc-responsive-longshot) .gc-rotate-hint,
 body:where(.gc-screen):is(.gc-responsive-zombie,.gc-responsive-shoot,.gc-responsive-longshot) .gc-screen-tools{display:none!important}
 body:where(.gc-screen):is(.gc-responsive-zombie,.gc-responsive-longshot) .gc-screen-root>:is(.low,.lower),
 body:where(.gc-screen):is(.gc-responsive-zombie,.gc-responsive-longshot) main:is(.wrap,.shell)>:is(.low,.lower){display:none!important}
 body:where(.gc-screen):is(.gc-responsive-zombie,.gc-responsive-longshot).gc-shop-open .gc-screen-root>:is(.low,.lower),
 body:where(.gc-screen):is(.gc-responsive-zombie,.gc-responsive-longshot).gc-shop-open main:is(.wrap,.shell)>:is(.low,.lower){
   display:block!important;position:fixed!important;z-index:150!important;
   right:max(8px,env(safe-area-inset-right))!important;top:48px!important;bottom:6px!important;
   left:auto!important;width:min(380px,85vw)!important;height:auto!important;
   max-height:calc(100dvh - 54px)!important;margin:0!important;padding:9px!important;
   overflow:auto!important;background:#102c21f5!important;border:1px solid #c8a45a!important;
 }
 body:where(.gc-screen).gc-responsive-shoot :is(.gc-screen-root,main.shell)>.shop-area{
   display:block!important;position:fixed!important;z-index:90!important;
   top:auto!important;left:auto!important;right:5px!important;bottom:5px!important;
   width:auto!important;height:0!important;min-height:0!important;max-height:0!important;
   margin:0!important;padding:0!important;overflow:visible!important;
 }
 body:where(.gc-screen).gc-responsive-shoot .shop-area>.shop-bar{
   position:absolute!important;right:0!important;bottom:0!important;top:auto!important;
   display:flex!important;flex-flow:column nowrap!important;
   align-items:stretch!important;width:auto!important;max-width:95px!important;
   height:auto!important;max-height:none!important;
   background:#10271bd9!important;transform:none!important;
 }
 body:where(.gc-screen).gc-responsive-shoot .shop-area>.shop-bar .ball-choices{display:flex!important;flex-direction:column!important;gap:2px!important}
 body:where(.gc-screen).gc-responsive-shoot .shop-area>.shop-bar .ball-choice{min-width:0!important;min-height:25px!important;font-size:12px!important;padding:2px 4px!important}
 body:where(.gc-screen).gc-responsive-shoot .shop-area>.shop-bar .ball-choice small{font-size:7px!important}
 body:where(.gc-screen).gc-responsive-shoot .shop-area>.shop-bar #shopToggle{min-height:29px!important;font-size:9px!important;padding:2px 4px!important}
 body:where(.gc-screen).gc-responsive-shoot .shop-area>.shop-panel:not([hidden]){position:fixed!important;z-index:200!important;top:6px!important;right:105px!important;left:auto!important;bottom:6px!important;width:min(500px,calc(100vw - 120px))!important;max-height:none!important;overflow:auto!important}
 body:where(.gc-screen).gc-responsive-longshot .arena>.shootbar,
 body:where(.gc-screen).gc-responsive-longshot .arena>.shootbar.gc-mobile-below{
   position:absolute!important;z-index:27!important;left:50%!important;top:auto!important;bottom:4px!important;
   width:min(400px,65%)!important;max-width:65%!important;
   transform:translateX(-50%)!important;margin:0!important;padding:5px!important;
 }
 body:where(.gc-screen).gc-responsive-longshot .arena>.shootbar button{padding:5px!important;min-height:30px!important;margin-top:4px!important}
 body:where(.gc-screen).gc-responsive-longshot .arena>.message{top:32px!important;font-size:10px!important}
 body:where(.gc-screen).gc-responsive-shoot .arena>.status-pill{top:32px!important}
 body:where(.gc-screen) #goalcu-language{z-index:120!important}
}
/* The available top/bottom bands belong to controls on tablet-class aspect ratios. */
@media (orientation:landscape) and (max-aspect-ratio:16/9){
 body:where(.gc-screen):is(.gc-responsive-zombie,.gc-responsive-shoot,.gc-responsive-longshot) :is(.gc-screen-root,main.wrap,main.shell)>:is(header,.masthead){top:0!important;right:max(5px,env(safe-area-inset-right))!important;flex-direction:row!important}
 body:where(.gc-screen):is(.gc-responsive-zombie,.gc-responsive-shoot,.gc-responsive-longshot) :is(.gc-screen-root,main.wrap,main.shell)>:is(header,.masthead) :is(.actions,.headright,.headtools){flex-direction:row!important;max-width:none!important}
 body:where(.gc-screen):is(.gc-responsive-zombie,.gc-responsive-shoot,.gc-responsive-longshot) :is(.gc-screen-root,main.wrap,main.shell)>:is(.hud,.scoreboard,.stats){top:auto!important;bottom:3px!important;height:30px!important;max-height:30px!important}
 body:where(.gc-screen).gc-responsive-shoot .shop-area>.shop-bar{max-width:none!important;flex-direction:row!important}
 body:where(.gc-screen).gc-responsive-shoot .shop-area>.shop-bar .ball-choices{flex-direction:row!important}
}

@media (orientation:landscape){
 body:where(.gc-screen).gc-responsive-zombie main.wrap>header>b{display:block!important;font-size:0!important;max-width:32px!important}
 body:where(.gc-screen).gc-responsive-zombie main.wrap>header>b>a{font-size:17px!important;width:30px!important;text-align:center!important}
 body:where(.gc-screen).gc-responsive-longshot main.shell>header>.brand,
 body:where(.gc-screen).gc-responsive-shoot main.shell>header>.brand{display:none!important}
}
