/* Kickelf: one masthead, one team context, the football workspace. */
body{--bg:#080809;--panel:#101011;--line:#29292d;background:var(--bg)}
.masthead{height:76px;background:#0b0b0c;border-bottom:1px solid #252527}
.masthead-inner{height:100%;display:flex;align-items:center;gap:52px;padding:0 40px;max-width:1680px;margin:0 auto}
.masthead .wordmark{font-size:43px;letter-spacing:-1.4px;padding:0;line-height:1;transform:translateY(-1px)}
.masthead-nav{height:100%;display:flex;align-items:stretch;gap:27px}
.main-nav-link{font-size:13px;font-weight:500;position:relative;white-space:nowrap;color:#89898f;display:flex;align-items:center;gap:6px;height:100%;transition:color .15s}
.main-nav-link:hover{color:#e5e5e9}
.main-nav-link.active{color:#efeff1}
.main-nav-link.active::after{content:'';height:2px;position:absolute;bottom:-1px;left:0;right:0;background:#c8f25a}
.nav-unread{background:#2a2a2c;border:1px solid #353538;color:#a2a2aa;border-radius:3px;font-size:9px;font-weight:400;line-height:14px;min-width:15px;text-align:center}
.masthead-tools{margin-left:auto;display:flex;align-items:center;gap:20px;height:100%}
.command-search{display:flex;align-items:center;gap:11px;font-size:12px;color:#9a9aa2;height:40px}
.command-search .icon{width:17px;height:17px}
.command-search kbd{font:10px Inter,Arial,sans-serif;color:#73737d;border:1px solid #35353a;padding:2px 5px;border-radius:3px;margin-left:15px}
.masthead-rule{height:22px;width:1px;background:#2b2b2e}
.profile-trigger{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#242425;color:#c4c4cd;border:1px solid #49494b;font-size:10px;font-weight:500}
.nav-menu{display:none;color:#adadb6;place-items:center;width:38px;height:40px}
main{max-width:1680px;padding:0 40px}
.team-hero{height:175px;position:relative;isolation:isolate;overflow:hidden;margin:0 -2px}
.hero-art{position:absolute;right:0;top:0;bottom:0;width:83%;height:100%;object-fit:cover;object-position:right 44%;z-index:-3}
.team-hero::before{content:'';position:absolute;inset:0;z-index:-2;pointer-events:none;background:linear-gradient(90deg,#080809 1%,rgba(8,8,9,.96) 25%,rgba(8,8,9,.75) 39%,rgba(8,8,9,0) 68%),linear-gradient(0deg,#080809,rgba(8,8,9,0) 38%)}
.team-hero-content{height:100%;padding:30px 0 25px;position:relative}
.team-context{display:flex;align-items:center;gap:14px;font-size:11px;line-height:16px;color:#a5a5ad}
.team-context button{display:flex;align-items:center;gap:9px;font-size:11px;color:#bdbdc4}
.team-context .icon{width:10px;height:10px;color:#72727c}
.context-rule{height:10px;width:1px;background:#3c3c41}
.team-hero h1{font:700 36px/1.05 Inter,Arial,sans-serif;letter-spacing:-.8px;margin:13px 0 15px;color:#f1f1f2}
.team-state{display:flex;align-items:center;gap:22px;font-size:11px;color:#a0a0aa}
.team-state>button{display:flex;gap:5px;align-items:center;color:#d1a178;font-size:11px}
.team-state .icon{width:10px;height:10px}
.hero-signature{position:absolute;right:3px;bottom:23px;font-size:9px;letter-spacing:.08em;color:#b9bbc0}
.metrics{padding:5px 0 22px;background:none;border-top:0;border-bottom:1px solid #29292d;margin-bottom:24px;grid-template-columns:1fr 1fr 1fr 1fr}
.metrics>div{padding:0;border:0}
.metrics>div:not(:first-child){padding-left:26px}
.metrics>div>span{font-size:11px;color:#858590;margin-bottom:9px}
.metrics strong{font-size:30px;line-height:1.1;font-weight:450;letter-spacing:-.8px;color:#e5e5e9}
.metrics strong em{font-size:12px;color:#83838e;font-weight:400;margin-left:7px}
.metrics small{font-size:10px;margin-top:8px;color:#72727e}
.metrics small b{color:#6ad1c3;font-weight:400}
.metrics .score{color:#f1f1f3}
.dashboard-grid{gap:18px;grid-template-columns:234px minmax(0,1fr) 282px}
.roster-panel,.lineup-panel,.briefing-panel{border-color:#27272b;background:#0e0e10}
.panel-heading{background:#151516;border-color:#2a2a2d;min-height:43px;padding:0 15px}
.panel-heading h2{font-size:13px;letter-spacing:0;font-weight:500;color:#d7d7de}
.panel-heading>span{font:11px Inter,Arial,sans-serif;color:#74747f}
.pitch{background:#131315}
.pitch-caption{font-size:10px;letter-spacing:0;color:#848486}
.field-lines{stroke:#636365;opacity:.4}
.monitor-name{color:#c6c6d0;font-size:12px}
.monitor-row{background:#0f0f10;border-color:#222226}
.monitor-row:nth-child(even){background:#121213}
.monitor-row:hover{background:#222225}
.monitor-row.at-risk{background:#171512;box-shadow:inset 2px 0 #c0925f}
.monitor-row>b{color:#d8d8e1}
.monitor-labels{background:#0f0f10;border-color:#29292e;color:#878794}
.panel-footer{background:#111113;border-top:0;font-size:11px;color:#a1a1ae}
.news-source{font-size:9px;color:#838390}
.focus-story{background:#101012}
.focus-copy{background:linear-gradient(transparent,#101012 42%)}
.focus-copy h3{font-size:25px;font-weight:500;letter-spacing:-.65px}
.focus-copy p{font-size:12px;color:#a5a5b2;line-height:1.6}
.alternative{background:#171512;border-color:#322d27}
.news-item{border-color:#29292e}
.news-item h3{font-size:13px;color:#d1d1da}
.news-item p{font-size:11px;color:#8f8f9d}
.news-type{color:#b59279}
.news-item:hover{background:#17171a}
.focus-story>.portrait{filter:saturate(.8)}
.market-footer{margin-top:25px;height:38px;padding:0;border-top:1px solid #2d2d32;border-bottom:1px solid #24242a;background:none}
.market-footer .market-title{text-transform:none;font-size:10px;letter-spacing:0;color:#838390;padding-right:24px}
.market-footer .ticker-values>button{font-size:10px;padding:0 22px;border-color:#2d2d34}
.market-footer .ticker-values>button>span{font-size:9px;color:#9999a5}
.market-footer .ticker-values b{font-size:11px;color:#adadb9}
.market-footer .ticker-values em{font-size:10px}
.market-footer .ticker-values small{font-size:9px;color:#646470}
.market-footer .market-more{background:none;color:#757583}
.status-bar{padding:16px 0 23px;font-size:9px;color:#696977}
.status-bar a{color:#9999a7}
.status-bar b{color:#5e5e6c}
@media(min-width:1600px){.masthead-inner,main{padding-left:48px;padding-right:48px}.dashboard-grid{grid-template-columns:250px minmax(0,1fr) 310px;gap:22px}.team-hero{height:190px}.team-hero-content{padding-top:37px}.team-hero h1{font-size:53px}.metrics{padding-bottom:25px}.metrics strong{font-size:32px}.hero-signature{bottom:28px}.monitor-name{font-size:13px}.monitor-row{height:40px}}
@media(max-width:1250px){.masthead-inner{gap:38px;padding:0 30px}.masthead-nav{gap:23px}.masthead-tools{gap:17px}.command-search>span,.command-search kbd{display:none}.masthead-rule{display:none}.command-search{width:24px;justify-content:center}main{padding:0 30px}.dashboard-grid{grid-template-columns:205px minmax(0,1fr) 250px;gap:13px}.monitor-name{font-size:11px}.team-hero h1{font-size:47px}.team-hero{height:170px}.metrics strong{font-size:29px}.metrics small{font-size:10px}.panel-heading h2{font-size:12px}.metrics>div:not(:first-child){padding-left:15px}.pitch-caption{font-size:9px}.news-item h3{font-size:12px}.news-item p{font-size:11px}.focus-copy h3{font-size:24px}}
@media(max-width:1050px){.masthead-inner{gap:31px}.masthead-nav{gap:21px}.main-nav-link{font-size:12px}.masthead-tools{gap:13px}.masthead .wordmark{font-size:39px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 280px;gap:16px}.panel-heading h2{font-size:13px}.team-hero h1{font-size:45px}.hero-art{width:87%;object-position:right 47%}.hero-signature{font-size:8px}.metrics{padding-top:3px}.market-footer .ticker-values>button{padding:0 16px}.market-footer .ticker-values small{display:none}.focus-copy h3{font-size:25px}}
@media(max-width:800px){.masthead{height:66px}.masthead-inner{padding:0 22px;gap:25px}.masthead .wordmark{font-size:38px}.masthead-nav{gap:16px}.main-nav-link{font-size:11px}.main-nav-link .nav-unread{display:none}.masthead-tools{gap:12px}.profile-trigger{width:28px;height:28px;font-size:9px}.team-hero{height:167px;margin:0}.hero-art{width:100%;object-position:right 47%}.team-hero::before{background:linear-gradient(90deg,#080809 0%,rgba(8,8,9,.95) 30%,rgba(8,8,9,.1) 82%),linear-gradient(0deg,#080809,transparent 42%)}.hero-signature{display:none}.team-hero-content{padding-top:28px}.team-hero h1{font-size:44px}.team-context,.team-context button{font-size:10px}.team-state,.team-state>button{font-size:10px}.team-state{gap:20px}main{padding:0 22px}.metrics{padding:4px 0 21px;margin-bottom:20px}.metrics strong{font-size:27px}.metrics strong em{font-size:10px}.metrics>div>span{font-size:10px}.metrics small{font-size:8px}.metrics>div:not(:first-child){padding-left:10px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 245px;gap:13px}.panel-heading h2{font-size:12px}.news-item h3{font-size:12px}.focus-copy h3{font-size:23px}.market-footer .market-title{font-size:9px;padding-right:15px}.market-footer .ticker-values>button{padding:0 12px}.market-footer .ticker-values b{font-size:10px}.market-footer .ticker-values>button:nth-child(4){display:flex}.status-bar{font-size:8px}}
@media(max-width:680px){.masthead-inner{padding:0 20px;gap:20px}.masthead-nav{display:none}.masthead .wordmark{font-size:40px}.masthead-tools{gap:20px}.command-search{width:24px;height:40px}.command-search .icon{width:19px;height:19px}.profile-trigger{display:none}.nav-menu{display:grid;width:24px}.nav-menu .icon{width:20px;height:20px}.team-hero{height:174px}.hero-art{width:100%;object-position:80% 48%;opacity:.85}.team-hero-content{padding-top:28px}.team-context,.team-context button{font-size:10px}.team-context{gap:12px}.team-hero h1{font-size:44px;margin:14px 0 14px}.team-state,.team-state>button{font-size:10px}.team-state{gap:19px}.team-hero::before{background:linear-gradient(90deg,#080809 0%,rgba(8,8,9,.95) 21%,rgba(8,8,9,.68) 56%,rgba(8,8,9,.22) 100%),linear-gradient(0deg,#080809,transparent 55%)}main{padding:0 20px}.metrics{grid-template-columns:1fr 1fr;gap:22px 20px;padding:5px 0 24px;margin-bottom:22px}.metrics>div,.metrics>div:not(:first-child){padding:0;border:0;display:block}.metrics>div:nth-child(n+3){border:0}.metrics>div>span{display:block;font-size:11px;margin-bottom:8px}.metrics strong{display:block;font-size:29px;letter-spacing:-.7px}.metrics strong em{font-size:11px;margin-left:6px}.metrics small{display:block;font-size:9px;margin-top:7px}.metrics>div:nth-child(2),.metrics>div:nth-child(4){padding-left:8px}.dashboard-grid{display:flex;flex-direction:column;gap:21px}.panel-heading{min-height:46px;padding:0 14px}.panel-heading h2{font-size:14px}.panel-heading>span{font-size:11px}.pitch-caption{font-size:9px}.pitch{min-height:512px}.focus-copy h3{font-size:30px}.focus-copy p{font-size:13px}.news-item h3{font-size:15px}.news-item p{font-size:12px}.news-source{font-size:9px}.panel-footer{font-size:12px}.market-footer{height:38px;margin-top:22px}.market-footer .market-title{font-size:9px;padding-right:13px}.market-footer .ticker-values>button{padding:0 14px;gap:9px}.market-footer .ticker-values b{font-size:10px}.market-footer .ticker-values em{font-size:9px}.status-bar{padding:17px 0 24px;font-size:8px}}
@media(max-width:365px){.masthead-inner{padding:0 16px}.masthead .wordmark{font-size:38px}main{padding:0 16px}.team-hero{height:169px}.team-hero h1{font-size:39px}.team-context{gap:9px}.team-context,.team-context button{font-size:9px}.team-state,.team-state>button{font-size:9px}.team-state{gap:15px}.metrics{column-gap:14px}.metrics>div>span{font-size:10px}.metrics strong{font-size:27px}.metrics strong em{font-size:10px}.metrics small{font-size:8px}.panel-heading h2{font-size:13px}.pitch-caption{font-size:8px}.focus-copy h3{font-size:28px}}
@media(prefers-reduced-motion:reduce){.main-nav-link{transition:none}}
/* Club strip: second masthead row, crests grey until hovered or selected */
.club-strip{display:flex;justify-content:center;gap:6px;padding:8px 16px;border-bottom:1px solid #1d1d1f;background:#0a0a0a;overflow-x:auto;scrollbar-width:none}
.club-strip::-webkit-scrollbar{display:none}
.club-strip button{flex-shrink:0;display:grid;place-items:center;width:36px;height:32px;border-radius:2px;position:relative}
.club-strip img{width:22px;height:22px;object-fit:contain;filter:grayscale(1) brightness(1.3);opacity:.5;transition:filter .15s,opacity .15s}
.club-strip button:hover img,.club-strip button:focus-visible img,.club-strip button[aria-pressed=true] img{filter:none;opacity:1}
.club-strip button[aria-pressed=true]::after{content:"";position:absolute;left:9px;right:9px;bottom:-1px;height:2px;background:#c8f25a}
@media(max-width:680px){.club-strip{justify-content:flex-start}}
/* Reserve portraits */
.reserve-portrait{display:block;flex-shrink:0;width:42px;height:48px;overflow:hidden}
.reserve-portrait img{width:100%;height:auto;margin-top:2px;filter:saturate(.9)}
@media(max-width:560px){.reserve-portrait{width:34px;height:40px}}
/* Substitution by drag */
.pitch .token,.reserve-list>button{cursor:grab;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.pitch .token img,.reserve-list img{-webkit-user-drag:none;pointer-events:none}
body.is-dragging,body.is-dragging *{cursor:grabbing!important}
/* While dragging: everything that is not a valid swap steps back */
.pitch .token,.reserve-list>button{transition:opacity .2s,filter .2s,background-color .2s,box-shadow .2s}
.is-dragging :is(.pitch .token,.reserve-list>button):not(.drop-ok){opacity:.32;filter:grayscale(1)}
.is-dragging .drag-source{opacity:.14}
/* Valid targets on the pitch: a soft floodlight on the turf under the player */
.token .portrait-wrap{isolation:isolate}
.token .portrait-wrap::before{content:"";position:absolute;z-index:-1;inset:-6% -34% -14%;background:radial-gradient(ellipse 50% 58% at 50% 78%,rgba(236,190,122,.34),rgba(236,190,122,.08) 55%,transparent 72%);opacity:0;transform:scale(.8);transform-origin:50% 90%;transition:opacity .22s,transform .3s cubic-bezier(.2,.8,.2,1)}
.token.drop-ok .portrait-wrap::before{opacity:.7;transform:none}
.token.drop-hover .portrait-wrap::before{opacity:1;transform:scale(1.12)}
.token.drop-hover .portrait-wrap{transform:none}
.token.drop-hover>strong{border-bottom-color:#c8f25a;color:#fff}
/* Valid targets on the bench: a warm wash from the left, a gold edge when hovered */
.reserve-list>.drop-ok{background:linear-gradient(90deg,rgba(200,242,90,.07),transparent 70%)}
.reserve-list>.drop-hover{background:linear-gradient(90deg,rgba(200,242,90,.16),rgba(200,242,90,.03) 80%);box-shadow:inset 2px 0 0 #c8f25a}
.reserve-list>button{position:relative}
/* Swap preview chip on the hovered target */
.token-data{transition:opacity .15s}
.token.drop-hover .token-data{opacity:0}
.drop-hover::after{content:"⇄ " attr(data-swap-in);position:absolute;z-index:3;left:50%;bottom:2px;transform:translateX(-50%);white-space:nowrap;font-size:9px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#17120b;background:#c8f25a;padding:3px 7px 2px;box-shadow:0 6px 16px rgba(0,0,0,.45);animation:chip-in .16s ease-out}
.reserve-list>.drop-hover::after{top:-12px;left:auto;right:0;transform:none}
@keyframes chip-in{from{opacity:0;margin-top:4px}}
/* The player in hand: lifted, slightly turned, with a dark name plate like on the pitch */
.drag-ghost{position:fixed;left:0;top:0;z-index:1000;pointer-events:none;width:96px;margin:-112px 0 0 -48px}
.drag-ghost>div{display:flex;flex-direction:column;align-items:center;transform:rotate(-3deg) scale(1.06);animation:lift .18s cubic-bezier(.2,.8,.2,1)}
.drag-ghost img{height:80px;filter:drop-shadow(0 14px 18px rgba(0,0,0,.65)) drop-shadow(0 2px 3px rgba(0,0,0,.5))}
.drag-ghost span{font-size:12px;font-weight:550;letter-spacing:-.2px;background:#0e0e10;color:#fff;padding:1px 8px;border-bottom:1px solid #c8f25a;box-shadow:0 10px 18px rgba(0,0,0,.5)}
@keyframes lift{from{transform:rotate(0) scale(.92);opacity:.6}}
@media(prefers-reduced-motion:reduce){.drag-ghost>div,.drop-hover::after{animation:none}}
@media(prefers-reduced-motion:no-preference){.subbed-in .portrait-wrap{animation:subbed-in .5s ease-out}}
@keyframes subbed-in{from{transform:translateY(8px);opacity:0}to{transform:none;opacity:1}}
.lineup-toast{position:fixed;left:50%;bottom:24px;z-index:1001;transform:translate(-50%,12px);opacity:0;pointer-events:none;background:#1b1b1d;border:1px solid #333336;color:#ededf0;font-size:12px;padding:9px 14px;white-space:nowrap;transition:opacity .2s,transform .2s}
.lineup-toast.show{opacity:1;transform:translate(-50%,0)}
.swap-options{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:18px 0 4px}
.swap-options>strong{width:100%;font-size:11px;font-weight:500;color:#9b9ba5}
.swap-options>button{display:flex;align-items:baseline;gap:6px;padding:7px 11px;border:1px solid #333336;font-size:12px;color:#e6e6ea}
.swap-options>button:hover,.swap-options>button:focus-visible{border-color:#c8f25a;color:#fff}
.swap-options small{font-size:9px;color:#80808a}
.swap-options>span{font-size:11px;color:#80808a}
/* Lineup sits on the panel colour; the field is drawn by its lines only */
.pitch{background:transparent}
/* Transfer market */
.transfer-market{margin-top:22px;border:1px solid #27272b;background:#0e0e10}
.market-head{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:52px;padding:0 20px;background:#151516;border-bottom:1px solid #2a2a2d}
.market-heading{display:flex;align-items:baseline;gap:12px}
.market-heading h2{font-size:15px;font-weight:550;color:#ececf0}
.market-heading span{font-size:11px;color:#74747e}
.market-filters{display:flex;gap:18px}
.market-filters button{font-size:12px;color:#7d7d86;padding:6px 0;border-bottom:1px solid transparent}
.market-filters button:hover{color:#d8d8de}
.market-filters button[aria-pressed=true]{color:#f0f0f3;border-bottom-color:#c8f25a}
.market-body{display:grid;grid-template-columns:minmax(0,1fr) 340px}
.market-table{min-width:0;border-right:1px solid #222225;display:flex;flex-direction:column}
.market-labels,.market-row{display:grid;grid-template-columns:minmax(170px,2fr) repeat(5,minmax(0,1fr));align-items:center;gap:12px;padding:0 20px}
.market-labels{height:38px;font-size:10px;color:#6c6c75;border-bottom:1px solid #1d1d20}
.market-labels span:not(:first-child),.market-row>.m-num{text-align:right}
.market-row{width:100%;height:58px;border-bottom:1px solid #18181a;text-align:left;transition:background-color .15s}
.market-row:hover{background:#131315}
.market-row.selected{background:#151517;box-shadow:inset 2px 0 0 #c8f25a}
.m-player{display:flex;align-items:center;gap:12px;min-width:0}
.m-thumb{width:34px;height:42px;flex-shrink:0;overflow:hidden}
.m-thumb img{width:100%;height:auto;margin-top:2px}
.m-who{min-width:0}
.m-who strong{display:block;font-size:13px;font-weight:550;color:#ececf0;letter-spacing:-.2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.m-who small{display:flex;align-items:center;gap:6px;font-size:10px;color:#7d7d86;margin-top:3px}
.mini-crest{width:13px;height:13px;object-fit:contain}
.mini-code{font-size:9px;color:#8a8a93}
.m-mybid{font-style:normal;color:#c8f25a;margin-left:4px}
.m-num{font-size:13px;color:#d0d0d6;font-variant-numeric:tabular-nums}
.m-value{display:flex;flex-direction:column;align-items:flex-end;line-height:1.25}
.m-value small{font-size:10px}
.m-value small.up{color:#6ad1c3}.m-value small.down{color:#e08c80}
.m-pred.up{color:#6ad1c3}.m-pred.down{color:#e08c80}
.m-rec{color:#ececf0;font-weight:500}
.market-row.selected .m-rec{color:#d6f77e}
.m-end{color:#9a9aa3}
.m-end.soon{color:#e3b77b}
.market-unit{margin-top:auto;padding:12px 20px;font-size:10px;color:#5f5f68}
.market-empty{padding:28px 20px;font-size:12px;color:#7a7a84}
/* Bid panel */
.bid-wrap{display:flex;flex-direction:column;background:#0c0c0e}
.bid-title{font-size:10px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:#7a7a84;padding:14px 22px 0}
.bid-panel{padding:14px 22px 18px;display:flex;flex-direction:column;gap:16px}
.bid-player{display:flex;align-items:flex-end;gap:14px;padding-bottom:12px;border-bottom:1px solid #1f1f22}
.bid-player>img{width:66px;height:auto;margin-bottom:-12px}
.bid-kicker{display:flex;align-items:center;gap:6px;font-size:10px;color:#8a8a93}
.bid-name{display:block;font-size:19px;font-weight:550;letter-spacing:-.4px;color:#fff;margin:4px 0 3px;text-align:left}
.bid-name:hover{color:#d6f77e}
.bid-ends{font-size:11px;color:#7d7d86}.bid-ends.soon{color:#e3b77b}
.bid-facts{display:flex;flex-direction:column;margin:0}.bid-facts dd{margin:0}
.bid-facts>div{display:flex;justify-content:space-between;align-items:baseline;padding:7px 0;border-bottom:1px solid #18181a;font-size:12px}
.bid-facts>div:last-child{border-bottom:0}
.bid-facts dt{color:#8a8a93}
.bid-facts dd{color:#e6e6ea;font-variant-numeric:tabular-nums;text-align:right}
.bid-facts dd small{font-size:10px;color:#6f6f78;margin-left:8px}
.bid-facts dd small.up{color:#6ad1c3}.bid-facts dd small.down{color:#e08c80}
.bid-reco{display:grid;grid-template-columns:1fr auto;align-items:baseline;gap:4px 12px;padding:12px 14px;background:rgba(200,242,90,.06);border-left:2px solid #c8f25a}
.bid-reco span{font-size:11px;color:#c8f25a}
.bid-reco button{font-size:15px;font-weight:600;color:#dcf88f;font-variant-numeric:tabular-nums}
.bid-reco p{grid-column:1/-1;font-size:11px;line-height:1.45;color:#9d9da6}
.bid-input{display:flex;align-items:center;border:1px solid #303034;background:#0a0a0b;height:46px}
.bid-input:focus-within{border-color:#c8f25a}
.bid-input.invalid{border-color:#a4544a}
.bid-input button{width:42px;height:100%;font-size:17px;color:#9d9da6}
.bid-input button:hover{color:#fff;background:#151517}
.bid-input input{flex:1;min-width:0;background:none;border:0;outline:0;text-align:right;font-size:19px;font-weight:500;color:#fff;font-variant-numeric:tabular-nums}
.bid-input em{font-style:normal;font-size:11px;color:#7a7a84;padding:0 8px 0 6px}
.bid-quick{display:flex;align-items:center;gap:14px;margin-top:9px;font-size:11px}
.bid-quick button{color:#9d9da6;text-decoration:underline;text-decoration-color:#3a3a3f;text-underline-offset:3px}
.bid-quick button:hover{color:#fff;text-decoration-color:#c8f25a}
.bid-quick span{margin-left:auto;color:#8a8a93;font-variant-numeric:tabular-nums;white-space:nowrap}
.bid-quick span.neg{color:#e3b77b}.bid-quick span.bid-error{color:#e08c80}
.bid-submit{height:46px;background:#c8f25a;color:#16110a;font-size:13px;font-weight:600;transition:background-color .15s,transform .1s}
.bid-submit:hover{background:#d6f77e}.bid-submit:active{transform:translateY(1px)}
.bid-submit:disabled{background:#26262a;color:#6f6f78;cursor:not-allowed}
.bid-done{display:flex;align-items:center;justify-content:space-between;height:46px;padding:0 14px;border:1px solid rgba(106,209,195,.35);background:rgba(106,209,195,.06);font-size:12px;color:#6ad1c3}
.bid-done button{font-size:11px;color:#8a8a93;text-decoration:underline;text-underline-offset:2px}
.bid-note{font-size:10px;line-height:1.45;color:#5f5f68;margin-top:-6px}
/* Columns: 1 player, 2 avg points, 3 market value, 4 forecast, 5 recommended bid, 6 ends */
@media(max-width:1180px){.market-body{grid-template-columns:minmax(0,1fr) 310px}.market-labels,.market-row{grid-template-columns:minmax(150px,2fr) repeat(4,minmax(0,1fr))}.market-labels>:nth-child(2),.market-row>:nth-child(2){display:none}}
@media(max-width:900px){.market-body{grid-template-columns:minmax(0,1fr)}.market-table{border-right:0;border-bottom:1px solid #222225}.market-unit{margin-top:0}}
@media(max-width:620px){.market-head{flex-direction:column;align-items:flex-start;padding:12px 14px;gap:8px}.market-labels,.market-row{grid-template-columns:minmax(0,1.6fr) repeat(3,minmax(0,1fr));gap:8px;padding:0 14px}.market-labels>:nth-child(6),.market-row>:nth-child(6){display:none}.m-num{font-size:12px}.m-mybid{display:none}.bid-title{padding:14px 14px 0}.bid-panel{padding:12px 14px 16px}}
/* Club crest on the player portrait instead of the three-letter tag */
.portrait-wrap .club.crest{background:none;padding:0;min-width:0;width:24px;height:24px;left:2px;bottom:3px;line-height:0}
.portrait-wrap .club.crest img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 1px 2px rgba(0,0,0,.7)) drop-shadow(0 0 1px rgba(0,0,0,.6))}
@media(max-width:560px){.portrait-wrap .club.crest{width:19px;height:19px;left:0}}
/* Reserve cards: club crest instead of the code */
.reserve-list small{display:flex;align-items:center;gap:5px}
/* Team band: team name and the four key numbers in one row, so the lineup fits on the first screen */
.team-hero.band .team-hero-content{height:auto}
@media(min-width:1000px){
.team-hero.band{height:auto;display:grid;grid-template-columns:minmax(280px,.9fr) minmax(0,2.4fr);align-items:center;gap:0;padding:20px 0 18px;margin:0 0 18px;border-bottom:1px solid #29292d}
.team-hero.band::before{background:linear-gradient(90deg,#080809 18%,rgba(8,8,9,.86) 42%,rgba(8,8,9,.62) 100%),linear-gradient(0deg,#080809,rgba(8,8,9,0) 60%)}
.band .hero-art{width:70%;object-position:right 46%}
.band .team-hero-content{padding:0 24px 0 0}
.band h1{font-size:40px;margin:8px 0 9px}
.band .metrics{grid-template-columns:repeat(4,minmax(0,1fr));margin:0;padding:0;border:0;background:none;row-gap:0}
.band .metrics>div{display:flex;flex-direction:column;align-items:flex-start;padding:2px 0 2px 22px;border-left:1px solid rgba(255,255,255,.09)}
.band .metrics>div>span{font-size:11px;margin-bottom:6px}
.band .metrics strong{font-size:27px}
.band .metrics small{margin-top:5px}
.band .hero-signature{top:8px;bottom:auto}
.club-strip{padding-top:6px;padding-bottom:6px}
/* Tighter pitch */
.pitch{min-height:0;padding-top:26px;padding-bottom:8px;gap:2px}
.portrait-wrap{width:74px;height:64px}
.masthead{height:68px}
.team-hero.band{padding:16px 0 14px;margin-bottom:16px}
/* The tap/drag hint moves into the reserve heading; the footer line goes */
.lineup-footnote{display:none}
.reserve-hint{margin-left:auto;font-size:10px;color:#66666f}
}
@media(max-width:999px){.reserve-hint{display:none}}
@media(max-width:999px){.team-hero.band{height:auto}.band .hero-art{height:167px;bottom:auto}.band .team-hero-content{min-height:167px}}
/* Header: logo left, menu centred on the page, tools right */
@media(min-width:1000px){
.masthead-inner{display:grid;grid-template-columns:1fr auto 1fr;gap:32px}
.masthead .wordmark{justify-self:start}
.masthead-tools{justify-self:end;margin-left:0}
}
/* ---------- Header: brand + league switch, four pages, quiet tools ---------- */
.masthead-brand{display:flex;align-items:center;gap:18px;justify-self:start;min-width:0}
.league-switch{display:flex;align-items:center;gap:6px;font-size:12px;color:#a5a5ad;padding:6px 10px;border:1px solid #26262a;border-radius:3px;white-space:nowrap}
.league-switch:hover{color:#fff;border-color:#3a3a3f}
.league-switch .icon{width:11px;height:11px;color:#77777f}
.masthead-tools{gap:6px}
.tool-button{position:relative;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;color:#a6a6ae}
.tool-button:hover{background:#1a1a1c;color:#fff}
.tool-button .icon{width:18px;height:18px}
.tool-badge{position:absolute;top:3px;right:2px;min-width:15px;height:15px;padding:0 4px;border-radius:8px;background:#c8f25a;color:#16110a;font-size:9px;font-weight:700;line-height:15px;text-align:center}
.masthead-tools .profile-trigger{margin-left:8px}
a.main-nav-link{text-decoration:none}
@media(max-width:999px){.league-switch{display:none}}
/* ---------- Pages ---------- */
.page[hidden]{display:none}
.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:26px 0 18px}
.page-title{font:700 30px/1.1 Inter,Arial,sans-serif;color:#f1f1f2;letter-spacing:-.7px}
.page-head p{font-size:12px;color:#83838d;margin-top:8px}
#page-markt .transfer-market{margin-top:0}
/* Aufstellungen */
.club-picker{display:flex;align-items:center;gap:4px;padding:8px 10px;border:1px solid #232327;background:#0c0c0e;overflow-x:auto;scrollbar-width:none;margin-bottom:18px}
.club-picker::-webkit-scrollbar{display:none}
.club-picker button{flex-shrink:0;display:grid;place-items:center;width:40px;height:36px;border-radius:3px;position:relative}
.club-picker img{width:24px;height:24px;object-fit:contain;filter:grayscale(1) brightness(1.3);opacity:.5;transition:filter .15s,opacity .15s}
.club-picker button:hover img,.club-picker button[aria-pressed=true] img{filter:none;opacity:1}
.club-picker button[aria-pressed=true]::after{content:"";position:absolute;left:10px;right:10px;bottom:-1px;height:2px;background:#c8f25a}
.club-picker .pick-all{width:auto;padding:0 14px;font-size:12px;color:#8d8d96;border-right:1px solid #232327;border-radius:0;margin-right:6px}
.club-picker .pick-all[aria-pressed=true]{color:#fff}
.club-picker .pick-all[aria-pressed=true]::after{left:14px;right:14px}
.club-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.club-card{display:flex;flex-direction:column;gap:9px;padding:16px 16px 14px;border:1px solid #232327;background:#0e0e10;text-align:left;transition:border-color .15s,background-color .15s}
.club-card:hover{border-color:#3a3a40;background:#121214}
.club-card header{display:flex;align-items:center;gap:10px}
.club-card header strong{font-size:13px;font-weight:550;color:#ececf0}
.crest-img{object-fit:contain;vertical-align:-3px}
.card-line{display:flex;align-items:baseline;justify-content:space-between;margin-top:4px}
.card-formation{font:700 21px/1 Inter,Arial,sans-serif;color:#f1f1f2;letter-spacing:-.4px}
.card-vs{display:flex;align-items:center;gap:5px;font-size:11px;color:#8d8d96}
.card-conf,.side-conf{display:block;height:3px;background:#26262a;position:relative}
.card-conf i,.side-conf i{position:absolute;left:0;top:0;bottom:0;background:#c8f25a}
.card-conf-label{font-size:10px;color:#77777f;margin-top:-3px}
.card-open{font-size:11px;color:#c9a46f;min-height:16px}
.card-open.clear{color:#77777f}
.card-none{font-size:12px;color:#77777f;flex:1}
.card-foot{font-size:11px;color:#a5a5ad}
.club-card.empty{opacity:.7}
.club-detail{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:start}
.club-panel{border:1px solid #27272b;background:#0e0e10}
.club-heading h2{display:flex;align-items:center;gap:10px}
.club-pitch{min-height:0;padding:30px 12px 14px;gap:6px}
.token.static{cursor:default}
.token.static .token-data b{font-size:13px}
.token.static.sure .token-data b{color:#e6e6ea}
.token.static.open .token-data b,.token.static.open .token-data small{color:#e3b77b}
.token.static.doubt .token-data b,.token.static.doubt .token-data small{color:#e08c80}
.face-placeholder{display:grid;place-items:center;width:52px;height:52px;margin:10px auto 0;border-radius:50%;background:#1c1c1f;color:#8d8d96;font-size:15px;font-weight:600}
.club-side{display:flex;flex-direction:column;gap:12px}
.side-card{border:1px solid #27272b;background:#0e0e10;padding:14px 16px}
.side-card h3{display:flex;justify-content:space-between;font-size:12px;font-weight:550;color:#d7d7de;margin-bottom:8px}
.side-card h3 span{color:#77777f;font-weight:400}
.side-facts{margin:0}
.side-facts>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:6px 0;border-bottom:1px solid #18181a;font-size:12px}
.side-facts>div:last-child{border-bottom:0}
.side-facts dt{color:#8a8a93}
.side-facts dd{margin:0;display:flex;align-items:center;gap:7px;color:#e6e6ea;text-align:right}
.side-conf{width:60px}
.side-row{display:flex;align-items:center;gap:10px;padding:6px 0;border-bottom:1px solid #18181a;font-size:12px;color:#d0d0d6}
.side-row:last-child{border-bottom:0}
.side-row>span:first-child{flex:1}
.side-row.bench>span:first-child{flex:none}.side-row.bench>span:nth-child(2){flex:1}
.side-row small{margin-left:6px;font-size:10px;color:#6f6f78}
.side-row b{font-weight:500;color:#a5a5ad;font-variant-numeric:tabular-nums}
.side-row b.open{color:#e3b77b}.side-row b.doubt{color:#e08c80}
.side-muted{font-size:12px;color:#83838d;line-height:1.5}
.squad-face{width:24px;height:28px;flex-shrink:0;overflow:hidden;display:inline-block}
.squad-face img{width:100%;height:auto}
.squad-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 28px;padding:16px 18px}
.squad-group h3{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#77777f;margin:10px 0 6px}
.squad-row{display:flex;align-items:center;gap:10px;padding:4px 0;font-size:12px;color:#d0d0d6;border-bottom:1px solid #18181a}
.squad-no{width:20px;color:#6f6f78;font-variant-numeric:tabular-nums}
@media(max-width:1000px){.club-detail{grid-template-columns:1fr}}
/* Dataroom */
.data-controls{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-bottom:14px}
.data-search{display:flex;align-items:center;gap:8px;height:38px;width:260px;padding:0 12px;border:1px solid #2a2a2e;background:#0c0c0e;color:#77777f}
.data-search:focus-within{border-color:#c8f25a}
.data-search .icon{width:15px;height:15px;flex-shrink:0}
.data-search input{flex:1;min-width:0;background:none;border:0;outline:0;color:#e6e6ea;font-size:13px}
.data-tabs{display:flex;gap:18px}
.data-tabs button{font-size:12px;color:#7d7d86;padding:6px 0;border-bottom:1px solid transparent}
.data-tabs button:hover{color:#d8d8de}
.data-tabs button[aria-pressed=true]{color:#f0f0f3;border-bottom-color:#c8f25a}
#data-club{height:38px;margin-left:auto;background:#0c0c0e;border:1px solid #2a2a2e;color:#d8d8de;font-size:12px;padding:0 10px}
#data-club:focus{outline:0;border-color:#c8f25a}
.data-table{border:1px solid #27272b;background:#0e0e10}
.data-row{display:grid;grid-template-columns:minmax(200px,2.6fr) repeat(3,minmax(0,1fr)) 40px;align-items:center;gap:12px;padding:0 10px 0 18px;height:54px;border-bottom:1px solid #18181a;font-size:13px;color:#d0d0d6}
.data-row:last-child{border-bottom:0}
.data-row:not(.data-labels):hover{background:#131315}
.data-row.picked{background:#151517;box-shadow:inset 2px 0 0 #c8f25a}
.data-labels{height:38px;background:#141416}
.data-labels button{text-align:right;font-size:10px;color:#6f6f78;white-space:nowrap}
.data-labels button:first-child{text-align:left}
.data-labels button.sorted{color:#d6f77e}
.data-row .num{text-align:right;font-variant-numeric:tabular-nums}
.data-row .num.open{color:#e3b77b}.data-row .num.doubt{color:#e08c80}
.data-player{display:flex;align-items:center;gap:12px;min-width:0}
.data-player>img,.data-noface{width:32px;height:40px;object-fit:cover;object-position:top;flex-shrink:0}
.data-player>span{min-width:0}
.data-player strong{display:block;font-weight:550;color:#ececf0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.data-player small{display:flex;align-items:center;gap:6px;font-size:10px;color:#7d7d86;margin-top:3px}
.spark{display:inline-flex;align-items:flex-end;gap:2px;height:16px}
.spark i{width:4px;background:#4e4e56}
.spark i:last-child{background:#c8f25a}
.data-add{width:28px;height:28px;border-radius:50%;justify-self:end;color:#6f6f78;font-size:16px;line-height:1;opacity:0;transition:opacity .15s,background-color .15s}
.data-row:hover .data-add,.data-add:focus-visible,.data-add[aria-pressed=true]{opacity:1}
.data-add:hover{background:#1e1e21;color:#fff}
.data-add[aria-pressed=true]{color:#16110a;background:#c8f25a;font-size:12px}
.data-row .data-add:disabled{opacity:0;pointer-events:none}
.data-empty{padding:28px 18px;font-size:12px;color:#77777f}
.data-foot{display:flex;flex-direction:column;align-items:center;gap:10px;margin-top:12px}
.data-foot span{font-size:10px;color:#5f5f68;text-align:center}
.data-more{height:38px;padding:0 22px;border:1px solid #2a2a2e;font-size:12px;color:#a5a5ad}
.data-more:hover{color:#fff;border-color:#3a3a40}
@media(hover:none){.data-add{opacity:1}}
@media(max-width:760px){.data-row{grid-template-columns:minmax(0,2fr) .8fr .9fr 34px;padding:0 6px 0 12px;gap:8px}.data-row>:nth-child(4){display:none}#data-club{margin-left:0}.data-search{width:100%}}
.compare-hint{font-size:12px;color:#83838d;margin:0 0 12px}
.compare{border:1px solid #55682a;background:#0e0e10;padding:14px 16px;margin-bottom:14px}
.compare header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.compare h2{font-size:13px;font-weight:550}
.compare header button{font-size:11px;color:#8d8d96;text-decoration:underline;text-underline-offset:2px}
.compare-grid{display:grid;align-items:center;gap:8px 16px}
.compare-head{display:flex;flex-direction:column;align-items:center;gap:3px;text-align:center}
.compare-head>img{width:44px;height:auto}
.compare-head strong{font-size:12px}
.compare-head small{display:flex;align-items:center;gap:4px;font-size:10px;color:#77777f}
.compare-label{font-size:11px;color:#8a8a93}
.compare-val{text-align:center;font-size:13px;font-variant-numeric:tabular-nums;color:#d0d0d6}
.compare-val.best{color:#dcf88f;font-weight:600}
/* Market: live state, refresh, ended listings */
.market-live{display:flex;align-items:center;gap:7px;font-size:11px;color:#7d7d86;margin-left:6px}
.market-live>i{width:6px;height:6px;border-radius:50%;background:#6ad1c3;box-shadow:0 0 0 0 rgba(106,209,195,.5);animation:live-pulse 2s infinite}
@keyframes live-pulse{70%{box-shadow:0 0 0 6px rgba(106,209,195,0)}100%{box-shadow:0 0 0 0 rgba(106,209,195,0)}}
.market-refresh{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;color:#8d8d96}
.market-refresh:hover{color:#fff;background:#1c1c1f}
.market-refresh .icon{width:14px;height:14px}
.market-refresh.spinning .icon{animation:spin .6s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.m-end.over,.bid-ends.over{color:#5f5f68}
@media(prefers-reduced-motion:reduce){.market-live>i,.market-refresh.spinning .icon{animation:none}}
@media(max-width:620px){.market-live{margin-left:0}}
/* Reserve cards: name, crest, position and points on one line */
.reserve-list>button>span:nth-child(2){display:flex;align-items:center;gap:8px;min-width:0}
.reserve-list>button>span:nth-child(2) strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.reserve-list>button>span:nth-child(2) small{margin-top:0;flex-shrink:0}
/* ---------- Homepage: status bar, squad by line, league column ---------- */
.status-strip{display:flex;align-items:center;gap:26px;height:62px;margin:14px 0 16px;padding:0 18px 0 12px;border:1px solid #232327;background:#0e0e10}
.team-switch{display:flex;align-items:center;gap:11px;padding-right:22px;border-right:1px solid #232327;height:100%;flex-shrink:0}
.team-switch .icon{width:12px;height:12px;color:#77777f}
.team-switch-name{display:flex;flex-direction:column;text-align:left}
.team-switch-name strong{font-size:15px;font-weight:600;color:#f1f1f3;letter-spacing:-.2px}
.team-switch-name small{font-size:10px;color:#7d7d86;margin-top:1px}
.team-switch:hover strong{color:#d6f77e}
.status-facts{display:flex;align-items:center;gap:0;margin:0;flex:1;min-width:0}
.status-facts>div{display:flex;align-items:baseline;gap:8px;padding:0 20px;border-left:1px solid #1f1f22;white-space:nowrap}
.status-facts>div:first-child{border-left:0;padding-left:0}
.status-facts dt{font-size:11px;color:#7d7d86}
.status-facts dd{margin:0;font-size:15px;font-weight:500;color:#ececf0;font-variant-numeric:tabular-nums}
.status-facts dd span{color:#77777f;font-weight:400}
.status-facts em{font-style:normal;font-size:12px;margin-left:2px}
.status-facts em.up{color:#6ad1c3}
/* grid */
@media(min-width:1000px){.page .dashboard-grid{grid-template-columns:270px minmax(0,1fr) 310px;gap:16px}}
@media(min-width:1440px){.page .dashboard-grid{grid-template-columns:290px minmax(0,1fr) 330px;gap:18px}}
/* squad */
.squad-panel{display:flex;flex-direction:column}
.squad-tabs{display:flex;border-bottom:1px solid #2a2a2d;background:#151516}
.squad-tabs button{flex:1;height:44px;font-size:13px;color:#83838d;border-bottom:2px solid transparent;margin-bottom:-1px}
.squad-tabs button span{display:inline-block;margin-left:5px;font-size:10px;color:#77777f;border:1px solid #2e2e33;padding:0 5px;border-radius:3px}
.squad-tabs button[aria-selected=true]{color:#f1f1f3;border-bottom-color:#c8f25a}
.squad-group-head{display:grid;grid-template-columns:1fr 46px;align-items:center;height:30px;padding:0 14px;font-size:10px;color:#6f6f78;background:#111113;border-bottom:1px solid #1d1d20}
.squad-group-head span:first-child{font-size:11px;color:#a5a5ad}
.squad-group-head small{color:#6f6f78;margin-left:3px}
.squad-group-head span:not(:first-child){text-align:right}
.squad-item{display:grid;grid-template-columns:30px 1fr 46px;align-items:center;gap:10px;width:100%;height:46px;padding:0 14px;border-bottom:1px solid #18181a;text-align:left}
.squad-item:hover{background:#141416}
.squad-thumb{width:30px;height:36px;overflow:hidden}
.squad-thumb img{width:100%;height:auto;margin-top:1px}
.squad-who{min-width:0}
.squad-who strong{display:block;font-size:12px;font-weight:550;color:#ececf0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.squad-who small{display:flex;align-items:center;gap:5px;font-size:9px;color:#77777f;margin-top:2px}
.squad-who em{font-style:normal;font-size:8px;letter-spacing:.06em;text-transform:uppercase;color:#8d8d96;border:1px solid #2e2e33;padding:0 4px;margin-left:2px}
.squad-item>b{font-size:13px;font-weight:500;color:#d8d8de;text-align:right;font-variant-numeric:tabular-nums}

.squad-empty{padding:28px 18px;font-size:12px;line-height:1.6;color:#77777f;text-align:center}
/* "1 Einsatz offen" in the Meine Elf heading */
.lineup-alert{margin-left:12px;margin-right:auto;font-size:11px;color:#e3b77b;border:1px solid rgba(227,183,123,.4);padding:3px 8px;border-radius:3px}
.lineup-alert:hover{background:rgba(227,183,123,.08)}
.lineup-alert[hidden]{display:none}
/* league column */
.league-col{display:flex;flex-direction:column;gap:14px;min-width:0}
.side-panel{border:1px solid #27272b;background:#0e0e10}
.standings{display:flex;flex-direction:column}
.standing{display:grid;grid-template-columns:18px 26px 1fr 52px 48px;align-items:center;gap:8px;height:44px;padding:0 14px;border-bottom:1px solid #18181a;text-align:left;font-size:12px;color:#d0d0d6}
.standing:last-child{border-bottom:0}
.standing:not(.labels):hover{background:#141416}
.standing.labels{height:30px;font-size:10px;color:#6f6f78;background:#111113}
.standing.you{background:linear-gradient(90deg,rgba(200,242,90,.1),transparent 80%);box-shadow:inset 2px 0 0 #c8f25a}
.standing.you .st-name{color:#d6f77e}
.st-rank{color:#77777f;font-variant-numeric:tabular-nums}
.mgr-badge{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:color-mix(in srgb,var(--c) 22%,#111);color:var(--c);font-size:9px;font-weight:700;border:1px solid color-mix(in srgb,var(--c) 45%,transparent)}
.st-name{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500}
.st-name small{margin-left:6px;font-size:10px;color:#6f6f78;font-weight:400}
.standing b,.st-diff{text-align:right;font-variant-numeric:tabular-nums}
.standing b{font-weight:500;color:#ececf0}
.st-diff{color:#8d8d96;font-size:11px}
.standing.labels span:nth-child(n+4){text-align:right}
.rival{padding:12px 14px 14px}
.rival-head{display:flex;align-items:center;gap:10px}
.rival-head .mgr-badge{width:32px;height:32px;font-size:11px}
.rival-head strong{display:block;font-size:14px;font-weight:550;color:#ececf0}
.rival-head small{font-size:11px;color:#7d7d86}
.rival-label{font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:#6f6f78;margin:14px 0 8px}
.key-players{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.key-player{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 4px 8px;border:1px solid #232327;background:#0b0b0c;text-align:center}
.key-player:hover{border-color:#3a3a40}
.key-player img{width:46px;height:auto}
.key-player strong{display:block;font-size:11px;font-weight:550;color:#ececf0}
.key-player small{font-size:10px;color:#8d8d96}
.rival-facts{margin:12px 0 0}
.rival-facts>div{display:flex;justify-content:space-between;padding:6px 0;border-top:1px solid #18181a;font-size:12px}
.rival-facts dt{color:#8a8a93}
.rival-facts dd{margin:0;color:#e6e6ea;font-variant-numeric:tabular-nums}
.transfers{padding:2px 14px 6px}
.transfer{display:grid;grid-template-columns:70px 1fr auto;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid #18181a;font-size:12px}
.transfer:last-child{border-bottom:0}
.tr-when{font-size:10px;color:#77777f}
.tr-who{color:#e6e6ea;min-width:0}
.tr-who small{display:block;font-size:10px;color:#8d8d96;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.transfer b{font-weight:500;color:#d8d8de;font-variant-numeric:tabular-nums;white-space:nowrap}
@media(max-width:1100px){.status-strip{overflow-x:auto;scrollbar-width:none}.status-facts>div{padding:0 14px}}
@media(max-width:999px){.status-strip{height:auto;flex-wrap:wrap;gap:12px;padding:12px}.team-switch{border-right:0;padding-right:0}.status-facts{flex-wrap:wrap;row-gap:8px}.status-facts>div{padding:0 12px 0 0;border:0}}
/* Reserve cards keep their single line: as many columns as fit at 220px or more */
.reserve-list{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px 18px}
.squad-item{height:42px}
/* Homepage on narrow screens: status bar stacks, panels full width, Meine Elf first */
@media(max-width:999px){
.status-strip{flex-direction:column;align-items:stretch;gap:12px}
.team-switch{height:auto;padding-bottom:12px;border-bottom:1px solid #1f1f22}
.status-facts{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px}
.status-facts>div{flex-direction:column;gap:2px;padding:0}
.page .dashboard-grid{display:flex;flex-direction:column;align-items:stretch}
.page .dashboard-grid>*{width:100%}
.page .dashboard-grid .lineup-panel{order:1}.page .dashboard-grid .squad-panel{order:2}.page .dashboard-grid .league-col{order:3}
}
/* Main menu: Inter like all text on the site; only the KICKELF wordmark uses Barlow Condensed */
.masthead-nav .main-nav-link{font-family:Inter,Arial,sans-serif;font-weight:600;font-size:14px;letter-spacing:-.1px}
@media(max-width:1180px){.masthead-nav .main-nav-link{font-size:13px}}
/* Active menu item: underline sits just below the label, not at the header's bottom edge */
.masthead-nav .main-nav-link.active::after{top:calc(50% + 13px);bottom:auto}
/* League picker: logo + name from the Kickbase API, initials until a logo exists */
.league-picker{position:relative;height:100%;flex-shrink:0}
.league-logo{display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;border-radius:8px;overflow:hidden;background:#c8f25a;color:#0b0b0c;font:700 13px/1 Inter,Arial,sans-serif;letter-spacing:-.2px}
.league-logo img{width:100%;height:100%;object-fit:cover}
.team-switch[aria-expanded=true] .icon{transform:rotate(180deg)}
.team-switch .icon{transition:transform .15s}
.league-menu{position:absolute;z-index:30;top:calc(100% + 8px);left:0;width:330px;padding:8px;background:#121214;border:1px solid #2c2c30;box-shadow:0 24px 60px rgba(0,0,0,.6)}
.league-menu[hidden]{display:none}
.league-menu-head,.league-menu-foot{font-size:10px;letter-spacing:.06em;color:#6f6f78;padding:6px 8px}
.league-menu-head{text-transform:uppercase}
.league-menu-foot{border-top:1px solid #222225;margin-top:6px;padding-top:10px}
.league-option{display:flex;align-items:center;gap:12px;width:100%;padding:9px 8px;border-radius:4px;text-align:left}
.league-option:hover,.league-option:focus-visible{background:#1c1c1f;outline:0}
.league-option .league-logo{width:34px;height:34px;font-size:13px;border-radius:7px}
.league-option:not([aria-selected=true]) .league-logo{background:#2a2a2e;color:#d0d0d6}
.league-option-text{flex:1;min-width:0}
.league-option-text strong{display:block;font-size:13px;font-weight:550;color:#ececf0}
.league-option-text small{display:block;font-size:11px;color:#7d7d86;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.league-check{color:#c8f25a;font-size:13px;width:14px}
.status-facts em.down{color:#e08c80}.status-facts em.same{color:#6f6f78}
.status-facts dd.neg{color:#e3b77b}
.league-note{font-size:11px;line-height:1.5;color:#6f6f78;padding:4px 2px}
.league-note[hidden]{display:none}
@media(max-width:999px){.league-picker{height:auto}.league-menu{width:min(330px,calc(100vw - 56px))}}
/* League table on the left, squad on the right */
@media(min-width:1000px){
.page .dashboard-grid{grid-template-columns:310px minmax(0,1fr) 270px}
.page .dashboard-grid .league-col{order:1}.page .dashboard-grid .lineup-panel{order:2}.page .dashboard-grid .squad-panel{order:3}
}
@media(min-width:1440px){.page .dashboard-grid{grid-template-columns:330px minmax(0,1fr) 290px}}
/* Narrow league column with compact rows */
@media(min-width:1000px){.page .dashboard-grid{grid-template-columns:250px minmax(0,1fr) 270px}}
@media(min-width:1440px){.page .dashboard-grid{grid-template-columns:260px minmax(0,1fr) 290px}}
.league-col{gap:12px}
.league-col .panel-heading{min-height:40px;padding:0 12px}
.league-col .panel-heading h2{font-size:12px}
.league-col .panel-heading>span{font-size:10px}
.standing{grid-template-columns:12px 20px minmax(0,1fr) 44px 40px;gap:7px;height:34px;padding:0 12px;font-size:11.5px}
.standing.labels{height:26px;font-size:9px}
.mgr-badge{width:20px;height:20px;font-size:8px}
.st-diff{font-size:10px}
.rival{padding:10px 12px 12px}
.rival-head .mgr-badge{width:26px;height:26px;font-size:9px}
.rival-head strong{font-size:12.5px}
.rival-head small{font-size:10px}
.rival-label{margin:10px 0 6px;font-size:9px}
.key-players{gap:6px}
.key-player{padding:6px 2px;gap:2px}
.key-player img{width:32px}
.key-player strong{font-size:10px}
.key-player small{font-size:9px}
.rival-facts>div{font-size:11px;padding:5px 0}
.transfers{padding:0 12px 4px}
.transfer{grid-template-columns:54px minmax(0,1fr) auto;gap:8px;padding:7px 0;font-size:11px}
.tr-when{font-size:9px}
.tr-who small{font-size:9px}
.league-note{font-size:10px}
/* Reserve: an even 2 x 2 grid (4 in a row on very wide screens, 1 column on phones) */
.reserve-list{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:1760px){.reserve-list{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:560px){.reserve-list{grid-template-columns:1fr}}
/* Reserve: four in a row, position only (no crest) */
.reserve-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 14px}
.reserve-list>button{gap:8px;min-width:0}
.reserve-portrait{width:34px;height:40px}
.reserve-list>button>span:nth-child(2){gap:6px}
@media(max-width:760px){.reserve-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Keep four per row on smaller desktops: position under the name, then no portrait */
@media(min-width:761px) and (max-width:1359px){.reserve-list>button>span:nth-child(2){flex-direction:column;align-items:flex-start;gap:1px}}
@media(min-width:761px) and (max-width:1179px){.reserve-portrait{display:none}}
/* ---------- Less is more: simplified homepage ---------- */
.team-switch{gap:12px}
.team-switch .league-logo{width:32px;height:32px;font-size:13px;border-radius:7px}
.team-switch-name{font-size:15px;font-weight:600;color:#f1f1f3;letter-spacing:-.2px;white-space:nowrap}
.team-switch .icon{width:14px;height:14px;margin-left:-4px}
.standing{grid-template-columns:16px minmax(0,1fr) auto;gap:10px;height:36px;padding:0 14px;font-size:12px}
.standing b{font-weight:500}
.rival{padding:12px 14px 14px}
.rival-line{display:flex;flex-direction:column;gap:2px;margin:0 0 12px}
.rival-line strong{font-size:13px;font-weight:600;color:#ececf0}
.rival-line span{font-size:11px;color:#8d8d96}
.key-players{display:flex;justify-content:space-between;gap:6px}
.key-player{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;padding:0;border:0;background:none}
.key-player img{width:36px;height:auto}
.key-player strong{font-size:10px;font-weight:500;color:#c4c4cc}
.key-player:hover strong{color:#fff}
.transfers{padding:2px 14px 6px}
.transfer{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:8px 0;font-size:12px}
.tr-who small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.transfer b{font-size:11px;font-weight:500}
.pitch{padding-top:20px}
/* Status bar: the stadium image from the original hero, fading in from the right */
.status-strip{position:relative;z-index:5;isolation:isolate;background:#0e0e10}
.status-strip::before{content:"";position:absolute;inset:0;z-index:-2;background:url(assets/stadium-tunnel-hero.png) right 30%/cover no-repeat;opacity:1}
.status-strip::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#0e0e10 0%,#0e0e10 32%,rgba(14,14,16,.88) 52%,rgba(14,14,16,.4) 76%,rgba(14,14,16,.12) 100%)}
@media(max-width:999px){.status-strip::after{background:linear-gradient(90deg,rgba(14,14,16,.96),rgba(14,14,16,.8) 60%,rgba(14,14,16,.55))}}
/* Manager logos in the league table */
.standing{grid-template-columns:16px 24px minmax(0,1fr) auto}
.mgr-logo{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;overflow:hidden;flex-shrink:0;background:color-mix(in srgb,var(--c) 16%,#141416);border:1px solid color-mix(in srgb,var(--c) 40%,transparent);color:color-mix(in srgb,var(--c) 85%,#fff);font-size:8.5px;font-weight:700;letter-spacing:.02em}
.mgr-logo img{width:100%;height:100%;object-fit:cover}
.standing.you .mgr-logo{border-color:#c8f25a;box-shadow:0 0 0 1px rgba(200,242,90,.25)}
.rival-line{display:grid;grid-template-columns:32px 1fr;column-gap:10px;align-items:center}
.rival-line .mgr-logo{grid-row:span 2;width:32px;height:32px;font-size:10px}
/* Meine Elf: full panel width, stretched vertically */
/* Height follows the window so the reserve bench always stays on the first screen:
   204px above the pitch (header, status bar, panel heading) + ~102px bench + 12px margin */
.lineup-panel .pitch{min-height:0;height:clamp(440px,calc(100vh - 318px),640px);padding-top:26px;padding-bottom:14px;justify-content:space-around}
@media(max-width:999px){.lineup-panel .pitch{height:auto;min-height:580px}}
@media(max-width:560px){.lineup-panel .pitch{min-height:540px}}
.reserve-heading{padding-top:10px}
.reserve-list{padding-top:8px;padding-bottom:10px}
/* Short windows: smaller player tokens so pitch and bench still fit on the first screen */
@media(min-width:1000px) and (max-height:800px){
.lineup-panel .pitch{height:clamp(380px,calc(100vh - 308px),520px);padding-top:16px;padding-bottom:8px}
.lineup-panel .portrait-wrap{width:58px;height:50px}
.lineup-panel .token>strong{font-size:11px;line-height:15px}
.lineup-panel .token-data{line-height:16px}
.lineup-panel .token-data>b{font-size:11px}
}
/* Reserve cards: position · opponent, start chance, swap hint */
.reserve-list>button>span.res-text{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0}
.res-text strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.res-text small{margin-top:0;white-space:nowrap}
.res-swap{margin-top:3px;font-size:10px;font-weight:600;color:#c8f25a;border:1px solid rgba(200,242,90,.35);padding:1px 6px;border-radius:3px;white-space:nowrap}
.res-swap:hover{background:rgba(200,242,90,.1)}
.res-chance{margin-left:auto;font-size:14px;font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap}
.res-chance small{display:inline;font-size:9px;margin-left:1px;color:inherit}
.res-chance.sure{color:#6ad1c3}.res-chance.open{color:#e3b77b}.res-chance.doubt{color:#e08c80}
/* Pitch: the drawn field starts at the top of the pitch area, so it fills the space above the forwards */
.lineup-panel .field-lines{top:10px;height:calc(100% - 20px)}
.lineup-panel .pitch{padding-top:30px}
/* ================= Homepage (chosen design): league band, two open columns ================= */
@media(min-width:1000px){.masthead-inner{display:flex;align-items:center;gap:56px}.masthead-tools{margin-left:auto}}
.masthead-tools .masthead-rule{display:block;height:22px;width:1px;background:#2b2b2e;margin:0 6px}
.home .league-band{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:72px;border-bottom:1px solid #1d1d21}
.home .team-switch{border-right:0;padding-right:0;height:auto}
.home .team-switch .league-logo{width:36px;height:36px;font-size:14px}
.home .team-switch-name{font-size:17px;font-weight:500}
.home .status-facts{flex:none}
.home .status-facts>div{padding:0 22px}
.home .status-facts>div:last-child{padding-right:0}
.home .status-facts dd{font-size:16px}
.home-grid{display:grid;grid-template-columns:minmax(0,1fr) 400px;align-items:stretch}
.home .lineup-panel{border:0;background:none;padding:0 32px 0 0;min-width:0}
.home-head{display:flex;align-items:center;justify-content:space-between;padding:22px 0 14px}
.home-head h2{font-size:26px;font-weight:700;letter-spacing:-.6px;color:#f2f2f4}
.home-tabs{display:flex;gap:28px}
.home-tabs button{font-size:13px;font-weight:600;color:#8a8a93;padding:6px 0;border-bottom:2px solid transparent}
.home-tabs button:hover{color:#e6e6ea}
.home-tabs button.active{color:#f2f2f4;border-bottom-color:#c8f25a}
.home .pitch{background:radial-gradient(ellipse at 50% 40%,#122016,#0b140e 75%);border:1px solid #1b2b20;border-radius:4px;height:clamp(440px,calc(100vh - 340px),660px)}
.home .field-lines{stroke:#3e6049;opacity:.5}
.home .pitch[hidden],.home .squad-view[hidden]{display:none}
.home .squad-view{border:1px solid #1d1d21;border-radius:4px;max-height:clamp(440px,calc(100vh - 340px),660px);overflow:auto}
.home .reserve-heading{display:flex;align-items:baseline;gap:8px;padding:16px 0 10px;border-top:0}
.home .reserve-heading h3{font-size:14px;font-weight:600;letter-spacing:0;text-transform:none;color:#d8d8de}
.home .reserve-heading>span{font-size:11px;color:#6f6f78}
.home .reserve-list{padding:0 0 22px;gap:0}
.home .reserve-list>button{padding:2px 18px}
.home .reserve-list>button:first-child{padding-left:0}
.home .reserve-list>button+button{border-left:1px solid #1d1d21}
.home .reserve-portrait{width:44px;height:52px}
/* right column */
.home-side{display:flex;flex-direction:column;gap:30px;padding:22px 0 24px 32px;border-left:1px solid #1d1d21;min-width:0}
.side-title{font-size:20px;font-weight:700;letter-spacing:-.4px;color:#f2f2f4;margin-bottom:10px}
.home .standing{grid-template-columns:28px minmax(0,1fr) auto;height:46px;padding:0 10px;font-size:13.5px;border-bottom:1px solid #18181b}
.home .standing.labels{height:32px;background:none;font-size:11px;color:#6f6f78;border-bottom:1px solid #1d1d21}
.home .standing.labels span:last-child{text-align:right}
.home .standing b{font-weight:500;color:#e6e6ea}
.home .standing.you b{color:#c8f25a}
.rival-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.rival-top .side-title{margin-bottom:2px}
.rival-sub{font-size:12px;color:#8b8b94}
.rival-value{font-size:11px;color:#7b7b84;white-space:nowrap;padding-top:6px}
.rival-value b{color:#d8d8de;font-weight:500;margin-left:6px}
.home .key-players{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:16px}
.home .key-player{gap:6px}
.kp-img{position:relative;display:inline-block}
.key-player .kp-img>img{width:68px;height:auto}
.kp-img .club.crest{position:absolute;left:-6px;bottom:2px;width:22px;height:22px;background:none;padding:0;min-width:0;line-height:0}
.key-player .kp-img .club.crest img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 1px 2px rgba(0,0,0,.7))}
.home .key-player strong{font-size:12px;font-weight:600;color:#e6e6ea}
.home .transfers{padding:0}
.home .transfer{padding:10px 0;font-size:13px;border-bottom:1px solid #18181b}
.home .transfer b{font-size:12.5px;color:#e6e6ea}
.home-foot{display:flex;justify-content:space-between;font-size:10px;color:#5f5f68;padding:14px 0;border-top:1px solid #1d1d21}
@media(max-width:1180px){.home-grid{grid-template-columns:minmax(0,1fr) 340px}}
@media(max-width:999px){.home .league-band{flex-direction:column;align-items:stretch;padding:12px 0}.home .status-facts{display:grid;grid-template-columns:1fr 1fr;gap:10px}.home .status-facts>div{padding:0;flex-direction:column;gap:2px;border:0}
.home-grid{grid-template-columns:1fr}.home .lineup-panel{padding:0}.home-side{border-left:0;border-top:1px solid #1d1d21;padding:22px 0}.home .pitch{height:auto;min-height:540px}}
.home .lineup-panel .field-lines{left:12px;right:auto;top:12px;width:calc(100% - 24px);height:calc(100% - 24px)}
/* League switcher in the header, right of the wordmark */
.masthead-brand{gap:16px}
.brand-rule{width:1px;height:26px;background:#2b2b2f}
.masthead .league-picker{height:auto}
.masthead .team-switch{display:flex;align-items:center;gap:10px;height:40px;padding:0 10px 0 6px;border:0;border-radius:8px}
.masthead .team-switch:hover{background:#17171a}
.masthead .team-switch .league-logo{width:28px;height:28px;font-size:11px;border-radius:7px}
.masthead .team-switch-name{font-size:14px;font-weight:600;color:#ececf0}
.masthead .team-switch .icon{width:13px;height:13px;margin-left:-2px;color:#8a8a93}
.masthead .league-menu{top:calc(100% + 10px)}
/* The band below now carries only the numbers */
.home .league-band{justify-content:flex-start;min-height:60px}
.home .status-facts>div:first-child{padding-left:0}
@media(min-width:1000px){.masthead-inner{gap:44px}}
@media(max-width:999px){.brand-rule{display:none}.masthead .team-switch-name{display:none}.masthead .team-switch{padding:0 4px}}
/* Dataroom scatter: points vs market value */
.scatter-card{border:1px solid #27272b;background:#0e0e10;border-radius:4px;padding:16px 18px 10px;margin-bottom:16px}
.scatter-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:6px}
.scatter-head h2{font-size:15px;font-weight:600;color:#ececf0}
.scatter-head p{font-size:11px;color:#77777f;margin-top:3px}
.scatter-legend{display:flex;gap:16px;font-size:11px;color:#a5a5ad}
.scatter-legend span{display:flex;align-items:center;gap:6px}
.scatter-legend i{display:inline-block;border-radius:50%}
.lg-all{width:8px;height:8px;background:#6b6b75}
.lg-own{width:11px;height:11px;background:#c8f25a;box-shadow:0 0 0 2px #0e0e10,0 0 0 3px rgba(200,242,90,.5)}
.scatter-wrap{position:relative}
.scatter{display:block;width:100%;height:auto}
.scatter .grid line{stroke:#1d1d21;stroke-width:1}
.scatter .axis text{fill:#6f6f78;font-size:11px;font-family:Inter,Arial,sans-serif}
.scatter .axis .axis-title{fill:#8d8d96;font-size:11px}
.dot .hit{fill:transparent;cursor:pointer}
.dot .mark{fill:#6b6b75;fill-opacity:.6;stroke:#0e0e10;stroke-width:1;pointer-events:none;transition:r .12s}
.dot.own .mark{fill:#c8f25a;fill-opacity:1;stroke:#0e0e10;stroke-width:2}
.dot:hover .mark{fill-opacity:1;fill:#e6e6ea;r:6.5}
.dot.own:hover .mark{fill:#dcf88f}
.dot.picked .mark{stroke:#fff;stroke-width:2;fill-opacity:1}
.dot.searched .mark{fill:#00f0ff;fill-opacity:1;stroke:#ffffff;stroke-width:2.5;r:8;filter:drop-shadow(0 0 8px rgba(0,240,255,.95)) drop-shadow(0 0 16px rgba(0,240,255,.6))}
.dot.searched:hover .mark{fill:#b3f9ff;r:9}
.dot.searched .signal-beacon{fill:rgba(0,240,255,.16);stroke:#00f0ff;stroke-width:1.5;stroke-dasharray:4 2;pointer-events:none;transform-origin:center;animation:beacon-rotate 6s linear infinite}
.dot.searched .signal-pulse{fill:none;stroke:#00f0ff;stroke-width:2;pointer-events:none;animation:beacon-pulse 1.8s cubic-bezier(.1,.7,.3,1) infinite}
@keyframes beacon-pulse{0%{r:8px;opacity:1;stroke-width:2.5px}100%{r:26px;opacity:0;stroke-width:.5px}}
@keyframes beacon-rotate{100%{transform:rotate(360deg)}}
.dot-label{fill:#a5a5ad;font-size:11px;font-family:Inter,Arial,sans-serif;pointer-events:none}
.dot-label.dot-label-own{fill:#c8f25a;font-weight:600;font-size:11px;letter-spacing:-.1px;filter:drop-shadow(0 1px 3px rgba(0,0,0,.9))}
.dot-label.dot-label-searched{fill:#00f0ff;font-weight:700;font-size:12px;letter-spacing:.1px;filter:drop-shadow(0 1px 4px rgba(0,0,0,.95)) drop-shadow(0 0 8px rgba(0,240,255,.75))}
.lg-searched{width:10px;height:10px;background:#00f0ff;border-radius:50%;box-shadow:0 0 6px #00f0ff,0 0 12px rgba(0,240,255,.6);display:inline-block}
.scatter-tip{position:absolute;z-index:20;transform:translate(-50%,calc(-100% - 12px));display:flex;flex-direction:column;gap:2px;min-width:150px;padding:8px 10px;background:#18181b;border:1px solid #2e2e33;border-radius:6px;box-shadow:0 10px 28px rgba(0,0,0,.5);pointer-events:none;font-size:11px;color:#a5a5ad;white-space:nowrap}
.scatter-tip[hidden]{display:none}
.scatter-tip strong{font-size:12.5px;color:#f2f2f4;font-weight:600}
.scatter-tip span{display:flex;align-items:center;gap:5px}
@media(max-width:760px){.scatter-head{flex-direction:column}.scatter .axis text{font-size:16px}.dot-label{font-size:16px}}
/* Manager logos back in the league table */
.home .standing{grid-template-columns:24px 28px minmax(0,1fr) auto}
.home .mgr-logo{width:28px;height:28px;font-size:9.5px}
/* League switcher, refined: slim capsule, round monogram with a fine accent ring */
.masthead-brand{gap:24px}
.masthead .team-switch{height:34px;gap:9px;padding:0 12px 0 4px;border:1px solid #26262b;border-radius:999px;background:linear-gradient(180deg,#151517,#0f0f11);box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
.masthead .team-switch:hover{background:linear-gradient(180deg,#19191c,#121214);border-color:#36363c}
.masthead .team-switch[aria-expanded=true]{border-color:#3a3a40}
.masthead .team-switch .league-logo{width:26px;height:26px;border-radius:50%;background:#1b1b1e;color:#e8e8ec;font-size:9.5px;font-weight:700;letter-spacing:.3px;box-shadow:inset 0 0 0 1px rgba(200,242,90,.55)}
.masthead .team-switch-name{font-size:13px;font-weight:500;color:#e2e2e6;letter-spacing:-.1px}
.masthead .team-switch .icon{width:12px;height:12px;margin-left:0;color:#77777f}
/* Same monogram style in the dropdown; the active league carries the accent ring */
.league-option .league-logo,.league-option:not([aria-selected=true]) .league-logo{width:30px;height:30px;border-radius:50%;background:#1b1b1e;color:#d8d8de;font-size:10px;font-weight:700;box-shadow:inset 0 0 0 1px #2e2e34}
.league-option[aria-selected=true] .league-logo{color:#f0f0f3;box-shadow:inset 0 0 0 1px rgba(200,242,90,.6)}
.league-menu{border-radius:10px}
.masthead-brand{gap:18px}
/* League card in the header: square logo, name, your rank and points */
.masthead .team-switch{height:auto;gap:11px;padding:4px 8px 4px 4px;border:0;border-radius:9px;background:none;box-shadow:none}
.masthead .team-switch:hover{background:#151517}
.masthead .team-switch[aria-expanded=true]{background:#151517}
.masthead .team-switch .league-logo{width:34px;height:34px;border-radius:8px;background:linear-gradient(145deg,#23232a,#15151a);color:#e6e6ea;font-size:11px;font-weight:700;letter-spacing:.4px;box-shadow:inset 0 0 0 1px #33333a}
.team-switch-text{display:flex;flex-direction:column;text-align:left;line-height:1.25}
.masthead .team-switch-name{font-size:13.5px;font-weight:600;color:#f0f0f2}
.team-switch-text small{font-size:11px;color:#8b8b94;white-space:nowrap}
.team-switch-text small em{font-style:normal}
.team-switch-text .up{color:#6ad1c3}.team-switch-text .down{color:#e08c80}
.masthead .team-switch .icon{width:13px;height:13px;color:#7b7b84;margin-left:2px}
.league-option .league-logo,.league-option:not([aria-selected=true]) .league-logo{border-radius:8px;background:linear-gradient(145deg,#23232a,#15151a);color:#e6e6ea;box-shadow:inset 0 0 0 1px #33333a}
.league-option[aria-selected=true] .league-logo{box-shadow:inset 0 0 0 1px rgba(200,242,90,.6)}
.league-option-text small{display:block;font-size:11px;color:#7d7d86;margin-top:2px}
.league-menu{width:320px}
/* Team numbers: compact row at the top of the right column (replaces the band) */
.side-stats{display:grid;grid-template-columns:repeat(3,1fr);margin:0;border:1px solid #1d1d21;border-radius:6px}
.side-stats>div{display:flex;flex-direction:column;gap:2px;padding:11px 14px}
.side-stats>div+div{border-left:1px solid #1d1d21}
.side-stats dt{font-size:10.5px;color:#7b7b84}
.side-stats dd{margin:0;font-size:17px;font-weight:600;color:#f0f0f2;font-variant-numeric:tabular-nums}
.side-stats dd.neg{color:#e3b77b}
.side-stats em{font-style:normal;font-size:10.5px;color:#6f6f78}
.side-stats em.up{color:#6ad1c3}.side-stats em.down{color:#e08c80}
.home-side{gap:26px}
.home .pitch{height:clamp(440px,calc(100vh - 286px),680px)}
.home .squad-view{max-height:clamp(440px,calc(100vh - 286px),680px)}
@media(max-width:999px){.masthead .team-switch-text{display:none}}
/* Form fields: no accent ring on focus, just a lighter neutral border */
input:focus-visible,select:focus-visible,textarea:focus-visible{outline:none}
input:focus,select:focus,textarea:focus{border-color:#55555c}
.bid-input:focus-within,.data-search:focus-within{border-color:#55555c}
#data-club:focus{border-color:#55555c}
/* Player search: segmented scope control instead of a native select */
.scope-seg{display:flex;flex-shrink:0;padding:3px;border:1px solid #2a2a2f;border-radius:8px;background:#0f0f11}
.scope-seg button{height:32px;padding:0 14px;border-radius:6px;font-size:12.5px;font-weight:500;color:#8a8a93;white-space:nowrap}
.scope-seg button:hover{color:#e6e6ea}
.scope-seg button[aria-pressed=true]{background:#1f1f23;color:#f2f2f4;box-shadow:inset 0 0 0 1px #2e2e34}
.search-input-wrap input{height:44px;border-radius:8px}
/* Same height as the search field: 44px (3px padding + 36px buttons + 2 x 1px border) */
.scope-seg{height:44px;align-items:center}
.scope-seg button{height:36px}
/* Meine Elf without a heading: formation and view toggle sit inside the pitch, top corners */
.home .lineup-panel{padding-top:22px}
.elf-stage{position:relative}
.elf-controls{position:absolute;z-index:3;top:14px;left:18px;right:14px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}
.elf-controls>*{pointer-events:auto}
.elf-formation{font-size:12px;font-weight:600;color:#a9c4b0;letter-spacing:.02em}
.elf-seg{height:36px;background:rgba(10,14,11,.75);border-color:#26362b;backdrop-filter:blur(6px)}
.elf-seg button{height:28px;padding:0 12px;font-size:12px}
.elf-seg button.active{background:#1f2a22;color:#f2f2f4;box-shadow:inset 0 0 0 1px #33473a}
.elf-seg button:not(.active){background:none;box-shadow:none}
.home .pitch{height:clamp(480px,calc(100vh - 226px),740px);padding-top:56px}
.home .squad-view{max-height:clamp(480px,calc(100vh - 226px),740px);padding-top:52px}
.home .squad-view .elf-formation{display:none}
.home .lineup-panel .field-lines{top:50px;height:calc(100% - 62px)}
.list-view .elf-formation{visibility:hidden}
/* League table: compact rows, five teams visible, the rest scrolls under a sticky header */
.home .standings{max-height:calc(30px + 5 * 38px);overflow-y:auto;position:relative;scrollbar-width:thin;scrollbar-color:#2e2e34 transparent}
.home .standings::-webkit-scrollbar{width:6px}.home .standings::-webkit-scrollbar-thumb{background:#2e2e34;border-radius:3px}
.home .standing{height:38px;font-size:13px;grid-template-columns:22px 24px minmax(0,1fr) auto;gap:9px}
.home .standing.labels{height:30px;position:sticky;top:0;z-index:1;background:var(--bg)}
.home .mgr-logo{width:24px;height:24px;font-size:8.5px}
.home .side-title{margin-bottom:6px}
.home .standings>.standing{flex-shrink:0}
.home .standings.more{-webkit-mask-image:linear-gradient(#000 calc(100% - 30px),transparent);mask-image:linear-gradient(#000 calc(100% - 30px),transparent)}
/* Pitch lines fill the whole pitch; the outer field line is the pitch's edge */
.home .lineup-panel .field-lines{left:0;top:0;width:100%;height:100%}
.home .lineup-panel .field-lines *{vector-effect:non-scaling-stroke}
.home .pitch{border:0;border-radius:2px}
/* Homepage, below the fold: transfer market with the team numbers */
.home-transfers{padding:40px 0 10px;border-top:1px solid #1d1d21;margin-top:8px}
.ht-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:18px}
.ht-title{font-size:24px;font-weight:700;letter-spacing:-.5px;color:#f2f2f4}
.ht-head p{font-size:12px;color:#7b7b84;margin-top:4px}
.ht-head .side-stats{min-width:520px}
.home-transfers .transfer-market{margin-top:0}
@media(max-width:999px){.ht-head{flex-direction:column;align-items:stretch}.ht-head .side-stats{min-width:0}}
/* Position filters (market + Dataroom): pill toggle like Spielfeld | Kaderliste instead of a lime underline */
.market-filters,.data-tabs{display:flex;gap:0;height:38px;align-items:center;padding:3px;border:1px solid #2a2a2f;border-radius:8px;background:#0f0f11}
.market-filters button,.data-tabs button{height:30px;padding:0 12px;border:0;border-bottom:0;border-radius:6px;font-size:12px;font-weight:500;color:#8a8a93}
.market-filters button:hover,.data-tabs button:hover{color:#e6e6ea}
.market-filters button[aria-pressed=true],.data-tabs button[aria-pressed=true]{background:#1f1f23;color:#f2f2f4;border-bottom-color:transparent;box-shadow:inset 0 0 0 1px #2e2e34}
.data-search{height:38px}
/* Larger players on the homepage pitch */
.home .lineup-panel .token{width:150px}
.home .lineup-panel .portrait-wrap{width:118px;height:104px}
.home .lineup-panel .portrait-wrap .club.crest{width:32px;height:32px;left:4px;bottom:4px}
.home .lineup-panel .uncertain{width:20px;height:20px;font-size:12px;top:16px;right:4px}
.home .lineup-panel .token>strong{font-size:15px;line-height:22px;padding:1px 9px}
.home .lineup-panel .token-data{line-height:24px}
.home .lineup-panel .token-data>b{font-size:15px}
.home .lineup-panel .token-data>span{font-size:11px;margin-left:8px}
@media(max-width:1180px){.home .lineup-panel .token{width:120px}.home .lineup-panel .portrait-wrap{width:100px;height:88px}.home .lineup-panel .token>strong{font-size:14px}}
@media(min-width:1000px) and (max-height:800px){.home .lineup-panel .portrait-wrap{width:84px;height:74px}.home .lineup-panel .token>strong{font-size:13px}}
/* Players a step smaller, and scaled to the window height so all rows stay inside the pitch */
.home .lineup-panel .token{width:136px}
.home .lineup-panel .portrait-wrap{width:102px;height:90px}
.home .lineup-panel .portrait-wrap .club.crest{width:28px;height:28px}
.home .lineup-panel .token>strong{font-size:14px;line-height:20px}
.home .lineup-panel .token-data{line-height:22px}
.home .lineup-panel .token-data>b{font-size:14px}
@media(min-width:1000px) and (max-height:940px){.home .lineup-panel .portrait-wrap{width:90px;height:79px}.home .lineup-panel .portrait-wrap .club.crest{width:26px;height:26px}.home .lineup-panel .token>strong{font-size:13.5px}}
@media(min-width:1000px) and (max-height:820px){.home .lineup-panel .portrait-wrap{width:76px;height:67px}.home .lineup-panel .portrait-wrap .club.crest{width:22px;height:22px}.home .lineup-panel .token>strong{font-size:12.5px;line-height:18px}.home .lineup-panel .token-data{line-height:19px}.home .lineup-panel .token-data>b{font-size:13px}}
@media(min-width:1000px) and (max-height:730px){.home .lineup-panel .portrait-wrap{width:62px;height:55px}.home .lineup-panel .portrait-wrap .club.crest{width:19px;height:19px}.home .lineup-panel .token>strong{font-size:12px;line-height:16px}.home .lineup-panel .token-data{line-height:17px}.home .lineup-panel .token-data>b{font-size:12px}}
/* League card sits closer to the divider than the wordmark does */
.masthead-brand .league-picker{margin-left:-8px}
.brand-rule{margin:0 4px}
/* Players about 8% larger at every window height */
.home .lineup-panel .portrait-wrap{width:110px;height:97px}
.home .lineup-panel .token>strong{font-size:14.5px}
@media(min-width:1000px) and (max-height:940px){.home .lineup-panel .portrait-wrap{width:97px;height:86px}.home .lineup-panel .token>strong{font-size:14px}}
@media(min-width:1000px) and (max-height:820px){.home .lineup-panel .portrait-wrap{width:82px;height:72px}.home .lineup-panel .token>strong{font-size:13px}}
@media(min-width:1000px) and (max-height:730px){.home .lineup-panel .portrait-wrap{width:66px;height:58px}.home .lineup-panel .token>strong{font-size:12px}}
/* League table a touch larger */
.home .standings{max-height:calc(32px + 5 * 42px)}
.home .standing{height:42px;font-size:14px;grid-template-columns:24px 28px minmax(0,1fr) auto;gap:10px}
.home .standing.labels{height:32px;font-size:11.5px}
.home .mgr-logo{width:28px;height:28px;font-size:9.5px}
/* View toggle: text tabs with an underline, like the main menu */
.elf-seg{flex-direction:row;align-items:center;height:auto;gap:20px;padding:0 6px 0 0;border:0;background:none;backdrop-filter:none}
.elf-seg button,.elf-seg button:not(.active){height:auto;padding:4px 0;border-radius:0;background:none;box-shadow:none;font-size:13px;font-weight:600;color:#8a8a93;border-bottom:2px solid transparent}
.elf-seg button:hover{color:#e6e6ea}
.elf-seg button.active{background:none;box-shadow:none;color:#f2f2f4;border-bottom-color:#c8f25a}
/* Formation sits right-aligned below the view tabs */
.elf-controls{left:auto;flex-direction:column;align-items:flex-end;justify-content:flex-start;gap:6px}
.elf-formation{padding-right:6px}
/* Players another step larger */
.home .lineup-panel .portrait-wrap{width:116px;height:102px}
.home .lineup-panel .portrait-wrap .club.crest{width:30px;height:30px}
.home .lineup-panel .token>strong{font-size:15px}
.home .lineup-panel .token-data>b{font-size:15px}
@media(min-width:1000px) and (max-height:940px){.home .lineup-panel .portrait-wrap{width:104px;height:92px}.home .lineup-panel .portrait-wrap .club.crest{width:28px;height:28px}.home .lineup-panel .token>strong{font-size:14.5px}.home .lineup-panel .token-data>b{font-size:14.5px}}
@media(min-width:1000px) and (max-height:820px){.home .lineup-panel .portrait-wrap{width:88px;height:77px}.home .lineup-panel .portrait-wrap .club.crest{width:24px;height:24px}.home .lineup-panel .token>strong{font-size:13.5px}.home .lineup-panel .token-data>b{font-size:13.5px}}
@media(min-width:1000px) and (max-height:730px){.home .lineup-panel .portrait-wrap{width:70px;height:62px}.home .lineup-panel .portrait-wrap .club.crest{width:20px;height:20px}.home .lineup-panel .token>strong{font-size:12px}.home .lineup-panel .token-data>b{font-size:12px}}
/* ---------- Drag & drop (style B): only the hovered target reacts, with a swap badge ---------- */
.is-dragging :is(.pitch .token,.reserve-list>button):not(.drop-ok){opacity:.3;filter:none}
.is-dragging .drag-source{opacity:.18}
.token .portrait-wrap::before{display:none}
/* Incoming player's name below the hovered target, in place of its points line */
.token.drop-hover .token-data{opacity:0}
.drop-hover::after{content:"⇄ " attr(data-swap-in);display:block;position:absolute;z-index:3;left:50%;bottom:2px;top:auto;right:auto;transform:translateX(-50%);white-space:nowrap;background:#c8f25a;color:#0b0b0c;font:700 11px/1 Inter,Arial,sans-serif;letter-spacing:.01em;text-transform:none;padding:4px 8px;border-radius:4px;box-shadow:0 6px 18px rgba(0,0,0,.5);animation:chip-in .14s ease-out}
.reserve-list>.drop-hover::after{top:-12px;bottom:auto;left:auto;right:0;transform:none}
/* No text selection while dragging */
body.is-dragging,body.is-dragging *{-webkit-user-select:none;user-select:none}
.token.drop-hover .portrait-wrap{transform:none}
.token.drop-hover .portrait-wrap::after{content:"⇄";position:absolute;z-index:2;right:-4px;top:2px;width:26px;height:26px;border-radius:50%;background:#c8f25a;color:#0b0b0c;font:700 14px/26px Inter,Arial,sans-serif;text-align:center;box-shadow:0 0 0 3px rgba(11,20,14,.9);animation:badge-in .14s ease-out}
.token.drop-hover>strong{color:#c8f25a;border-bottom-color:#c8f25a}
@keyframes badge-in{from{transform:scale(.6);opacity:0}}
/* Bench as target: thin lime edge on hover */
.reserve-list>.drop-ok{background:none}
.reserve-list>.drop-hover{background:rgba(200,242,90,.05);box-shadow:inset 2px 0 0 #c8f25a}
.reserve-list>.drop-hover strong{color:#c8f25a}
/* The player in hand: small pill next to the cursor */
.drag-ghost{width:auto;margin:-58px 0 0 14px}
.drag-ghost>div{flex-direction:row;align-items:center;gap:9px;padding:4px 14px 4px 4px;border-radius:999px;background:rgba(23,23,26,.92);border:1px solid #33333a;box-shadow:0 14px 34px rgba(0,0,0,.55);transform:none;animation:ghost-in .14s ease-out}
.drag-ghost img{width:40px;height:40px;border-radius:50%;object-fit:cover;object-position:top;background:#222226;filter:none}
.drag-ghost span{background:none;border:0;box-shadow:none;padding:0;font-size:13px;font-weight:600;color:#f2f2f4}
@keyframes ghost-in{from{transform:scale(.92);opacity:.6}}
@media(prefers-reduced-motion:reduce){.token.drop-hover .portrait-wrap::after,.drag-ghost>div{animation:none}}
/* Design B — editorial pitch and unframed player portraits. */
.home .lineup-panel .pitch {
  height:clamp(520px,calc(100vh - 216px),820px);
  min-height:520px;
  padding:44px 12px 12px;
  background:#0b1710;
  border:1px solid #2b3930;
  border-radius:0;
  box-shadow:none;
  overflow:visible;
  justify-content:space-around;
}
.home .lineup-panel .field-lines {
  left:0;top:0;width:100%;height:100%;transform:none;
  mask-image:none;-webkit-mask-image:none;opacity:1;
}
.home .lineup-panel .field-lines>rect {display:none}
.home .lineup-panel .field-lines .pl {stroke:#536456;stroke-opacity:.42;vector-effect:non-scaling-stroke}
.home .lineup-panel .token {
  --portrait-size:clamp(68px,calc(15vh - 40px),112px);
  width:clamp(102px,9vw,138px);flex-shrink:1;
}
.home .lineup-panel .token .portrait-wrap {
  width:var(--portrait-size);height:var(--portrait-size);isolation:isolate;
}
.home .lineup-panel .token .portrait-wrap::before {display:none;content:none}
.home .lineup-panel .token .portrait-wrap>img {
  position:relative;z-index:0;width:100%;height:100%;max-height:none;
  margin:0;object-fit:contain;object-position:center bottom;filter:none;
}
.home .lineup-panel .token .portrait-wrap .club.crest {
  z-index:2;width:28%;height:28%;left:-3%;bottom:2%;
  filter:drop-shadow(0 1px 1px #0006);
}
.home .lineup-panel .token>strong {
  position:relative;z-index:2;width:100%;max-width:none;min-width:0;
  margin-top:0;padding:3px 3px;text-align:center;background:#f5f1df;color:#121a14;
  font-size:clamp(12px,1.5vh,15px);line-height:1.2;font-weight:700;
  letter-spacing:-.3px;border:0;border-radius:2px;box-shadow:none;
}
.home .lineup-panel .token-data {
  width:auto;min-width:0;justify-content:center;align-items:center;gap:0;
  margin-top:5px;padding:0;background:none;border:0;border-radius:0;
  line-height:1.2;box-shadow:none;white-space:nowrap;
}
.home .lineup-panel .token-data>b {color:#eeefe9;font-size:clamp(12px,1.45vh,15px);font-weight:650}
.home .lineup-panel .token-data>span {
  display:inline;color:#9ca99f;font-size:clamp(9px,1.1vh,12px);
  margin-left:7px;padding-left:7px;border-left:1px solid #455047;line-height:1;
}
.home .lineup-panel .token.warning>strong {color:#885813;background:#f5e8cc}
.home .lineup-panel .token.drop-hover>strong {background:#c8f25a;color:#0b0b0c}
.home .lineup-panel .uncertain {z-index:3}
.home .reserve-heading {padding:13px 0 8px}
.home .reserve-heading h3 {font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:#969b96;font-weight:500}
.home .reserve-list {border:1px solid #292e2a;border-radius:2px;padding:10px 6px;margin-bottom:14px}
.home .reserve-list>button,.home .reserve-list>button:first-child {padding:0 10px}
.home-side {gap:26px}
@media(max-width:600px) {
  .home .lineup-panel .pitch {height:580px;min-height:580px;padding:52px 5px 12px}
  .home .lineup-panel .token {--portrait-size:clamp(52px,16vw,80px);width:20%;flex-shrink:1}
  .home .lineup-panel .token>strong {width:110%;font-size:10px;padding:4px 1px;letter-spacing:-.45px}
  .home .lineup-panel .token-data>b {font-size:11px}
  .home .lineup-panel .token-data>span {font-size:8px;margin-left:3px;padding-left:3px}
  .home .reserve-list {padding:10px 0}
  .home .reserve-list>button {padding:5px 8px}
}

/* Reserve B: compact list with an independent, aligned points column. */
.home .reserve-list {
 display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,max(155px,calc((100% - 72px)/4))),1fr));gap:20px 24px;
 background:none;border:0;border-top:1px solid #2b332c;border-bottom:1px solid #2b332c;
 border-radius:0;padding:16px 0;margin-bottom:16px;
}
.home .reserve-list>button,.home .reserve-list>button:first-child {
 display:flex;align-items:center;gap:8px;min-width:0;padding:0;
 text-align:left;isolation:isolate;border:0;
}
.home .reserve-list>button+button {border-left:0}
.home .reserve-list .reserve-portrait {
 position:relative;flex:0 0 42px;width:42px;height:58px;overflow:visible;align-self:center;
}
.home .reserve-list .reserve-cutout {position:absolute;inset:0;display:block;border:0;border-radius:0;overflow:hidden;background:none}
.home .reserve-list .reserve-cutout>img {
 display:block;width:100%;height:100%;max-width:none;object-fit:cover;
 object-position:center top;filter:saturate(.85);margin:0;mask-image:linear-gradient(to bottom,#000 72%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,#000 72%,transparent 100%);
}
.home .reserve-list>button>span.res-text {
 display:flex;flex-direction:column;align-items:flex-start;gap:8px;
 flex:1;min-width:0;margin:0;padding-bottom:0;
}
.home .reserve-list .res-text>strong {
 display:block;padding:0;background:none;color:#e0e3dd;border-radius:0;
 font-size:12px;font-weight:550;line-height:1.25;white-space:nowrap;letter-spacing:-.2px;
}
.home .reserve-list .reserve-fixture {display:flex;align-items:center;gap:6px;white-space:nowrap;color:#88988b;font-size:10px;line-height:18px}
.home .reserve-list .reserve-fixture .club.crest {
 position:static;display:block;width:17px;height:17px;min-width:17px;padding:0;background:none;line-height:0;
}
.home .reserve-list .reserve-fixture .club.crest img {width:100%;height:100%;object-fit:contain}
.home .reserve-list .reserve-score {display:flex;flex-direction:column;align-items:flex-end;gap:7px;flex-shrink:0;margin:0;padding-bottom:0;font-variant-numeric:tabular-nums}
.home .reserve-list .reserve-score>b {font-size:15px;line-height:1.2;font-weight:600;color:#dfe4df;margin:0}
.home .reserve-list .reserve-score>small {display:block;font-size:9px;font-weight:400;color:#7e8d81;white-space:nowrap;margin:0}
.home .reserve-list>button:hover .res-text>strong {color:#fff;background:none}
.home .reserve-list>button:hover .reserve-cutout>img {filter:none}
@media(max-width:400px) {
 .home .reserve-list {column-gap:14px}
 .home .reserve-list>button,.home .reserve-list>button:first-child {gap:6px}
 .home .reserve-list .reserve-portrait {width:34px;height:58px;flex-basis:34px}
 .home .reserve-list .res-text>strong {font-size:11px}
 .home .reserve-list .reserve-fixture {font-size:9px;gap:4px}
 .home .reserve-list .reserve-fixture .club.crest {width:14px;height:14px;min-width:14px}
 .home .reserve-list .reserve-score>b {font-size:13px}
}

/* Unframed football symbols; shape carries meaning alongside colour. */
.home .lineup-panel .token.warning>strong {background:#f5f1df;color:#121a14}
.availability-icon {display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border:0;border-radius:0;background:none;color:#e7eae5;flex-shrink:0}
.availability-icon svg {width:20px;height:20px;overflow:visible}
.availability-icon.neutral {color:#e7eae5}
.availability-icon.red {color:#f04452}
.availability-icon.blue {color:#65b5d6}
.availability-icon.orange {color:#f28a2e}
.availability-icon.yellow {color:#f2d34f}
.availability-icon.muted {color:#87948a}
.portrait-wrap>.availability-icon {position:absolute;width:34px;height:34px;right:-20px;top:2px;z-index:3;filter:drop-shadow(0 1px 2px #08110a)}
.reserve-portrait>.availability-icon {position:absolute;right:0;top:0;z-index:3;width:24px;height:24px;filter:drop-shadow(0 1px 2px #08110a)}
.reserve-portrait>.availability-icon svg {width:24px;height:24px}
.portrait-wrap>.availability-icon svg {width:100%;height:100%}
.player-status.availability-label {display:flex;align-items:center;gap:8px;color:#c8ced0;background:none}
.status-key {position:relative;pointer-events:auto;color:#89938d;font-size:10px}
.status-key summary {cursor:pointer;list-style:none;padding:3px 0;text-align:right}
.status-key summary::-webkit-details-marker {display:none}
.status-key summary:hover {color:#e0e5e0}
.status-key summary:focus-visible {outline:2px solid #c8f25a;outline-offset:3px}
.status-key-panel {position:absolute;right:0;top:26px;width:292px;max-width:calc(100vw - 48px);padding:0 16px;background:#101512;border:1px solid #303932;border-radius:3px;box-shadow:0 12px 30px #0008;z-index:10;text-align:left}
.status-key-panel>header {display:flex;align-items:center;justify-content:space-between;padding:16px 0 12px;border-bottom:1px solid #283029}
.status-key-panel>header strong {font-size:13px;font-weight:600;color:#e4e9e3}
.status-key-panel>header>span {font-size:8px;letter-spacing:.12em;color:#78857b}
.status-key-row {display:flex;align-items:center;gap:14px;padding:10px 0;border-bottom:1px solid #1f2821}
.status-key-row>.availability-icon {width:28px;height:28px}
.status-key-row>.availability-icon svg {width:26px;height:26px}
.status-key-row>span:last-child {display:flex;flex-direction:column;gap:3px}
.status-key-row strong {font-size:11px;font-weight:550;color:#dce3db}
.status-key-row small {font-size:9px;line-height:1.35;color:#8b998e}
.status-key-panel>footer {padding:12px 0;color:#8b998e;font-size:9px;line-height:1.4}

@media(max-width:600px){.portrait-wrap>.availability-icon{width:28px;height:28px;right:-14px;top:0}}

/* Full-width workspace with compact, consistent gutters. */
.masthead-inner,main {max-width:none;width:100%;padding-left:24px;padding-right:24px}
@media(min-width:1000px){.home-grid{grid-template-columns:minmax(0,1fr) minmax(340px,29%)}.home .lineup-panel{padding-right:20px}.home-side{padding-left:20px}}
.home .standing {padding-left:6px;padding-right:6px}
.home .standing[data-team] {cursor:pointer;transition:background .15s}
.home .standing[data-team]:hover {background:#182018}
.home .standing[data-team]:hover .st-name {text-decoration:underline;text-underline-offset:3px}
.opponent-heading {display:flex;align-items:center;gap:14px;margin-bottom:24px}
.opponent-heading .mgr-logo {width:44px;height:44px;font-size:13px}
.opponent-heading h3 {font-size:23px;letter-spacing:-.5px;margin:0 0 4px}
.opponent-heading p {font-size:12px;color:#919b94;margin:0}
.opponent-stats {display:grid;grid-template-columns:repeat(4,1fr);gap:14px;padding:18px 0;border-top:1px solid #29312b;border-bottom:1px solid #29312b;margin-bottom:24px}
.opponent-stats span {display:block;color:#909b93;font-size:10px;margin-bottom:7px}
.opponent-stats b {font-size:17px;font-weight:550;font-variant-numeric:tabular-nums}
.opponent-section {font-size:14px;margin:0 0 12px}.opponent-section>span {color:#8d978f;font-weight:400;margin-left:8px}
.opponent-empty {padding:24px 0;color:#9ca69e;font-size:13px}
.opponent-nav {display:flex;justify-content:space-between;gap:16px;border-top:1px solid #29312b;padding-top:18px;margin-top:24px}
.opponent-nav button {font-size:12px;color:#bac4bc;padding:6px 0}.opponent-nav button:hover {color:#fff}
button.league-row {width:100%;text-align:left}
@media(max-width:600px){.masthead-inner,main{padding-left:16px;padding-right:16px}.home-side{padding-left:0}.opponent-stats{grid-template-columns:repeat(2,1fr)}}

.team-start-chance {display:grid;grid-template-columns:1fr auto;gap:10px 20px;padding:0 0 22px;margin-bottom:22px;border-bottom:1px solid #29312b}
.team-start-chance h3 {font-size:13px;font-weight:550;margin:0 0 5px;color:#dfe5df}
.team-start-chance p {font-size:11px;color:#909b93;margin:0;line-height:1.5}
.team-start-chance>strong {font-size:28px;font-weight:550;color:#e4ece5;font-variant-numeric:tabular-nums;align-self:center}
.team-start-chance>strong small {font-size:14px;margin-left:4px;color:#9dad9e}
.team-chance-track {grid-column:1/-1;height:3px;background:#283129}
.team-chance-track>span {display:block;height:100%;background:#a9c7ac}
.team-start-chance>small {grid-column:1/-1;font-size:10px;color:#87938a;line-height:1.4}

#window.team-detail-window {width:min(1120px,calc(100vw - 40px));max-width:1120px}
.team-detail-window .window-body {padding:24px}
.team-detail-window .opponent-heading {margin-bottom:18px}
.team-data-label {margin-left:auto;font-size:10px;color:#839086}
.team-detail-grid {display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,1fr);gap:28px;align-items:start}
.team-section-head {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.team-section-head h3 {font-size:14px;font-weight:550;margin:0}.team-section-head>span {font-size:11px;color:#8e9a92}
.team-detail-pitch {position:relative;display:flex;flex-direction:column;justify-content:space-around;gap:12px;height:565px;padding:16px 8px;background:#0b1911;border:1px solid #324236}
.team-detail-pitch>svg {position:absolute;inset:0;width:100%;height:100%;stroke:#334b3a;fill:none;stroke-width:1}
.team-pitch-row {display:flex;justify-content:space-around;gap:5px;position:relative}
.team-pitch-player {display:flex;flex-direction:column;align-items:center;min-width:0;width:100px}
.team-pitch-portrait {position:relative;width:65px;height:72px;display:block}
.team-pitch-portrait>img {width:100%;height:100%;object-fit:contain;object-position:bottom}
.team-pitch-portrait>.club {position:absolute;left:-3px;bottom:0;width:21px;height:21px;background:none;padding:0;min-width:0}
.team-pitch-portrait>.club img {width:100%;height:100%;object-fit:contain}
.team-pitch-portrait>.availability-icon {position:absolute;right:-12px;top:2px;width:25px;height:25px}.team-pitch-portrait>.availability-icon svg {width:25px;height:25px}
.team-pitch-player>strong {background:#f5f1df;color:#141b15;width:100%;font-size:11px;line-height:20px;border-radius:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.team-pitch-player>small {font-size:10px;color:#d3dcd3;margin-top:4px}.team-pitch-player>small>span {color:#8fa695}

.team-detail-player {display:grid;grid-template-columns:30px minmax(0,1fr) 20px 45px;gap:9px;align-items:center;width:100%;text-align:left;padding:7px 0;border-bottom:1px solid #252c26}
.team-detail-player>img {width:30px;height:38px;object-fit:contain;object-position:bottom}
.team-detail-player strong {font-size:12px;font-weight:500}.team-detail-player small {display:flex;align-items:center;gap:4px;font-size:9px;color:#8e9c92;margin-top:3px}
.team-detail-player small .club {position:static;width:13px;height:13px;min-width:13px;background:none;padding:0}.team-detail-player small .club img {width:100%;height:100%;object-fit:contain}
.team-detail-player>span:nth-last-child(-n+2) {text-align:right}.team-detail-player>span:nth-last-child(-n+2) small {justify-content:flex-end}.team-detail-player b {font-size:12px;font-weight:500}
.team-detail-player:hover {background:#172019}.bench-section {margin-top:22px}
.team-lineup-empty {min-height:250px;display:flex;flex-direction:column;justify-content:center;padding:28px;border:1px dashed #334037;color:#c0cbc3}.team-lineup-empty p {font-size:12px;color:#8f9f93;line-height:1.6;margin-top:12px}
.team-back {font-size:12px;color:#b8cdbb;margin-bottom:20px}
@media(max-width:800px){.team-detail-grid{grid-template-columns:1fr}.team-detail-window .window-body{padding:16px}#window.team-detail-window{width:calc(100vw - 20px)}.team-detail-pitch{height:540px}.team-data-label{display:none}}
@media(max-width:400px){.team-pitch-player>strong{font-size:9px}.team-pitch-player>small{font-size:9px}.team-pitch-portrait{width:52px;height:65px}}

/* Status key sits beside the pitch/list switch. */
.elf-controls {flex-direction:row;align-items:center;gap:5px}
.elf-controls>.status-key {transform:translateY(-2px)}
.status-key summary {display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:3px;color:#94a099}
.status-key summary svg {width:20px;height:20px}
.status-key[open] summary,.status-key summary:hover {color:#ecf0ea}
.status-key-panel {top:36px}

/* Squad-specific news replaces the rival spotlight. */
.squad-news-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.squad-news-heading>span{font-size:10px;color:#777e79}
.home .squad-news-heading .side-title{margin:0}
.squad-news-item{display:block;width:100%;padding:15px 0;text-align:left;background:transparent;border:0;border-bottom:1px solid #222623;color:inherit;cursor:pointer}
.squad-news-item:hover{background:#ffffff04}
.squad-news-item:focus-visible,.squad-news-all:focus-visible{outline:2px solid #c3ed58;outline-offset:4px}
.squad-news-copy{display:block}
.squad-news-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#9ba69d;font-size:9px;letter-spacing:.6px}
.squad-news-meta>span{color:#737a75;letter-spacing:0;white-space:nowrap}
.squad-news-copy>strong{display:block;margin:7px 0 10px;color:#e4e7e3;font-size:13px;font-weight:500;line-height:1.5}
.squad-news-player{display:flex;align-items:center;gap:6px;font-size:10px;color:#929b94}
.squad-news-player img{width:13px;height:13px;object-fit:contain}
.squad-news-player>span:last-child{margin-left:auto;color:#7f8981}
.squad-news-all{display:flex;justify-content:space-between;width:100%;padding:13px 0 4px;background:none;border:0;color:#c8ceca;font-size:11px;cursor:pointer}
.squad-news-note,.squad-news-empty{font-size:10px;color:#737a75;line-height:1.5;margin-top:10px}

/* Portrait and club crest alignment. */
.home .lineup-panel .token .portrait-wrap::before{display:none;content:none}
.home .lineup-panel .token .portrait-wrap .club.crest{left:-12%;bottom:5px;width:30%;height:30%}

.home .lineup-panel .token-data .points-average{font-size:.85em;color:#9ca99f;font-weight:400}

/* Centre the visible silhouette, compensating for each source PNG’s transparent padding.
   Keep portrait size and badge anchors unchanged. Offsets use alpha > 30 bounds. */
.home .lineup-panel .token .portrait-wrap>img[src="assets/players/aleix-garcia.png"]{left:-0.781%}
.home .lineup-panel .token .portrait-wrap>img[src="assets/players/angelo-stiller.png"]{left:1.172%}
.home .lineup-panel .token .portrait-wrap>img[src="assets/players/can-uzun.png"]{left:-3.906%}
.home .lineup-panel .token .portrait-wrap>img[src="assets/players/christoph-baumgartner.png"]{left:4.297%}
.home .lineup-panel .token .portrait-wrap>img[src="assets/players/david-raum.png"]{left:0.977%}
.home .lineup-panel .token .portrait-wrap>img[src="assets/players/deniz-undav.png"]{left:3.320%}
.home .lineup-panel .token .portrait-wrap>img[src="assets/players/ermedin-demirovic.png"]{left:1.562%}
.home .lineup-panel .token .portrait-wrap>img[src="assets/players/felix-nmecha.png"]{left:1.367%}
.home .lineup-panel .token .portrait-wrap>img[src="assets/players/fisnik-asllani.png"]{left:0.781%}
.home .lineup-panel .token .portrait-wrap>img[src="assets/players/gregor-kobel.png"]{left:1.758%}
.home .lineup-panel .token .portrait-wrap>img[src="assets/players/harry-kane.png"]{left:2.148%}
.home .lineup-panel .token .portrait-wrap>img[src="assets/players/jamal-musiala.png"]{left:-0.195%}
.home .lineup-panel .token .portrait-wrap>img[src="assets/players/jonathan-burkardt.png"]{left:0.977%}
.home .lineup-panel .token .portrait-wrap>img[src="assets/players/jonathan-tah.png"]{left:2.734%}
.home .lineup-panel .token .portrait-wrap>img[src="assets/players/joshua-kimmich.png"]{left:2.344%}
.home .lineup-panel .token .portrait-wrap>img[src="assets/players/kevin-diks.png"]{left:1.367%}
.home .lineup-panel .token .portrait-wrap>img[src="assets/players/lennart-karl.png"]{left:2.344%}
.home .lineup-panel .token .portrait-wrap>img[src="assets/players/maximilian-mittelstadt.png"]{left:5.273%}
.home .lineup-panel .token .portrait-wrap>img[src="assets/players/michael-olise.png"]{left:-2.344%}
.home .lineup-panel .token .portrait-wrap>img[src="assets/players/mitchell-weiser.png"]{left:-2.734%}
.home .lineup-panel .token .portrait-wrap>img[src="assets/players/nadiem-amiri.png"]{left:-0.781%}
.home .lineup-panel .token .portrait-wrap>img[src="assets/players/nico-schlotterbeck.png"]{left:-0.391%}
.home .lineup-panel .token .portrait-wrap>img[src="assets/players/noah-atubolu.png"]{left:1.172%}
.home .lineup-panel .token .portrait-wrap>img[src="assets/players/ritsu-doan.png"]{left:-0.586%}
.home .lineup-panel .token .portrait-wrap>img[src="assets/players/robin-zentner.png"]{left:4.102%}
.home .lineup-panel .token .portrait-wrap>img[src="assets/players/serhou-guirassy.png"]{left:2.539%}
.home .lineup-panel .token .portrait-wrap>img[src="assets/players/tim-kleindienst.png"]{left:5.273%}
.home .lineup-panel .token .portrait-wrap>img[src="assets/players/tom-bischof.png"]{left:1.953%}
/* ---------- Live: sign-in, loading, account ---------- */
body.booting>:not(.signin-screen):not(script):not(dialog){visibility:hidden}
.signin-screen{position:fixed;inset:0;z-index:2000;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 50% 20%,#14241a 0%,#0a0d0b 55%,#080808 100%);overflow:auto}
.signin-card{width:100%;max-width:400px;display:flex;flex-direction:column;gap:14px}
.signin-mark{display:block;font:800 italic 46px/1 'Barlow Condensed',Impact,sans-serif;letter-spacing:-1.4px;color:#f4f4f6;margin-bottom:14px}
.signin-card h1{font-size:24px;font-weight:700;letter-spacing:-.5px;color:#f2f2f4}
.signin-intro{font-size:13px;line-height:1.55;color:#9a9aa3}
.signin-form{display:flex;flex-direction:column;gap:12px;margin-top:4px}
.signin-form label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#a5a5ad}
.signin-form input{height:46px;padding:0 14px;border-radius:8px;border:1px solid #2e2e34;background:#111113;color:#f2f2f4;font-size:14px}
.signin-form input:focus{outline:none;border-color:#6b6b74}
.signin-submit{height:46px;border-radius:8px;background:#c8f25a;color:#0b0b0c;font-size:14px;font-weight:700;margin-top:4px}
.signin-submit:disabled{opacity:.6;cursor:progress}
.signin-error{font-size:12.5px;color:#f1828c;line-height:1.45}
.signin-note{font-size:11px;line-height:1.55;color:#6f6f78}
.signin-link{align-self:flex-start;font-size:12px;color:#a5a5ad;text-decoration:underline;text-underline-offset:3px}
.signin-actions{display:flex;flex-direction:column;gap:10px}
.signin-loading{font-size:14px;color:#c9c9d0}
.signin-loading::before{content:"";display:inline-block;width:12px;height:12px;margin-right:10px;border-radius:50%;border:2px solid #c8f25a;border-right-color:transparent;vertical-align:-1px;animation:spin .8s linear infinite}
.signin-leagues{display:flex;flex-direction:column;gap:8px}
.signin-leagues button{display:flex;align-items:center;gap:12px;height:54px;padding:0 14px;border-radius:9px;border:1px solid #2a2a2f;background:#111113;color:#ececf0;font-size:14px;font-weight:600;text-align:left}
.signin-leagues button:hover{border-color:#c8f25a}
.signin-leagues .league-logo{width:32px;height:32px;border-radius:8px;font-size:11px}
.signin-card .auth-slot{color:#e6e6ea}
.account-actions{display:flex;flex-wrap:wrap;gap:10px;margin:6px 0 10px}
.account-disconnect{font-size:12px;color:#f1828c;text-decoration:underline;text-underline-offset:3px}
a.squad-news-item,a.window-news{display:block;color:inherit;text-decoration:none}
/* Free spots on the pitch (incomplete Kickbase lineup) */
.drop-hover::after{content:attr(data-swap-in)}
.home .lineup-panel .token.empty-slot{cursor:default}
.home .lineup-panel .empty-slot .portrait-wrap::before{display:none}
.empty-ring{position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:70%;aspect-ratio:1;border-radius:50%;border:2px dashed rgba(255,255,255,.35);display:grid;place-items:center;color:rgba(255,255,255,.55);font-size:26px;font-weight:300;background:rgba(0,0,0,.18)}
.home .lineup-panel .empty-slot>strong{background:rgba(243,241,234,.14);color:#e6e6ea;box-shadow:none}
.home .lineup-panel .empty-slot .token-data{background:rgba(228,225,216,.08);box-shadow:none}
.home .lineup-panel .empty-slot .token-data>span{color:#a9c4b0;border-left:0;margin-left:0;padding-left:0}
.empty-slot.drop-ok .empty-ring{border-color:#c8f25a;color:#c8f25a}
.empty-slot.drop-hover .empty-ring{background:rgba(200,242,90,.14);border-style:solid}
.fill-option{display:block;width:100%;margin-bottom:12px;padding:11px;border-radius:8px;background:#c8f25a;color:#0b0b0c;font-weight:700;font-size:13px}
/* Original club crests for missing league pictures; uploaded images keep their existing frame. */
.league-logo:has(.league-crest),.league-option .league-logo:has(.league-crest),.masthead .team-switch .league-logo:has(.league-crest){background:none;box-shadow:none;overflow:visible;border-radius:0}
.league-crest{display:block;width:100%;height:100%;line-height:0}
.league-logo .league-crest svg{display:block;width:100%;height:100%}
.league-logo img{background:#1b1b1f}

/* Concise article editions and trusted source attribution. */
.squad-news-summary{font-size:12px;line-height:1.65;color:#bcc5bd;margin:8px 0;overflow-wrap:anywhere}
.news-dates{font-size:9px;line-height:1.6;color:#8d978f;margin:9px 0;overflow-wrap:anywhere}
.news-source-links{font-size:10px;line-height:1.6;color:#9ba69d;margin:8px 0;overflow-wrap:anywhere}
.news-source-links a{color:#c3ed58;text-decoration:underline;text-underline-offset:3px}
button.squad-news-player{border:0;background:none;padding:5px 0;color:#929b94;cursor:pointer}

.news-date-line{display:block}
.squad-news-title{display:block;width:100%;background:none;border:0;padding:7px 0 10px;text-align:left;color:#e4e7e3;cursor:pointer}
.squad-news-title strong{font-size:13px;font-weight:500;line-height:1.5}
.squad-news-title:hover strong{text-decoration:underline;text-underline-offset:3px}
.squad-news-title:focus-visible{outline:2px solid #c3ed58;outline-offset:3px}
