/* Original Senvo Football — a contained canvas and persistent touch controls. */
#footballModalV249{padding:12px;z-index:85;align-items:center;background:#07121bb8;backdrop-filter:none!important}
.football-shell{width:min(1220px,calc(100vw - 24px));height:min(850px,calc(var(--senvo-vh,100dvh) - 24px));max-height:calc(var(--senvo-vh,100dvh) - 24px);border:1px solid #314955;border-radius:26px;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:#101e28;color:#f0f7fa;box-shadow:0 25px 90px #0008}
.football-head{display:flex;align-items:center;gap:18px;padding:12px 18px;border-bottom:1px solid #334653;background:#101e28;min-width:0}
.football-brand{display:grid;gap:3px;min-width:0;margin-right:auto}.football-brand small{font-size:8px;letter-spacing:.16em;color:#91b0ba}.football-brand strong{font-size:19px;letter-spacing:-.5px}.football-score{display:flex;gap:12px;align-items:center;white-space:nowrap}.football-score b{font-size:24px;min-width:65px;text-align:center}.football-score span{font-size:11px;max-width:130px;overflow:hidden;text-overflow:ellipsis}.football-clock{font-variant-numeric:tabular-nums;color:#4fe0b2;font-size:14px;font-weight:750}.football-head button{background:#203340;color:#f1f8fa;border:1px solid #3b5362;border-radius:11px;min-height:38px;min-width:38px;padding:8px;font-size:12px;cursor:pointer}.football-head button:hover{background:#314959}
.football-pitch{position:relative;min-width:0;min-height:0;overflow:hidden;background:#184e39;isolation:isolate}.football-pitch canvas{display:block;width:100%;height:100%;touch-action:none}.football-banner{position:absolute;top:12px;left:50%;transform:translateX(-50%);background:#0a1a28df;border:1px solid #acdccc30;color:#d6f5e6;border-radius:999px;padding:8px 14px;font-size:11px;pointer-events:none;max-width:calc(100% - 24px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.football-minimap{position:absolute;right:12px;bottom:12px;width:132px!important;height:85px!important;background:#102921bf;border:1px solid #a9ebc650;border-radius:9px;pointer-events:none}.football-selected{position:absolute;left:12px;bottom:12px;max-width:calc(100% - 170px);padding:8px 11px;border-radius:11px;background:#0c2232d9;font-size:10px;pointer-events:none}.football-stamina{height:4px;width:86px;background:#ffffff25;border-radius:5px;margin-top:5px;overflow:hidden}.football-stamina i{display:block;width:100%;height:100%;background:#58ddb2}
.football-controls{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 22px calc(12px + env(safe-area-inset-bottom));background:#101e28;border-top:1px solid #334653;touch-action:none;user-select:none;-webkit-user-select:none}
.football-stick{position:relative;width:114px;height:114px;border-radius:50%;flex:0 0 114px;background:radial-gradient(circle,#243e4a 0 30%,#18303a 31% 65%,#2b4651 66%);border:1px solid #456773;touch-action:none;box-shadow:inset 0 2px 16px #0003}.football-stick:focus-visible{outline:3px solid #4be4b0;outline-offset:3px}.football-stick i{position:absolute;width:46px;height:46px;left:34px;top:34px;pointer-events:none;background:linear-gradient(140deg,#7193a1,#314f5e);border-radius:50%;border:2px solid #91b2bf;box-shadow:0 6px 13px #0005;will-change:transform}.football-stick small{position:absolute;bottom:6px;left:0;width:100%;text-align:center;font-size:8px;letter-spacing:.15em;color:#a6c5ce;pointer-events:none}
.football-buttons{display:grid;grid-template-columns:repeat(2,68px);gap:8px;touch-action:none}.football-buttons button{border:1px solid #567584;border-radius:50%;width:68px;height:58px;background:linear-gradient(145deg,#2f5261,#18303e);color:#e5f6fa;font-weight:800;font-size:10px;touch-action:none;cursor:pointer;box-shadow:0 4px 0 #071720}.football-buttons button:active,.football-buttons button.held{transform:translateY(2px);box-shadow:0 2px 0 #071720;background:#2c756a}.football-buttons #footballShootV249{background:linear-gradient(145deg,#eaa94a,#bd6a24);border-color:#ffd490;color:#1b130a}.football-buttons #footballPassV249{background:linear-gradient(145deg,#56debf,#258779);border-color:#76ecd2;color:#05261d}.football-control-hint{font-size:11px;color:#99b5c0;line-height:1.65;max-width:320px}.football-control-hint b{color:#d1efe3}.football-power{display:block;height:4px;background:#2a424f;width:100%;margin-top:6px;border-radius:4px;overflow:hidden}.football-power i{display:block;background:#ffc96e;height:100%;width:0}
.football-overlay{position:absolute;inset:0;z-index:3;background:linear-gradient(150deg,#081827f2,#0b3126ed);display:flex;align-items:center;justify-content:center;overflow:auto;padding:20px;box-sizing:border-box}.football-overlay.hidden{display:none!important}.football-menu{width:min(510px,100%);max-height:100%;overflow:auto;padding:25px;border-radius:22px;border:1px solid #8acbb32d;background:linear-gradient(140deg,#18323d,#11232e);box-shadow:0 20px 60px #0003;box-sizing:border-box}.football-menu>small{font-size:9px;letter-spacing:.15em;color:#74e4bf}.football-menu h2{font-size:35px;letter-spacing:-1.2px;margin:8px 0}.football-menu p{font-size:12px;line-height:1.7;color:#b4cbd2}.football-menu label{display:grid;gap:6px;font-size:11px;color:#c9e5e8;min-width:0}.football-options{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0}.football-options select{display:block;width:100%;min-width:0;max-width:100%;background:#102631;color:#dceef1;border:1px solid #496777;border-radius:11px;padding:12px;font-size:13px;color-scheme:dark}.football-menu .football-primary{background:linear-gradient(120deg,#47d9ab,#35a9a8);border:1px solid #5cf0c3;color:#06241d;font-size:14px;font-weight:800;border-radius:13px;padding:14px;width:100%;min-height:48px;cursor:pointer}.football-menu .football-secondary{color:#c4e6e7;background:#223d49;border:1px solid #466372;border-radius:12px;padding:12px;width:100%;min-height:44px;margin-top:10px;cursor:pointer}.football-menu ul{padding-left:20px;color:#bbd7dd;font-size:12px;line-height:1.9}.football-menu .football-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:18px 0}.football-stats div{background:#08222c;border-radius:12px;padding:11px;text-align:center}.football-stats b{display:block;font-size:22px}.football-stats small{font-size:9px;color:#a2c6ce}.football-local-note{font-size:10px!important;margin:14px 0 0!important;color:#91b6bc!important}.arcade-football-card{display:flex;align-items:center;gap:16px;width:100%;border:1px solid #6ccca950;border-radius:18px;background:linear-gradient(125deg,#143c39,#112637);color:#e4fff3;text-align:left;padding:20px;margin:0 0 20px;cursor:pointer}.arcade-football-card>span{display:grid;place-items:center;width:60px;height:60px;border-radius:18px;background:#53d9aa20;flex:0 0 60px}.arcade-football-card svg{width:40px;height:40px}.arcade-football-card div{display:grid;gap:5px}.arcade-football-card small{font-size:8px;letter-spacing:.14em;color:#80debc}.arcade-football-card b{font-size:19px}.arcade-football-card p{font-size:11px;line-height:1.5;color:#b7dace;margin:0}.arcade-football-card>em{font-size:22px;font-style:normal;margin-left:auto}
@media(max-width:700px){#footballModalV249{padding:0}.football-shell{width:100%;height:var(--senvo-vh,100dvh);max-height:var(--senvo-vh,100dvh);border-radius:0;border:0}.football-head{padding:calc(8px + env(safe-area-inset-top)) 10px 8px;gap:8px;flex-wrap:wrap}.football-brand strong{font-size:15px}.football-brand small{font-size:7px}.football-score{order:2;flex:1 1 75%;justify-content:center;gap:12px}.football-score span{max-width:100px;font-size:10px}.football-score b{font-size:22px}.football-clock{order:3;font-size:12px}.football-head button{min-width:32px;min-height:32px;padding:6px;font-size:10px}.football-controls{padding:10px 14px calc(10px + env(safe-area-inset-bottom));gap:10px}.football-control-hint{display:none}.football-menu{padding:20px}.football-menu h2{font-size:28px}.football-minimap{width:110px!important;height:72px!important}.football-selected{max-width:calc(100% - 144px)}.football-options{gap:10px}.football-overlay{padding:14px}.arcade-football-card{padding:15px;gap:12px}.arcade-football-card p{font-size:10px}}
@media(max-height:500px){#footballModalV249{padding:0}.football-shell{width:100%;height:var(--senvo-vh,100dvh);max-height:var(--senvo-vh,100dvh);border-radius:0}.football-head{padding:5px 12px;flex-wrap:nowrap;gap:10px}.football-brand strong{font-size:14px}.football-score{order:0;flex:initial}.football-head button{min-height:30px;min-width:30px;font-size:10px}.football-clock{order:0}.football-controls{padding:7px 18px calc(7px + env(safe-area-inset-bottom))}.football-stick{width:74px;height:74px;flex-basis:74px}.football-stick i{width:34px;height:34px;top:19px;left:19px}.football-buttons{grid-template-columns:repeat(4,58px);gap:8px}.football-buttons button{width:58px;height:45px}.football-control-hint{display:none}.football-minimap{width:94px!important;height:61px!important}.football-menu{padding:14px}.football-menu h2{font-size:25px}.football-menu p{margin:7px 0}.football-options{margin:12px 0;gap:8px}.football-menu .football-stats{margin:10px 0}.football-overlay{padding:10px}}
/* Keep the football surface independent of legacy light modal/select rules. */
#footballModalV249 .football-shell{padding:0!important;margin:0!important;display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;background:#101e28!important;color:#f0f7fa!important;width:min(1220px,calc(100vw - 24px))!important;height:min(850px,calc(var(--senvo-vh,100dvh) - 24px))!important;max-height:calc(var(--senvo-vh,100dvh) - 24px)!important;border:1px solid #314955!important;border-radius:26px!important;overflow:hidden!important}
#footballModalV249 .football-brand strong,#footballModalV249 .football-menu h2{color:#f0f7fa!important}
#footballModalV249 .football-options .senvora-select{width:100%!important;min-width:0!important;max-width:100%!important}
#footballModalV249 .football-options .senvora-select-button{width:100%!important;min-width:0!important;max-width:100%!important;background:#102631!important;color:#dceef1!important;border:1px solid #496777!important;border-radius:11px!important;min-height:44px!important;padding:10px!important;box-shadow:none!important}
#footballModalV249 .football-buttons button{position:relative!important;color:inherit}
#footballModalV249 .football-buttons #footballShootV249{color:#1b130a!important}
#footballModalV249 .football-charge-track{position:absolute;bottom:6px;left:13px;right:13px;height:3px;background:#5a320b50;border-radius:3px;overflow:hidden;pointer-events:none}
#footballModalV249 .football-charge-track i{display:block;background:#fff3bc;height:100%;width:0}
@media(max-width:700px), (max-height:500px){#footballModalV249 .football-shell{width:100%!important;height:var(--senvo-vh,100dvh)!important;max-height:var(--senvo-vh,100dvh)!important;border-radius:0!important;border:0!important}}
#footballModalV249{padding:12px!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}
@media(max-width:700px), (max-height:500px){#footballModalV249{padding:0!important;align-items:stretch!important;justify-content:stretch!important}}
/* V0.24.50 club hub, match rewards and sound/control preferences. */
#footballModalV249 .football-earned{font-size:12px;color:#ffda84;font-weight:800;white-space:nowrap}.football-reward{position:absolute;left:50%;top:22%;transform:translateX(-50%);padding:17px 24px;border:1px solid #ffdc8c;background:linear-gradient(130deg,#163e37,#102c40);border-radius:18px;color:#ffde84;font-size:16px;font-weight:900;max-width:calc(100% - 28px);text-align:center;z-index:5;box-shadow:0 12px 50px #0019;pointer-events:none;animation:footballGoalIn .35s ease-out}.football-reward.hidden{display:none}.football-settings{display:grid;gap:14px;margin:20px 0}.football-settings label{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:12px}.football-settings input[type=range],.football-settings select{width:100%;accent-color:#54deb5}.football-settings output{margin-left:auto;color:#6cf3c6}.football-settings input[type=checkbox]{width:18px;height:18px;accent-color:#54deb5}.football-settings select{background:#102c36;color:#d4f8e4;border:1px solid #648177;border-radius:10px;padding:10px}.football-left-handed .football-controls{flex-direction:row-reverse}.football-large-controls .football-stick{width:130px;height:130px;flex-basis:130px}.football-large-controls .football-stick i{top:42px;left:42px}.football-large-controls .football-buttons{grid-template-columns:repeat(2,76px)}.football-large-controls .football-buttons button{width:76px;height:65px}#footballModalV249 .football-menu>small{color:#72f5c3}#footballModalV249 .football-shell{box-shadow:0 30px 100px #0018}.football-brand strong{letter-spacing:-.4px}
@keyframes footballGoalIn{from{opacity:0;translate:0 12px;scale:.94}to{opacity:1;translate:0 0;scale:1}}
@media(max-width:700px){.football-earned{order:3;font-size:11px!important}.football-score{flex-basis:60%}.football-clock{order:3}.football-head{gap:6px}.football-brand{margin-right:auto}.football-large-controls .football-controls{padding-inline:8px}.football-reward{font-size:13px;padding:13px 16px}}
@media(max-height:500px){.football-earned{order:0!important}.football-large-controls .football-stick{width:78px;height:78px;flex-basis:78px}.football-large-controls .football-stick i{top:22px;left:22px;width:34px;height:34px}.football-large-controls .football-buttons{grid-template-columns:repeat(4,62px)}.football-large-controls .football-buttons button{width:62px;height:47px}}
@media(prefers-reduced-motion:reduce){.football-reward{animation:none}}

.football-club-hub{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.football-club-hub span{font-size:10px;font-weight:800;letter-spacing:.05em;background:#75e6b315;border:1px solid #78eac544;color:#a3f0d0;border-radius:999px;padding:7px 10px}#footballModalV249 .football-settings .senvora-select-button{background:#102631!important;color:#dceef1!important;border:1px solid #496777!important;box-shadow:none!important}
