/* ===== BASE / SHARED CSS ===== */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&display=swap');*{box-sizing:border-box}html,body{height:100%;min-height:100dvh}body{margin:0;overflow:hidden;background:#090012;color:#fff;font-family:"Rajdhani","Arial Narrow",Arial,sans-serif;font-weight:700;letter-spacing:.02em}.screen{position:fixed;inset:0;background:#090012}.screen:before{content:"";position:absolute;inset:0;background:#090012}.loading-screen{z-index:80;display:grid;place-items:center}.loading-card{position:relative;z-index:1;display:grid;gap:10px;width:min(360px,76vw);text-align:center}.loading-title{font-size:20px;color:#ffdd45;text-shadow:1px 2px #000}.loading-bar{height:12px;overflow:hidden;border:2px solid #7536d2;background:rgba(7,4,15,.9);box-shadow:inset 0 1px rgba(255,255,255,.18),0 12px 36px #000}.loading-bar span{display:block;width:42%;height:100%;background:linear-gradient(90deg,#7536d2,#ffdd45,#26da48);animation:loadingSlide 1.05s ease-in-out infinite}.loading-text{font:12px/1 Arial,sans-serif;color:#cfc1ee;text-shadow:none}@keyframes loadingSlide{0%{transform:translateX(-110%)}100%{transform:translateX(250%)}}.panel{position:absolute;left:50%;top:50%;display:grid;gap:12px;width:min(380px,82vw);transform:translate(-50%,-50%);z-index:1}.panel form{display:grid;gap:10px}.menu{top:45%}.row{display:flex;gap:10px}.grow{flex:1}.top{position:absolute;top:18px;left:50%;z-index:2;display:flex;justify-content:space-between;gap:12px;width:min(760px,90vw);transform:translateX(-50%);font-size:14px;text-shadow:1px 2px #000}.box{border:2px solid #7536d2;background:rgba(18,6,34,.86);padding:14px;box-shadow:inset 0 1px rgba(255,255,255,.18),0 20px 70px #000}.msg{min-height:20px;color:#ffb98b;font-size:13px;text-align:center}button,input,select{height:34px;border:2px solid #7536d2;border-radius:0;background:rgba(42,14,78,.86);color:#fff;font:700 16px/1 "Rajdhani","Arial Narrow",Arial,sans-serif;text-shadow:1px 2px #050407;box-shadow:inset 0 1px rgba(255,255,255,.24),inset 0 -2px rgba(0,0,0,.55)}input,select{width:100%;padding:0 10px;background:rgba(7,4,15,.88);font-family:"Rajdhani","Arial Narrow",Arial,sans-serif;font-size:15px;text-shadow:none}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button:hover,button:focus-visible{outline:0;border-color:#c7a6ff;background:rgba(72,32,126,.92)}.green{border-color:#26da48;background:rgba(8,112,31,.9)}.orange{border-color:#bc4b12;background:rgba(181,57,7,.94)}.hide{display:none!important}canvas{position:absolute;inset:0;width:100%;height:100%;image-rendering:pixelated}.hud{position:absolute;top:2.1%;left:50%;z-index:2;display:grid;grid-template-columns:1fr auto 1fr auto;gap:14px;align-items:center;width:min(820px,72vw);min-height:34px;padding:0 14px;transform:translateX(-50%);border:2px solid #7536d2;background:rgba(28,8,47,.92);font-size:14px;text-shadow:1px 2px #000}.hud #homeName,.hud #awayName{display:flex;align-items:center;gap:8px;min-width:0;white-space:nowrap;overflow:hidden}.hud #awayName{justify-content:flex-end}.kit{position:relative;display:inline-block;flex:0 0 auto;width:14px;height:15px;border:1px solid var(--trim);background:var(--shirt);box-shadow:inset 0 -4px var(--trim)}.kit:before,.kit:after{content:"";position:absolute;top:2px;width:5px;height:8px;border:1px solid var(--trim);background:var(--shirt)}.kit:before{left:-6px}.kit:after{right:-6px}.controls{position:absolute;right:12px;top:50%;z-index:2;display:grid;grid-template-columns:1fr;gap:6px;width:min(118px,16vw);transform:translateY(-50%)}.controls button{height:27px;font-size:10px}.menu-exit{position:absolute;left:50%;bottom:calc(env(safe-area-inset-bottom,0px) + 4px);z-index:2;width:min(140px,26vw);height:27px;font-size:10px;transform:translateX(-50%)}.events{position:absolute;right:18px;top:70px;z-index:2;width:min(260px,28vw);font:13px Arial,sans-serif;color:#e8dbff}.wait{position:absolute;left:50%;top:48%;z-index:2;width:min(420px,84vw);transform:translate(-50%,-50%);text-align:center}.lineup{position:absolute;left:50%;top:51%;z-index:3;width:min(880px,86vw);max-height:76dvh;overflow:hidden;transform:translate(-50%,-50%)}.lineup-title{text-align:center;font-size:18px;margin-bottom:8px}.lineup-teams{display:grid;grid-template-columns:1fr 1fr;gap:14px}.lineup-team h3{margin:0 0 8px;text-align:center;font-size:14px}.line-grid{position:relative;min-height:420px;border:1px solid rgba(255,255,255,.16);background:linear-gradient(180deg,rgba(35,129,67,.55),rgba(23,109,53,.55))}.line-player{position:absolute;width:70px;transform:translate(-50%,-50%);text-align:center;font:10px/1.05 Arial,sans-serif;color:#fff;text-shadow:1px 1px #000}.line-head{display:block;width:22px;height:22px;margin:0 auto 3px;border:2px solid #1b0f0c;border-radius:50%;background:#d8a06f;box-shadow:0 0 0 2px var(--shirt),0 0 0 4px var(--trim)}

    #auth .box{border:0}
    #loginForm button[type="submit"]:hover,#loginForm button[type="submit"]:focus,#loginForm button[type="submit"]:active{border-color:#26da48;background:rgba(8,112,31,.9)}
    #menu .top{border-bottom:0!important}
    #continueManagerMode:hover,#continueManagerMode:focus,#continueManagerMode:active{border-color:#26da48;background:rgba(8,112,31,.9)}
    .sound-options{display:grid;gap:6px;max-height:min(38dvh,260px);overflow:auto;padding-right:2px}.sound-option{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;min-height:32px;padding:5px 7px;border:1px solid rgba(255,255,255,.16);background:rgba(5,2,10,.56);font:11px/1.2 Arial,sans-serif;text-shadow:none}.sound-option b{font:700 12px/1 "Rajdhani","Arial Narrow",Arial,sans-serif;text-shadow:1px 2px #000}.sound-option small{display:block;color:#d8cdf5}.sound-option button{width:54px;height:25px;font-size:10px}
    .screen>.top{display:none!important}
    .app-top-bar{position:fixed;left:0;right:0;top:0;z-index:75;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:8px;height:1cm;padding:0 10px;border-bottom:2px solid #7536d2;background:rgba(18,6,34,.96);box-shadow:0 10px 34px rgba(0,0,0,.55);color:#fff;text-shadow:1px 2px #000}
    .app-top-bar .top-team-flag{position:static;left:auto;top:auto;display:flex;align-items:center;justify-content:center;transform:none}
    .app-top-bar .top-team-flag .team-flag{width:24px;height:16px}
    #appTopWho{position:relative;display:block;min-width:0;height:100%;overflow:hidden;white-space:nowrap;text-align:left;font-size:14px}
    #appTopWho .app-top-marquee-track{position:relative;display:block;width:100%;height:100%;overflow:hidden;pointer-events:none}
    #appTopWho .app-top-marquee-item{position:absolute;left:0;top:50%;display:inline-block;white-space:nowrap;will-change:transform}
    #appTopLogout{justify-self:end;width:auto;min-width:0;height:23px;padding:0 5px;border-color:#ff3b30;background:#b51616;font-size:10px;line-height:1}
    .app-top-bar:not(.hide) ~ #match .hud{top:calc(1cm + 8px)}
    .app-top-bar:not(.hide) ~ #match .events{top:calc(1cm + 48px)}
    .lineup-skip{position:absolute;right:10px;top:8px;width:70px;height:25px;font-size:10px}
    .lineup-team h3{display:none}.line-flag{position:absolute;left:50%;top:8px;width:34px;height:22px;overflow:hidden;transform:translateX(-50%);border:2px solid var(--trim);background:var(--flag-bg,linear-gradient(135deg,var(--shirt) 0 54%,var(--trim) 55%));box-shadow:0 0 0 1px rgba(255,255,255,.28),0 2px 0 #111}.line-flag:before{content:"";position:absolute;left:-6px;top:-3px;width:2px;height:34px;background:#ddd;box-shadow:1px 0 #111}.line-team-name{position:absolute;left:50%;bottom:7px;width:92%;transform:translateX(-50%);text-align:center;font:700 12px/1 "Rajdhani","Arial Narrow",Arial,sans-serif;color:#fff;text-shadow:1px 2px #000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    .team-flag{position:relative;display:inline-block;flex:0 0 auto;width:22px;height:15px;overflow:hidden;border:1px solid var(--trim);background:var(--flag-bg,linear-gradient(135deg,var(--shirt) 0 54%,var(--trim) 55%));box-shadow:0 0 0 1px rgba(255,255,255,.25)}.team-flag:before{content:"";position:absolute;left:-4px;top:-2px;width:2px;height:22px;background:#ddd;box-shadow:1px 0 #111}.team-flag.halifax-crest,.line-flag.halifax-crest{background:#fff url("assets/flags/halifax.png?v=20260630a") center/contain no-repeat;border-color:#0057b8}.team-flag.halifax-crest:before,.line-flag.halifax-crest:before{display:none}.flag-p0{--flag-bg:linear-gradient(90deg,var(--shirt) 0 32%,var(--accent) 32% 42%,var(--trim) 42% 100%)}.flag-p1{--flag-bg:linear-gradient(180deg,var(--shirt) 0 45%,var(--accent) 45% 55%,var(--trim) 55% 100%)}.flag-p2{--flag-bg:linear-gradient(135deg,var(--shirt) 0 43%,var(--accent) 43% 57%,var(--trim) 57% 100%)}.flag-p3{--flag-bg:linear-gradient(45deg,var(--trim) 0 34%,var(--shirt) 34% 66%,var(--accent) 66% 100%)}.flag-p4{--flag-bg:repeating-linear-gradient(90deg,var(--shirt) 0 18%,var(--trim) 18% 32%,var(--accent) 32% 43%)}.flag-p5{--flag-bg:repeating-linear-gradient(180deg,var(--shirt) 0 20%,var(--trim) 20% 35%,var(--accent) 35% 45%)}.flag-p6{--flag-bg:linear-gradient(90deg,var(--shirt) 0 25%,var(--trim) 25% 75%,var(--accent) 75% 100%)}.flag-p7{--flag-bg:linear-gradient(180deg,var(--accent) 0 25%,var(--shirt) 25% 75%,var(--trim) 75% 100%)}.flag-p8{--flag-bg:linear-gradient(135deg,var(--accent) 0 25%,var(--shirt) 25% 50%,var(--trim) 50% 75%,var(--shirt) 75% 100%)}.flag-p9{--flag-bg:radial-gradient(circle at 50% 50%,var(--accent) 0 22%,transparent 23%),linear-gradient(90deg,var(--shirt) 0 50%,var(--trim) 50% 100%)}
    .team-picker{position:relative;display:grid;gap:6px}.team-dropdown{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;height:42px;padding:0 12px;text-align:left}.team-dropdown:after{content:"";flex:0 0 auto;border-left:5px solid transparent;border-right:5px solid transparent;border-top:7px solid #ffdd45}.team-choice{display:flex;align-items:center;gap:8px;min-width:0}.team-choice span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.team-choice-skill{display:inline-grid!important;place-items:center;flex:0 0 36px;width:36px;height:21px;border:1px solid rgba(255,221,69,.8);background:rgba(5,2,10,.76);color:#ffdd45;font:900 11px/1 "Rajdhani","Arial Narrow",Arial,sans-serif;text-shadow:1px 2px #000;box-shadow:inset 0 1px rgba(255,255,255,.14),0 2px 0 rgba(0,0,0,.55)}.team-dropdown-list{position:absolute;left:0;right:0;top:calc(100% + 5px);z-index:8;display:grid;gap:4px;max-height:min(330px,48dvh);overflow:auto;padding:6px;border:2px solid #7536d2;background:rgba(10,3,20,.98);box-shadow:0 18px 45px #000}.team-option{display:flex;align-items:center;gap:8px;width:100%;height:34px;padding:0 7px;text-align:left;font:12px/1 Arial,sans-serif;text-shadow:none}.team-option b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:Impact,"Arial Black",sans-serif;font-size:14px;text-shadow:1px 2px #000}.team-option.taken{opacity:.42;cursor:not-allowed}
    .goal-banner{position:absolute;left:50%;top:50%;z-index:5;min-width:min(360px,82vw);padding:18px 22px;transform:translate(-50%,-50%);border:3px solid #f3f0ff;background:rgba(8,6,13,.88);text-align:center;box-shadow:0 18px 55px #000;text-shadow:2px 3px #000}.goal-banner .goal-word{font-size:18px;color:#ffdd45}.goal-banner .goal-name{margin-top:4px;font-size:34px;line-height:1}.goal-banner .goal-team{margin-top:7px;font:13px Arial,sans-serif;color:#d8cdf5;text-shadow:none}.goal-banner.final{min-width:min(460px,86vw)}.goal-list{display:grid;gap:6px;margin-top:12px;font:14px Arial,sans-serif;text-align:left;text-shadow:none}.goal-row{display:grid;grid-template-columns:42px 1fr;gap:10px;border-top:1px solid rgba(255,255,255,.14);padding-top:6px}.goal-row b{font-family:Impact,"Arial Black",sans-serif;font-size:16px;color:#fff;text-shadow:1px 2px #000}.goal-row span{color:#d8cdf5}.goal-row .goal-assist{color:#ffdd45;font-size:12px}
    .hud{align-content:center;row-gap:2px;padding-top:5px;padding-bottom:4px}.scoreline{white-space:nowrap;font-size:16px}.score-scorers{grid-column:1/-1;display:flex;flex-wrap:wrap;justify-content:center;gap:3px 14px;min-height:12px;text-align:center;font:700 11px/1.08 "Rajdhani","Arial Narrow",Arial,sans-serif;color:#ffdd45;text-shadow:1px 2px #000;white-space:normal;overflow:visible}.score-goal{display:grid;gap:1px}.score-goal small{display:block;color:#d8cdf5;font:700 9px/1 Arial,sans-serif;text-shadow:1px 1px #000}.events small{display:block;margin-left:14px;color:#ffdd45;font-size:11px;line-height:1.1}
    
    
    .training-panel{position:absolute;left:50%;top:50%;z-index:6;width:min(560px,90vw);max-height:78dvh;overflow:auto;transform:translate(-50%,-50%);display:grid;gap:10px}.training-title{text-align:center;font-size:18px}.training-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.training-list{display:grid;gap:5px;max-height:260px;overflow:auto;padding-right:2px}.training-player{height:auto;min-height:30px;padding:5px 7px;text-align:left;font:12px/1.1 Arial,sans-serif;text-shadow:none}.training-player b{font-family:Impact,"Arial Black",sans-serif;font-size:14px;text-shadow:1px 2px #000}.training-selected{min-height:54px;font:12px/1.35 Arial,sans-serif;color:#d8cdf5;text-shadow:none}.training-chip{display:inline-block;margin:0 4px 4px 0;border:1px solid var(--trim);background:var(--shirt);color:#fff;padding:3px 6px;text-shadow:1px 1px #000}.training-result{min-height:20px;font:13px Arial,sans-serif;color:#ffdd45;text-align:center;text-shadow:none}
    .training-selects{display:grid;gap:6px;margin-bottom:6px}
    .manager-panel{width:min(720px,90vw);max-height:78dvh;overflow:auto}.manager-home,.manager-create,.manager-season{display:grid;gap:10px}.manager-title{text-align:center;font-size:18px}.manager-users{display:grid;gap:6px;max-height:250px;overflow:auto;padding-right:2px}.manager-user{height:auto;min-height:38px;padding:6px 9px;text-align:left;font:12px/1.2 Arial,sans-serif;text-shadow:none}.manager-user b{font-family:Impact,"Arial Black",sans-serif;font-size:15px;text-shadow:1px 2px #000}.manager-user small{display:block;color:#d8cdf5}.manager-user.off{opacity:.42}.manager-meta{font:12px/1.35 Arial,sans-serif;color:#d8cdf5;text-align:center;text-shadow:none}.manager-table,.manager-fixtures{display:grid;gap:4px;font:12px/1.25 Arial,sans-serif;text-shadow:none}.manager-row{display:grid;grid-template-columns:28px 1fr 28px 28px 28px;border-top:1px solid rgba(255,255,255,.14);padding:4px 0;gap:6px}.manager-row.head{color:#ffdd45;border-top:0}.manager-row.promote{background:rgba(19,135,47,.72);border-top-color:rgba(255,255,255,.28);padding-left:4px;padding-right:4px}.manager-row.playoff{background:rgba(190,91,18,.74);border-top-color:rgba(255,255,255,.24);padding-left:4px;padding-right:4px}.manager-fixture{display:grid;grid-template-columns:32px 1fr auto 1fr;gap:7px;border-top:1px solid rgba(255,255,255,.12);padding:4px 0 1px;align-items:center}.manager-fixture .manager-team-name{color:#fff;font-weight:900}.manager-fixture b{color:#ffdd45}.manager-odds{font:700 10px/1.15 Arial,sans-serif;color:#fff;text-align:center;margin:6px 0 2px;text-shadow:none}.manager-odds-line{display:grid;grid-template-columns:repeat(3,max-content);justify-content:center;gap:clamp(22px,7vw,96px)}.manager-actions{position:relative;z-index:9;display:grid;gap:8px}.manager-menu-button{position:relative;width:100%;height:37px;padding:0 36px 0 12px;border-color:#ffdd45;background:linear-gradient(180deg,rgba(60,22,104,.96),rgba(18,6,34,.98));font-size:15px;letter-spacing:.04em;text-align:center}.manager-menu-button:after{content:"";position:absolute;right:14px;top:50%;width:0;height:0;transform:translateY(-35%);border-left:5px solid transparent;border-right:5px solid transparent;border-top:7px solid #ffdd45}.manager-menu-list{position:absolute;left:0;right:0;bottom:calc(100% + 6px);z-index:12;display:grid;gap:5px;max-height:min(340px,52dvh);overflow:auto;padding:7px;border:2px solid #ffdd45;background:rgba(9,0,18,.98);box-shadow:0 18px 42px rgba(0,0,0,.72),inset 0 1px rgba(255,255,255,.14)}.manager-menu-list button{height:32px;padding:0 10px;text-align:left;font-size:12px;letter-spacing:.04em;text-shadow:1px 2px #000}.manager-menu-list button:hover,.manager-menu-list button:focus-visible{border-color:#ffdd45;background:rgba(88,38,145,.94)}#managerMsg.thinking:after{display:inline-block;min-width:20px;text-align:left;content:"";animation:managerDots 1.05s steps(4,end) infinite}@keyframes managerDots{0%{content:""}25%{content:"."}50%{content:".."}75%,100%{content:"..."}}
    .manager-user.green:hover,.manager-user.green:focus-visible{border-color:#26da48;background:rgba(8,112,31,.9)}
    

#manager .manager-panel{top:53%;width:min(980px,86vw);max-height:calc(100dvh - 96px)}
    #menu .top,#admin .top,#manager .top{top:0;left:0;width:100%;height:1cm;transform:none;display:flex;align-items:center;justify-content:center;border-bottom:2px solid #7536d2;background:rgba(18,6,34,.94);box-shadow:0 10px 34px rgba(0,0,0,.55);font-size:16px}
    .top-team-flag{position:absolute;left:18px;top:50%;display:flex;align-items:center;transform:translateY(-50%)}
    .top-team-flag .team-flag{width:30px;height:20px}
    .top-team-flag .team-flag:before{left:-5px;top:-3px;height:28px}
    #menu #who,#admin #adminWho,#manager #managerWho{position:relative;z-index:1;text-align:center}
    .top-power{position:absolute;right:10px;top:50%;display:grid;place-items:center;width:28px;height:28px;min-height:0;padding:0;transform:translateY(-50%);border:0;background:transparent;box-shadow:none}
    .top-power:before{content:"";width:13px;height:13px;border:2px solid #ff3b30;border-top-color:transparent;border-radius:50%}
    .top-power:after{content:"";position:absolute;left:50%;top:5px;width:2px;height:10px;transform:translateX(-50%);background:#ff3b30;box-shadow:0 0 0 1px rgba(0,0,0,.25)}
    .manager-table .manager-row{grid-template-columns:28px minmax(160px,1fr) repeat(8,34px) 22px}
    .manager-division-table .manager-row{grid-template-columns:28px minmax(180px,1fr) 58px}
    .manager-row.direct{background:rgba(16,126,44,.72);border-top-color:rgba(255,255,255,.28);padding-left:4px;padding-right:4px}
    .human-dot{display:inline-grid;place-items:center;width:12px;height:12px;flex:0 0 auto;border:1px solid rgba(255,255,255,.85);background:#ffdd45;color:#120421;font:900 8px/1 Arial,sans-serif;text-shadow:none;box-shadow:0 1px 0 rgba(0,0,0,.45)}
    .manager-form-cell{display:grid;place-items:center;min-width:0}.manager-form-arrow{display:inline-block;width:0;height:0;filter:drop-shadow(0 1px 0 rgba(0,0,0,.8))}.manager-form-arrow.up{border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:9px solid #26da48}.manager-form-arrow.down{border-left:5px solid transparent;border-right:5px solid transparent;border-top:9px solid #ff3b30}.manager-form-empty{display:inline-block;width:10px;height:10px}
    .manager-ready-waiting{border-color:#26da48!important;background:linear-gradient(180deg,rgba(18,142,48,.96),rgba(8,64,28,.98))!important;box-shadow:0 0 0 2px rgba(38,218,72,.35),0 0 18px rgba(38,218,72,.42),inset 0 1px rgba(255,255,255,.26)!important;color:#fff!important}
    .manager-deal-alert{animation:managerDealPulse .78s steps(2,end) infinite;border-color:#26da48!important;background:linear-gradient(180deg,rgba(18,142,48,.98),rgba(82,29,143,.98))!important;box-shadow:0 0 0 2px rgba(38,218,72,.28),0 0 18px rgba(38,218,72,.5),inset 0 1px rgba(255,255,255,.26)!important;color:#fff!important}
    @keyframes managerDealPulse{0%,100%{filter:brightness(1.18)}50%{filter:brightness(.82)}}
.manager-deals{display:grid;gap:7px;margin-top:7px}.manager-deal-card{display:grid;gap:7px;border:1px solid rgba(255,255,255,.16);background:rgba(7,4,15,.78);padding:8px;text-align:left;text-shadow:none}.manager-deal-card.incoming{border-color:rgba(38,218,72,.74);background:rgba(8,64,28,.42)}.manager-deal-card.outgoing{border-color:rgba(117,54,210,.72)}.manager-deal-card b{color:#fff;font:16px/1 "Rajdhani","Arial Narrow",Arial,sans-serif;text-shadow:1px 2px #000}.manager-deal-card small{display:block;margin-top:2px;color:#cfc1ee;font:11px/1.25 Arial,sans-serif;text-shadow:none}.manager-deal-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(82px,1fr));gap:5px}.manager-deal-actions button{height:29px;font-size:11px}
    .manager-team-link{display:inline-flex;align-items:center;gap:4px;width:auto;height:auto;min-height:0;border:0;background:transparent;box-shadow:none;padding:0;color:#fff;font:inherit;text-align:left;text-shadow:none}.manager-team-link:hover,.manager-team-link:focus-visible{background:transparent;border:0;color:#ffdd45}
    .manager-player-row{height:auto;min-height:44px;padding:6px 8px;text-align:left;font:12px/1.25 Arial,sans-serif;text-shadow:none}.manager-player-row b{font-family:"Rajdhani","Arial Narrow",Arial,sans-serif;font-size:15px;text-shadow:1px 2px #000}.manager-player-row small{display:block;color:#d8cdf5}.manager-player-stats{display:block;margin-top:3px;color:#fff}
    #managerTeamPage{gap:9px}.manager-team-squad{display:grid;gap:9px;max-height:58dvh;overflow:auto;padding-right:3px}.team-profile-hero{display:grid;grid-template-columns:auto 1fr;gap:11px;align-items:center;border:1px solid rgba(255,221,69,.42);background:linear-gradient(90deg,rgba(255,221,69,.12),rgba(117,54,210,.12));padding:10px;text-align:left}.team-profile-hero .team-flag{width:44px;height:29px}.team-profile-hero .team-flag:before{height:39px}.team-profile-name{font-size:22px;line-height:.95;color:#fff;text-shadow:1px 2px #000}.team-profile-sub{margin-top:4px;font:12px/1 "Rajdhani","Arial Narrow",Arial,sans-serif;color:#ffdd45;text-shadow:none}.team-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.team-metric{border:1px solid rgba(255,255,255,.16);background:rgba(5,2,10,.62);padding:7px 5px;text-align:center}.team-metric b{display:block;font-size:19px;line-height:1;color:#fff;text-shadow:1px 2px #000}.team-metric span{display:block;margin-top:3px;font:10px/1 Arial,sans-serif;color:#cfc1ee;text-shadow:none}.team-section-title{display:flex;align-items:center;gap:8px;margin-top:2px;color:#ffdd45;font-size:16px;text-shadow:1px 2px #000}.team-section-title:after{content:"";height:1px;flex:1;background:rgba(255,221,69,.28)}.team-formation{position:relative;min-height:280px;overflow:hidden;border:1px solid rgba(255,255,255,.18);background:linear-gradient(180deg,rgba(30,126,65,.78),rgba(16,92,45,.78));box-shadow:inset 0 0 0 2px rgba(255,255,255,.05)}.team-formation:before{content:"";position:absolute;left:8%;right:8%;top:50%;height:1px;background:rgba(255,255,255,.36)}.team-formation:after{content:"";position:absolute;left:50%;top:50%;width:82px;height:82px;transform:translate(-50%,-50%);border:1px solid rgba(255,255,255,.32);border-radius:50%}.formation-player{position:absolute;left:var(--x);top:var(--y);width:76px;transform:translate(-50%,-50%);text-align:center}.formation-head{display:grid;place-items:center;width:38px;height:26px;margin:0 auto 3px;border:2px solid var(--trim);border-radius:999px;background:var(--shirt);color:#fff;font-size:9px;text-shadow:1px 1px #000;box-shadow:0 2px 0 rgba(0,0,0,.55)}.formation-player b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:10px/1 Arial,sans-serif;color:#fff;text-shadow:1px 1px #000}.formation-player span{display:block;font:9px/1 Arial,sans-serif;color:#ffdd45;text-shadow:1px 1px #000}.team-player-list,.manager-transfer-list{display:grid;gap:7px}.manager-transfer-list{max-height:58dvh;overflow:auto;padding-right:3px}.team-player-card{display:grid;grid-template-columns:50px 1fr auto;gap:8px;align-items:start;border:1px solid rgba(255,255,255,.16);background:rgba(12,5,24,.78);padding:8px;text-align:left;text-shadow:none}.team-player-card.bench{background:rgba(42,14,78,.52)}.team-role{display:grid;place-items:center;min-height:34px;padding:0 3px;text-align:center;border:1px solid var(--trim);background:var(--shirt);color:#fff;font:13px/1 "Rajdhani","Arial Narrow",Arial,sans-serif;text-shadow:1px 2px #000}.team-player-main b{display:block;font-size:16px;line-height:1.05;color:#fff;text-shadow:1px 2px #000}.team-player-main small{display:block;margin-top:3px;font:11px/1.2 Arial,sans-serif;color:#cfc1ee}.team-rating{min-width:42px;text-align:center;color:#ffdd45;font-size:22px;line-height:.9;text-shadow:1px 2px #000}.team-rating span{display:block;margin-top:3px;font:9px/1 Arial,sans-serif;color:#cfc1ee;text-shadow:none}.team-stats{grid-column:1/-1;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}.team-stat{display:flex;justify-content:space-between;gap:4px;min-width:0;border:1px solid rgba(255,255,255,.12);background:rgba(0,0,0,.24);padding:3px 5px;font:10px/1 Arial,sans-serif;color:#fff}.team-stat span:first-child{color:#a997d0}.team-stat span:last-child{color:#fff;font-weight:700}.market-player-card{cursor:pointer;transition:border-color .12s,background .12s}.market-player-card:hover,.market-player-card:focus-visible{outline:0;border-color:#ffdd45;background:rgba(25,8,48,.9)}.team-player-action{grid-column:1/-1;display:flex;justify-content:space-between;gap:8px;align-items:center;border-top:1px solid rgba(255,255,255,.12);padding-top:6px;font:11px/1.2 Arial,sans-serif;color:#d8cdf5}.team-player-action b{font-family:"Rajdhani","Arial Narrow",Arial,sans-serif;color:#ffdd45;text-shadow:1px 2px #000}.team-player-action span:last-child{color:#fff}
    #manager .manager-create>button[id$="Back"]:not(#managerSimBack),#cancelManagerCreate{display:none}
    #managerEconomyPage:not(.hide),#managerStatsInfoPage:not(.hide){position:relative;top:0;align-content:start;min-height:0;height:100%;overflow:auto!important;padding-top:6px}
    #managerStatsInfoPage:not(.hide){display:grid;grid-template-rows:minmax(0,1fr)!important;gap:0!important;overflow:hidden!important;padding-top:0}
    #managerStatsInfoList{height:100%;min-height:0;max-height:none!important;overflow:auto!important;padding-right:0;padding-bottom:4px}
    #managerTransfersPage:not(.hide){display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:8px;height:min(620px,calc(100dvh - 138px));min-height:0;overflow:hidden}
    #managerTransfersPage .manager-transfer-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(160px,100%),1fr));grid-auto-rows:minmax(64px,1fr);align-content:stretch;gap:8px;min-height:0}
    #managerTransfersPage .manager-transfer-actions button{height:100%;min-height:64px;padding:0 10px;text-align:center;font-size:13px}
    #managerTransfersPage .manager-deals{min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;margin-top:0;padding-right:0}
    #managerSquadPage:not(.hide){display:grid;grid-template-rows:clamp(156px,25dvh,205px) minmax(0,1fr);gap:8px;height:100%;min-height:0;overflow:hidden!important}
    #managerSquadPage #managerSquadFilters{height:100%;grid-template-columns:repeat(auto-fit,minmax(min(88px,100%),1fr));grid-auto-rows:minmax(34px,1fr);align-content:stretch;gap:8px}
    #managerSquadPage #managerSquadFilters button{height:100%;min-height:34px;padding:0 8px;text-align:center}
    .manager-filter-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(46px,1fr));gap:5px}.manager-filter-row button{height:29px;padding:0 4px;font-size:11px}.manager-filter-row button.active{border-color:#ffdd45;background:rgba(88,38,145,.95)}
    #managerDivisionPage:not(.hide){display:grid;grid-template-rows:auto auto auto minmax(0,1fr);gap:7px;min-height:0;overflow:hidden!important}
    #managerDivisionList{min-height:0;overflow:auto!important}
    .manager-replacement-list{display:grid;gap:6px;border:1px solid rgba(255,221,69,.42);background:rgba(5,2,10,.7);padding:7px}.manager-replacement-title{font:13px/1 "Rajdhani","Arial Narrow",Arial,sans-serif;color:#ffdd45;text-align:center;text-shadow:1px 2px #000}.manager-replacement-row{height:auto;min-height:36px;padding:5px 8px;text-align:left;font:12px/1.15 Arial,sans-serif;text-shadow:none}.manager-replacement-row b{font-family:"Rajdhani","Arial Narrow",Arial,sans-serif;font-size:14px;text-shadow:1px 2px #000}.manager-replacement-row small{display:block;color:#cfc1ee}.manager-replacement-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}
    .manager-info-list{display:grid;gap:6px;max-height:58dvh;overflow:auto;padding-right:3px}.manager-info-title{margin-top:8px;padding:5px 7px;border-top:1px solid rgba(255,221,69,.38);color:#ffdd45;font:18px/1 Impact,"Arial Black",sans-serif;text-align:center;text-shadow:1px 2px #000}.manager-info-row{display:grid;grid-template-columns:94px 1fr;gap:8px;border:1px solid rgba(255,255,255,.14);background:rgba(5,2,10,.58);padding:7px;text-align:left;text-shadow:none}.manager-info-row b{color:#ffdd45;text-shadow:1px 2px #000}.manager-info-row span{font:12px/1.25 Arial,sans-serif;color:#d8cdf5}
    #managerFixturesPage:not(.hide),#managerScorersPage:not(.hide),#managerAssistsPage:not(.hide),#managerReportsPage:not(.hide),#managerCupsPage:not(.hide){display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-height:0;overflow:hidden}
    #managerFixturesList,#managerScorersList,#managerAssistsList,#managerReportsList,#managerCupsList{min-height:0;max-height:calc(100dvh - 210px);overflow:auto!important;padding-right:0}
    #managerSavesList{max-height:min(520px,62dvh)}.manager-save-row{display:grid;grid-template-columns:minmax(0,1fr) 34px;gap:5px}.manager-save-load{height:auto;min-height:48px;padding:6px 8px;line-height:1.05;text-align:left}.manager-save-load small{display:block;margin-top:3px;color:#cfc1ee;font:10px/1.15 Arial,sans-serif;text-shadow:none;white-space:normal}.manager-save-delete{height:48px;padding:0;text-align:center;color:#ff8f66;font-size:15px}.manager-save-empty{padding:8px;text-align:center;font:12px/1.25 Arial,sans-serif;color:#cfc1ee;text-shadow:none}
    .manager-playoff,.manager-last,.invite-box,.manager-confirm{border:1px solid rgba(255,221,69,.55);background:rgba(255,221,69,.08);padding:7px;text-align:center;font:12px/1.3 Arial,sans-serif;color:#fff;text-shadow:none}
    .manager-outcome{color:#fff;font-weight:900}
    .manager-playoff b,.manager-last b,.invite-box b,.manager-confirm b{font-family:Impact,"Arial Black",sans-serif;color:#ffdd45;text-shadow:1px 2px #000}
    .manager-stat-divider{margin-top:14px;padding-top:10px;border-top:1px solid rgba(255,221,69,.35);text-align:center;text-shadow:none}.manager-stat-divider b{display:block;color:#ffdd45;font:18px/1 Impact,"Arial Black",sans-serif;text-shadow:1px 2px #000}.manager-stat-divider span{display:block;margin-top:3px;color:#d8cdf5;font:10px/1.2 Arial,sans-serif}
    .season-report{--season-label-width:clamp(126px,26.5%,420px);display:grid;gap:9px;text-align:left;background:rgba(25,4,20,.72)}.season-report-title{text-align:center;font:16px/1 Impact,"Arial Black",sans-serif;color:#ffdd45;text-shadow:1px 2px #000}.season-report-section{display:grid;gap:6px;border-top:1px solid rgba(255,221,69,.22);padding-top:8px}.season-report-section:first-of-type{border-top:0;padding-top:0}.season-report-section>b{display:block;text-align:center}.season-report-row{display:grid;grid-template-columns:var(--season-label-width) minmax(0,1fr);gap:10px;align-items:start;border:1px solid rgba(255,255,255,.08);background:rgba(0,0,0,.18);padding:5px 7px}.season-report-label{color:#cfc1ee;text-transform:uppercase;font-size:10px;line-height:1.2}.season-report-teams,.season-report-list{display:grid;gap:5px}.season-report-teams{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.season-movement-teams{grid-template-columns:repeat(3,minmax(0,1fr))}.season-report-gap{display:block}.season-report-vs{align-self:center;color:#cfc1ee;font-size:10px;text-transform:uppercase}.season-team{display:inline-flex;align-items:center;gap:5px;min-width:0;max-width:100%}.season-team .team-flag{width:18px;height:12px;flex:0 0 auto}.season-team>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.season-team small{flex:0 0 auto;color:#ffdd45;font-size:10px}.season-match{display:grid;grid-template-columns:var(--season-label-width) repeat(3,minmax(0,1fr));gap:10px;align-items:center;border:1px solid rgba(255,255,255,.08);background:rgba(0,0,0,.18);padding:5px 7px}.season-round{color:#cfc1ee;font-size:10px;text-transform:uppercase}.season-score{text-align:center;color:#ffdd45;font-weight:700}.season-decision{grid-column:2/-1;color:#cfc1ee;font-size:10px;text-align:center}
    .manager-cup-section{display:grid;gap:8px}.manager-cup-card{display:grid;gap:7px;border:1px solid rgba(255,255,255,.14);background:rgba(5,2,10,.58);padding:8px;text-shadow:none}.manager-cup-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.manager-cup-head strong{color:#ffdd45;font:15px/1 "Rajdhani","Arial Narrow",Arial,sans-serif;text-align:right;text-shadow:1px 2px #000}.manager-cup-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}.manager-cup-metrics span{border:1px solid rgba(255,255,255,.11);background:rgba(255,255,255,.06);padding:4px;text-align:center;font:9px/1.1 Arial,sans-serif;color:#cfc1ee}.manager-cup-metrics b{display:block;color:#fff;font:13px/1 "Rajdhani","Arial Narrow",Arial,sans-serif;text-shadow:1px 2px #000}.manager-cup-matches{display:grid;gap:4px}.manager-cup-match{display:grid;grid-template-columns:minmax(72px,.8fr) minmax(0,1fr) 44px minmax(0,1fr) 56px;gap:6px;align-items:center;border-top:1px solid rgba(255,255,255,.1);padding-top:4px;font:10px/1.15 Arial,sans-serif;color:#d8cdf5}.manager-cup-match:first-child{border-top:0}.manager-cup-match b{text-align:center;color:#ffdd45;font-size:12px}.manager-cup-match em{justify-self:end;font-style:normal;font-weight:900}.manager-cup-match.w em{color:#26da48}.manager-cup-match.l em{color:#ff8f66}.manager-cup-match.d em{color:#ffdd45}.manager-cup-match.pending em{color:#cfc1ee}
    @media(max-width:620px){.manager-cup-head{grid-template-columns:1fr}.manager-cup-head strong{text-align:left}.manager-cup-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.manager-cup-match{grid-template-columns:minmax(64px,.8fr) minmax(0,1fr) 38px;grid-template-areas:"round home score" "result away score";gap:3px 5px}.manager-cup-match>span:first-child{grid-area:round}.manager-cup-match .season-home{grid-area:home}.manager-cup-match b{grid-area:score}.manager-cup-match .season-away{grid-area:away}.manager-cup-match em{grid-area:result;justify-self:start}}
    .manager-confirm{display:grid;gap:7px;background:rgba(34,6,18,.92);border-color:#bc4b12}.manager-confirm .row{justify-content:center}.manager-confirm button{width:min(180px,42vw)}
    .confirm-modal{position:fixed;inset:0;z-index:40;display:grid;place-items:center;background:rgba(0,0,0,.72);padding:18px}.confirm-box{display:grid;gap:10px;width:min(420px,88vw);border:2px solid #7536d2;background:rgba(18,6,34,.96);padding:14px;box-shadow:0 22px 70px #000,inset 0 1px rgba(255,255,255,.18);text-align:center}.confirm-title{font:22px/1 Impact,"Arial Black",sans-serif;color:#ffdd45;text-shadow:1px 2px #000}.confirm-text{font:13px/1.35 Arial,sans-serif;color:#e4d8ff;text-shadow:none;white-space:pre-line}.confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.confirm-actions button{min-width:0}.transfer-offer-box{width:min(480px,92vw);text-align:left}.transfer-offer-player{border:1px solid rgba(255,255,255,.16);background:rgba(5,2,10,.48);padding:8px;text-align:center;font:12px/1.25 Arial,sans-serif;color:#d8cdf5;text-shadow:none}.transfer-offer-player b{display:block;color:#fff;font:18px/1 "Rajdhani","Arial Narrow",Arial,sans-serif;text-shadow:1px 2px #000}.transfer-bid-row{display:grid;grid-template-columns:42px 1fr 42px;gap:7px;align-items:center}.transfer-bid-row button{height:38px;padding:0;font-size:20px}.transfer-bid-value{display:grid;place-items:center;min-height:38px;border:2px solid #7536d2;background:rgba(7,4,15,.88);font-size:18px;color:#ffdd45;text-align:center;text-shadow:1px 2px #000}.transfer-offer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.transfer-offer-card{border:1px solid rgba(255,255,255,.16);background:rgba(5,2,10,.58);padding:6px;text-align:center;text-shadow:none}.transfer-offer-card b{display:block;color:#fff;font-size:14px;text-shadow:1px 2px #000}.transfer-offer-card span{display:block;margin-top:2px;font:9px/1.05 Arial,sans-serif;color:#cfc1ee}.transfer-offer-label{font:11px/1.2 Arial,sans-serif;color:#ffdd45;text-align:left;text-shadow:none}.transfer-player-picker{position:relative}.transfer-player-button{position:relative;width:100%;height:auto;min-height:38px;padding:6px 34px 6px 10px;text-align:left;background:rgba(7,4,15,.92);border-color:#7536d2;font-size:12px;line-height:1.08;text-shadow:none}.transfer-player-button:after{content:"";position:absolute;right:13px;top:50%;width:0;height:0;transform:translateY(-35%);border-left:5px solid transparent;border-right:5px solid transparent;border-top:7px solid #ffdd45}.transfer-player-choice b{display:block;color:#fff;font-size:14px;text-shadow:1px 2px #000}.transfer-player-choice small{display:block;margin-top:2px;color:#cfc1ee;font:10px/1.1 Arial,sans-serif;text-shadow:none}.transfer-player-list{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:55;display:grid;gap:4px;max-height:min(260px,42dvh);overflow:auto;padding:6px;border:2px solid #7536d2;background:rgba(9,0,18,.98);box-shadow:0 18px 42px rgba(0,0,0,.72),inset 0 1px rgba(255,255,255,.14)}.transfer-player-option{height:auto;min-height:40px;padding:6px 8px;text-align:left;font:12px/1.1 "Rajdhani","Arial Narrow",Arial,sans-serif;text-shadow:none}.transfer-player-option b{display:block;color:#fff;font-size:14px;text-shadow:1px 2px #000}.transfer-player-option small{display:block;margin-top:2px;color:#cfc1ee;font:10px/1.1 Arial,sans-serif;text-shadow:none}.transfer-player-option.active{border-color:#ffdd45;background:rgba(88,38,145,.95)}
    .manager-button-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:7px}.manager-button-row button{min-width:0;padding:0 7px;font-size:13px;line-height:.95;white-space:normal}.manager-button-row .wide-action{grid-column:1/-1}.manager-league-list{grid-template-columns:1fr}.manager-transfer-actions{grid-template-columns:1fr;gap:2px}
    .manager-transfer-notice{border:1px solid rgba(38,218,72,.72);background:rgba(8,112,31,.42);padding:8px;text-align:center;font:12px/1.35 Arial,sans-serif;color:#fff;text-shadow:none}.manager-transfer-notice b{display:block;font-family:Impact,"Arial Black",sans-serif;color:#ffdd45;text-shadow:1px 2px #000}.manager-transfer-notice button{margin-top:7px;min-height:30px;padding:7px 12px;border:1px solid rgba(255,221,69,.85);background:rgba(0,0,0,.55);color:#ffdd45;font:12px Impact,"Arial Black",sans-serif;letter-spacing:.2px}.transfer-economy{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);padding:6px;text-align:center;text-shadow:none}.transfer-economy span{min-width:0;overflow:hidden;text-overflow:ellipsis;font:10px/1.1 Arial,sans-serif;color:#d8cdf5}.transfer-economy b{display:block;color:#ffdd45;font:12px/1 "Rajdhani","Arial Narrow",Arial,sans-serif;text-shadow:1px 2px #000}
    .manager-economy-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.manager-economy-card{border:1px solid rgba(255,255,255,.16);background:rgba(5,2,10,.62);padding:8px;text-align:center;text-shadow:none}.manager-economy-card b{display:block;font-size:18px;line-height:1;color:#fff;text-shadow:1px 2px #000}.manager-economy-card span{display:block;margin-top:4px;font:10px/1.1 Arial,sans-serif;color:#cfc1ee}.manager-economy-card.good b{color:#26da48}.manager-economy-card.bad b{color:#ff8f66}.manager-economy-expand{margin-top:8px;border:1px solid rgba(255,255,255,.16);background:rgba(5,2,10,.58);padding:8px;text-shadow:none}.manager-economy-expand h3{margin:0 0 7px;color:#ffdd45;font:16px/1 Impact,"Arial Black",sans-serif;text-align:center;text-shadow:1px 2px #000}.arena-build-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.arena-build-grid span{display:block;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.07);padding:6px;text-align:center;font:10px/1.2 Arial,sans-serif;color:#d8cdf5}.arena-build-grid b{display:block;color:#fff;font:15px/1 "Rajdhani","Arial Narrow",Arial,sans-serif;text-shadow:1px 2px #000}.arena-build-action{margin-top:7px;width:100%}.manager-level-button.active{border-color:#ffdd45;background:rgba(88,38,145,.95)}
    .market-player-card,.squad-pick{cursor:pointer;transition:border-color .12s,background .12s,box-shadow .12s}.squad-pick:hover,.squad-pick:focus-visible{outline:0;border-color:#ffdd45;background:rgba(25,8,48,.9)}.formation-player.squad-pick{border:1px solid transparent;padding:2px}.squad-pick.selected{border-color:#26da48!important;box-shadow:0 0 0 2px rgba(38,218,72,.38),0 0 18px rgba(38,218,72,.24);background:rgba(8,112,31,.35)}.squad-pick.swapping{opacity:.72;pointer-events:none}.squad-swap-hint{font:11px/1.35 Arial,sans-serif;color:#ffdd45;text-align:center;text-shadow:none}.manager-squad-match-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(72px,1fr));gap:5px}.manager-squad-match-actions button{height:30px;padding:0 5px;font-size:12px;line-height:.9}.squad-filter-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.squad-filter-row button{height:29px;padding:0 3px;font-size:11px;line-height:.9}.squad-filter-row button.active{border-color:#ffdd45;background:rgba(88,38,145,.95);color:#ffdd45}.team-trophies{display:grid;gap:5px;border:1px solid rgba(255,221,69,.22);background:rgba(5,2,10,.48);padding:7px;text-align:left}.team-trophy-row{display:grid;grid-template-columns:42px 1fr;gap:7px;border-top:1px solid rgba(255,255,255,.1);padding-top:5px;font:11px/1.25 Arial,sans-serif;color:#d8cdf5;text-shadow:none}.team-trophy-row:first-of-type{border-top:0}.team-trophy-row b{color:#ffdd45;font-family:"Rajdhani","Arial Narrow",Arial,sans-serif;font-size:14px;text-shadow:1px 2px #000}.team-trophy-row span{color:#fff}.team-trophy-empty{font:11px/1.3 Arial,sans-serif;color:#cfc1ee;text-align:center;text-shadow:none}
    .team-trophy-row{grid-template-columns:30px 42px 1fr;align-items:center}.team-trophy-icon{position:relative;display:block;width:24px;height:28px;justify-self:center;filter:drop-shadow(1px 2px 0 rgba(0,0,0,.75))}.team-trophy-icon i{display:block}.team-trophy-icon.cup:before{content:"";position:absolute;left:5px;top:4px;width:14px;height:12px;border:2px solid #ffdd45;border-top-width:3px;border-radius:3px 3px 8px 8px;background:linear-gradient(135deg,#fff2a1,#ffdd45 46%,#b7791f)}.team-trophy-icon.cup:after{content:"";position:absolute;left:9px;bottom:4px;width:6px;height:9px;background:#ffdd45;box-shadow:0 8px 0 4px #b7791f;border-radius:1px}.team-trophy-icon.cup i:before,.team-trophy-icon.cup i:after{content:"";position:absolute;top:7px;width:6px;height:8px;border:2px solid #ffdd45;border-radius:50%;background:transparent}.team-trophy-icon.cup i:before{left:1px;border-right:0}.team-trophy-icon.cup i:after{right:1px;border-left:0}.team-trophy-icon.medal:before{content:"";position:absolute;left:6px;top:2px;width:12px;height:12px;background:linear-gradient(125deg,#7536d2 0 48%,#ff4b4b 48% 100%);clip-path:polygon(0 0,45% 0,50% 65%,55% 0,100% 0,70% 14px,30% 14px)}.team-trophy-icon.medal:after{content:"";position:absolute;left:4px;bottom:2px;width:16px;height:16px;border:2px solid #ffe992;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff3ae,#ffcc35 55%,#b7791f)}.team-trophy-icon.medal.silver:before{background:linear-gradient(125deg,#4d7bd8 0 48%,#d8cdf5 48% 100%)}.team-trophy-icon.medal.silver:after{border-color:#fff;background:radial-gradient(circle at 35% 30%,#fff,#d8dbe6 55%,#8b91a1)}
    .manager-round.playoff .manager-meta{color:#ffdd45;font-family:Impact,"Arial Black",sans-serif;font-size:15px;text-shadow:1px 2px #000}
    .invite-box.invite-alert{animation:invitePulse .85s steps(2,end) infinite}
    @keyframes invitePulse{0%,100%{border-color:#ffdd45;background:rgba(255,221,69,.18);box-shadow:0 0 0 1px rgba(255,221,69,.3),0 0 18px rgba(255,221,69,.28)}50%{border-color:#26da48;background:rgba(38,218,72,.14);box-shadow:0 0 0 1px rgba(38,218,72,.3),0 0 18px rgba(38,218,72,.24)}}
    .manager-fixtures{overflow:visible}
    
    #managerTeamPage .manager-team-squad{max-height:min(78dvh,820px)}#managerTeamPage .team-formation{min-height:clamp(520px,68dvh,720px);background:linear-gradient(180deg,rgba(36,136,70,.86),rgba(17,96,47,.86))}#managerTeamPage .formation-player{display:grid;justify-items:center;gap:2px;width:98px;padding:3px 4px;border:1px solid rgba(255,255,255,.18);background:rgba(2,10,5,.34);box-shadow:0 2px 0 rgba(0,0,0,.42);text-align:center}#managerTeamPage .formation-player.squad-pick{padding:3px 4px;border-color:rgba(255,255,255,.18)}#managerTeamPage .formation-player.squad-pick.selected{border-color:#26da48!important}#managerTeamPage .formation-head{margin:0 0 1px;padding-top:1mm;background:#fff!important;border-color:#050407!important;color:#050407!important;font-weight:900;line-height:1;text-shadow:none!important}#managerTeamPage .formation-player b{width:100%;font:11px/1.05 Arial,sans-serif;color:#fff;text-shadow:1px 1px #000}#managerTeamPage .formation-rating{display:block;width:100%;font:10px/1 "Rajdhani","Arial Narrow",Arial,sans-serif;color:#ffdd45;text-shadow:1px 1px #000}#managerTeamPage .formation-mini{display:block;width:100%;white-space:normal;font:8px/1.08 Arial,sans-serif;color:#e8dcff;text-shadow:1px 1px #000}
    #managerTeamPage{gap:5px}#managerTeamPage #managerTeamTitle{font-size:0;line-height:0}#managerTeamPage .team-profile-toggle{display:block;width:100%;height:auto;min-height:0;padding:0;border:0;background:transparent;box-shadow:none;text-align:left;color:inherit;text-shadow:none}#managerTeamPage .team-profile-toggle:hover,#managerTeamPage .team-profile-toggle:focus-visible{background:transparent;border:0}#managerTeamPage .team-profile-toggle .team-profile-hero{position:relative;padding-right:24px}#managerTeamPage .team-profile-toggle .team-profile-hero:after{content:"+";position:absolute;right:8px;top:50%;transform:translateY(-50%);font:18px/1 Impact,"Arial Black",sans-serif;color:#ffdd45;text-shadow:1px 2px #000}#managerTeamPage .team-profile-toggle.open .team-profile-hero:after{content:"-"}#managerTeamPage .team-profile-hero{gap:7px;padding:5px 7px}#managerTeamPage .team-profile-hero .team-flag{width:32px;height:21px}#managerTeamPage .team-profile-hero .team-flag:before{height:30px}#managerTeamPage .team-profile-name{font-size:16px;line-height:.9}#managerTeamPage .team-profile-sub{margin-top:2px;font-size:9px}#managerTeamPage #managerTeamMeta{display:grid;gap:5px;font-size:10px;line-height:1.1}#managerTeamPage .team-metrics{grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}#managerTeamPage .team-metric{padding:3px 2px}#managerTeamPage .team-metric b{font-size:13px;line-height:.95}#managerTeamPage .team-metric span{margin-top:1px;font-size:7.5px;line-height:.9}#managerTeamPage .manager-formation-inline{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}#managerTeamPage .manager-formation-inline button{height:25px;font-size:10px}
    
    

.manager-panel,.manager-season,.manager-create,.manager-table,.manager-team-squad,.manager-transfer-list,.manager-users,.manager-fixtures,.manager-info-list,.team-player-list{scrollbar-width:none}
    .manager-panel::-webkit-scrollbar,.manager-season::-webkit-scrollbar,.manager-create::-webkit-scrollbar,.manager-table::-webkit-scrollbar,.manager-team-squad::-webkit-scrollbar,.manager-transfer-list::-webkit-scrollbar,.manager-users::-webkit-scrollbar,.manager-fixtures::-webkit-scrollbar,.manager-info-list::-webkit-scrollbar,.team-player-list::-webkit-scrollbar{width:0;height:0}
    .manager-season,.manager-create,.manager-table,.manager-team-squad,.manager-transfer-list,.manager-users,.manager-fixtures,.manager-info-list,.team-player-list{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
    .manager-squad-layout{display:grid;gap:9px;min-height:0}.manager-formation-pane,.manager-roster-pane{min-width:0;min-height:0}.manager-roster-pane{display:grid;gap:7px}
    .formation-skill-label{position:absolute;left:50%;bottom:7px;z-index:2;transform:translateX(-50%);padding:3px 10px;border:1px solid rgba(255,221,69,.75);background:rgba(5,2,10,.72);color:#ffdd45;font:900 14px/1 "Rajdhani","Arial Narrow",Arial,sans-serif;text-shadow:1px 2px #000;box-shadow:0 2px 0 rgba(0,0,0,.5)}
    #managerTeamPage.squad-placement-active:not(.hide){display:grid;grid-template-rows:minmax(0,1fr)!important;gap:0!important;overflow:hidden!important}
    #managerTeamPage.squad-placement-active #managerTeamTitle,#managerTeamPage.squad-placement-active #managerTeamMeta,#managerTeamPage.squad-placement-active .manager-roster-pane,#managerTeamPage.squad-placement-active .team-section-title{display:none!important}
    #managerTeamPage.squad-placement-active #managerTeamSquadList{height:100%;max-height:none!important;overflow:hidden!important;padding:0!important}
    #managerTeamPage.squad-placement-active .manager-squad-layout{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:minmax(0,1fr)!important;height:100%!important;gap:0!important}
    #managerTeamPage.squad-placement-active .manager-formation-pane{display:grid!important;grid-template-rows:minmax(0,1fr)!important;height:100%;overflow:hidden!important}
    #managerTeamPage.squad-placement-active .team-formation{height:100%!important;min-height:0!important}
    .manager-row.playoff{background:rgba(102,194,255,.52);border-top-color:rgba(190,230,255,.48)}
    .manager-row.playoff-bye{background:rgba(42,122,190,.62);border-top-color:rgba(132,194,242,.5)}
    .manager-row.league-orange{background:rgba(190,91,18,.74);border-top-color:rgba(255,255,255,.24)}
    .manager-row.relegation{background:rgba(154,24,38,.76);border-top-color:rgba(255,142,142,.42)}
    #manager.manager-menu-open .manager-panel{z-index:70}
    #managerSeason .manager-table{max-height:none;overflow:visible!important;touch-action:pan-y}
    #managerDivisionList{min-height:0;max-height:clamp(220px,52dvh,620px);overflow:auto!important;touch-action:pan-y}
    .manager-menu-button{border-color:#7536d2}
    #managerActionMenu{position:fixed;left:0;right:0;bottom:0;z-index:60;width:auto;max-width:none;transform:none;order:50;justify-self:stretch;gap:0;padding:0 env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px)}
    #managerActionMenu.open{top:1cm;display:grid;grid-template-rows:minmax(0,1fr) auto;background:rgba(9,0,18,.96);box-shadow:0 -18px 70px rgba(0,0,0,.72);padding-top:0}
    #managerActionMenu.hide{display:none!important}
    #managerBack{order:60;display:none!important}
    #managerMsg{order:70}
    .manager-menu-list{border-color:#7536d2;max-height:min(520px,calc(100dvh - 150px))}
    #managerActionList{border:0!important;box-shadow:0 18px 42px rgba(0,0,0,.72),inset 0 1px rgba(255,255,255,.08)}
    #managerActionMenu.open #managerActionButton{order:2;height:42px}
    #managerActionMenu.open #managerActionButton:after{transform:translateY(-35%) rotate(180deg)}
    #managerActionMenu.open #managerActionList{position:static;order:1;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(160px,100%),1fr));grid-auto-rows:minmax(54px,1fr);align-content:stretch;gap:8px;width:100%;height:100%;min-height:0;max-height:none;overflow:auto;padding:10px;border:0!important;background:transparent;box-shadow:none}
    #managerActionMenu.open #managerActionList button{height:100%;min-height:54px;padding:0 10px;text-align:center;font-size:13px}
    .manager-menu-list button{height:30px}
    .manager-last{border-color:rgba(132,136,146,.62);background:rgba(34,35,42,.92)}
    .manager-inline-label{color:#fff}
    .manager-last .manager-fixture{margin-top:4px;padding:5px 7px;background:rgba(8,9,12,.96);border-top-color:rgba(110,116,130,.18)}
    .manager-match-type{margin-top:2px;color:#d8cdf5;font:900 10px/1.2 Arial,sans-serif;text-transform:uppercase;letter-spacing:.02em}
    .manager-fixture{grid-template-columns:32px minmax(0,1fr) 36px minmax(0,1fr)}
    .manager-fixture-team{display:grid;min-width:0;gap:1px;text-align:center;justify-items:center}
    .manager-fixture-home{justify-items:center;text-align:center}
    .manager-fixture-away{justify-items:center;text-align:center}
    .manager-fixture-team .manager-team-name{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff;font-weight:900}
    .manager-fixture-status{display:inline-grid;place-items:center;min-width:22px;min-height:15px;justify-self:center;padding:1px 3px;color:#fff;font:900 10px/1 "Rajdhani","Arial Narrow",Arial,sans-serif;text-shadow:1px 1px #000}
    .manager-fixture-status.live{background:#b51616;box-shadow:0 0 0 1px rgba(255,255,255,.18),0 0 10px rgba(181,22,22,.45)}
    #managerFixturesPage .manager-team-name.fixture-team-self{padding:1px 5px;background:rgba(255,0,0,.82);color:#fff;animation:fixtureSelfBlink .72s steps(2,end) infinite}
    #managerFixturesPage .manager-team-name.fixture-team-human{padding:1px 5px;background:rgba(255,0,0,.28);color:#fff}
    @keyframes fixtureSelfBlink{0%,100%{background:rgba(255,0,0,.88);box-shadow:0 0 0 1px rgba(255,255,255,.2),0 0 12px rgba(255,0,0,.55)}50%{background:rgba(255,0,0,.18);box-shadow:none}}
    .manager-team-skill{display:block;color:#fff;font:900 11px/1 "Rajdhani","Arial Narrow",Arial,sans-serif;text-shadow:1px 2px #000}
    .manager-fixture-score{min-width:36px;text-align:center;white-space:nowrap}
    .fixture-odds-line{grid-template-columns:32px minmax(0,1fr) 36px minmax(0,1fr);justify-content:normal;gap:7px;align-items:center}
    .manager-last .fixture-odds-line{box-sizing:border-box;padding:0 7px}
    .fixture-odds-line span{text-align:center;white-space:nowrap}
    .fixture-odds-line span:nth-child(3){min-width:20px}
    #managerViewTeamsPage:not(.hide){display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:7px;height:100%;min-height:0;overflow:hidden!important}
    #managerViewTeamsPageList{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(160px,100%),1fr))!important;grid-auto-rows:minmax(64px,1fr);align-content:stretch!important;width:100%;height:100%;min-height:0;max-height:none;overflow:auto!important;gap:8px!important;padding:0}
    #managerViewTeamsPageList button{display:block;width:100%;height:100%;min-height:64px;min-width:0;padding:0 10px;text-align:center;font-size:13px;line-height:1;white-space:normal}
    
    
	    
    
    
    .squad-section{display:grid;gap:5px}
    .squad-section-toggle{position:relative;display:flex;align-items:center;width:100%;height:31px;padding:0 36px 0 10px;border-color:#7536d2;background:linear-gradient(180deg,rgba(42,14,78,.94),rgba(12,5,24,.98));text-align:left;font-size:12px;letter-spacing:.04em}
    .squad-section-toggle:after{content:"+";position:absolute;right:12px;top:50%;transform:translateY(-50%);color:#ffdd45;font:18px/1 Impact,"Arial Black",sans-serif;text-shadow:1px 2px #000}
    .squad-section-toggle.open:after{content:"-"}
    .squad-section-toggle span{display:flex;align-items:center;height:100%;padding-top:2px;color:#fff}
    .squad-section-toggle small{display:flex;align-items:center;height:100%;margin-left:auto;margin-right:8px;padding-top:2px;color:#ffdd45;font:11px/1 Arial,sans-serif;text-shadow:none}
    .daily-form-dot{display:inline-block;width:11px;height:11px;min-width:11px;min-height:11px;max-width:11px;max-height:11px;aspect-ratio:1/1;flex:0 0 11px;border-radius:50%;margin-right:5px;vertical-align:middle;box-shadow:0 0 0 2px #000,0 0 10px rgba(255,255,255,.22)}
    .daily-form-dot.up{background:#26da48;box-shadow:0 0 0 2px #000,0 0 12px rgba(38,218,72,.9)}
    .daily-form-dot.down{background:#ff4242;box-shadow:0 0 0 2px #000,0 0 12px rgba(255,66,66,.9)}
    #managerTeamPage .formation-form-dot{position:absolute;right:5px;top:5px;margin:0;z-index:3}
    .player-card-badges{display:inline-flex;align-items:center;gap:2px;vertical-align:middle}
    .player-card-badge{display:inline-grid;place-items:center;width:9px;height:13px;border-radius:1px;color:#050407;font:900 8px/1 Arial,sans-serif;box-shadow:0 0 0 1px #000,0 1px 4px rgba(0,0,0,.5)}
    .player-card-badge.yellow{background:#ffdd45}
    .player-card-badge.red{background:#ff4242;color:#fff}
    #managerTeamPage .formation-card-badges{position:absolute;left:5px;top:24px;z-index:4}
    .daily-form-text.up{color:#26da48;font-weight:700}.daily-form-text.down{color:#ff6262;font-weight:700}
    .injury-badge{display:inline-grid;place-items:center;width:13px;height:13px;margin-right:5px;border-radius:2px;background:#ff4242;color:#050407;font:900 10px/1 Arial,sans-serif;vertical-align:middle;box-shadow:0 0 0 1px #000,0 0 10px rgba(255,66,66,.72)}
    #managerTeamPage .formation-injury-badge{position:absolute;left:5px;top:5px;margin:0;z-index:3}
    .team-player-card.injured{border-color:rgba(255,66,66,.9);background:rgba(70,7,19,.72)}
    #managerTeamPage .formation-player.injured{background:rgba(70,7,19,.68)!important;border-color:rgba(255,66,66,.9)!important}
    .injury-text{color:#ff6262;font-weight:800}
    .manager-injury-alert{border-color:rgba(255,66,66,.85);background:rgba(70,7,19,.72)}
    .manager-form-summary{display:grid;grid-template-columns:1fr 1fr;gap:5px;border:1px solid rgba(255,255,255,.14);background:rgba(5,2,10,.58);padding:5px;text-align:center;text-shadow:none}
    .manager-form-summary span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:11px/1.15 Arial,sans-serif;color:#fff}
    #managerTeamPage .formation-player{box-sizing:border-box;height:76px;align-content:start}
    #managerTeamPage .formation-player.position-penalty{background:rgba(150,12,26,.66)!important;border-color:rgba(255,84,84,.9)!important;box-shadow:0 2px 0 rgba(0,0,0,.42),0 0 0 1px rgba(255,66,66,.22)}
    #managerTeamPage .formation-player.position-penalty.selected{border-color:#26da48!important;box-shadow:0 0 0 2px rgba(38,218,72,.38),0 0 18px rgba(255,66,66,.28)}
    #managerTeamPage .formation-penalty{display:block;width:100%;margin-top:1px;font:10px/1 Impact,"Arial Black",sans-serif;color:#ff6262;text-shadow:1px 1px #000}
    #managerTeamPage .formation-penalty.empty{visibility:hidden}
    
    
    
    

.manager-sim-wrap{display:grid;gap:10px;align-content:start}
    .manager-sim-card{display:grid;gap:8px;border:1px solid rgba(255,255,255,.16);background:rgba(5,2,10,.7);padding:9px;text-shadow:none}
    .manager-sim-teams{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center;font:16px/1 "Rajdhani","Arial Narrow",Arial,sans-serif;text-shadow:1px 2px #000}
    .manager-sim-teams .away{text-align:right}.manager-sim-score{color:#ffdd45;font-size:20px}
    .sim-pressure-labels{display:grid;grid-template-columns:1fr 1fr;font:10px/1 Arial,sans-serif;color:#cfc1ee;text-transform:uppercase}
    .sim-pressure-labels span:last-child{text-align:right}
    .sim-pressure-callout{font:16px/1 "Rajdhani","Arial Narrow",Arial,sans-serif;color:#ffdd45;text-align:center;text-shadow:1px 2px #000}
    .sim-pressure-track{position:relative;height:24px;border:2px solid #7536d2;background:#120421;overflow:hidden;box-shadow:inset 0 1px rgba(255,255,255,.18)}
    .sim-pressure-fill{position:absolute;top:0;bottom:0;left:var(--pressure-left,50%);width:var(--pressure-width,0%);background:linear-gradient(90deg,var(--pressure-from,#26da48),var(--pressure-to,#f28a18));transition:left .42s ease,width .42s ease}
    .sim-pressure-track:after{content:"";position:absolute;left:50%;top:0;bottom:0;width:2px;background:rgba(255,255,255,.7);box-shadow:0 0 8px rgba(255,255,255,.45)}
    .sim-pressure-note{font:11px/1.25 Arial,sans-serif;color:#d8cdf5;text-align:center}
    .sim-log{display:grid;gap:4px;font:12px/1.25 Arial,sans-serif;color:#e8dcff}
    .sim-log-row{border-top:1px solid rgba(255,255,255,.12);padding-top:4px}
    #managerSimPage:not(.hide){display:grid;grid-template-rows:minmax(0,1fr) auto;gap:10px;min-height:0;overflow:hidden}
    #managerSimBack{width:100%}
    .manager-sim-wrap{height:100%;min-height:0;overflow:hidden;padding-right:2px}
    .sim-summary-page{display:grid;grid-template-rows:auto auto auto minmax(0,1fr);gap:12px;width:min(760px,100%);height:100%;min-height:0;margin:0 auto;color:#f5f5f5;text-shadow:none}
    .sim-scoreboard{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:18px;min-height:134px;padding:18px 22px;border:1px solid rgba(255,255,255,.04);border-radius:7px;background:#161616;box-shadow:inset 0 1px rgba(255,255,255,.03)}
    .sim-board-team{display:grid;justify-items:center;gap:9px;min-width:0;text-align:center;font:900 15px/1.12 "Rajdhani","Arial Narrow",Arial,sans-serif;color:#fff}
    .sim-board-team.away{justify-items:center}
    .sim-board-team .team-flag{width:58px;height:40px;border-width:2px;box-shadow:none}
    .sim-board-team .team-flag:before{left:-8px;top:-5px;height:52px}
    .sim-board-team span{max-width:100%;overflow:hidden;text-overflow:ellipsis}
    .sim-board-score{display:grid;justify-items:center;gap:5px;min-width:92px;text-align:center}
    .sim-board-score b{font:900 30px/1 "Rajdhani","Arial Narrow",Arial,sans-serif;color:#fff;text-shadow:none}
    .sim-board-score span{font:600 12px/1 Arial,sans-serif;color:#9b9b9b}
    .sim-board-score small{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#d5d5d5;font:800 11px/1 Arial,sans-serif;text-transform:uppercase}
    .sim-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-bottom:1px solid #272727;color:#a8a8a8;font:700 13px/1 Arial,sans-serif}
    .sim-tabs span{position:relative;padding:10px 2px 12px;text-align:center}
    .sim-tabs .active{color:#fff}
    .sim-tabs .active:after{content:"";position:absolute;left:14%;right:14%;bottom:-1px;height:2px;background:#fff}
    .sim-pill-row{display:flex;gap:10px;align-items:center;padding:10px 4px 4px}
    .sim-pill-row button{width:auto;min-width:76px;height:35px;padding:0 14px;border:1px solid #7b7b7b;border-radius:999px;background:transparent;color:#9c9c9c;font:800 13px/1 Arial,sans-serif;text-shadow:none;box-shadow:none}
    .sim-pill-row button.active{border-color:#fff;background:#fff;color:#111}
    .sim-pill-row button:disabled{opacity:1;cursor:default}
    .sim-summary-table{min-height:0;overflow:auto;border:1px solid #272727;border-radius:5px;background:#121212}
    .sim-summary-row{display:grid;grid-template-columns:54px minmax(0,1fr) 66px minmax(0,1fr);align-items:center;min-height:48px;padding:0 18px;border-bottom:1px solid #242424;color:#f7f7f7;font:800 12px/1.15 Arial,sans-serif}
    .sim-summary-row:last-child{border-bottom:0}
    .sim-summary-minute{color:#9a9a9a;font:600 11px/1 Arial,sans-serif}
    .sim-summary-row>b{justify-self:center;color:#fff;font:900 12px/1 Arial,sans-serif}
    .sim-summary-side{display:flex;align-items:center;gap:7px;min-width:0}
    .sim-summary-side b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff;font:900 12px/1 Arial,sans-serif}
    .sim-home-event{justify-content:flex-end;text-align:right}
    .sim-away-event{justify-content:flex-start;text-align:left}
    .sim-summary-row.marker{background:#171717}
    .sim-summary-row.marker>b{font-size:12px}
    .sim-goal-stack{display:inline-flex;flex-direction:column;align-items:flex-start;min-width:0;max-width:100%;gap:2px}
    .sim-home-event .sim-goal-stack{align-items:flex-end}
    .sim-goal-main{display:inline-flex;align-items:center;gap:5px;min-width:0;max-width:100%}
    .sim-assist-line{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#ffdd45;font:800 10px/1.05 Arial,sans-serif;text-shadow:1px 1px 0 #000}
    .sim-ball-icon{display:inline-block;width:14px;height:14px;flex:0 0 auto;background:url("../icons/manager.png?v=20260630c") center/contain no-repeat;filter:drop-shadow(0 1px 0 #000)}
    .sim-card-icon{display:inline-block;width:10px;height:15px;flex:0 0 auto;border-radius:2px;background:#f1ff00}
    .sim-card-icon.red{background:#ff174c}
    .sim-event-tag{display:inline-block;margin-right:5px;padding:1px 3px;border-radius:2px;background:#fff;color:#111;font:900 8px/1 Arial,sans-serif}
    .sim-momentum-card{display:grid;gap:8px;padding:11px 14px;border-radius:10px;background:#252525;color:#cfcfcf}
    .sim-momentum-card>div:first-child{display:grid;gap:2px}
    .sim-momentum-card b{color:#fff;font:900 13px/1 Arial,sans-serif}
    .sim-momentum-card span{color:#a9a9a9;font:11px/1.2 Arial,sans-serif}
    .sim-momentum-card .sim-pressure-track{height:11px;border:0;border-radius:999px;background:#686868}
    .sim-momentum-card .sim-pressure-track:after{display:none}
    .sim-momentum-card .sim-pressure-fill{border-radius:999px}

/* ===== PC / DESKTOP CSS ===== */
@media(min-aspect-ratio:4/5){#match .controls{left:50%;right:auto;top:auto;bottom:calc(env(safe-area-inset-bottom,0px) + 12px);grid-template-columns:repeat(8,minmax(68px,1fr));gap:6px;width:min(760px,88vw);transform:translateX(-50%)}#match .controls button{height:28px;font-size:10px}}

@media (min-width:900px) and (min-aspect-ratio:4/5){
      #manager .manager-panel{left:clamp(12px,1.8vw,30px);right:clamp(12px,1.8vw,30px);top:calc(1cm + 12px);bottom:12px;width:auto;max-height:none;transform:none;display:grid;grid-template-rows:minmax(0,1fr) auto auto auto;overflow:hidden;padding:clamp(10px,1.1vw,16px)}
      #manager .manager-panel>.manager-home:not(.hide),#manager .manager-panel>.manager-create:not(.hide){height:100%;min-height:0;overflow:auto}
      #managerFixturesPage:not(.hide),#managerScorersPage:not(.hide),#managerAssistsPage:not(.hide),#managerReportsPage:not(.hide),#managerCupsPage:not(.hide){height:100%;overflow:hidden!important}
      #managerFixturesList,#managerScorersList,#managerAssistsList,#managerReportsList,#managerCupsList{max-height:none;height:100%;overflow:auto!important}
      #managerHome:not(.hide){display:grid;grid-template-rows:minmax(0,1fr) auto;gap:8px}
      #managerSeason{min-height:0;overflow:auto}
      #managerSeason .manager-table{max-height:none;overflow:visible!important}
      #managerDivisionList{max-height:100%;overflow:auto!important}
      #managerSeason .manager-table .manager-row{padding:2px 0;font-size:10.5px}
      #managerSeason .manager-meta,#managerSeason .manager-odds{font-size:10px;line-height:1.1}
      #managerSeason .manager-button-row button{height:30px}
      #managerTeamPage:not(.hide){display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;gap:6px;overflow:hidden}
      #managerTeamPage #managerTeamSquadList{height:100%;max-height:none;overflow:hidden;padding-right:0}
      #managerTeamPage .manager-squad-layout{height:100%;grid-template-columns:minmax(500px,1.15fr) minmax(390px,.85fr);grid-template-rows:minmax(0,1fr)}
      #managerTeamPage .manager-formation-pane{display:grid;grid-template-rows:auto minmax(0,1fr)}
      #managerTeamPage .manager-roster-pane{grid-template-rows:auto auto minmax(0,1fr) auto minmax(0,1fr);overflow:hidden}
      #managerTeamPage .team-formation{height:100%;min-height:0}
      #managerTeamPage .team-player-list{min-height:0;overflow:auto;padding-right:0}
      #managerTeamPage .team-player-card{padding:6px;gap:6px}
      #managerTeamPage .team-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}
      #managerTeamPage .team-stat{padding:2px 4px;font-size:9px}
      #managerTeamPage .formation-player{width:86px}
      #managerActionMenu{align-self:end}
      #managerBack{align-self:end}
      #managerMsg{align-self:end}
    }

@media (min-width:1280px) and (min-aspect-ratio:4/5){
      #managerTeamPage .manager-squad-layout{grid-template-columns:minmax(620px,1.25fr) minmax(520px,.75fr)}
      #managerTeamPage .team-stats{grid-template-columns:repeat(6,minmax(0,1fr))}
      #managerTeamPage .formation-player{width:96px}
    }

@media (min-width:900px) and (min-aspect-ratio:4/5){
      #managerTeamPage #managerTeamSquadList{overflow:auto}
      #managerTeamPage .manager-squad-layout{align-items:stretch;gap:10px}
      #managerTeamPage .manager-formation-pane{grid-template-rows:auto minmax(420px,1fr);min-height:0}
      #managerTeamPage .team-formation{height:auto;min-height:clamp(420px,calc(100dvh - 360px),640px)}
      #managerTeamPage .manager-roster-pane{align-content:start;grid-template-rows:auto auto auto;grid-auto-rows:max-content;overflow:auto}
      #managerTeamPage .squad-section{min-height:0}
      #managerTeamPage .squad-section .team-player-list{max-height:min(520px,calc(100dvh - 430px));overflow:auto}
    }

@media (min-width:900px) and (min-aspect-ratio:4/5){
      #managerTeamPage:not(.hide){grid-template-rows:auto auto auto minmax(0,1fr);overflow:hidden}
      #managerTeamPage #managerTeamSquadList{height:100%;max-height:none!important;overflow:auto!important}
      #managerTeamPage .manager-squad-layout{height:auto;min-height:0}
      #managerTeamPage .team-formation{height:min(620px,calc(100dvh - 320px))!important;min-height:360px!important}
    }


/* ===== MOBILE CSS ===== */
@media(max-aspect-ratio:4/5){.top{font-size:11px}.hud{top:1.8%;width:94vw;gap:5px;padding:0 6px;font-size:9px}.kit{width:10px;height:11px}.kit:before,.kit:after{width:4px;height:6px}.kit:before{left:-5px}.kit:after{right:-5px}.controls{left:50%;right:auto;top:auto;bottom:calc(env(safe-area-inset-bottom,0px) + 30px);grid-template-columns:repeat(4,1fr);gap:4px;width:94vw;transform:translateX(-50%)}.controls button{height:22px;font-size:9px}.menu-exit{bottom:calc(env(safe-area-inset-bottom,0px) + 3px);height:23px;font-size:9px;width:24vw}.events{display:none}.lineup{width:94vw;max-height:64dvh;padding:8px}.lineup-title{font-size:14px;margin-bottom:5px}.lineup-teams{gap:6px}.lineup-team h3{font-size:10px;margin-bottom:4px}.line-grid{min-height:260px}.line-player{width:44px;font-size:7px}.line-head{width:16px;height:16px;border-width:1px;box-shadow:0 0 0 1px var(--shirt),0 0 0 2px var(--trim)}button{height:30px;font-size:14px}}

@media(max-aspect-ratio:4/5){.hud{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto}.scoreline{font-size:10px}.score-scorers{font-size:8px;min-height:9px;gap:2px 8px}.score-goal small{font-size:7px}}

@media(max-aspect-ratio:4/5){.lineup-skip{right:6px;top:6px;width:54px;height:20px;font-size:8px}.line-flag{top:5px;width:24px;height:16px;border-width:1px}.line-flag:before{left:-5px;height:25px}.line-team-name{bottom:4px;font-size:8px}.team-flag{width:16px;height:11px}.team-flag:before{left:-3px;height:17px}.team-dropdown{height:38px;font-size:13px}.team-dropdown-list{max-height:46dvh}.team-option{height:31px;font-size:11px}.team-option b{font-size:12px}.goal-banner{min-width:78vw;padding:14px 14px}.goal-banner .goal-name{font-size:24px}.goal-list{font-size:12px}.goal-row{grid-template-columns:34px 1fr}.training-panel{width:94vw;max-height:74dvh;padding:10px}.training-grid{grid-template-columns:1fr}.training-list{max-height:220px}.training-player{font-size:11px}.manager-panel{width:94vw;max-height:76dvh}.manager-row{grid-template-columns:24px 1fr 24px 24px 24px;font-size:11px}.manager-fixture{grid-template-columns:28px minmax(0,1fr) 36px minmax(0,1fr);font-size:11px}}

@media(max-aspect-ratio:4/5){#manager .manager-panel{top:56%;width:94vw;max-height:calc(100dvh - 76px)}.top-team-flag{left:10px}.top-team-flag .team-flag{width:24px;height:16px}.manager-table{overflow:hidden}.manager-table .manager-row{grid-template-columns:17px minmax(62px,1fr) repeat(8,minmax(17px,1fr)) 14px;gap:2px;font-size:8.5px}.manager-table .manager-row>span{min-width:0;overflow:hidden;text-overflow:ellipsis}.manager-table .manager-team-link{gap:2px;max-width:100%;min-width:0}.manager-table .manager-team-link .team-flag{display:none}.manager-table .manager-team-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.manager-form-arrow.up{border-left-width:4px;border-right-width:4px;border-bottom-width:8px}.manager-form-arrow.down{border-left-width:4px;border-right-width:4px;border-top-width:8px}.manager-division-table .manager-row{grid-template-columns:22px minmax(150px,1fr) 44px}.manager-playoff,.manager-last,.invite-box{font-size:11px}.manager-button-row{grid-template-columns:repeat(auto-fit,minmax(86px,1fr));gap:5px}.manager-transfer-actions{grid-template-columns:1fr;gap:2px}.manager-button-row button{height:31px;padding:0 3px;font-size:10px;line-height:.9}.manager-economy-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.manager-economy-card{padding:6px 4px}.manager-economy-card b{font-size:15px}.arena-build-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.arena-build-grid b{font-size:13px}.transfer-economy{grid-template-columns:repeat(2,minmax(0,1fr));padding:5px}.transfer-economy span{font-size:9px}.human-dot{width:10px;height:10px;font-size:7px}.manager-team-squad{max-height:56dvh}.team-profile-hero{grid-template-columns:auto 1fr;padding:8px}.team-profile-hero .team-flag{width:34px;height:22px}.team-profile-name{font-size:17px}.team-profile-sub{font-size:10px}.team-metrics{grid-template-columns:repeat(2,1fr);gap:5px}.team-metric{padding:5px}.team-metric b{font-size:16px}.team-formation{min-height:230px}.formation-player{width:60px}.formation-head{width:32px;height:22px;font-size:8px}.formation-player b{font-size:8px}.formation-player span{font-size:8px}.team-player-card{grid-template-columns:44px 1fr 38px;gap:6px;padding:6px}.team-role{min-height:30px;font-size:11px}.team-player-main b{font-size:14px}.team-player-main small{font-size:10px}.team-rating{min-width:38px;font-size:19px}.team-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}.team-stat{padding:3px 4px;font-size:9px}}

@media(max-aspect-ratio:4/5){#managerTeamPage .manager-team-squad{max-height:70dvh}#managerTeamPage .team-profile-hero{gap:5px;padding:4px 6px}#managerTeamPage .team-profile-hero .team-flag{width:24px;height:16px}#managerTeamPage .team-profile-hero .team-flag:before{height:23px}#managerTeamPage .team-profile-name{font-size:13px}#managerTeamPage .team-profile-sub{font-size:8px}#managerTeamPage .team-metrics{grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}#managerTeamPage .team-metric{padding:2px 1px}#managerTeamPage .team-metric b{font-size:11px}#managerTeamPage .team-metric span{font-size:6.4px}#managerTeamPage .team-formation{min-height:clamp(520px,78dvh,660px)}#managerTeamPage .formation-player{width:70px;padding:2px 3px}#managerTeamPage .formation-player.squad-pick{padding:2px 3px}#managerTeamPage .formation-head{width:20px;height:20px;font-size:8px}#managerTeamPage .formation-player b{font-size:8px}#managerTeamPage .formation-rating{font-size:8px}#managerTeamPage .formation-mini{font-size:6.8px;line-height:1.05}}

@media(max-aspect-ratio:4/5){.transfer-offer-grid{grid-template-columns:1fr}.transfer-offer-box{gap:8px;padding:12px}.transfer-offer-player b{font-size:15px}.transfer-bid-value{font-size:15px}}

@media(max-aspect-ratio:4/5){
      .manager-fixture{grid-template-columns:22px minmax(0,1fr) 36px minmax(0,1fr);gap:3px}
      .manager-fixture-team .manager-team-name{white-space:normal;line-height:1.05}
      .manager-team-skill{margin-top:1px;font-size:11px}
      .fixture-odds-line{grid-template-columns:22px minmax(0,1fr) 36px minmax(0,1fr);gap:3px}
      .fixture-odds-line span:nth-child(3){min-width:36px}
      #managerViewTeamsPageList button{height:100%;min-height:64px;font-size:13px}
    }

@media (max-aspect-ratio:4/5){
	      #manager .manager-panel{left:3vw;right:3vw;top:calc(1cm + 8px);bottom:8px;width:auto;max-height:none;transform:none;display:grid;grid-template-rows:minmax(0,1fr) auto auto;overflow:hidden;padding:8px}
	      #manager .manager-panel>.manager-home:not(.hide),#manager .manager-panel>.manager-create:not(.hide){height:100%;min-height:0;overflow:hidden}
	      #managerHome:not(.hide){display:grid;grid-template-rows:minmax(0,1fr) auto;gap:8px}
	      #managerSeason{min-height:0;overflow:auto}
	      #managerSeason .manager-table{max-height:none;overflow:visible!important}
	      #managerDivisionList{max-height:58dvh;overflow:auto!important}
	      .manager-menu-list{max-height:min(520px,calc(100dvh - 170px));gap:4px;padding:6px}
	      .manager-menu-list button{height:29px;font-size:11px}
	      .season-report{gap:7px;padding:6px}
	      .season-report-row{grid-template-columns:1fr;gap:3px;padding:5px}
	      .season-report-teams{grid-template-columns:1fr;gap:3px}
	      .season-movement-teams{grid-template-columns:1fr}
	      .season-report-gap{display:none}
	      .season-match{grid-template-columns:54px minmax(0,1fr) 32px;gap:3px;padding:5px}
	      .season-match .season-round{grid-row:1/3}
	      .season-match .season-home{grid-column:2;grid-row:1}
	      .season-match .season-away{grid-column:2;grid-row:2}
	      .season-match .season-score{grid-column:3;grid-row:1/3;align-self:center}
	      .season-team .team-flag{width:15px;height:10px}
	      .season-team>span{font-size:10px}
	      .season-decision{grid-column:1/-1}
	    }

@media (max-aspect-ratio:4/5){
      #managerTeamPage:not(.hide){overflow:hidden}
      #managerFixturesPage:not(.hide),#managerScorersPage:not(.hide),#managerAssistsPage:not(.hide),#managerReportsPage:not(.hide),#managerCupsPage:not(.hide){height:calc(100dvh - 150px);overflow:hidden!important}
      #managerFixturesList,#managerScorersList,#managerAssistsList,#managerReportsList,#managerCupsList{max-height:none;height:100%;overflow:auto!important}
      #managerTeamPage #managerTeamSquadList{max-height:calc(100dvh - 190px);overflow:auto;padding-right:0}
      #managerTeamPage .manager-squad-layout{display:grid;grid-template-columns:1fr;grid-template-rows:auto auto;align-items:start;gap:8px;height:auto}
      #managerTeamPage .manager-formation-pane,#managerTeamPage .manager-roster-pane{position:relative;min-height:0;overflow:visible}
      #managerTeamPage .team-formation{height:auto;min-height:clamp(380px,58dvh,520px)}
      #managerTeamPage .manager-roster-pane{display:grid;gap:6px;background:#090012}
    }

@media (max-aspect-ratio:4/5){
      #managerTeamPage #managerTeamSquadList{max-height:calc(100dvh - 178px);overflow:auto!important;padding-right:0;padding-bottom:8px}
      #managerTeamPage .manager-squad-layout{display:flex;flex-direction:column;gap:8px;height:auto;align-items:stretch}
      #managerTeamPage .manager-formation-pane{display:block;position:relative;z-index:1;overflow:visible}
      #managerTeamPage .manager-roster-pane{position:relative;z-index:2;display:grid;gap:6px;background:#090012;padding-top:6px;overflow:visible}
      #managerTeamPage .team-formation{height:auto;min-height:clamp(400px,56dvh,520px);overflow:hidden}
      #managerTeamPage .formation-player{width:58px;height:58px;padding:2px;gap:1px}
      #managerTeamPage .formation-player.squad-pick{padding:2px}
      #managerTeamPage .formation-head{width:29px;height:20px;font-size:7px}
      #managerTeamPage .formation-player b{font-size:7.5px;line-height:1}
      #managerTeamPage .formation-rating{font-size:7.5px}
      #managerTeamPage .formation-mini{display:none}
      #managerTeamPage .formation-penalty{font-size:8px}
      #managerActionMenu{position:fixed;left:0;right:0;bottom:0;z-index:60;width:auto!important;transform:none;gap:0;padding:0 env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px)}
      #managerActionMenu.hide{display:none!important}
      #managerActionButton{height:42px;padding:0 32px 0 8px;font-size:16px;border-width:2px}
      #managerActionButton:after{right:14px;transform:translateY(-65%);border-left:6px solid transparent;border-right:6px solid transparent;border-top:0;border-bottom:8px solid #ffdd45}
      #managerActionList{bottom:calc(100% + 2px);gap:3px;max-height:calc(100dvh - 92px);padding:5px;border-width:2px}
      #managerActionList button{height:28px;font-size:10px}
      #managerMsg{position:fixed;left:3vw;right:3vw;bottom:calc(env(safe-area-inset-bottom,0px) + 45px);z-index:29;display:none;min-height:0;padding:5px 7px;border:1px solid rgba(255,255,255,.2);background:rgba(0,0,0,.92);color:#ffb98b;font-size:11px;line-height:1.15;text-align:center;text-shadow:1px 1px #000;pointer-events:none}
      #managerMsg.show,#managerMsg.thinking{display:block}
      #manager .manager-panel{bottom:calc(env(safe-area-inset-bottom,0px) + 54px)!important;grid-template-rows:minmax(0,1fr)!important;gap:0!important;padding:6px 8px 0!important}
      #managerHome:not(.hide){height:100%;grid-template-rows:minmax(0,1fr)!important;gap:0!important}
      #managerSeason{height:100%;overflow:auto!important}
    }

@media (max-aspect-ratio:4/5){
      #managerTeamPage:not(.hide){display:grid;grid-template-rows:auto auto auto minmax(0,1fr);gap:4px;overflow:hidden!important}
      #managerTeamPage #managerTeamSquadList{height:100%;max-height:none!important;overflow:auto!important;padding-bottom:calc(40px + env(safe-area-inset-bottom,0px))}
      #managerTeamPage .manager-squad-layout{display:flex!important;flex-direction:column;gap:6px!important;height:auto!important}
      #managerTeamPage .manager-formation-pane{display:block!important;overflow:visible!important}
      #managerTeamPage .team-formation{height:clamp(300px,45dvh,430px)!important;min-height:0!important;max-height:calc(100dvh - 260px)}
      #managerTeamPage .formation-player{width:54px;height:54px}
    }

@media(max-aspect-ratio:4/5){.manager-sim-teams{font-size:12px}.manager-sim-score{font-size:16px}.manager-sim-card{padding:7px}}

@media(max-aspect-ratio:4/5){
      .sim-summary-page{gap:9px;width:100%}
      .sim-scoreboard{min-height:118px;gap:9px;padding:14px 10px;border-radius:6px}
      .sim-board-team{gap:7px;font-size:12px;line-height:1.05}
      .sim-board-team .team-flag{width:42px;height:29px}
      .sim-board-team .team-flag:before{left:-6px;top:-4px;height:38px}
      .sim-board-score{min-width:66px}
      .sim-board-score b{font-size:24px}
      .sim-board-score span{font-size:10px}
      .sim-board-score small{max-width:92px;font-size:8px}
      .sim-tabs{font-size:11px}
      .sim-tabs span{padding:9px 1px 10px}
      .sim-tabs .active:after{left:8%;right:8%}
      .sim-pill-row{gap:7px;padding:8px 4px 3px}
      .sim-pill-row button{min-width:70px;height:33px;padding:0 12px;font-size:12px}
      .sim-summary-row{grid-template-columns:34px minmax(0,1fr) 42px minmax(0,1fr);min-height:44px;padding:0 7px;font-size:10px}
      .sim-summary-minute{font-size:9px}
      .sim-summary-row>b{font-size:10px}
      .sim-summary-side{gap:4px}
      .sim-summary-side b{font-size:10px;white-space:normal;line-height:1.05}
      .sim-goal-main{gap:3px}
      .sim-assist-line{font-size:8px}
      .sim-ball-icon{width:12px;height:12px}
      .sim-card-icon{width:8px;height:13px}
      .sim-event-tag{font-size:7px}
      .sim-momentum-card{gap:7px;padding:9px;border-radius:8px}
    }

/* Squad page: top controls, larger pitch */
#managerTeamPage #managerTeamSquadList{height:100%;max-height:none!important;overflow:hidden!important;padding-right:0!important}
#managerTeamPage .manager-squad-layout{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:auto minmax(0,1fr) auto!important;gap:6px!important;height:100%!important;min-height:0!important;align-items:stretch!important}
#managerTeamPage .manager-squad-top-menu{display:grid;gap:5px;min-height:0}
#managerTeamPage .manager-squad-info-controls{display:grid;gap:5px}
#managerTeamPage .team-profile-toggle{position:relative!important;display:grid!important;align-items:center!important;width:100%!important;height:37px!important;min-height:37px!important;padding:0 36px 0 12px!important;overflow:hidden!important;border:2px solid #7536d2!important;background:linear-gradient(180deg,rgba(60,22,104,.96),rgba(18,6,34,.98))!important;box-shadow:inset 0 1px rgba(255,255,255,.24),inset 0 -2px rgba(0,0,0,.55)!important;color:#fff!important;font-size:15px!important;letter-spacing:.04em!important;text-align:center!important;text-shadow:1px 2px #050407!important}
#managerTeamPage .team-profile-toggle:hover,#managerTeamPage .team-profile-toggle:focus-visible{outline:0!important;border-color:#c7a6ff!important;background:rgba(88,38,145,.94)!important}
#managerTeamPage .team-profile-toggle:after{content:""!important;position:absolute!important;right:14px!important;top:50%!important;width:0!important;height:0!important;transform:translateY(-35%)!important;border-left:5px solid transparent!important;border-right:5px solid transparent!important;border-top:7px solid #ffdd45!important}
#managerTeamPage .team-profile-toggle.open:after{transform:translateY(-35%) rotate(180deg)!important}
#managerTeamPage .team-profile-toggle .team-profile-hero{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;gap:8px!important;width:100%!important;height:100%!important;min-width:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
#managerTeamPage .team-profile-toggle .team-profile-hero:after{content:none!important;display:none!important}
#managerTeamPage .team-profile-toggle .team-profile-hero>div{min-width:0!important;overflow:hidden!important}
#managerTeamPage .team-profile-toggle .team-profile-name,#managerTeamPage .team-profile-toggle .team-profile-sub{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
#managerTeamPage .team-profile-static{display:grid!important;align-items:center!important;width:100%!important;min-height:37px!important;padding:0 12px!important;overflow:hidden!important;border:2px solid #7536d2!important;background:linear-gradient(180deg,rgba(60,22,104,.96),rgba(18,6,34,.98))!important;box-shadow:inset 0 1px rgba(255,255,255,.24),inset 0 -2px rgba(0,0,0,.55)!important;color:#fff!important;font-size:15px!important;line-height:1!important;letter-spacing:.04em!important;text-align:center!important;text-shadow:1px 2px #050407!important}
#managerTeamPage .team-profile-static .team-profile-hero{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;gap:8px!important;width:100%!important;height:100%!important;min-width:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
#managerTeamPage .team-profile-static .team-profile-hero>div{min-width:0!important;overflow:hidden!important}
#managerTeamPage .team-profile-static .team-profile-name,#managerTeamPage .team-profile-static .team-profile-sub{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
#managerTeamPage #managerTeamMeta{display:grid!important}
#managerTeamPage .team-formation:before,
#managerTeamPage .team-formation:after{z-index:0;pointer-events:none}
#managerTeamPage .formation-player{z-index:2}
#managerTeamPage .squad-roster-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
#managerTeamPage .squad-section-toggle{display:grid;grid-template-columns:1fr auto;align-items:center;height:29px;padding:0 10px;text-align:left;font-size:12px;line-height:1;border-color:#7536d2;background:rgba(42,14,78,.86)}
#managerTeamPage .squad-section-toggle small{color:#ffdd45;font-size:11px;text-align:right}
#managerTeamPage .squad-section-toggle.open{border-color:#ffdd45;background:rgba(88,38,145,.95);color:#ffdd45}
#managerTeamPage .manager-formation-pane{display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;min-height:0!important;overflow:hidden!important}
#managerTeamPage .team-formation{height:100%!important;min-height:clamp(430px,calc(100dvh - 270px),780px)!important;max-height:none!important}
#managerTeamPage .formation-player{--formation-player-width:98px;width:calc(var(--formation-player-width) + 4mm);height:82px;top:calc(var(--y) + var(--formation-y-offset, -5mm));grid-template-rows:auto auto auto auto 1fr auto}
#managerTeamPage .formation-head{order:1;font-size:11px}
#managerTeamPage .formation-player b{order:2;max-width:100%;overflow:visible;text-overflow:clip;white-space:nowrap;font-size:var(--formation-name-size,13px);line-height:1}
#managerTeamPage .formation-mini{order:3;font-size:10px}
#managerTeamPage .formation-penalty{order:4;font-size:12px}
#managerTeamPage .formation-rating{order:6;align-self:end;margin-top:auto;font-size:12px}
#managerTeamPage .formation-rating .formation-form-ovr{display:block;margin-top:1px;font:900 10px/1 "Rajdhani","Arial Narrow",Arial,sans-serif;text-shadow:1px 1px #000}
#managerTeamPage .formation-form-ovr.up{color:#26da48}
#managerTeamPage .formation-form-ovr.down{color:#ff6262}
#managerTeamPage .formation-form-dot{right:8px}
#managerTeamPage .formation-skill-label{display:block!important;visibility:visible!important;top:84%!important;bottom:auto!important;z-index:8!important}
@media (min-width:900px) and (min-aspect-ratio:4/5){#managerTeamPage .formation-player{--formation-player-width:86px}}
@media (min-width:1280px) and (min-aspect-ratio:4/5){#managerTeamPage .formation-player{--formation-player-width:96px}}
#managerTeamPage .manager-roster-pane{display:grid!important;align-content:end!important;gap:6px!important;max-height:min(34dvh,360px)!important;overflow:auto!important;min-height:0!important}
#managerTeamPage .manager-roster-pane .squad-section{display:grid;gap:6px;min-height:0}
#managerTeamPage .manager-roster-pane .team-player-list{max-height:min(30dvh,320px);overflow:auto!important;padding-right:0}
#managerTeamPage .manager-bench-tray{display:grid;min-height:0}
#managerTeamPage .manager-bench-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(72px,1fr));gap:5px;min-width:0;overflow:visible;padding:1px 0 4px}
#managerTeamPage .manager-bench-strip::-webkit-scrollbar{width:0;height:0}
#managerTeamPage .manager-bench-chip{display:grid;grid-template-columns:25px minmax(0,1fr);grid-template-rows:1fr auto;height:42px;gap:2px 4px;align-items:center;box-sizing:border-box;border:1px solid rgba(255,255,255,.18);background:rgba(2,10,5,.72);padding:3px;text-align:left;text-shadow:none;box-shadow:0 2px 0 rgba(0,0,0,.42)}
#managerTeamPage .bench-chip-role{grid-row:1/3;display:grid;place-items:center;align-self:stretch;border:1px solid var(--trim);background:#fff;color:#050407;font:900 11px/1 "Rajdhani","Arial Narrow",Arial,sans-serif;text-shadow:none}
#managerTeamPage .manager-bench-chip b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff;font:11px/1 Arial,sans-serif;text-shadow:1px 1px #000}
#managerTeamPage .manager-bench-chip small{color:#ffdd45;font:900 10.5px/1 "Rajdhani","Arial Narrow",Arial,sans-serif;text-shadow:1px 1px #000}
#managerTeamPage.squad-placement-active .manager-squad-top-menu{display:none!important}

@media(max-aspect-ratio:4/5){
  #managerTeamPage:not(.hide){grid-template-rows:auto auto auto minmax(0,1fr)!important;gap:3px!important;overflow:hidden!important}
  #managerTeamPage #managerTeamSquadList{height:100%!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;padding-bottom:calc(54px + env(safe-area-inset-bottom,0px))!important;scrollbar-width:none!important;-ms-overflow-style:none!important;-webkit-overflow-scrolling:touch;touch-action:pan-y}
  #managerTeamPage #managerTeamSquadList::-webkit-scrollbar{width:0!important;height:0!important;display:none!important}
  #managerTeamPage .manager-squad-layout{display:flex!important;flex-direction:column!important;gap:4px!important;height:auto!important;min-height:0!important;align-items:stretch!important}
  #managerTeamPage .manager-squad-top-menu{position:relative!important;z-index:5!important;flex:0 0 auto!important;min-height:26px!important;gap:4px}
  #managerTeamPage .manager-squad-info-controls{gap:4px}
  #managerTeamPage .squad-roster-row,#managerTeamPage .squad-filter-row,#managerTeamPage .manager-squad-match-actions{gap:4px}
  #managerTeamPage .squad-section-toggle,#managerTeamPage .squad-filter-row button,#managerTeamPage .manager-squad-match-actions button{height:26px;font-size:10px;padding:0 5px}
  #managerTeamPage .squad-section-toggle small{font-size:9px}
  #managerTeamPage .manager-formation-pane{display:block!important;flex:0 0 auto!important;height:auto!important;margin-top:0!important;overflow:visible!important}
  #managerTeamPage .team-formation{height:430px!important;min-height:430px!important;max-height:430px!important;flex:0 0 auto!important}
  #managerTeamPage .formation-skill-label{display:block!important;visibility:visible!important;top:84%!important;bottom:auto!important;z-index:8!important}
  #managerTeamPage .formation-player{--formation-player-width:54px;height:66px}
  #managerTeamPage .formation-head{font-size:9px}
  #managerTeamPage .formation-player b{font-size:var(--formation-name-mobile-size,9.5px)}
  #managerTeamPage .formation-rating{font-size:9.5px}
  #managerTeamPage .formation-rating .formation-form-ovr{font-size:8px}
  #managerTeamPage .formation-form-dot{right:7px}
  #managerTeamPage .formation-penalty{font-size:10px}
  #managerTeamPage .manager-roster-pane{position:relative!important;z-index:auto!important;align-content:start!important;flex:0 0 auto!important;max-height:none!important;overflow:visible!important}
  #managerTeamPage .manager-roster-pane .team-player-list{max-height:none!important}
  #managerTeamPage .manager-bench-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
  #managerTeamPage .manager-bench-chip{height:35px;grid-template-columns:21px minmax(0,1fr);padding:2px;gap:1px 3px}
  #managerTeamPage .bench-chip-role{font-size:10px}
  #managerTeamPage .manager-bench-chip b{font-size:10.5px}
  #managerTeamPage .manager-bench-chip small{font-size:10px}
}

/* Manager squad polish: remove duplicate team bars and add compact full squad list */
#manager .top{display:none!important}
#managerTeamPage #managerTeamTitle{display:none!important}
#managerFullSquadPage:not(.hide){display:grid!important;grid-template-rows:minmax(0,1fr) auto!important;gap:8px!important;height:100%!important;min-height:0!important;overflow:hidden!important}
#managerFullSquadList{display:grid;align-content:start;gap:6px;height:100%;min-height:0;max-height:none!important;overflow:auto!important;padding-right:0;scrollbar-width:none}
#managerFullSquadList::-webkit-scrollbar{width:0;height:0}
.manager-full-squad-section{display:grid;gap:5px}
.manager-full-squad-player{display:grid;grid-template-columns:44px minmax(0,1fr) 64px;align-items:center;gap:6px;width:100%;height:34px;padding:0 7px;text-align:left;background:rgba(42,14,78,.86)}
.manager-full-squad-player .manager-full-squad-role{display:grid;place-items:center;height:22px;border:1px solid rgba(255,255,255,.32);background:#7536d2;color:#fff;font:900 11px/1 "Rajdhani","Arial Narrow",Arial,sans-serif;text-shadow:1px 2px #000}
.manager-full-squad-role.role-gk{background:#ffdd45;color:#050407;text-shadow:none;border-color:#fff2a8}
.manager-full-squad-role.role-def{background:#1f6feb;border-color:#8db7ff}
.manager-full-squad-role.role-mid{background:#1f9d72;border-color:#89e7c2}
.manager-full-squad-role.role-st{background:#d94747;border-color:#ff9a9a}
.manager-full-squad-player b{display:flex;align-items:center;gap:5px;min-width:0;overflow:hidden;color:#fff;font:700 12px/1 Arial,sans-serif;text-shadow:1px 1px #000}
.manager-full-squad-player b em{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-style:normal}
.manager-full-squad-player b i{display:inline-flex;align-items:center;gap:4px;flex:0 0 auto;font-style:normal}
.manager-full-squad-player b .daily-form-dot,.manager-full-squad-player b .injury-badge,.manager-full-squad-player b .player-card-badges{margin:0;vertical-align:middle}
.manager-full-squad-player strong{color:#ffdd45;text-align:right;font:900 12px/1 "Rajdhani","Arial Narrow",Arial,sans-serif;text-shadow:1px 2px #000}
.manager-full-squad-player.open{border-color:#ffdd45;background:rgba(88,38,145,.95)}
.manager-full-squad-stats{border:1px solid rgba(255,255,255,.14);border-top:0;background:rgba(5,2,10,.62);padding:5px}
.manager-full-squad-stats .team-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(58px,1fr));gap:4px}
.manager-full-squad-stats .team-stat{padding:3px 4px}
.manager-full-squad-stats .team-stat span:last-child{display:flex;justify-content:flex-end;gap:2px;white-space:nowrap}
.manager-full-squad-stats .team-stat small{font:900 9px/1 Arial,sans-serif}
.manager-full-squad-stats .team-stat small.up{color:#26da48}
.manager-full-squad-stats .team-stat small.down{color:#ff6262}
@media(min-aspect-ratio:4/5){#manager .manager-panel{top:calc(1cm + 8px)!important;bottom:8px!important}}
@media(max-aspect-ratio:4/5){#manager .manager-panel{top:calc(1cm + 8px)!important}}

/* Target squad layout */
.app-top-bar{left:14px;right:14px;top:10px;height:56px;grid-template-columns:54px minmax(0,1fr) auto;gap:12px;padding:0 14px;border:2px solid #7536d2;border-radius:8px 8px 0 0;background:linear-gradient(180deg,rgba(22,7,45,.98),rgba(8,2,18,.98));box-shadow:0 0 0 1px rgba(160,54,255,.18),0 16px 48px rgba(0,0,0,.72),inset 0 1px rgba(255,255,255,.14)}
.app-top-bar .top-team-flag .team-flag{width:40px;height:27px;border-width:2px;box-shadow:0 0 0 2px rgba(0,0,0,.62),0 0 16px rgba(117,54,210,.35)}
.app-top-bar .top-team-flag .team-flag:before{left:-7px;top:-5px;height:40px}
#appTopWho{display:grid;place-items:center;font-size:25px;font-weight:900;letter-spacing:.07em;text-align:center}
#appTopWho .app-top-marquee-item{top:50%;font-size:25px;font-weight:900;letter-spacing:.07em;text-shadow:0 0 10px rgba(255,255,255,.22),1px 2px #000}
#appTopLogout{height:36px;padding:0 14px;border:2px solid #ff3048;border-radius:8px!important;background:linear-gradient(180deg,#8f1230,#260510);color:#fff;font-size:15px;letter-spacing:.06em;box-shadow:0 0 0 1px rgba(255,48,72,.35),0 0 18px rgba(255,48,72,.65),inset 0 1px rgba(255,255,255,.22)}
#appTopLogout:hover,#appTopLogout:focus-visible{border-color:#ff6678;background:linear-gradient(180deg,#b51634,#340612)}

#manager .manager-panel{border:2px solid #7536d2;border-top:0;border-radius:0 0 8px 8px;background:radial-gradient(circle at 50% 0,rgba(98,35,170,.24),transparent 38%),rgba(7,2,17,.96);box-shadow:0 0 0 1px rgba(160,54,255,.18),0 20px 70px rgba(0,0,0,.76),inset 0 1px rgba(255,255,255,.08)}
#managerActionMenu{padding-left:max(14px,env(safe-area-inset-left,0px))!important;padding-right:max(14px,env(safe-area-inset-right,0px))!important;padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))!important}
#managerActionMenu.open{top:68px!important}
#managerActionButton{display:grid;grid-template-columns:54px minmax(0,1fr) 54px;align-items:center;height:58px!important;border:2px solid #9a25ff!important;border-radius:7px;background:linear-gradient(180deg,rgba(31,7,68,.98),rgba(5,1,14,.98))!important;color:#fff;font-size:25px!important;letter-spacing:.08em;box-shadow:0 0 0 1px rgba(154,37,255,.34),0 0 22px rgba(154,37,255,.72),inset 0 1px rgba(255,255,255,.18)!important}
#managerActionButton:before{content:"";justify-self:center;width:30px;height:22px;background:repeating-linear-gradient(180deg,#a334ff 0 4px,transparent 4px 9px);filter:drop-shadow(0 0 6px rgba(163,52,255,.72))}
#managerActionButton:after{content:""!important;position:static!important;justify-self:center;width:18px!important;height:18px!important;border:solid #a334ff!important;border-width:0 5px 5px 0!important;transform:rotate(-45deg)!important;box-shadow:3px 3px 8px rgba(163,52,255,.45)}
#managerActionMenu.open #managerActionButton:after{transform:rotate(45deg)!important}

.manager-last{position:relative;display:grid!important;grid-template-rows:auto auto auto;gap:0;align-content:start;min-height:110px;overflow:visible!important;border:2px solid rgba(154,37,255,.72)!important;border-radius:6px;background:linear-gradient(180deg,rgba(22,7,50,.95),rgba(8,2,20,.98))!important;padding:8px 9px 15px!important;box-shadow:0 0 0 1px rgba(154,37,255,.18),0 0 18px rgba(154,37,255,.22),inset 0 1px rgba(255,255,255,.1)}
.manager-last:before{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:linear-gradient(90deg,transparent,#9a25ff,#ffdd45,#9a25ff,transparent);opacity:.75}
.manager-last>b{display:flex!important;align-items:center;justify-content:center;gap:6px;margin-bottom:6px;color:#ffdd45!important;font:900 12px/1 "Rajdhani","Arial Narrow",Arial,sans-serif!important;letter-spacing:.05em;text-transform:uppercase;text-shadow:0 0 8px rgba(255,221,69,.22),1px 2px #000!important}
.manager-inline-label{display:inline-grid;place-items:center;min-height:18px;padding:2px 7px;border:1px solid rgba(154,37,255,.9);border-radius:999px;background:rgba(20,4,46,.96);color:#fff!important;box-shadow:0 0 10px rgba(154,37,255,.35);font-size:11px}
.manager-last .manager-fixture,.manager-round .manager-fixture{display:grid!important;grid-template-columns:38px minmax(0,1fr) 52px minmax(0,1fr)!important;align-items:center;gap:7px!important;min-height:46px!important;margin-top:0!important;padding:7px!important;border:1px solid rgba(154,37,255,.38)!important;border-radius:4px;background:linear-gradient(180deg,rgba(6,1,18,.96),rgba(13,3,31,.96))!important;box-shadow:inset 0 1px rgba(255,255,255,.07)}
.manager-fixture-team{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center;gap:6px!important;min-width:0;padding:4px 6px;border:1px solid rgba(255,255,255,.08);border-radius:3px;background:rgba(255,255,255,.035)}
.manager-fixture-away{grid-template-columns:minmax(0,1fr) auto!important}
.manager-fixture-away .team-flag{grid-column:2}
.manager-fixture-away .manager-team-copy{grid-column:1;grid-row:1;text-align:right}
.manager-fixture-team .team-flag{width:22px;height:15px;border-width:1px;box-shadow:0 0 0 1px rgba(255,255,255,.18),0 2px 0 rgba(0,0,0,.55)}
.manager-fixture-team .team-flag:before{left:-4px;top:-3px;height:23px}
.manager-team-copy{display:grid;gap:1px;min-width:0}
.manager-fixture-team .manager-team-name{font:900 12px/1 "Rajdhani","Arial Narrow",Arial,sans-serif!important;letter-spacing:.03em;text-shadow:1px 2px #000}
.manager-team-skill{color:#e8dcff!important;font:900 10px/1 "Rajdhani","Arial Narrow",Arial,sans-serif!important;text-shadow:1px 1px #000!important}
.manager-fixture-score{display:grid;place-items:center;min-width:52px!important;min-height:30px;border:1px solid rgba(255,221,69,.62);border-radius:4px;background:linear-gradient(180deg,rgba(255,221,69,.18),rgba(30,10,0,.72));color:#ffdd00!important;font:900 19px/1 "Rajdhani","Arial Narrow",Arial,sans-serif!important;text-shadow:1px 2px #000;box-shadow:0 0 12px rgba(255,221,69,.22),inset 0 1px rgba(255,255,255,.12)}
.manager-fixture-status{min-width:30px!important;min-height:24px!important;border:1px solid rgba(154,37,255,.7);border-radius:3px;background:rgba(20,4,46,.94);color:#fff!important;font-size:10px!important;box-shadow:0 0 10px rgba(154,37,255,.24)}
.manager-fixture-status.upcoming:before{content:"";width:8px;height:8px;border-radius:50%;background:#9a25ff;box-shadow:0 0 10px rgba(154,37,255,.8)}
.manager-fixture-status.played{border-color:#26da48;background:rgba(8,82,29,.92);color:#fff!important;box-shadow:0 0 10px rgba(38,218,72,.34)}
.manager-fixture-status.live{border-color:#ff3048;background:#b51616!important;color:#fff!important;box-shadow:0 0 0 1px rgba(255,255,255,.18),0 0 14px rgba(255,48,72,.58)}
.manager-last .fixture-odds-line,.manager-round .fixture-odds-line{grid-template-columns:38px repeat(3,minmax(0,1fr))!important;gap:7px!important;padding:5px 0 0!important}
.manager-last .fixture-odds-line span:not(:first-child),.manager-round .fixture-odds-line span:not(:first-child){padding:3px 4px;border:1px solid rgba(154,37,255,.35);border-radius:999px;background:rgba(20,4,46,.72);color:#ffdd45;font:900 10px/1 "Rajdhani","Arial Narrow",Arial,sans-serif;text-shadow:1px 1px #000}
.manager-last .manager-odds,.manager-round .manager-odds{margin:4px 0 0!important}

#managerTeamPage:not(.hide){display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;gap:8px!important;height:100%!important;min-height:0!important;overflow:hidden!important}
#managerTeamPage #managerTeamTitle,#managerTeamPage #managerFormationControls,#managerTeamPage #managerReplacementList,#managerTeamPage #managerTeamBack{display:none!important}
#managerTeamPage #managerTeamMeta{display:grid!important;gap:8px!important;align-content:start!important;min-height:0!important;font-size:12px!important;line-height:1!important}
#managerTeamPage .team-metrics{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:8px!important}
#managerTeamPage .team-metric{position:relative;display:grid!important;grid-template-rows:22px auto auto;align-items:center;justify-items:center;min-width:0;min-height:86px;padding:9px 4px 8px!important;border:2px solid rgba(117,54,210,.76);border-radius:4px;background:linear-gradient(180deg,rgba(28,9,60,.88),rgba(4,1,12,.94));box-shadow:inset 0 1px rgba(255,255,255,.12),0 4px 14px rgba(0,0,0,.42);text-align:center}
#managerTeamPage .team-metric:before{display:block;color:#a334ff;font:900 19px/1 "Rajdhani","Arial Narrow",Arial,sans-serif;text-shadow:0 0 10px rgba(163,52,255,.7),1px 2px #000}
#managerTeamPage .team-metric:nth-child(1):before{content:"+"}
#managerTeamPage .team-metric:nth-child(2):before{content:"*"}
#managerTeamPage .team-metric:nth-child(3):before{content:"W"}
#managerTeamPage .team-metric:nth-child(4):before{content:"O"}
#managerTeamPage .team-metric:nth-child(5):before{content:"D"}
#managerTeamPage .team-metric:nth-child(6):before{content:"*"}
#managerTeamPage .team-metric:nth-child(7):before{content:"P"}
#managerTeamPage .team-metric b{display:block!important;min-width:0;color:#fff;font:900 24px/1 "Rajdhani","Arial Narrow",Arial,sans-serif!important;text-shadow:0 0 8px rgba(255,255,255,.18),1px 2px #000!important}
#managerTeamPage .team-metric span{display:block!important;margin-top:4px!important;color:#e9e2f7!important;font:900 12px/.95 "Rajdhani","Arial Narrow",Arial,sans-serif!important;letter-spacing:.05em;text-shadow:1px 2px #000!important}
#managerTeamPage .manager-formation-inline{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:8px!important}
#managerTeamPage .manager-formation-inline button{height:54px!important;border:2px solid #9a25ff;border-radius:4px;background:linear-gradient(180deg,rgba(38,9,82,.94),rgba(10,2,28,.98));font-size:24px!important;letter-spacing:.02em;box-shadow:inset 0 1px rgba(255,255,255,.14),0 0 13px rgba(154,37,255,.22)}
#managerTeamPage .manager-formation-inline button.active{border-color:#ffff00!important;color:#ffff00!important;background:linear-gradient(180deg,rgba(66,18,120,.98),rgba(15,4,35,.98));box-shadow:0 0 0 1px rgba(255,255,0,.28),0 0 14px rgba(255,255,0,.32),inset 0 1px rgba(255,255,255,.18)}
#managerTeamPage #managerTeamSquadList{height:100%!important;min-height:0!important;max-height:none!important;overflow:auto!important;padding:0 1px calc(74px + env(safe-area-inset-bottom,0px))!important;scrollbar-width:none!important;touch-action:pan-y}
#managerTeamPage #managerTeamSquadList::-webkit-scrollbar{width:0!important;height:0!important;display:none!important}
#managerTeamPage .manager-squad-layout{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:auto minmax(0,1fr) auto!important;gap:8px!important;height:auto!important;min-height:100%!important;align-items:start!important}
#managerTeamPage .manager-squad-top-menu{position:relative!important;z-index:5!important;display:grid!important;gap:8px!important}
#managerTeamPage .manager-squad-match-actions{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;gap:8px!important}
#managerTeamPage .manager-squad-match-actions button{height:56px!important;min-width:0;padding:0 10px!important;border:2px solid #9a25ff;border-radius:4px;background:linear-gradient(180deg,rgba(31,7,68,.98),rgba(6,1,18,.98));font-size:19px!important;letter-spacing:.05em;line-height:1!important;box-shadow:inset 0 1px rgba(255,255,255,.14),0 0 14px rgba(154,37,255,.28)}
#managerTeamPage .manager-squad-match-actions #managerTeamBestLineup{border-color:#00ff3a!important;background:linear-gradient(180deg,rgba(13,117,31,.96),rgba(2,49,13,.98))!important;box-shadow:0 0 0 1px rgba(0,255,58,.28),0 0 18px rgba(0,255,58,.55),inset 0 1px rgba(255,255,255,.2)!important}
#managerTeamPage .manager-squad-match-actions button[data-waiting="1"]{border-color:#26da48!important;background:linear-gradient(180deg,rgba(18,142,48,.96),rgba(8,64,28,.98))!important}
#managerTeamPage .manager-formation-pane{display:block!important;min-height:0!important;overflow:visible!important}
#managerTeamPage .team-formation{height:clamp(520px,calc(100dvh - 355px),860px)!important;min-height:520px!important;max-height:none!important;border:3px solid rgba(38,218,72,.75);border-radius:8px;background:linear-gradient(90deg,rgba(255,255,255,.12) 0 1px,transparent 1px calc(100% - 1px),rgba(255,255,255,.12) calc(100% - 1px)),repeating-linear-gradient(180deg,rgba(22,136,55,.93) 0 58px,rgba(14,112,45,.93) 58px 116px),linear-gradient(180deg,#0d7f36,#064f25)!important;box-shadow:0 0 0 1px rgba(0,0,0,.65),0 0 24px rgba(38,218,72,.38),inset 0 0 0 3px rgba(0,0,0,.34),inset 0 0 70px rgba(0,0,0,.2)}
#managerTeamPage .team-formation:before{left:18%!important;right:18%!important;top:50%!important;height:2px!important;background:rgba(187,255,195,.28)!important;box-shadow:0 -154px 0 rgba(187,255,195,.2),0 154px 0 rgba(187,255,195,.2)}
#managerTeamPage .team-formation:after{width:150px!important;height:150px!important;border:3px solid rgba(187,255,195,.24)!important;background:transparent!important}
#managerTeamPage .formation-player{--formation-player-width:104px;width:calc(var(--formation-player-width) + 4mm)!important;height:92px!important;display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;justify-items:center!important;align-content:start!important;gap:3px!important;overflow:hidden!important;padding:7px 7px 5px!important;border:2px solid rgba(75,207,84,.86)!important;border-radius:8px;background:linear-gradient(135deg,rgba(44,216,89,.18) 0 22%,transparent 22% 78%,rgba(44,216,89,.12) 78% 100%),linear-gradient(180deg,rgba(5,58,23,.96),rgba(1,20,9,.98))!important;box-shadow:0 3px 0 rgba(0,0,0,.56),0 0 14px rgba(38,218,72,.28),inset 0 1px rgba(255,255,255,.14);text-align:center}
#managerTeamPage .formation-player:before{content:"";position:absolute;inset:5px;border:2px solid rgba(75,207,84,.58);border-radius:6px;box-shadow:inset 0 0 18px rgba(38,218,72,.1);pointer-events:none}
#managerTeamPage .formation-player:after{content:"";position:absolute;left:24%;right:24%;top:42%;height:2px;background:linear-gradient(90deg,transparent,rgba(38,218,72,.82),transparent);box-shadow:0 22px 0 rgba(38,218,72,.44);pointer-events:none}
#managerTeamPage .formation-head,#managerTeamPage .formation-player b,#managerTeamPage .formation-rating{position:relative;z-index:2}
#managerTeamPage .formation-player.squad-pick:hover,#managerTeamPage .formation-player.squad-pick:focus-visible{border-color:#ffff00!important;background:linear-gradient(180deg,rgba(10,75,27,.96),rgba(3,27,12,.98))!important}
#managerTeamPage .formation-player.squad-pick.selected{border-color:#26da48!important;box-shadow:0 0 0 2px rgba(38,218,72,.66),0 0 20px rgba(38,218,72,.9),inset 0 1px rgba(255,255,255,.18)!important}
#managerTeamPage .formation-head{display:grid!important;place-items:center!important;width:44px!important;height:28px!important;margin:0!important;border:2px solid #050407!important;border-radius:999px!important;background:#fff!important;color:#050407!important;font:900 15px/1 "Rajdhani","Arial Narrow",Arial,sans-serif!important;text-shadow:none!important;box-shadow:0 2px 0 rgba(0,0,0,.58)!important}
#managerTeamPage .formation-player b{align-self:center!important;width:100%!important;max-width:100%!important;overflow:hidden!important;text-overflow:clip!important;white-space:nowrap!important;color:#fff!important;font-family:Arial,sans-serif!important;font-weight:900!important;line-height:1!important;text-shadow:1px 2px #000!important}
#managerTeamPage .formation-rating{align-self:end!important;margin-top:auto!important;color:#ffdd00!important;font:900 15px/1 "Rajdhani","Arial Narrow",Arial,sans-serif!important;letter-spacing:.03em;text-shadow:1px 2px #000!important}
#managerTeamPage .formation-rating .formation-form-ovr{margin-top:2px!important;color:#26da48;font-size:13px!important}
#managerTeamPage .formation-rating .formation-form-ovr.down{color:#ff6262}
#managerTeamPage .formation-mini,#managerTeamPage .formation-penalty{display:none!important}
#managerTeamPage .formation-form-dot{right:8px!important;top:8px!important;width:15px!important;height:15px!important;min-width:15px!important;min-height:15px!important;max-width:15px!important;max-height:15px!important}
#managerTeamPage .formation-card-badges{left:8px!important;top:28px!important}
#managerTeamPage .formation-skill-label{top:auto!important;bottom:16px!important;z-index:8!important;display:block!important;padding:8px 22px!important;border:2px solid #26da48!important;border-radius:4px;background:rgba(5,12,8,.86)!important;color:#ffdd00!important;font-size:24px!important;box-shadow:0 0 16px rgba(38,218,72,.45),inset 0 1px rgba(255,255,255,.14)}
#managerTeamPage .manager-roster-pane{display:grid!important;align-content:start!important;max-height:none!important;overflow:visible!important;background:transparent!important}
#managerTeamPage .team-formation{margin-bottom:14px!important}
#managerTeamPage #managerTeamSquadList{padding-bottom:calc(94px + env(safe-area-inset-bottom,0px))!important}

@media(min-aspect-ratio:4/5){
  #manager .manager-panel{top:68px!important;bottom:74px!important;left:14px!important;right:14px!important;width:auto!important;max-height:none!important;transform:none!important;padding:12px 14px 0!important}
  #managerTeamPage .formation-player{--formation-player-width:94px}
}

@media(max-aspect-ratio:4/5){
  .app-top-bar{left:3vw;right:3vw;top:8px;height:50px;grid-template-columns:42px minmax(0,1fr) auto;gap:8px;padding:0 9px}
  .app-top-bar .top-team-flag .team-flag{width:32px;height:22px}
  .app-top-bar .top-team-flag .team-flag:before{height:32px}
  #appTopWho,#appTopWho .app-top-marquee-item{font-size:18px;letter-spacing:.05em}
  #appTopLogout{height:32px;padding:0 9px;font-size:12px}
  #manager .manager-panel{top:58px!important;left:3vw!important;right:3vw!important;bottom:calc(68px + env(safe-area-inset-bottom,0px))!important;width:auto!important;max-height:none!important;transform:none!important;padding:7px!important}
  #managerTeamPage:not(.hide){gap:6px!important}
  #managerTeamPage #managerTeamMeta{gap:6px!important}
  #managerTeamPage .team-metrics{gap:4px!important}
  #managerTeamPage .team-metric{grid-template-rows:16px auto auto;min-height:64px;padding:6px 2px 5px!important;border-width:1px}
  #managerTeamPage .team-metric:before{font-size:14px}
  #managerTeamPage .team-metric b{font-size:18px!important}
  #managerTeamPage .team-metric span{font-size:7.5px!important;line-height:.88!important;letter-spacing:.02em}
  #managerTeamPage .manager-formation-inline{gap:5px!important}
  #managerTeamPage .manager-formation-inline button{height:40px!important;font-size:18px!important}
  #managerTeamPage .manager-squad-layout{gap:6px!important}
  #managerTeamPage .manager-squad-top-menu{gap:6px!important}
  #managerTeamPage .manager-squad-match-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
  #managerTeamPage .manager-squad-match-actions button{height:48px!important;padding:0 4px!important;font-size:13px!important}
  #managerTeamPage .team-formation{height:clamp(700px,58dvh,980px)!important;min-height:700px!important}
  #managerTeamPage .team-formation{margin-bottom:12px!important}
  #managerTeamPage #managerTeamSquadList{padding-bottom:calc(86px + env(safe-area-inset-bottom,0px))!important}
  #managerTeamPage .team-formation:after{width:112px!important;height:112px!important}
  #managerTeamPage .team-formation:before{box-shadow:0 -118px 0 rgba(187,255,195,.2),0 118px 0 rgba(187,255,195,.2)}
  #managerTeamPage .formation-player{--formation-player-width:62px;height:78px!important;padding:5px 4px 4px!important;gap:2px!important;border-width:2px!important}
  #managerTeamPage .formation-head{width:37px!important;height:25px!important;font-size:13px!important}
  #managerTeamPage .formation-player b{font-size:var(--formation-name-mobile-size,9.5px)!important}
  #managerTeamPage .formation-rating{font-size:12px!important}
  #managerTeamPage .formation-rating .formation-form-ovr{font-size:10px!important}
  #managerTeamPage .formation-form-dot{right:5px!important;top:7px!important;width:14px!important;height:14px!important;min-width:14px!important;min-height:14px!important}
  #managerTeamPage .formation-skill-label{bottom:14px!important;padding:6px 18px!important;font-size:22px!important}
  #managerActionMenu{padding-left:3vw!important;padding-right:3vw!important;padding-bottom:calc(8px + env(safe-area-inset-bottom,0px))!important}
  #managerActionMenu.open{top:58px!important}
  #managerActionButton{height:54px!important;grid-template-columns:46px minmax(0,1fr) 46px;font-size:21px!important}
  #managerActionButton:before{width:27px;height:20px}
  #managerActionButton:after{width:16px!important;height:16px!important}
  .manager-last{min-height:104px!important;padding:7px 7px 13px!important}
  .manager-last>b{font-size:10.5px!important;gap:4px}
  .manager-inline-label{min-height:16px;padding:2px 5px;font-size:9px}
  .manager-last .manager-fixture,.manager-round .manager-fixture{grid-template-columns:28px minmax(0,1fr) 42px minmax(0,1fr)!important;gap:4px!important;padding:5px!important}
  .manager-fixture-team{gap:4px!important;padding:3px 4px}
  .manager-fixture-team .team-flag{width:17px;height:12px}
  .manager-fixture-team .team-flag:before{height:18px}
  .manager-fixture-team .manager-team-name{font-size:10px!important;line-height:1!important}
  .manager-team-skill{font-size:9px!important}
  .manager-fixture-score{min-width:42px!important;min-height:26px;font-size:15px!important}
  .manager-fixture-status{min-width:25px!important;min-height:22px!important;font-size:8px!important}
  .manager-last .fixture-odds-line,.manager-round .fixture-odds-line{grid-template-columns:28px repeat(3,minmax(0,1fr))!important;gap:4px!important}
  .manager-last .fixture-odds-line span:not(:first-child),.manager-round .fixture-odds-line span:not(:first-child){font-size:8.5px;padding:3px 2px}
}

/* Manager menu redesign */
#managerActionMenu.open{display:grid!important;grid-template-rows:minmax(0,1fr) auto!important;background:linear-gradient(180deg,rgba(7,2,18,.98),rgba(12,3,28,.98))!important;box-shadow:0 -18px 70px rgba(0,0,0,.78)!important}
#managerActionMenu.open #managerActionList{position:static!important;order:1!important;display:grid!important;grid-template-columns:1fr!important;grid-auto-rows:minmax(78px,max-content)!important;align-content:start!important;gap:10px!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;overflow:auto!important;padding:18px 22px 20px!important;border:0!important;background:transparent!important;box-shadow:none!important;scrollbar-width:none}
#managerActionMenu.open #managerActionList::-webkit-scrollbar{width:0;height:0}
#managerActionMenu.open #managerActionList button{position:relative;display:grid!important;grid-template-columns:92px minmax(0,1fr) 54px!important;align-items:center!important;gap:18px!important;width:100%!important;height:78px!important;min-height:78px!important;padding:0 18px 0 10px!important;overflow:hidden;border:2px solid rgba(154,37,255,.82)!important;border-radius:7px;background:linear-gradient(90deg,rgba(42,7,86,.96),rgba(13,3,32,.98) 54%,rgba(7,1,20,.98))!important;color:#fff!important;text-align:left!important;font:900 25px/1 "Rajdhani","Arial Narrow",Arial,sans-serif!important;letter-spacing:.12em;text-shadow:0 0 10px rgba(255,255,255,.16),1px 2px #000!important;box-shadow:0 0 0 1px rgba(154,37,255,.18),0 0 18px rgba(154,37,255,.38),inset 0 1px rgba(255,255,255,.12)!important}
#managerActionMenu.open #managerActionList button:before{content:"";display:grid;place-items:center;width:70px;height:60px;border:2px solid rgba(154,37,255,.52);border-radius:7px;background:var(--manager-menu-icon) center/42px 42px no-repeat,linear-gradient(180deg,rgba(62,16,112,.72),rgba(12,3,28,.92));color:#b63cff;font:900 24px/1 "Rajdhani","Arial Narrow",Arial,sans-serif;text-shadow:0 0 12px rgba(182,60,255,.75),1px 2px #000;box-shadow:0 0 0 1px rgba(0,0,0,.45),0 0 18px rgba(154,37,255,.24),inset 0 1px rgba(255,255,255,.12)}
#managerActionMenu.open #managerActionList button:after{content:"";justify-self:center;width:16px;height:16px;border:solid #b63cff;border-width:0 5px 5px 0;transform:rotate(-45deg);filter:drop-shadow(0 0 8px rgba(182,60,255,.8))}
#managerActionMenu.open #managerActionList button:hover,#managerActionMenu.open #managerActionList button:focus-visible{border-color:#d875ff!important;background:linear-gradient(90deg,rgba(58,10,116,.98),rgba(20,4,46,.99) 54%,rgba(10,1,26,.99))!important;box-shadow:0 0 0 1px rgba(216,117,255,.3),0 0 24px rgba(154,37,255,.62),inset 0 1px rgba(255,255,255,.16)!important}
#managerActionMenu.open #managerActionList button:disabled{opacity:.42;filter:grayscale(.25)}
#managerActionMenu.open #managerLeagueOption{--manager-menu-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23b63cff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 54h44'/%3E%3Crect x='24' y='20' width='16' height='34'/%3E%3Crect x='8' y='32' width='16' height='22'/%3E%3Crect x='40' y='38' width='16' height='16'/%3E%3Cpath d='M32 8l3 7 7 1-5 5 1 7-6-3-6 3 1-7-5-5 7-1z'/%3E%3C/svg%3E")}
#managerActionMenu.open #managerContinueOption{--manager-menu-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23b63cff' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 32h38'/%3E%3Cpath d='M36 18l14 14-14 14'/%3E%3C/svg%3E")}
#managerActionMenu.open #managerCreateOption{--manager-menu-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23b63cff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='24' r='8'/%3E%3Cpath d='M10 54c2-12 8-18 14-18 6 0 11 4 14 12'/%3E%3Cpath d='M48 18v22M37 29h22'/%3E%3C/svg%3E")}
#managerActionMenu.open #managerTopScorersOption{--manager-menu-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23b63cff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 41c10 3 23 3 34 0l9 9H18c-5 0-8-3-8-9z'/%3E%3Cpath d='M18 27l8 9 18 5'/%3E%3Ccircle cx='48' cy='27' r='8'/%3E%3Cpath d='M48 19v16M40 27h16' opacity='.45'/%3E%3C/svg%3E")}
#managerActionMenu.open #managerDivisionsOption{--manager-menu-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23b63cff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M32 8l20 8v14c0 13-8 22-20 28-12-6-20-15-20-28V16z'/%3E%3Cpath d='M20 29h24M24 41h16M25 20h14'/%3E%3C/svg%3E")}
#managerActionMenu.open #managerCupsOption{--manager-menu-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23b63cff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12h24v10c0 11-5 18-12 18s-12-7-12-18z'/%3E%3Cpath d='M20 18h-8c0 8 4 14 10 15M44 18h8c0 8-4 14-10 15M32 40v10M22 54h20'/%3E%3C/svg%3E")}
#managerActionMenu.open #managerReportsOption{--manager-menu-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23b63cff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12h24l4 6v38H16V18z'/%3E%3Cpath d='M25 24h18M25 34h18M25 44h11M26 12h12'/%3E%3C/svg%3E")}
#managerActionMenu.open #managerFixturesOption{--manager-menu-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23b63cff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='12' y='14' width='40' height='38' rx='4'/%3E%3Cpath d='M20 8v12M44 8v12M12 26h40M22 36h4M32 36h4M42 36h4M22 44h4M32 44h4'/%3E%3C/svg%3E")}
#managerActionMenu.open #managerEconomyOption{--manager-menu-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23b63cff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='27' cy='16' rx='17' ry='7'/%3E%3Cpath d='M10 16v24c0 4 8 8 17 8 6 0 11-1 14-3M44 16v14'/%3E%3Ccircle cx='45' cy='42' r='12'/%3E%3Cpath d='M45 34v16M39 38h9a4 4 0 0 1 0 8h-9'/%3E%3C/svg%3E")}
#managerActionMenu.open #managerTransfersOption{--manager-menu-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23b63cff' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 22h34M34 12l10 10-10 10M54 42H20M30 32L20 42l10 10'/%3E%3C/svg%3E")}
#managerActionMenu.open #managerLineupOption{--manager-menu-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23b63cff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='32' cy='20' r='8'/%3E%3Cpath d='M18 54c2-12 10-18 14-18s12 6 14 18'/%3E%3Ccircle cx='16' cy='27' r='6'/%3E%3Ccircle cx='48' cy='27' r='6'/%3E%3Cpath d='M6 54c2-9 7-14 14-14M44 40c7 0 12 5 14 14'/%3E%3C/svg%3E")}
#managerActionMenu.open #managerTrophiesOption{--manager-menu-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23b63cff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12h24v10c0 11-5 18-12 18s-12-7-12-18z'/%3E%3Cpath d='M20 18h-8c0 8 4 14 10 15M44 18h8c0 8-4 14-10 15M32 40v10M22 54h20M26 24h12'/%3E%3C/svg%3E")}
#managerActionMenu.open #managerStatsInfoOption{--manager-menu-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23b63cff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='32' cy='32' r='22'/%3E%3Cpath d='M32 30v14'/%3E%3Ccircle cx='32' cy='21' r='1.5' fill='%23b63cff'/%3E%3C/svg%3E")}
#managerActionMenu.open #managerOptionsOption{--manager-menu-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23b63cff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='32' cy='32' r='7'/%3E%3Cpath d='M32 8v8M32 48v8M8 32h8M48 32h8M15 15l6 6M43 43l6 6M49 15l-6 6M21 43l-6 6'/%3E%3C/svg%3E")}
#managerActionMenu.open #managerAbortOption{--manager-menu-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23b63cff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M32 8l26 46H6z'/%3E%3Cpath d='M32 24v14'/%3E%3Ccircle cx='32' cy='46' r='1.5' fill='%23b63cff'/%3E%3C/svg%3E")}

@media(max-aspect-ratio:4/5){
  #managerActionMenu.open #managerActionList{grid-auto-rows:minmax(62px,max-content)!important;gap:8px!important;padding:12px 10px 14px!important}
  #managerActionMenu.open #managerActionList button{grid-template-columns:68px minmax(0,1fr) 34px!important;gap:10px!important;height:62px!important;min-height:62px!important;padding:0 10px 0 8px!important;font-size:18px!important;letter-spacing:.09em}
  #managerActionMenu.open #managerActionList button:before{width:50px;height:48px;background-size:32px 32px,auto;font-size:17px}
  #managerActionMenu.open #managerActionList button:after{width:12px;height:12px;border-width:0 4px 4px 0}
}

/* Squad form dots below player cards */
#managerTeamPage .formation-player{overflow:visible!important}
#managerTeamPage .formation-form-dot{left:50%!important;right:auto!important;top:auto!important;bottom:-13px!important;transform:translateX(-50%)!important;width:15px!important;height:15px!important;min-width:15px!important;min-height:15px!important;max-width:15px!important;max-height:15px!important;margin:0!important;z-index:9!important}
#managerTeamPage .manager-bench-chip{position:relative;min-height:52px!important;height:auto!important;overflow:hidden}
#managerTeamPage .manager-bench-chip .daily-form-dot{position:static!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;transform:none!important;margin:0!important;z-index:auto!important}
#managerTeamPage .bench-chip-rating{display:grid!important;grid-template-columns:auto minmax(0,1fr);gap:1px 4px;align-items:center;min-width:0;color:#ffdd45!important;line-height:1!important}
#managerTeamPage .bench-chip-rating>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#managerTeamPage .bench-chip-rating .bench-form-ovr{grid-column:2;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-style:normal;font-size:9px;line-height:1}
#managerTeamPage .bench-form-ovr.up{color:#26da48}
#managerTeamPage .bench-form-ovr.down{color:#ff6262}
@media(max-aspect-ratio:4/5){
  #managerTeamPage .formation-form-dot{bottom:-12px!important;width:14px!important;height:14px!important;min-width:14px!important;min-height:14px!important}
  #managerTeamPage .manager-bench-chip{min-height:48px!important;height:auto!important}
  #managerTeamPage .bench-chip-rating .bench-form-ovr{font-size:8.5px}
}

/* Keep the bench below the pitch. The pitch may be taller than the viewport, so the squad list scrolls. */
#managerTeamPage #managerTeamSquadList{height:100%!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:none!important;-ms-overflow-style:none!important;-webkit-overflow-scrolling:touch;touch-action:pan-y}
#managerTeamPage #managerTeamSquadList::-webkit-scrollbar{width:0!important;height:0!important;display:none!important}
#managerTeamPage .manager-squad-layout{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;height:auto!important;min-height:0!important}
#managerTeamPage .manager-formation-pane{display:block!important;flex:0 0 auto!important;height:auto!important;min-height:0!important;overflow:visible!important}
#managerTeamPage .team-formation{flex:0 0 auto!important;margin-bottom:0!important}
#managerTeamPage .manager-roster-pane{position:relative!important;z-index:auto!important;display:block!important;flex:0 0 auto!important;align-content:start!important;width:100%!important;max-height:none!important;overflow:visible!important;background:transparent!important;margin-top:8px!important}
#managerTeamPage .manager-bench-tray{display:block!important;width:100%!important;min-height:0!important}
#managerTeamPage .manager-bench-strip{display:grid!important;width:100%!important;gap:6px!important;padding:0 0 8px!important;overflow:visible!important}
@media(max-aspect-ratio:4/5){
  #managerTeamPage .manager-squad-layout{gap:8px!important}
  #managerTeamPage .manager-roster-pane{margin-top:8px!important}
  #managerTeamPage .manager-bench-strip{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))!important}
}

/* Desktop manager menu must scroll with mouse/trackpad. */
@media(min-aspect-ratio:4/5){
  #managerActionMenu.open{overflow:hidden!important}
  #managerActionMenu.open #managerActionList{
    height:auto!important;
    max-height:calc(100dvh - 150px)!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain;
    scrollbar-width:thin!important;
    scrollbar-color:#9a25ff rgba(9,0,18,.86)!important;
    padding-right:18px!important;
  }
  #managerActionMenu.open #managerActionList::-webkit-scrollbar{width:10px!important;height:10px!important}
  #managerActionMenu.open #managerActionList::-webkit-scrollbar-track{background:rgba(9,0,18,.86)}
  #managerActionMenu.open #managerActionList::-webkit-scrollbar-thumb{background:#9a25ff;border:2px solid rgba(9,0,18,.86);border-radius:999px}
}

/* Fixture odds: show only percentage, without framed pills. */
.fixture-odds-line .odds-percent{color:#fff!important;font:900 11px/1 "Rajdhani","Arial Narrow",Arial,sans-serif!important;font-style:normal!important;text-shadow:1px 1px #000!important}
.manager-last .fixture-odds-line span:not(:first-child),.manager-round .fixture-odds-line span:not(:first-child){border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:1px 0!important}
@media(max-aspect-ratio:4/5){
  .fixture-odds-line .odds-percent{font-size:9.5px!important}
}

/* Desktop squad page: keep the pitch below the action buttons. */
@media(min-aspect-ratio:4/5){
  #managerTeamPage .manager-squad-top-menu{flex:0 0 auto!important;margin-bottom:8px!important}
  #managerTeamPage .manager-squad-top-menu + .manager-formation-pane{padding-top:58px!important}
}

/* Large round waiting panel. */
.manager-playoff.manager-waiting-card{
  position:relative;
  display:grid!important;
  place-items:center;
  gap:clamp(5px,.7vw,10px);
  min-height:clamp(126px,13vw,190px);
  overflow:hidden;
  padding:clamp(14px,1.5vw,24px) clamp(14px,3vw,56px)!important;
  border:3px solid #9a25ff!important;
  border-radius:32px!important;
  background:linear-gradient(180deg,rgba(6,1,16,.98),rgba(12,2,28,.98) 50%,rgba(5,1,14,.98))!important;
  color:#fff!important;
  text-align:center!important;
  font-family:"Rajdhani","Arial Narrow",Arial,sans-serif!important;
  text-shadow:2px 3px #000!important;
  box-shadow:none!important;
}
.manager-playoff.manager-waiting-card:before{
  display:none;
}
.manager-playoff.manager-waiting-card:after{
  display:none;
}
.manager-waiting-title,.manager-waiting-round,.manager-waiting-ready,.manager-waiting-for{position:relative;z-index:1}
.manager-waiting-title{
  display:grid;
  grid-template-columns:minmax(28px,1fr) auto minmax(28px,1fr);
  align-items:center;
  gap:clamp(10px,1.4vw,24px);
  width:min(980px,100%);
  color:#ffdd00!important;
  font:900 clamp(24px,2.25vw,42px)/1 "Rajdhani","Arial Narrow",Arial,sans-serif!important;
  letter-spacing:.045em;
  text-transform:uppercase;
  text-shadow:2px 4px #000!important;
}
.manager-waiting-title:before,.manager-waiting-title:after{
  content:"";
  height:3px;
  background:linear-gradient(90deg,transparent,rgba(189,58,255,.98),rgba(189,58,255,.22));
  box-shadow:none;
}
.manager-waiting-title:after{transform:scaleX(-1)}
.manager-waiting-round{
  color:#fff!important;
  font:900 clamp(16px,1.35vw,26px)/1.05 "Rajdhani","Arial Narrow",Arial,sans-serif!important;
  letter-spacing:.03em;
}
.manager-waiting-round span{color:#c974ff!important;text-shadow:2px 3px #000!important}
.manager-waiting-ready{
  color:#fff!important;
  font:900 clamp(16px,1.35vw,26px)/1.05 "Rajdhani","Arial Narrow",Arial,sans-serif!important;
  letter-spacing:.035em;
}
.manager-waiting-for{
  display:grid;
  grid-template-columns:minmax(28px,1fr) auto minmax(28px,1fr);
  align-items:center;
  gap:clamp(8px,1.2vw,20px);
  width:min(720px,100%);
  color:#fff!important;
  font:900 clamp(15px,1.25vw,24px)/1.05 "Rajdhani","Arial Narrow",Arial,sans-serif!important;
  letter-spacing:.025em;
}
.manager-waiting-for:before,.manager-waiting-for:after{
  content:"";
  height:2px;
  background:linear-gradient(90deg,transparent,rgba(189,58,255,.9));
  box-shadow:none;
}
.manager-waiting-for:after{transform:scaleX(-1)}
.manager-waiting-for strong{color:#c974ff!important;font:inherit!important;text-shadow:2px 3px #000!important}
@media(max-aspect-ratio:4/5){
  .manager-playoff.manager-waiting-card{
    min-height:150px;
    gap:7px;
    padding:18px 12px!important;
    border-width:2px!important;
    border-radius:20px!important;
    box-shadow:none!important;
  }
  .manager-waiting-title{gap:10px;font-size:clamp(25px,8.4vw,38px)!important;letter-spacing:.035em}
  .manager-waiting-title:before,.manager-waiting-title:after{height:3px}
  .manager-waiting-round{font-size:clamp(18px,6vw,28px)!important}
  .manager-waiting-ready{font-size:clamp(18px,6vw,28px)!important}
  .manager-waiting-for{gap:10px;font-size:clamp(17px,5.6vw,26px)!important}
  .manager-waiting-for:before,.manager-waiting-for:after{height:2px}
}

/* Loading screen animated panel */
.loading-screen{
  background:#000!important;
}
.loading-screen:before{
  background:#000!important;
}
.loading-screen .loading-card{
  position:relative;
  z-index:1;
  display:grid!important;
  grid-template-rows:auto auto auto;
  place-items:center;
  align-content:center;
  gap:clamp(16px,2.2vw,30px);
  width:min(88vw,1060px)!important;
  min-height:clamp(160px,22vw,280px);
  padding:clamp(20px,3vw,46px) clamp(18px,5vw,76px)!important;
  overflow:visible;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.loading-screen .loading-card:before{
  display:none;
}
.loading-screen .loading-card:after{
  display:none;
}
.loading-screen .loading-title,
.loading-screen .loading-bar,
.loading-screen .loading-text{
  position:relative!important;
  z-index:1;
  width:auto!important;
  height:auto!important;
  overflow:visible!important;
  clip:auto!important;
  clip-path:none!important;
  white-space:nowrap!important;
}
.loading-screen .loading-title{
  color:#ffdd00!important;
  font:900 clamp(42px,5.4vw,86px)/.9 "Rajdhani","Arial Narrow",Arial,sans-serif!important;
  letter-spacing:.12em;
  text-shadow:0 0 14px rgba(255,221,0,.35),2px 4px #000!important;
}
.loading-screen .loading-bar{
  width:min(760px,100%)!important;
  height:clamp(24px,2.2vw,34px)!important;
  overflow:hidden!important;
  border:3px solid #9a25ff!important;
  border-radius:8px;
  background:linear-gradient(180deg,rgba(6,1,19,.98),rgba(1,0,6,.98))!important;
  box-shadow:0 0 20px rgba(154,37,255,.55),inset 0 0 18px rgba(154,37,255,.22)!important;
}
.loading-screen .loading-bar span{
  width:42%;
  height:100%;
  background:linear-gradient(90deg,#e9ff45,#7cff35,#23d83f,#e9ff45)!important;
  clip-path:polygon(0 0,92% 0,100% 50%,92% 100%,0 100%);
  box-shadow:0 0 18px rgba(124,255,53,.82),0 0 34px rgba(38,218,72,.55);
  animation:loadingEnergySweep 1.35s ease-in-out infinite!important;
}
.loading-screen .loading-text{
  color:#fff!important;
  font:900 clamp(18px,2.1vw,32px)/1 "Rajdhani","Arial Narrow",Arial,sans-serif!important;
  letter-spacing:.28em;
  text-shadow:0 0 12px rgba(255,255,255,.38),1px 2px #000!important;
  animation:loadingTextPulse 1.1s ease-in-out infinite;
}
@keyframes loadingEnergySweep{
  0%{transform:translateX(-112%)}
  50%{transform:translateX(78%)}
  100%{transform:translateX(250%)}
}
@keyframes loadingPanelScan{
  0%{transform:translateX(-55%)}
  100%{transform:translateX(55%)}
}
@keyframes loadingTextPulse{
  0%,100%{opacity:.65;filter:brightness(.9)}
  50%{opacity:1;filter:brightness(1.35)}
}
@media(max-aspect-ratio:4/5){
  .loading-screen .loading-card{
    width:92vw!important;
    min-height:clamp(170px,52vw,250px);
    padding:24px 18px!important;
    border-radius:20px;
  }
  .loading-screen .loading-title{
    font-size:clamp(34px,11vw,54px)!important;
  }
  .loading-screen .loading-bar{
    width:100%!important;
    height:26px!important;
  }
  .loading-screen .loading-text{
    font-size:clamp(16px,5.2vw,24px)!important;
    letter-spacing:.18em;
  }
}
/* Login screen redesign */
#auth{
  background:
    radial-gradient(circle at 50% 45%,rgba(92,24,166,.24),transparent 42%),
    linear-gradient(180deg,#040308,#090012 62%,#030207)!important;
}
#auth:before{
  background:
    radial-gradient(circle at 50% 50%,rgba(154,37,255,.15),transparent 46%),
    #05030a!important;
}
#auth .panel.box{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  display:grid!important;
  gap:clamp(18px,2.1vw,32px)!important;
  width:min(82vw,980px)!important;
  max-width:none!important;
  padding:clamp(48px,6vw,90px) clamp(48px,6.8vw,110px)!important;
  transform:translate(-50%,-50%)!important;
  border:2px solid #9a25ff!important;
  border-radius:42px!important;
  background:linear-gradient(180deg,rgba(10,3,24,.94),rgba(4,1,12,.98))!important;
  box-shadow:0 0 0 1px rgba(154,37,255,.26),0 0 36px rgba(154,37,255,.46),inset 0 0 44px rgba(154,37,255,.12)!important;
}
#auth .panel.box form{
  display:grid!important;
  gap:clamp(18px,2.1vw,32px)!important;
}
#auth .panel.box form.hide{
  display:none!important;
}
#auth #showLogin.hide{
  display:none!important;
}
#auth #authMsg:empty{
  display:none!important;
  min-height:0!important;
  margin:0!important;
}
#auth input{
  height:clamp(74px,9vw,116px)!important;
  padding:0 clamp(18px,2.2vw,34px) 0 clamp(92px,9vw,144px)!important;
  border:2px solid #9a25ff!important;
  border-radius:14px!important;
  background-color:rgba(7,3,18,.82)!important;
  background-repeat:no-repeat!important;
  background-position:clamp(24px,3vw,40px) center!important;
  background-size:clamp(42px,4.8vw,70px) clamp(42px,4.8vw,70px)!important;
  color:#fff!important;
  font:900 clamp(24px,3.2vw,45px)/1 "Rajdhani","Arial Narrow",Arial,sans-serif!important;
  letter-spacing:.025em!important;
  text-shadow:1px 2px #000!important;
  box-shadow:0 0 16px rgba(154,37,255,.28),inset 0 0 28px rgba(154,37,255,.08)!important;
}
#auth input[name="username"]{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%239a25ff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='7' width='48' height='50' rx='8' opacity='.22'/%3E%3Ccircle cx='32' cy='24' r='9'/%3E%3Cpath d='M17 48c3-12 11-18 15-18s12 6 15 18'/%3E%3C/svg%3E")!important;
}
#auth input[name="password"]{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%239a25ff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='7' width='48' height='50' rx='8' opacity='.22'/%3E%3Crect x='18' y='28' width='28' height='21' rx='3'/%3E%3Cpath d='M23 28v-8c0-6 4-10 9-10s9 4 9 10v8'/%3E%3Ccircle cx='32' cy='38' r='2'/%3E%3Cpath d='M32 40v4'/%3E%3C/svg%3E")!important;
}
#auth input::placeholder{
  color:rgba(255,255,255,.88)!important;
  opacity:1!important;
}
#auth input:focus{
  outline:0!important;
  border-color:#c56cff!important;
  box-shadow:0 0 0 1px rgba(197,108,255,.5),0 0 24px rgba(154,37,255,.58),inset 0 0 28px rgba(154,37,255,.12)!important;
}
#auth button{
  height:clamp(68px,8.2vw,104px)!important;
  border:2px solid #9a25ff!important;
  border-radius:12px!important;
  background:linear-gradient(90deg,rgba(54,10,112,.92),rgba(96,22,190,.92),rgba(54,10,112,.92))!important;
  color:#fff!important;
  font:900 clamp(24px,3vw,43px)/1 "Rajdhani","Arial Narrow",Arial,sans-serif!important;
  letter-spacing:.12em!important;
  text-align:center!important;
  text-shadow:1px 3px #000!important;
  box-shadow:0 0 20px rgba(154,37,255,.46),inset 0 0 36px rgba(154,37,255,.22)!important;
}
#auth #showCreate,
#auth #showLogin{
  background:rgba(7,3,18,.72)!important;
  box-shadow:0 0 14px rgba(154,37,255,.3),inset 0 0 24px rgba(154,37,255,.08)!important;
}
#auth button:hover,
#auth button:focus-visible{
  outline:0!important;
  border-color:#d99bff!important;
  background:linear-gradient(90deg,rgba(70,14,145,.98),rgba(125,35,230,.98),rgba(70,14,145,.98))!important;
}
#auth #authMsg{
  min-height:18px!important;
  margin-top:-8px;
  color:#ffdd45!important;
  font:900 clamp(12px,1.2vw,18px)/1.2 "Rajdhani","Arial Narrow",Arial,sans-serif!important;
  letter-spacing:.05em;
  text-shadow:1px 2px #000!important;
}
@media(max-aspect-ratio:4/5){
  #auth .panel.box{
    width:92vw!important;
    padding:28px 20px!important;
    gap:14px!important;
    border-radius:24px!important;
  }
  #auth .panel.box form{gap:14px!important}
  #auth input{
    height:62px!important;
    padding-left:74px!important;
    background-position:18px center!important;
    background-size:42px 42px!important;
    font-size:22px!important;
    border-radius:10px!important;
  }
  #auth button{
    height:58px!important;
    font-size:20px!important;
    border-radius:10px!important;
  }
}

/* Login input readability and autofill color */
#auth input{
  background-color:#fff!important;
  color:#050407!important;
  text-align:left!important;
  line-height:normal!important;
  text-shadow:none!important;
  caret-color:#050407!important;
  -webkit-text-fill-color:#050407!important;
}
#auth input::placeholder{
  color:#1c1724!important;
  text-shadow:none!important;
}
#auth input:-webkit-autofill,
#auth input:-webkit-autofill:hover,
#auth input:-webkit-autofill:focus,
#auth input:autofill{
  -webkit-text-fill-color:#050407!important;
  caret-color:#050407!important;
  box-shadow:0 0 0 1000px #fff inset,0 0 16px rgba(154,37,255,.28),inset 0 0 28px rgba(154,37,255,.08)!important;
  transition:background-color 9999s ease-out 0s!important;
}
@media(max-aspect-ratio:4/5){
  #auth input{
    padding:0 16px 0 58px!important;
    background-position:14px center!important;
    background-size:32px 32px!important;
  }
}

/* Manager home: keep waiting text and main actions clear of panel/menu edges. */
.manager-playoff.manager-waiting-card{
  overflow:visible!important;
  padding-bottom:clamp(14px,1.5vw,24px)!important;
  margin-bottom:4px!important;
}
.manager-main-actions{
  position:relative;
  z-index:4;
  margin:2px 0 12px!important;
}
#managerSeason{
  padding-bottom:calc(18px + env(safe-area-inset-bottom,0px))!important;
}
.manager-home-layout{
  display:grid;
  gap:10px;
  min-height:0;
}
.manager-home-main{
  display:grid;
  align-content:start;
  gap:10px;
  min-height:0;
}
.manager-table-panel{
  display:grid;
  gap:5px;
  min-height:0;
}
.manager-table-title{
  color:#ffdd45;
  font:900 13px/1 "Rajdhani","Arial Narrow",Arial,sans-serif;
  letter-spacing:.08em;
  text-align:center;
  text-shadow:1px 2px #000;
}
@media(min-aspect-ratio:4/5){
  #manager .manager-panel{
    padding-bottom:14px!important;
  }
}
@media(min-width:900px) and (min-aspect-ratio:4/5){
  #manager .manager-panel>.manager-home:not(.hide){
    overflow:hidden!important;
  }
  #managerHome:not(.hide){
    grid-template-rows:minmax(0,1fr)!important;
    gap:0!important;
  }
  #managerSeason{
    height:100%;
    min-height:0;
    overflow:hidden!important;
    padding-bottom:0!important;
  }
  #managerSeason .manager-home-layout{
    grid-template-columns:minmax(300px,.78fr) minmax(0,1.22fr);
    grid-template-rows:minmax(0,1fr);
    align-items:stretch;
    gap:12px;
    height:100%;
    min-height:0;
  }
  #managerSeason .manager-home-main{
    min-height:0;
    overflow:auto;
    padding:0 2px 12px 0;
    overscroll-behavior:contain;
    scrollbar-width:none;
  }
  #managerSeason .manager-home-main::-webkit-scrollbar{
    width:0;
    height:0;
  }
  #managerSeason .manager-table-panel{
    grid-template-rows:auto minmax(0,1fr);
    overflow:hidden;
    padding:8px;
    border:2px solid rgba(154,37,255,.72);
    border-radius:6px;
    background:linear-gradient(180deg,rgba(10,2,28,.96),rgba(3,0,10,.98));
    box-shadow:0 0 0 1px rgba(154,37,255,.18),0 0 18px rgba(154,37,255,.22),inset 0 1px rgba(255,255,255,.08);
  }
  #managerSeason .manager-table{
    align-content:start;
    height:100%;
    min-height:0;
    overflow:auto!important;
    padding-right:2px;
    touch-action:pan-y;
  }
}
@media(max-aspect-ratio:4/5){
  .manager-playoff.manager-waiting-card{
    padding-bottom:26px!important;
  }
  .manager-main-actions{
    margin-bottom:10px!important;
  }
  #managerSeason .manager-home-layout{
    display:block!important;
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
  }
  #managerSeason .manager-home-main{
    display:block!important;
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
  }
  #managerSeason .manager-home-main>*+*{
    margin-top:10px!important;
  }
  #managerSeason .manager-main-actions{
    position:static!important;
    z-index:auto!important;
    margin:10px 0 12px!important;
  }
  #managerSeason .manager-table-panel{
    display:block!important;
    height:auto!important;
    min-height:0!important;
    margin-top:12px!important;
    overflow:visible!important;
  }
  #managerSeason .manager-table-title{
    margin-bottom:5px!important;
  }
  #managerSeason .manager-table{
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
  }
}
#thinkingToast{
  display:none!important;
}
