.football-tools{position:absolute;z-index:9;top:104px;left:12px;max-width:min(420px,55%);display:flex;flex-wrap:wrap;gap:6px;padding:10px;background:rgba(9,14,22,.92);border:1px solid #45505e;border-radius:10px;color:#eef3f9;font:600 12px system-ui}
.football-tools[hidden],.football-energy[hidden]{display:none}.football-tools-title{flex-basis:100%;line-height:1.5}.football-tools button{min-height:44px;min-width:44px;border:1px solid #45505e;background:#202a38;color:#fff;border-radius:6px;padding:6px 10px;font:inherit;cursor:pointer}.football-tools button:focus-visible{outline:3px solid #f5ca66;outline-offset:2px}
.football-energy{position:absolute;z-index:8;left:14px;bottom:104px;display:grid;gap:5px;min-width:140px;padding:8px 10px;background:rgba(9,14,22,.84);border-radius:8px;color:#eaf1f8;font:600 11px system-ui;pointer-events:none}.football-energy span{display:flex;justify-content:space-between;gap:12px}.football-energy meter{width:100%;height:8px;accent-color:#f5ca66}
.sh-academy-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,.45fr);gap:16px}.sh-academy-grid label{display:grid;gap:8px;font-size:15px}.sh-academy-grid select,.sh-academy-grid input{box-sizing:border-box;width:100%;min-height:48px;padding:10px 12px;border-radius:8px;border:1px solid #485262;background:#18212d;color:#f4f7fb;font:inherit}.sh-academy-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.sh-academy-actions button{min-width:140px;flex:1}.sh-academy-state{margin:18px 0 0;color:#c5cfdb}
@media(max-width:640px){.sh-academy-grid{grid-template-columns:minmax(0,1fr)}.football-tools{top:76px;left:8px;max-width:calc(100% - 32px);padding:7px}.football-energy{bottom:112px;left:8px;min-width:120px}}
@media(max-height:500px){.football-tools{top:74px;font-size:11px;max-width:50%;padding:6px}.football-energy{left:12px;bottom:92px;padding:6px;min-width:110px;font-size:10px}}
/* J3 (05/10): corte curto da TV no reinício (os atletas vão para as posições sem aparecer o teletransporte) */
.arena-cut{position:absolute;inset:0;z-index:7;background:#05070a;opacity:0;pointer-events:none}.arena-cut.go{animation:arena-cut .32s ease-in-out}
@keyframes arena-cut{0%{opacity:0}40%{opacity:.92}60%{opacity:.92}100%{opacity:0}}
/* Controle (06/10): foco dos menus andando pelo controle, e o modo controle (o toque some da tela; o Como jogar mostra os botões) */
.pad-focus{outline:3px solid var(--bc-gold,#f3c46b)!important;outline-offset:3px!important;border-radius:6px}
.help-dialog .pad-list{display:none}
html[data-input="pad"] .help-dialog .pad-list{display:grid}
html[data-input="pad"] .help-dialog .key-list,html[data-input="pad"] .help-dialog .touch-list{display:none!important}
html[data-input="pad"] .touch-stick,html[data-input="pad"] .touch-actions{display:none!important}
#controls-hud .cap.pad-glyph{font-size:1.25em;line-height:1;font-family:"Segoe UI Symbol","Noto Sans Symbols 2","Apple Symbols",system-ui,sans-serif}
/* K6 (06/10): painel do controle na partida (no lugar das teclas) e a tela Controle dos Ajustes */
.ctrl-pad{display:none}
html[data-input="pad"] #controls-hud .ctrl-move,html[data-input="pad"] #controls-hud .ctrl-actions{display:none}
html[data-input="pad"] #controls-hud .ctrl-pad{display:block}
.ctrl-pad .pad-row{display:flex;flex-wrap:wrap;gap:6px 10px;max-width:min(760px,78vw)}
.ctrl-pad .pad-item{position:relative;display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#e9edf3;white-space:nowrap}
.ctrl-pad .pad-cap{display:inline-grid;place-items:center;min-width:26px;height:26px;padding:0 5px;border:1px solid #ffffff3a;border-radius:6px;background:#0b0d12d9;font:600 13px/1 "Segoe UI Symbol","Noto Sans Symbols 2","Apple Symbols",system-ui,sans-serif}
.ctrl-pad .pad-item.is-pressed .pad-cap{background:var(--bc-gold,#f3c46b);color:#08090b;border-color:transparent}
.ctrl-pad .charge-meter{position:absolute;left:0;right:0;bottom:-5px;height:3px;background:#ffffff1f;opacity:0}
.ctrl-pad .pad-item.is-charging .charge-meter{opacity:1}
.ctrl-pad .charge-meter i{display:block;height:100%;width:0;background:var(--bc-gold,#f3c46b)}
#controls-hud[data-state="compact"] .ctrl-pad{display:none}
.sh-pad-bind{min-height:44px;min-width:92px;padding:0 12px;color:#e9edf3;background:var(--bc-raise,#141820);border:1px solid var(--bc-line,#ffffff22);font:600 15px/1 "Segoe UI Symbol","Noto Sans Symbols 2","Apple Symbols",system-ui,sans-serif}
.sh-pad-bind.is-wait{color:#08090b;background:var(--bc-gold,#f3c46b);border-color:transparent}
.sh-pad-fixed{color:var(--bc-muted,#9aa3ae);font-size:13px}
html.phone[data-input="pad"] body.is-playing[data-mode="play"] .controls-hud{display:flex}
#shell[data-screen="pad"] .sh-set-row{grid-template-columns:minmax(0,1fr) auto}
#shell[data-screen="pad"] .sh-set-row:first-child{grid-template-columns:130px minmax(0,1fr)}
#shell[data-screen="pad"] .sh-set-label{overflow-wrap:anywhere}
/* L1 (06/10): painel de controles só com "Controles na tela" ligado nos Ajustes; o botão Ocultar saiu */
body:not(.controls-on) .controls-hud{display:none!important}
#btn-controls{display:none!important}
