.desk-amount-compact{display:none}
.desk-amount-full{display:inline-flex;align-items:baseline;gap:3px}
.bid-back{display:none}
/* A phone squad screen: a compact match centre, with tap-based team changes. */
.mobile-team-head,.mobile-team-links,.mobile-team-tip{display:none}
@media(max-width:680px){
 html body{background:#131313;color:#f1f1f1}
 html body::before{background:radial-gradient(ellipse at 45% 0,#3d3d3d66,transparent 65%);opacity:1}
 html body #workspace{padding:0 14px calc(94px + env(safe-area-inset-bottom,0px));min-height:calc(100svh - 62px)}
 html body #page-uebersicht{padding:0}
 .mobile-team-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:21px 2px 14px}
 .mobile-team-head .mobile-team-kicker{display:block;font:600 9px/1.3 var(--font-ui);letter-spacing:.12em;text-transform:uppercase;color:#b1b1b1;max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .mobile-team-head h1{font:italic 750 38px/.95 var(--font-display);letter-spacing:.01em;margin:7px 0 0;color:#f2f2f2;text-transform:uppercase}
 .mobile-team-edit{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:0 13px;border:1px solid #d7d7d73b;border-radius:12px;background:#eaeaea10;color:#e8e8e8;font:600 11px/1 var(--font-ui);cursor:pointer}
 .mobile-team-edit svg{height:15px;width:15px}
 html body .home .home-overview{display:block;padding:0;margin:0 0 15px;background:none;border:0;min-height:0}
 html body .home .home-overview .overview-title{display:none}
 html body .home .home-overview #status-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;min-width:0;max-width:none;width:100%;padding:10px 14px;border:1px solid #cdcdcd1a;border-radius:12px;background:#2e2e2e70}
 html body .home .home-overview #status-facts>div{padding:0 10px;gap:3px;grid-template-rows:auto auto;align-items:center;border-color:#dadada1a}
 html body .home .home-overview #status-facts>div:first-child{padding-left:0}
 html body .home .home-overview #status-facts>div:last-child{padding-right:0}
 html body .home .home-overview #status-facts dt{font:500 8px/1.3 var(--font-ui);color:#a8a8a8;letter-spacing:.02em}
 html body .home .home-overview #status-facts dd{font:650 19px/1.1 var(--font-ui);color:#f2f2f2;letter-spacing:-.4px}
 html body .home .home-overview #status-facts em{display:none}
 html body .home .home-overview #status-facts .overview-rank{min-height:24px;min-width:44px}
 html body .home-grid{display:flex;flex-direction:column;gap:0;min-height:0;height:auto;background:none;--squad-pitch-height:480px;--squad-scene-height:480px;--squad-scene-width:145%}
 html body .home-grid:has(.pitch .formation-row:is([data-count="5"],[data-count="6"])){--squad-pitch-height:580px;--squad-scene-height:580px}
 html body .home .lineup-panel{position:relative;inset:auto;min-height:0;width:100%;margin:0;padding:0;border:1px solid #b8b8b833;border-radius:17px;background:#2b2b2b;box-shadow:0 10px 30px #00000033;overflow:hidden}
 html body .home .lineup-panel::before{inset:0;border-radius:16px;background-color:#2c2c2c;background-image:linear-gradient(180deg,#10101022,transparent 34%,#1010101a 80%,#1c1c1c),var(--squad-stadium-image,url('assets/stadium-original-plus-v6.png'));background-size:100% var(--squad-scene-height),var(--squad-scene-width) var(--squad-scene-height);box-shadow:inset 0 0 30px #0d0d0d33}
 html body .home .lineup-panel .elf-stage{height:var(--squad-pitch-height);min-height:0;padding:0}
 html body .home .lineup-panel .pitch{width:100%;height:var(--squad-pitch-height);min-height:0;padding:70px 3px 25px;gap:4px;border:0;border-radius:0;justify-content:space-between;overflow:visible}
 html body .home .lineup-panel .pitch:has(.formation-row:is([data-count="5"],[data-count="6"])){height:var(--squad-pitch-height)}
 html body .home .lineup-panel .formation-row[data-line],html[data-cards=c1] body .home .lineup-panel .formation-row[data-line]{--shield-width:min(89px,calc((100vw - 43px) / 4));width:100%;gap:0;flex-wrap:nowrap}
 html[data-cards=c1] body .home .lineup-panel .formation-row:is([data-count="1"],[data-count="2"]){width:65%}
 html[data-cards=c1] body .home .lineup-panel .formation-row:is([data-count="5"],[data-count="6"]){width:280px;max-width:100%;flex-wrap:wrap;gap:2px 6px;justify-content:center}
 html[data-cards=c1] body .home .lineup-panel .formation-row[data-line] .shield-card{width:var(--shield-width);max-width:none;touch-action:pan-y}
 html body .home .lineup-panel .pitch-lineup-summary{left:12px;right:auto;top:10px;bottom:auto;min-height:27px;max-width:calc(100% - 24px);padding:5px 8px;gap:6px;border-radius:6px;border-color:#e5e5e530;background:#1c1c1cd9;color:#c6c6c6;font-size:9px;line-height:15px;box-shadow:none}
 html body .home .lineup-panel .pitch-lineup-summary b{color:#f5f5f5}
 html body .home .reserve-bench,html body .home .reserve-bench.is-collapsed{--bench-card:208px;--bench-width:100%;position:relative;inset:auto;display:flex;flex-direction:column;width:100%;max-width:100%;margin:0;padding:8px 10px 11px;gap:3px;background:#1c1c1ce8;border:0;border-top:1px solid #bababa25;border-radius:0;box-shadow:none}
 html body .home .reserve-bench::before{display:none}
 html body .home .reserve-bench .reserve-heading{min-height:44px;height:44px;background:none;border:0;box-shadow:none;border-radius:0;padding:0 5px;gap:10px}
 html body .home .reserve-bench .reserve-heading h3{font:600 19px var(--font-display);letter-spacing:.03em;color:#e7e7e7}
 html body .home .reserve-bench .reserve-heading>span{font-size:10px;color:#a0a0a0}
 html body .home .reserve-bench .reserve-toggle{padding-right:5px;min-height:44px}
 html body .home .reserve-bench .reserve-navigation{display:none}
 html body .home .reserve-bench.has-overflow:not(.is-collapsed) .reserve-toggle{width:100%}
 html body .home .reserve-bench .reserve-list{grid-auto-columns:var(--bench-card);gap:8px;padding:0 0 4px;scroll-padding-inline:0;scrollbar-width:none}
 html body .home .reserve-bench .reserve-list>.reserve-player-card{padding:0;touch-action:pan-x pan-y}
 .mobile-team-tip{display:flex;align-items:center;justify-content:center;gap:5px;color:#9e9e9e;font:400 10px/1.5 var(--font-ui);padding:10px 5px 0;margin:0}
 .mobile-team-tip svg{width:13px;height:13px}
 .mobile-team-links{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:17px 0 20px;width:100%}
 .mobile-team-links button{display:flex;align-items:center;gap:11px;min-height:65px;padding:12px;border:1px solid #d2d2d223;border-radius:12px;background:linear-gradient(125deg,#303030,#242424);color:#e4e4e4;text-align:left;font-family:var(--font-ui);cursor:pointer}
 .mobile-team-links svg{width:20px;height:20px;flex:none;color:#dfdfdf}
 .mobile-team-links span{display:grid;gap:4px;min-width:0}.mobile-team-links b{font-size:12px;font-weight:600}.mobile-team-links small{font-size:9px;color:#a4a4a4}
 html body .home-grid>.news-handle,html body .home #drawer-league,html body .home #transfers-panel,html body .home .home-side>.drawer-head,html body .home .home-side>.drawer-tabs,html body .home .home-transfers{display:none}
 html body .home .home-side{position:static;inset:auto;display:block;width:100%;max-width:100%;height:auto;max-height:none;transform:none;margin:0;padding:0;overflow:visible;border:0;background:none;box-shadow:none;opacity:1}
 html body .home .home-side .squad-news{display:block;padding:0;border:0;background:none;box-shadow:none}
 html body .home .home-side .side-title{font:600 23px var(--font-display);color:#eaeaea;text-transform:none;letter-spacing:0}
 html body .home .home-side .side-panel-heading{margin-bottom:10px;align-items:center}
 html body #squad-news-panel .news-card{min-height:95px;border-radius:11px}
 html body #squad-news-panel .news-card.is-featured{height:166px}
 html body .ke-footer[data-footer-context=app]{display:none}
 html body .lineup-toast{bottom:calc(84px + env(safe-area-inset-bottom,0px));max-width:calc(100vw - 28px);font-size:12px}
 .mobile-team-edit:focus-visible,.mobile-team-links button:focus-visible{outline:2px solid #ededed;outline-offset:3px}
 /* Fast, thumb-sized team actions use the existing lineup validation and save path. */
 #window[data-window=mobile-lineup]{border:1px solid #89898959;border-radius:23px 23px 0 0;background:#1f1f1f;color:#ececec;max-height:88svh;width:100%;max-width:100%;margin:auto 0 0;inset:auto 0 0;box-shadow:0 -16px 65px #00000066}
 #window[data-window=mobile-lineup] .window-heading{min-height:66px;border-color:#bbbbbb26;background:#272727;padding:14px 19px}
 #window[data-window=mobile-lineup] .window-heading .wordmark{display:none}
 #window[data-window=mobile-lineup] #window-title{font:600 23px var(--font-display);text-transform:none;letter-spacing:.01em}
 #window[data-window=mobile-lineup] .window-body{padding:18px 19px calc(22px + env(safe-area-inset-bottom,0px))}
 .mobile-squad-sheet,.mobile-squad-picker{font-family:var(--font-ui);color:#efefef}
 .mobile-squad-hero{display:flex;align-items:center;gap:14px;margin:0 0 18px}
 .mobile-squad-photo{display:grid;place-items:center;flex:none;width:68px;height:77px;overflow:hidden;border-radius:10px;background:linear-gradient(135deg,#585858,#2b2b2b);color:#cecece;font:650 28px var(--font-display)}
 .mobile-squad-photo img{width:100%;height:100%;object-fit:contain;object-position:center bottom}
 .mobile-squad-identity{flex:1;min-width:0}.mobile-squad-identity h3{font:650 28px/1 var(--font-display);margin:0 0 7px;color:#f3f3f3}.mobile-squad-identity p{margin:0;font-size:11px;line-height:1.6;color:#b4b4b4}
 .mobile-squad-average{font:650 26px/1 var(--font-display);text-align:right;white-space:nowrap}.mobile-squad-average small{display:block;font:400 9px/1.5 var(--font-ui);color:#adadad;margin-top:5px}
 .mobile-squad-primary{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:23px}
 .mobile-squad-primary button{flex:1;min-width:120px;min-height:46px;padding:10px 12px;border:1px solid #a4a4a43b;border-radius:10px;background:#e9e9e930;color:#ececec;font:600 12px/1.4 var(--font-ui)}
 .mobile-squad-primary button[data-bench]{background:#b0b0b012;color:#c8c8c8}
 .mobile-squad-sheet h4,.mobile-squad-group h3{font:600 11px/1.4 var(--font-ui);text-transform:uppercase;letter-spacing:.075em;color:#afafaf;margin:18px 0 10px}
 .mobile-squad-candidates,.mobile-squad-group{display:grid;gap:8px}
 .mobile-squad-candidate,.mobile-squad-pick{display:flex;align-items:center;gap:10px;min-height:66px;width:100%;padding:9px 11px;border:1px solid #b7b7b72b;border-radius:11px;background:#38383870;color:#f1f1f1;text-align:left;font-family:var(--font-ui)}
 .mobile-squad-candidate img,.mobile-squad-pick img{width:39px;height:45px;object-fit:contain;flex:none;background:#4a4a4a60;border-radius:5px}
 .mobile-squad-candidate>span,.mobile-squad-pick>span{flex:1;min-width:0;display:grid;gap:4px}
 .mobile-squad-candidate strong,.mobile-squad-pick strong{font:600 17px/1.1 var(--font-display);overflow-wrap:anywhere}
 .mobile-squad-candidate small,.mobile-squad-pick small{color:#aeaeae;font-size:10px;line-height:1.4}
 .mobile-squad-candidate>b,.mobile-squad-pick>b{font:600 10px var(--font-ui);color:#e3e3e3;flex:none}
 .mobile-squad-note{font:400 11px/1.7 var(--font-ui);color:#ababab;padding-top:14px;margin:14px 0 0;border-top:1px solid #bcbcbc20}
 .mobile-squad-sheet button:disabled{opacity:.45}.mobile-squad-sheet button:focus-visible,.mobile-squad-picker button:focus-visible{outline:2px solid #ececec;outline-offset:2px}
}
@media(max-width:359px){.mobile-team-head h1{font-size:34px}.mobile-team-edit{padding-inline:10px}.mobile-team-head .mobile-team-kicker{max-width:170px}html body .home-grid{--squad-pitch-height:410px;--squad-scene-height:410px}html body .home .lineup-panel .pitch{padding-top:68px}.mobile-team-links button{padding:10px;gap:8px}.mobile-team-links small{font-size:8px}}
@media(max-width:680px){
 .mobile-squad-profile,button.mobile-squad-primary{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;width:100%;margin:0 0 10px;padding:11px 14px;border:1px solid #bcbcbc40;border-radius:11px;background:#eaeaea1a;color:#eeeeee;font:600 12px/1.4 var(--font-ui)}
 button.mobile-squad-primary[data-bench]{background:#cccccc0a;color:#c2c2c2}
 .mobile-squad-eyebrow{display:block;font:500 9px/1.4 var(--font-ui);color:#b7b7b7;margin-bottom:5px}
 .mobile-squad-candidate>.mobile-squad-photo,.mobile-squad-pick>.mobile-squad-photo{flex:0 0 42px;width:42px;height:50px;display:grid;place-items:center}
 .mobile-squad-candidate>.mobile-squad-photo img,.mobile-squad-pick>.mobile-squad-photo img{width:100%;height:100%}
 .mobile-squad-candidate>.mobile-squad-average,.mobile-squad-pick>.mobile-squad-average{display:block;flex:0 0 42px;width:42px;text-align:right;font-size:20px}
 .mobile-squad-change{font-size:9px;line-height:1.5;color:#d5d5d5}
 .mobile-squad-group>header{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#a7a7a7}.mobile-squad-group>header h3{margin-bottom:14px}
 .mobile-squad-list{display:grid;gap:8px}
 .mobile-squad-pick>.mobile-squad-chevron{display:block;flex:0 0 8px;color:#bdbdbd;font-size:24px}
 .mobile-squad-empty{font-size:12px;line-height:1.6;color:#b2b2b2;margin:10px 0}
}

@media(max-width:680px){
 html body.has-mobile-navigation #workspace{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))}
 #page-aufstellungen .bn-matchstrip{display:none}
 #page-aufstellungen .bn-preview{padding:10px 12px;margin:12px 0;border-radius:8px}
 #page-aufstellungen .bn-preview>span{display:none}
 html body .home .home-overview #status-facts>div:nth-child(2) dd::after{content:' Mio.';font-size:9px;font-weight:400;letter-spacing:0;color:#b3b3b3}
}

@media(max-width:680px){html body .home .reserve-bench.has-overflow .reserve-navigation{display:none}}
