
/* GOALCU Foot Tennis esnek duzen V17 test. Gameplay JS and canvas coordinates unchanged. */
html,body{height:100%;overflow:hidden!important;min-height:0}
body{touch-action:none}
#app{height:100dvh!important;max-height:100dvh!important;max-width:860px;gap:7px;padding:calc(8px + env(safe-area-inset-top)) 10px calc(8px + env(safe-area-inset-bottom))!important}
#app>.head{width:100%;max-width:760px;margin:auto;min-height:38px}
.gc-responsive-shell{position:relative;flex:1;min-height:0;min-width:0;width:100%;max-width:760px;margin:0 auto;display:grid;grid-template-columns:142px minmax(0,1fr) 142px;gap:0;border:2px solid #426d50;border-radius:14px;background:#112e20;overflow:hidden}
.gc-side{min-width:0;padding:15px 9px;display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:9px;background:#153b2a}
.gc-left{border-right:1px solid #406b50}.gc-right{border-left:1px solid #406b50}
.gc-side-title{text-align:center;font-size:11px;letter-spacing:.09em;font-weight:800;color:#e6c46c}
.gc-responsive-shell .status{flex:0 0 auto;background:transparent;border:none;border-radius:0;padding:0;display:flex;flex-direction:column;justify-content:center;gap:18px;text-align:center;align-items:center}
.gc-responsive-shell .status>div{text-align:center!important}
.gc-responsive-shell .status .score{font-size:27px}
.gc-responsive-shell .controls{height:auto!important;min-height:0;flex:none;padding:0;display:block;width:100%}
.gc-responsive-shell .streakBox{min-height:0;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;overflow-wrap:anywhere}
.gc-responsive-shell .streakBox strong{font-size:30px}
.gc-responsive-shell .streakBox small{font-size:11px;line-height:1.4}
.gc-responsive-shell .courtWrap{height:100%;width:100%;min-height:0;min-width:0;flex:1;align-self:stretch;border:0;border-radius:0;background:#092719}
.gc-responsive-shell #court{height:100%;width:100%;object-fit:contain;touch-action:none}
.gc-responsive-shell #overlay{position:absolute;inset:0;z-index:8;background:#071f17ed;overflow:auto;padding:14px;align-items:center;justify-content:center}
.gc-responsive-shell #overlay .panel{max-height:min(100%,630px);overflow:auto;overscroll-behavior:contain;margin:auto}
.gc-rotation-tip{display:none;font-size:11px;color:#acc7b3;text-align:center}
@media (max-width:700px) and (orientation:portrait){
 #app{max-width:620px;gap:5px}
 .gc-responsive-shell{display:flex;flex-direction:column;border:0;background:transparent;border-radius:0;overflow:visible;max-width:520px;gap:5px}
 .gc-side{padding:0;border:0;flex:0 0 auto;background:transparent;display:flex;min-width:0}
 .gc-side-title{display:none}
 .gc-left{height:61px}
 .gc-responsive-shell .status{height:61px;background:#143b2a;border:1px solid #426d50;border-radius:11px;padding:5px 9px;display:flex;flex-direction:row;justify-content:space-between;gap:4px}
 .gc-responsive-shell .status>div:nth-child(1){text-align:left!important}
 .gc-responsive-shell .status>div:nth-child(3){text-align:right!important}
 .gc-responsive-shell .status .score{font-size:22px}
 .gc-right{height:41px}
 .gc-responsive-shell .controls{height:41px!important;display:flex;align-items:center;justify-content:center}
 .gc-responsive-shell .streakBox{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:9px;font-size:11px}
 .gc-responsive-shell .streakBox strong{font-size:21px}
 .gc-responsive-shell .streakBox small{display:none}
 .gc-responsive-shell .courtWrap{flex:1;min-height:0;height:auto;border:2px solid #426d50;border-radius:12px}
 .gc-responsive-shell #overlay{padding:7px;border-radius:12px;inset:66px 0 46px}
 .gc-responsive-shell #overlay .panel{max-width:360px;max-height:100%;padding:15px 12px;border-radius:13px}
 .gc-responsive-shell #overlay .panel h1{font-size:24px}
 .gc-responsive-shell #overlay .panel p{font-size:11px;line-height:1.38;margin:8px 0}
 .gc-responsive-shell #overlay .choices{margin:9px 0}
 .gc-responsive-shell #overlay .choices button{padding:8px 2px}
 .gc-responsive-shell #overlay .primary{padding:11px 10px}
}
@media(max-width:700px) and (orientation:portrait) and (max-height:690px){
 .gc-left,.gc-responsive-shell .status{height:50px}
 .gc-right,.gc-responsive-shell .controls{height:34px!important}
 .gc-responsive-shell #overlay{inset:55px 0 39px}
 .gc-responsive-shell #overlay .panel{padding:10px}
 .gc-responsive-shell #overlay .panel h1{font-size:20px}
 .gc-responsive-shell #overlay .panel p{font-size:10px;line-height:1.32}
 .gc-responsive-shell #overlay .choices{margin:7px 0}
 .gc-responsive-shell #overlay .choices button{font-size:10px;padding:6px 2px}
 .gc-responsive-shell #overlay .primary{font-size:13px;padding:8px}
 .gc-responsive-shell #overlay .instruction{font-size:9px!important}
}
@media (orientation:landscape) and (max-height:470px){
 #app{max-width:860px;gap:4px}
 #app>.head{min-height:31px}
 .gc-responsive-shell{max-width:680px;grid-template-columns:110px minmax(0,1fr) 110px}
 .gc-side{padding:7px 5px;gap:4px}
 .gc-responsive-shell .status{gap:5px;font-size:10px}
 .gc-responsive-shell .status .tiny{font-size:9px}
 .gc-responsive-shell .status .score{font-size:19px}
 .gc-responsive-shell .streakBox strong{font-size:22px}
 .gc-responsive-shell .streakBox small{font-size:9px}
 .gc-responsive-shell #overlay .panel{max-width:310px;padding:9px 10px}
 .gc-responsive-shell #overlay .panel h1{font-size:20px}
 .gc-responsive-shell #overlay .panel p{font-size:10px;line-height:1.2}
 .gc-responsive-shell #overlay .choices{margin:5px 0}
 .gc-responsive-shell #overlay .choices button{font-size:10px;padding:5px 2px}
 .gc-responsive-shell #overlay .primary{font-size:12px;padding:6px}
}
