:root{color-scheme:dark;--yellow:#f6d629;--green:#063e30;--ink:#052e25}*{box-sizing:border-box}body{margin:0;background:#073a2d;color:#fff;font-family:Archivo,Arial,sans-serif}button,input{font:inherit}.header{height:74px;display:flex;justify-content:space-between;align-items:center;padding:0 max(5%,calc((100vw - 1240px)/2));border-bottom:1px solid #ffffff22}.header img{width:122px;display:block}.back{font-size:13px;font-weight:700;color:#fff;text-decoration:none}.wrap{max-width:1240px;margin:auto;padding:55px 30px 45px}.intro{display:flex;align-items:end;justify-content:space-between;margin-bottom:30px}.eyebrow{color:var(--yellow);font-size:11px;letter-spacing:.16em;font-weight:800}.eyebrow span{display:inline-block;width:24px;height:2px;vertical-align:middle;background:var(--yellow);margin-right:8px}h1{font-size:clamp(40px,6vw,75px);letter-spacing:-.055em;line-height:.95;margin:16px 0 13px;font-weight:900}h1 em{color:var(--yellow);font-style:normal}h1>span{color:var(--yellow)}.subtitle{color:#c4d7cf;margin:0;font-size:16px}.intro-tag{border-left:2px solid var(--yellow);padding-left:14px;font-size:12px;line-height:1.6;letter-spacing:.1em;color:#bad0c6}.intro-tag strong{color:var(--yellow)}.game{background:#f7f5ea;color:var(--ink);border-radius:10px;overflow:hidden;box-shadow:0 24px 80px #001b1360}.scorebar{height:83px;display:flex;align-items:center;justify-content:space-between;padding:0 30px}.scorebar small{display:block;font-size:10px;letter-spacing:.13em;font-weight:800;color:#618075;margin-bottom:6px}.scorebar strong{font-size:25px;line-height:1;font-weight:900}.scorebar strong span{font-size:11px;color:#728c82}.attempts{text-align:center}#dots{display:flex;gap:8px}#dots i{width:13px;height:13px;border:2px solid #a4b6ae;border-radius:50%}#dots i.goal-dot{background:#168353;border-color:#168353}#dots i.miss-dot{background:#d77e64;border-color:#d77e64}.round{text-align:right}.pitch{height:440px;position:relative;overflow:hidden;background:#5aa17b}.stadium{position:absolute;inset:0;background:linear-gradient(#143d32 0%,#426454 38%,#668c70 56%,#4b9a60 56%)}.lights{position:absolute;inset:0;background:radial-gradient(ellipse at 12% 10%,#eaffba55,transparent 30%),radial-gradient(ellipse at 88% 10%,#eaffba55,transparent 30%)}.stands{position:absolute;top:28%;width:100%;height:28%;background:repeating-linear-gradient(0deg,#122e27 0 4px,#67816c 5px 7px,#274639 8px 12px);opacity:.6}.field{position:absolute;top:55%;bottom:0;width:100%;background:repeating-linear-gradient(90deg,#4d985d 0 12.5%,#55a164 12.5% 25%);clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.field:after{content:'';position:absolute;left:15%;right:15%;top:25%;height:90%;border:2px solid #ffffff55;transform:perspective(400px) rotateX(35deg)}.goal{position:absolute;left:20%;width:60%;top:14%;height:51%;border:8px solid #f6f5e8;border-bottom:4px solid #f6f5e8;box-shadow:0 4px 5px #173d2a80}.net{position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0 25px,#ffffff44 26px 27px),repeating-linear-gradient(0deg,transparent 0 20px,#ffffff44 21px 22px),#16382d66}.target-grid{position:absolute;inset:0;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr);z-index:3}.target{border:0;background:transparent;cursor:pointer;color:white;position:relative}.target:after{content:'+';display:grid;place-items:center;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:35px;height:35px;border:1px solid #ffffffaa;border-radius:50%;background:#063e3066;font-size:23px;transition:.2s}.target:hover:after,.target:focus-visible:after,.target.selected:after{background:var(--yellow);color:var(--ink);border-color:var(--yellow);transform:translate(-50%,-50%) scale(1.15)}.target:disabled{cursor:default}.keeper{position:absolute;bottom:0;left:50%;z-index:2}.ball{position:absolute;left:50%;top:82%;font-size:48px;line-height:1;z-index:4;transform:translate(-50%,-50%);transition:left .7s ease-out,top .7s ease-out,font-size .7s ease-out;filter:drop-shadow(0 5px 3px #173c2866);pointer-events:none}.result{position:absolute;z-index:5;top:38%;left:50%;transform:translate(-50%,-50%);font-weight:900;font-size:clamp(32px,6vw,70px);text-shadow:0 3px 15px #003822;color:#fff;white-space:nowrap;pointer-events:none}.pitch-label{position:absolute;bottom:15px;left:20px;color:#ffffffa6;font-size:9px;letter-spacing:.14em;font-weight:800}.pitch-label b{color:var(--yellow)}.controls{display:grid;grid-template-columns:1.3fr 1fr auto;gap:30px;align-items:center;padding:25px 30px}.instruction{display:flex;gap:13px;align-items:center}.step{display:grid;place-items:center;width:39px;height:39px;border-radius:50%;background:#e3e9dc;font-size:12px;font-weight:900}.instruction strong{font-size:15px}.instruction p{font-size:12px;color:#6a8278;margin:4px 0 0}.power-label,.power-scale{display:flex;justify-content:space-between;font-size:10px;font-weight:800;letter-spacing:.08em}.power-label{margin-bottom:7px}.power-scale{color:#91a39a;font-size:9px}input[type=range]{width:100%;accent-color:#0a714a;cursor:pointer}.controls button{background:var(--yellow);color:var(--ink);border:0;border-radius:4px;padding:17px 25px;font-weight:900;cursor:pointer;min-width:160px}.controls button span{margin-left:18px}.controls button:disabled{opacity:.45;cursor:not-allowed}.below{display:flex;justify-content:space-between;gap:20px;color:#c0d4ca;font-size:12px;margin-top:20px}.below strong{color:var(--yellow);margin-right:10px}.below a{color:#fff;font-weight:700;text-decoration:none}footer{text-align:center;border-top:1px solid #ffffff20;padding:24px;color:#91b1a2;font-size:10px;letter-spacing:.13em;font-weight:800}footer span{color:var(--yellow)}@media(max-width:650px){.header{height:65px;padding:0 20px}.header img{width:105px}.wrap{padding:35px 15px}.intro{margin-bottom:22px}.intro-tag{display:none}h1{font-size:44px}.subtitle{font-size:14px}.scorebar{padding:0 16px;height:72px}.scorebar strong{font-size:21px}#dots{gap:4px}#dots i{width:10px;height:10px}.pitch{height:330px}.goal{left:9%;width:82%;top:15%;height:49%;border-width:6px}.controls{grid-template-columns:1fr 1fr;gap:18px;padding:20px 16px}.instruction{grid-column:1/-1}.controls button{min-width:0;padding:16px 12px}.controls button span{margin-left:5px}.below{display:block;line-height:1.6}.below a{display:inline-block;margin-top:7px}}


.target:disabled:after{opacity:0}

/* Direct play: the ball is the controller. */
.pitch:not(.button-mode) .target-grid{visibility:hidden}
.ball{padding:0;border:0;background:none;color:inherit;pointer-events:auto;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;width:64px;height:64px;display:grid;place-items:center;line-height:1;border-radius:50%}
.ball:focus-visible{outline:3px solid var(--yellow);outline-offset:6px}
.ball:disabled{opacity:1;cursor:default;color:inherit;-webkit-text-fill-color:inherit}
.pitch.is-dragging .ball{cursor:grabbing;filter:drop-shadow(0 0 13px #f6d699)}
.aim-guide{position:absolute;inset:0;width:100%;height:100%;overflow:visible;z-index:3;pointer-events:none;color:#f6d629;opacity:.55;transition:opacity .15s}
.aim-guide path:not(marker path){fill:none;stroke:currentColor;stroke-width:2;stroke-dasharray:5 9}
.aim-guide circle{fill:#f6d6291a;stroke:currentColor;stroke-width:2}
.pitch.is-dragging .aim-guide{opacity:1;filter:drop-shadow(0 0 5px #f6d62966)}
.pitch.is-dragging .aim-guide path:not(marker path){stroke-width:3;stroke-dasharray:8 5}
.pitch.is-busy .aim-guide,.pitch.is-finished .aim-guide,.pitch.button-mode .aim-guide{opacity:0}
.gesture-caption{position:absolute;left:0;right:0;top:16px;text-align:center;color:#f7eaa9;font-size:9px;letter-spacing:.18em;font-weight:800;pointer-events:none}
.drag-nudge{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);font-weight:900;font-size:10px;letter-spacing:.08em;color:#fff9d4;white-space:nowrap;pointer-events:none;text-shadow:0 2px 6px #123c25}
.drag-nudge span{display:inline-block;margin-left:5px;color:var(--yellow);font-size:16px}
.pitch.is-dragging .drag-nudge,.pitch.is-busy .drag-nudge,.pitch.is-finished .drag-nudge,.pitch.button-mode .drag-nudge{visibility:hidden}
.gesture-bar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 30px;background:#f7f5ea}
.gesture-copy{display:flex;gap:14px;align-items:center}
.gesture-icon{display:grid;place-items:center;flex:none;background:#0a5c40;color:#f6d629;font-size:26px;width:48px;height:48px;border-radius:50%}
.gesture-copy strong{font-size:18px;letter-spacing:-.025em}.gesture-copy p{font-size:12px;color:#557466;margin:6px 0 0;line-height:1.45}
.gesture-meter{width:190px;flex:none}.gesture-meter>div:first-child{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px;font-size:9px;font-weight:800;letter-spacing:.05em}.gesture-meter strong{font-size:14px;letter-spacing:0}
.gesture-meter-track{height:5px;background:#d9e2d5;border-radius:4px;overflow:hidden}.gesture-meter-track i{display:block;height:100%;width:0;background:#0b8251;transition:width .07s linear}
.button-controls{border-top:1px solid #dce4d8}.button-controls summary{padding:15px 30px;font-size:12px;font-weight:700;cursor:pointer;color:#365d4d}.button-controls summary span{color:#718779;font-size:11px;font-weight:400;margin-left:10px}.button-controls summary:focus-visible{outline:3px solid #0a714a;outline-offset:-4px}.button-controls .controls{padding-top:8px}
#playAgain{background:#f6d629;border:0;border-radius:4px;padding:16px 22px;font-weight:900;color:#052e25;cursor:pointer;flex:none}#playAgain[hidden],.gesture-meter[hidden]{display:none}
.pitch.is-finished .ball{visibility:hidden}.result{top:73%;font-size:clamp(28px,5vw,58px);text-shadow:0 3px 14px #003822cc}.pitch.is-finished .result{top:43%}
@media(max-width:650px){.header{height:58px}.wrap{padding-top:28px}.eyebrow{font-size:9px}h1{font-size:40px;margin-top:12px}.subtitle{font-size:13px;line-height:1.5}.intro{margin-bottom:22px}.gesture-bar{padding:20px 17px;align-items:flex-start;flex-wrap:wrap;gap:16px}.gesture-copy{gap:10px}.gesture-icon{width:38px;height:38px;font-size:23px}.gesture-copy strong{font-size:17px}.gesture-copy p{font-size:12px;max-width:240px}.gesture-meter{width:100%;padding-left:48px}.gesture-meter>div:first-child{margin-bottom:6px}.button-controls summary{padding:14px 17px;font-size:11px}.button-controls summary span{font-size:10px;margin-left:6px}.drag-nudge{bottom:17px;font-size:9px}.pitch-label{font-size:7px;bottom:7px;left:10px}.gesture-caption{top:16px;font-size:8px}.ball{font-size:49px}#playAgain{width:100%;margin-left:48px;padding:14px 12px}.below{font-size:11px}}
@media(prefers-reduced-motion:reduce){.aim-guide,.gesture-meter-track i{transition:none}}

/* Each original pose has its own alpha cutout and natural proportions. */
.keeper{transform:translateX(-50%);transform-origin:center;transition:left .34s ease-out,top .34s ease-out;filter:drop-shadow(0 3px 2px #001c1644)}
.keeper .keeper-sprite{display:block;width:100%;height:100%;object-fit:contain;background:none;transform:none;pointer-events:none;user-select:none}

/* One ground plane and a fixed 3:1 goal opening on every screen. */
.pitch{height:clamp(330px,45vw,510px);--ground:62%}
.goal{box-sizing:content-box;left:0;right:0;margin-inline:auto;width:min(86%,780px);height:auto;aspect-ratio:3 / 1;top:auto;bottom:calc(100% - var(--ground));transform:none;border:clamp(4px,.5vw,7px) solid #f6f5e8;border-bottom:0;box-shadow:0 3px 3px #173d2a55}
.field{top:44%}.stands{top:25%;height:19%}
.pitch:after{content:'';position:absolute;left:3%;right:3%;top:var(--ground);height:2px;transform:translateY(-1px);background:#f7fff4b3;pointer-events:none;z-index:1}
.goal{z-index:2}.ball{z-index:4}.aim-guide{z-index:3}
.keeper{filter:none}
.keeper-shadow{position:absolute;bottom:-2px;left:50%;height:5px;width:50px;border-radius:50%;background:radial-gradient(ellipse,#092b20aa,transparent 72%);transform:translateX(-50%);z-index:1;pointer-events:none;transition:left .3s ease-out,width .3s ease-out,opacity .2s}
.game{position:relative}
.scout{position:absolute;inset:0;z-index:20;display:grid;place-items:center;padding:24px;background:#03271fd9;backdrop-filter:blur(6px);overflow-y:auto;animation:scoutFade .35s ease-out}.scout[hidden]{display:none}
.scout-card{width:min(560px,100%);background:#f7f5ea;color:var(--ink);border-radius:12px;overflow:hidden;box-shadow:0 30px 90px #000a;animation:scoutRise .5s cubic-bezier(.2,.9,.3,1.2)}
.scout-head{display:flex;justify-content:space-between;align-items:center;background:var(--green);padding:12px 18px}.scout-kicker{margin:0;color:#c4d7cf;font-size:10px;letter-spacing:.16em;font-weight:800}.scout-kicker span{color:var(--yellow)}
.scout-close{background:none;border:0;color:#fff;font-size:24px;line-height:1;cursor:pointer;padding:0 4px}
.scout-body{display:grid;grid-template-columns:auto 1fr;gap:6px 20px;padding:22px 22px 18px;align-items:center}
.scout-grade{display:grid;place-items:center;width:104px;height:104px;border-radius:50%;background:var(--yellow);box-shadow:inset 0 0 0 5px #052e25,inset 0 0 0 8px var(--yellow);text-align:center}.scout-grade strong{font-size:46px;font-weight:900;letter-spacing:-.05em;line-height:1;margin-top:14px}.scout-grade strong span{font-size:18px}.scout-grade small{font-size:8px;font-weight:800;letter-spacing:.12em;margin-top:-18px}
.scout-copy h2{margin:0 0 6px;font-size:30px;font-weight:900;letter-spacing:-.04em;line-height:1;text-transform:uppercase}.scout-copy p{margin:0;font-size:13px;line-height:1.45;color:#45635a}
.scout-map{grid-column:1/-1;margin-top:12px}.scout-goal{position:relative;height:96px;overflow:visible;border:4px solid #052e25;border-bottom:0;background:repeating-linear-gradient(90deg,transparent 0 13px,#052e2518 14px 15px),repeating-linear-gradient(0deg,transparent 0 11px,#052e2518 12px 13px),#e6ecdf;margin:18px 6px 0}
.scout-goal i{position:absolute;width:20px;height:20px;margin:-10px 0 0 -10px;border-radius:50%;display:grid;place-items:center;font-size:10px;font-weight:900;font-style:normal;color:#fff;box-shadow:0 2px 4px #0004;animation:scoutPop .4s backwards}.scout-goal i.goal{background:#168353}.scout-goal i.save{background:#d77e64}.scout-goal i.miss{background:#8a9a93}
.scout-legend{display:flex;gap:14px;justify-content:center;margin-top:12px;font-size:9px;font-weight:800;letter-spacing:.12em;color:#618075}.scout-legend span:before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:5px;vertical-align:-1px}.k-goal:before{background:#168353}.k-save:before{background:#d77e64}.k-miss:before{background:#8a9a93}
.scout-pitch{background:var(--green);color:#fff;padding:20px 22px;text-align:center}.scout-pitch>p:first-child{margin:0 0 14px;font-size:14px;line-height:1.5;color:#c4d7cf}.scout-pitch b{color:#fff}
.scout-cta{display:block;background:var(--yellow);color:var(--ink);text-decoration:none;font-weight:900;font-size:17px;padding:17px 18px;border-radius:6px;box-shadow:0 6px 0 #b39a12;transition:transform .15s,box-shadow .15s;animation:scoutPulse 2.2s 1.2s infinite}.scout-cta:hover{transform:translateY(2px);box-shadow:0 4px 0 #b39a12}.scout-cta span{margin-left:8px}
.scout-note{margin:12px 0 0;font-size:11px;color:#91b1a2;letter-spacing:.04em}
.scout-actions{display:grid;grid-template-columns:1fr 1fr}.scout-actions button{border:0;background:#f7f5ea;color:var(--ink);font-weight:900;font-size:13px;padding:16px 10px;cursor:pointer}.scout-actions button+button{border-left:1px solid #d9dfd3}.scout-actions button:hover{background:#ece9d8}#scoutShare{color:#0a714a}
@keyframes scoutFade{from{opacity:0}}@keyframes scoutRise{from{opacity:0;transform:translateY(30px) scale(.96)}}@keyframes scoutPop{from{transform:scale(0)}}@keyframes scoutPulse{0%,100%{outline:0 solid #f6d62900}50%{outline:6px solid #f6d62940}}
@media(max-width:650px){.scout{padding:12px;place-items:start center}.scout-body{padding:18px 16px 14px;gap:4px 14px}.scout-grade{width:84px;height:84px}.scout-grade strong{font-size:36px;margin-top:10px}.scout-copy h2{font-size:22px}.scout-copy p{font-size:12px}.scout-goal{height:76px}.scout-pitch{padding:16px}.scout-pitch>p:first-child{font-size:13px}.scout-cta{font-size:15px;padding:15px 12px}#playAgain{width:calc(100% - 48px)}}
@media(prefers-reduced-motion:reduce){.scout,.scout-card,.scout-goal i,.scout-cta{animation:none}}
.lineup{position:absolute;inset:0;z-index:15;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:20px;background:linear-gradient(#03271fcc,#03271fee);text-align:center;animation:scoutFade .4s ease-out}.lineup[hidden]{display:none}
.lineup-kicker{margin:0;color:#c4d7cf;font-size:10px;letter-spacing:.16em;font-weight:800}.lineup-kicker span{color:var(--yellow)}
.lineup label{color:#fff;font-weight:900;font-size:clamp(26px,4vw,40px);letter-spacing:-.04em;line-height:1.05}
.lineup-row{display:flex;gap:8px;width:min(480px,100%);margin-top:6px}.lineup input{flex:1;min-width:0;border:2px solid #ffffff55;background:#ffffff14;color:#fff;border-radius:6px;padding:15px 16px;font-size:17px;font-weight:700;outline:0}.lineup input:focus{border-color:var(--yellow);background:#ffffff22}.lineup input::placeholder{color:#c4d7cf99}
.lineup-row button{background:var(--yellow);color:var(--ink);border:0;border-radius:6px;padding:0 20px;font-weight:900;cursor:pointer;white-space:nowrap}
.lineup-skip{background:none;border:0;color:#c4d7cf;font-size:12px;text-decoration:underline;cursor:pointer;padding:6px}
.pitch.has-lineup .drag-nudge,.pitch.has-lineup .aim-guide,.pitch.has-lineup .gesture-caption{visibility:hidden}
@media(max-width:650px){.lineup{gap:9px}.lineup label{font-size:24px}.lineup-row{flex-direction:column}.lineup-row button{padding:15px}.lineup input{font-size:16px;text-align:center}}
.result{white-space:normal;width:92%;text-align:center;line-height:1}
.pitch.post-hit .goal{animation:postShake .4s}@keyframes postShake{25%{transform:translateX(-3px)}50%{transform:translateX(3px)}75%{transform:translateX(-1px)}}
/* Modo Estádio: tela cheia na horizontal com joystick (mira) e botão de chute */
.stadium-toggle{position:absolute;top:10px;right:10px;z-index:6;border:1px solid #ffffff55;background:#03271f99;color:#fff;border-radius:999px;padding:7px 12px;font-size:11px;font-weight:900;letter-spacing:.08em;cursor:pointer}
.pad,.rotate{display:none}
.game.stadium{position:fixed;inset:0;z-index:1000;border-radius:0;display:flex;flex-direction:column;box-shadow:none}
.game.stadium .scorebar{height:44px;padding:0 max(16px,env(safe-area-inset-right)) 0 max(16px,env(safe-area-inset-left));flex:none}.game.stadium .scorebar small{display:none}.game.stadium .scorebar strong{font-size:18px}
.game.stadium .pitch{flex:1;height:auto}.game.stadium .goal{width:min(58%,780px,calc((100dvh - 44px) * 1.45))}
.game.stadium .gesture-bar,.game.stadium .button-controls,.game.stadium .drag-nudge,.game.stadium .gesture-caption,.game.stadium .pitch-label{display:none}
.game.stadium .stadium-toggle span{display:none}.game.stadium .stadium-toggle{top:auto;bottom:auto;left:50%;right:auto;transform:translateX(-50%);bottom:10px}
.game.stadium .ball{top:84%}
.game.stadium .pad{display:block;position:absolute;inset:0;z-index:5;pointer-events:none}
.kick,.stick{position:absolute;bottom:max(18px,env(safe-area-inset-bottom));pointer-events:auto;touch-action:none;user-select:none;-webkit-user-select:none}
.kick{left:max(22px,env(safe-area-inset-left));width:96px;height:96px;border-radius:50%;border:0;color:var(--ink);font-weight:900;cursor:pointer;display:grid;place-content:center;gap:2px;--p:0;background:radial-gradient(circle,var(--yellow) 0 58%,transparent 59%),conic-gradient(#fff calc(var(--p)*1%),#ffffff33 0);box-shadow:0 6px 20px #0006}
.kick span{font-size:15px;letter-spacing:.06em}.kick small{font-size:10px;font-weight:800;opacity:.75}.kick.charging{transform:scale(.94)}.kick:disabled{opacity:.4}
.stick{right:max(22px,env(safe-area-inset-right));width:118px;height:118px;border-radius:50%;background:#03271f88;border:2px solid #ffffff55;box-shadow:inset 0 0 20px #0005}
.stick i{position:absolute;left:50%;top:50%;width:52px;height:52px;margin:-26px 0 0 -26px;border-radius:50%;background:#f7f5ea;box-shadow:0 4px 12px #0007;transition:transform .12s}.stick.active i{transition:none}
.stick small{position:absolute;left:0;right:0;bottom:-16px;text-align:center;color:#fff;font-size:9px;font-weight:900;letter-spacing:.14em;text-shadow:0 1px 4px #000}
.game.stadium .aim-guide{opacity:1}.game.stadium.is-busy-g .aim-guide{opacity:0}
.game.stadium.portrait .rotate{display:flex}
.rotate{position:absolute;inset:0;z-index:30;flex-direction:column;justify-content:center;align-items:center;gap:10px;background:#03271f;color:#fff;text-align:center;padding:24px}
.rotate strong{font-size:28px;font-weight:900;letter-spacing:-.03em}.rotate p{margin:0;color:#c4d7cf;font-size:14px}.rotate button{margin-top:14px;background:none;border:1px solid #ffffff55;color:#fff;border-radius:6px;padding:10px 16px;font-weight:700}
.rotate-phone{width:46px;height:78px;border:4px solid var(--yellow);border-radius:10px;margin-bottom:12px;animation:rotatePhone 2s ease-in-out infinite}
@keyframes rotatePhone{0%,20%{transform:rotate(0)}50%,80%{transform:rotate(-90deg)}100%{transform:rotate(0)}}
.game.stadium .scout{padding:10px}.game.stadium .lineup label{font-size:24px}
@media(prefers-reduced-motion:reduce){.rotate-phone{animation:none;transform:rotate(-90deg)}}
.game.stadium .pitch.is-busy .aim-guide,.game.stadium .pitch.is-finished .aim-guide{opacity:0}.game.stadium .pitch.is-busy .kick,.game.stadium .pitch.is-finished .pad{opacity:.45}
.pitch .stadium-toggle{top:auto;bottom:10px;right:10px}
.game.stadium .scorebar{background:#03271f;color:#fff}.game.stadium .scorebar strong span{color:#c4d7cf}.game.stadium #dots i{border-color:#ffffff88}.game.stadium .pitch .stadium-toggle{top:10px;bottom:auto;left:auto;right:max(12px,env(safe-area-inset-right));transform:none}
@media(max-width:720px){.game.stadium .goal{width:min(52%,calc((100dvh - 44px) * 1.45))}.game.stadium .stick{width:100px;height:100px}.game.stadium .kick{width:84px;height:84px}}
/* iOS: marcador do details e setas sem virar emoji */
.button-controls summary{list-style:none}.button-controls summary::-webkit-details-marker{display:none}.button-controls summary:before{content:'';display:inline-block;width:0;height:0;border:5px solid transparent;border-left:7px solid currentColor;border-right:0;margin-right:8px;vertical-align:1px;transition:transform .2s}.button-controls[open] summary:before{transform:rotate(90deg)}
.gesture-icon,.scout-actions span,.scout-cta span{font-family:Archivo,Arial,sans-serif;font-variant-emoji:text}
.pitch.has-lineup .stadium-toggle{display:none}
@media(max-width:650px){.pitch.has-lineup{height:400px}.lineup{padding:22px 20px;gap:10px}.lineup-kicker{font-size:9px;letter-spacing:.14em}.lineup label{font-size:clamp(22px,7vw,28px);max-width:15ch}.lineup-row{width:100%}}
/* Estádio com torcida e logo da Jornada + gramado em perspectiva */
.stadium{bottom:auto;height:var(--ground);background:#06261c url(assets/estadio.webp?v=2) center bottom / cover no-repeat}
.lights,.stands{display:none}
.field{top:var(--ground);bottom:0;overflow:hidden;clip-path:none;background:linear-gradient(#2f7a45,#3d8f52 40%,#4a9e5c)}
.field:before{content:'';position:absolute;left:-60%;right:-60%;top:0;height:260%;background:repeating-linear-gradient(90deg,#ffffff0d 0 5%,#00000012 5% 10%);transform-origin:50% 0;transform:perspective(220px) rotateX(58deg)}
.field:after{left:22%;right:22%;top:0;height:78%;border:2px solid #ffffff8c;border-top:0;transform:perspective(260px) rotateX(38deg);transform-origin:50% 0}
.spot{position:absolute;left:50%;top:62%;width:10px;height:5px;margin-left:-5px;border-radius:50%;background:#ffffffb3}
.field{box-shadow:inset 0 14px 22px -10px #00180f99}
.ball-shadow{position:absolute;z-index:3;height:8px;width:36px;border-radius:50%;background:radial-gradient(ellipse,#00140dcc,transparent 70%);transform:translate(-50%,-50%);pointer-events:none}.ball-shadow[hidden]{display:none}
.ball{will-change:left,top,transform}
.net{background-color:#0b2a2099}
.stadium:after{content:'';position:absolute;inset:0;background:radial-gradient(ellipse 60% 70% at 50% 60%,#03201780,transparent 75%)}
@media(max-width:650px){.gesture-caption{display:none}.pitch .stadium-toggle{top:10px;bottom:auto;left:10px;right:auto}}
/* mapa da ficha: marcadores com classe própria */
.scout-goal i.mark-goal{background:#168353}.scout-goal i.mark-save{background:#d77e64}.scout-goal i.mark-miss{background:#8a9a93}
/* Modo Estádio: página travada por trás, área segura do iPhone, altura real da tela */
html.stadium-lock,html.stadium-lock body{overflow:hidden;overscroll-behavior:none;height:100%}
.game.stadium{height:100dvh;padding:env(safe-area-inset-top) 0 0}
/* dica de tela cheia no iPhone */
.ios-tip{position:absolute;z-index:25;left:50%;top:54px;transform:translateX(-50%);width:min(520px,calc(100% - 24px));display:flex;gap:10px;align-items:center;background:#f7f5ea;color:var(--ink);border-radius:10px;padding:10px 12px;box-shadow:0 10px 30px #0007;font-size:13px;line-height:1.4}.ios-tip[hidden]{display:none}.ios-tip p{margin:0}
.ios-tip button{border:0;background:none;font-size:22px;line-height:1;color:var(--ink);cursor:pointer;padding:0 4px}
.ios-share{display:inline-block;width:12px;height:14px;border:2px solid currentColor;border-top:0;border-radius:0 0 2px 2px;position:relative;vertical-align:-2px;margin:0 2px}.ios-share:before{content:'';position:absolute;left:50%;top:-6px;width:2px;height:11px;margin-left:-1px;background:currentColor}
.game:not(.stadium) .ios-tip{display:none}
/* ficha do olheiro com o celular deitado: duas colunas, cabe na tela */
@media(orientation:landscape) and (max-height:520px){
 .scout{place-items:center;padding:8px}
 .scout-card{width:min(760px,100%);display:grid;grid-template-columns:1.1fr 1fr;grid-template-rows:auto 1fr auto}
 .scout-head{grid-column:1/-1;padding:8px 14px}
 .scout-body{padding:12px 14px 8px;gap:4px 12px}.scout-grade{width:70px;height:70px}.scout-grade strong{font-size:30px;margin-top:8px}.scout-grade small{font-size:7px;margin-top:-14px}
 .scout-copy h2{font-size:20px}.scout-copy p{font-size:11px}.scout-map{margin-top:4px}.scout-goal{height:58px;margin-top:8px}.scout-legend{margin-top:6px}
 .scout-pitch{display:flex;flex-direction:column;justify-content:center;padding:12px 14px}.scout-pitch>p:first-child{font-size:12px;margin-bottom:10px}.scout-cta{font-size:14px;padding:13px 10px}.scout-note{margin-top:8px;font-size:10px}
 .scout-actions{grid-column:1/-1}.scout-actions button{padding:11px 8px}
}
/* ficha: mapa na proporção real do gol (3:1) e selo do recorde dentro do círculo */
.scout-goal{height:auto;aspect-ratio:3/1;max-height:150px;width:auto;max-width:calc(100% - 12px);margin-left:auto;margin-right:auto}
.scout-grade small{font-size:7px;letter-spacing:.06em;max-width:78%;text-align:center;line-height:1.1}
@media(orientation:landscape) and (max-height:520px){.scout-goal{max-height:70px}}
/* Modo Estádio: placar vira uma pílula flutuando sobre o campo; o campo ocupa a tela toda */
.game.stadium .scorebar{position:absolute;z-index:7;top:calc(env(safe-area-inset-top) + 8px);left:50%;transform:translateX(-50%);height:auto;width:auto;gap:16px;padding:6px 16px;border-radius:999px;background:#03271fb8;backdrop-filter:blur(4px);box-shadow:0 4px 14px #0005}
.game.stadium .scorebar strong{font-size:15px;white-space:nowrap}.game.stadium .scorebar strong span{font-size:9px}
.game.stadium #dots{gap:5px}.game.stadium #dots i{width:10px;height:10px}
.game.stadium .pitch{flex:1;height:100%}
/* Placas de publicidade em loop infinito, por cima das placas paradas da imagem do estádio */
.pitch>.stadium{container-type:size}
.pitch>.stadium:before{content:'';position:absolute;z-index:1;left:0;right:0;bottom:0;height:max(12.9cqh,4.083cqw);background:url(assets/placas.webp) 0 0 / auto 100% repeat-x;animation:placas-loop 14s linear infinite}
@keyframes placas-loop{to{background-position-x:calc(max(12.9cqh,4.083cqw) * 660 / 98 * -1)}}
@media(prefers-reduced-motion:reduce){.pitch>.stadium:before{animation:none}}

/* Gol com profundidade: travessão e postes de trás, laterais da rede sombreadas */
.net{overflow:hidden;transform-origin:var(--hx,50%) var(--hy,50%)}
.net:before{content:'';position:absolute;inset:0;z-index:1;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20100%20100%22%20preserveAspectRatio%3D%22none%22%3E%3Cpolygon%20points%3D%220%2C0%206%2C14%206%2C100%200%2C100%22%20fill%3D%22%2300140d%22%20fill-opacity%3D%22.35%22/%3E%3Cpolygon%20points%3D%22100%2C0%2094%2C14%2094%2C100%20100%2C100%22%20fill%3D%22%2300140d%22%20fill-opacity%3D%22.35%22/%3E%3Cpolygon%20points%3D%220%2C0%20100%2C0%2094%2C14%206%2C14%22%20fill%3D%22%2300140d%22%20fill-opacity%3D%22.45%22/%3E%3Cg%20stroke%3D%22%23e9e7d8%22%20stroke-opacity%3D%22.75%22%20fill%3D%22none%22%20vector-effect%3D%22non-scaling-stroke%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M0%2C0%206%2C14%20M100%2C0%2094%2C14%20M6%2C14%2094%2C14%20M6%2C14%206%2C100%20M94%2C14%2094%2C100%22%20vector-effect%3D%22non-scaling-stroke%22/%3E%3C/g%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;pointer-events:none}
.net:after{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(#00140d66,transparent 30%),linear-gradient(90deg,#00140d33,transparent 12% 88%,#00140d33);pointer-events:none}
/* Bola na rede: a rede estufa no ponto do chute e ondula */
.goal.net-hit .net{animation:redeEstufa .7s cubic-bezier(.2,.7,.3,1)}
@keyframes redeEstufa{0%{transform:scale(1)}18%{transform:scale(1.045,1.03);filter:brightness(.8)}45%{transform:scale(.985)}70%{transform:scale(1.01)}100%{transform:scale(1)}}
.goal.net-hit{animation:postShake .35s}
.net-onda{position:absolute;z-index:2;width:12px;height:12px;margin:-6px 0 0 -6px;border-radius:50%;border:2px solid #fff;pointer-events:none;animation:netOnda .8s ease-out forwards}
.net-onda+.net-onda{animation-delay:.12s;opacity:0}
@keyframes netOnda{0%{transform:scale(.4);opacity:.9}100%{transform:scale(9,6);opacity:0}}
@media(prefers-reduced-motion:reduce){.goal.net-hit .net,.goal.net-hit{animation:none}.net-onda{display:none}}
