@charset "UTF-8";
/* Active Album editions reuse the collectible's action PNG, not the base headshot. */
.player-portrait.collection-equipped{isolation:isolate;border-radius:9px;border:1px solid var(--collection-color);background:var(--collection-shape),linear-gradient(145deg,var(--collection-deep),#111822 75%);box-shadow:inset 0 0 0 2px #ffffff0a,0 2px 9px #0004;overflow:hidden}
.player-portrait.collection-equipped img{width:100%;height:100%;object-fit:contain;object-position:var(--action-x,50%) bottom;z-index:1}
.player-portrait.collection-equipped.portrait-row{width:58px;height:76px;border-radius:8px;flex-shrink:0}
.collection-card-label{position:absolute;top:2px;left:3px;z-index:2;font-size:6px;font-weight:900;letter-spacing:.7px;color:var(--collection-color);text-shadow:0 1px 3px #000}
.flair-badge.flair-negative{background:#6c202d42;border-color:#ff8a9066;color:#ffabb0}
.flair-badge.flair-negative .icon{color:#ff8a90}
.automatic-actions{display:flex;align-items:center;gap:5px;flex-shrink:0}
.automatic-actions .automatic-fast{min-width:44px;min-height:44px;padding:6px;justify-content:center;color:var(--lime)}
.automatic-actions .automatic-fast>.icon{width:18px;height:18px}
.injury-badge{display:inline-flex;align-items:center;gap:4px;padding:2px 6px;border:1px solid #ff8a9060;background:#ff8a9015;color:var(--red);border-radius:6px;font-size:9px;font-weight:650;line-height:1.35}
.injury-badge .icon{width:11px;height:11px}
.injury-notice{margin:0 0 12px;padding:10px 12px;border:1px solid #ff8a903a;border-radius:10px;background:#ff8a9008;font-size:11px;color:var(--muted)}
.injury-notice summary{cursor:pointer;color:var(--red);font-weight:650;min-height:26px}
.injury-notice p{margin:6px 0}
.injury-notice strong{color:var(--text)}
/* Structural focus targets retain focus for navigation without a page-sized UA ring. */
#main:focus,#placement-note:focus,.modal-body:focus{outline:none}
/* Scrollable dialog content and interactive cards keep a visible keyboard focus. */
.modal-body[tabindex="0"]:focus-visible{outline:2px solid var(--lime);outline-offset:-3px}
.collector-tilt:focus-visible{outline:3px solid var(--lime)}
:root{color-scheme:dark;--bg:#0b1015;--surface:#131b23;--surface2:#19232e;--surface3:#1e2b37;--line:#2a3743;--text:#f0f4f6;--muted:#91a0ad;--faint:#657483;--lime:#cbfa5f;--lime-dim:#91ba38;--blue:#81bbf8;--pink:#e9a5ee;--red:#ff8a90;--gold:#efd289;--radius:18px;--shadow:0 20px 80px #0005;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-size:14px;line-height:1.5}body:has(dialog[open]){overflow:hidden}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--lime);outline-offset:4px}a{color:inherit}svg{display:block;flex-shrink:0}h1,h2,h3,p{margin:0}button{border:0}button,input,select{touch-action:manipulation}input,select{max-width:100%}button[hidden],[hidden]{display:none!important}button:disabled{opacity:.4}.icon{width:20px;height:20px;stroke-width:1.8}.icon-sm{width:16px;height:16px}.icon-lg{width:30px;height:30px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-100px;left:20px;padding:10px 20px;background:var(--lime);color:var(--bg);z-index:100}.skip-link:focus{top:10px}.shell{max-width:1440px;margin:auto;padding:0 36px}.topbar{height:88px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}.brand{display:flex;gap:10px;align-items:center;background:none;padding:0;text-align:left}.brand-mark{width:38px;height:38px;background:var(--lime);color:#14200e;font-size:22px;font-weight:950;font-style:italic;display:grid;place-items:center;border-radius:10px;letter-spacing:-3px;padding-right:3px}.brand-name{font-size:23px;font-weight:900;letter-spacing:-1px;font-style:italic}.brand-name span{color:var(--lime)}.brand-sub{font-size:10px;letter-spacing:2.1px;font-weight:650;color:var(--muted);display:block;margin-top:-3px}.nav{display:flex;align-items:center;gap:9px}.nav-label{font-size:11px;letter-spacing:1.2px;color:var(--muted);text-transform:uppercase;margin-right:13px}.icon-button{display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--line);border-radius:12px;background:transparent;color:var(--muted)}.icon-button:hover{background:var(--surface2);color:var(--text)}.main{padding:30px 0 26px;min-height:calc(100vh - 150px)}.footer{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:21px 0 26px;border-top:1px solid var(--line);font-size:11px;color:var(--faint)}.footer .status{display:flex;align-items:center;gap:7px}.status-dot{width:5px;height:5px;background:var(--lime);border-radius:50%;box-shadow:0 0 9px #cbfa5f40}.eyebrow{text-transform:uppercase;font-size:10px;font-weight:750;letter-spacing:2px;color:var(--muted);display:flex;align-items:center;gap:8px}.eyebrow.lime{color:var(--lime)}.pill{display:inline-flex;align-items:center;gap:6px;background:#ffffff07;border:1px solid var(--line);border-radius:99px;padding:5px 9px;font-size:10px;letter-spacing:.5px;font-weight:700;white-space:nowrap}.pill.lime{border-color:#cbfa5f35;background:#cbfa5f0c;color:var(--lime)}.pill.purple{color:var(--pink);background:#e9a5ee0b;border-color:#e9a5ee25}.muted{color:var(--muted)}.text-small{font-size:12px}.flex{display:flex}.between{justify-content:space-between}.center{align-items:center}.gap8{gap:8px}.gap12{gap:12px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:13px 19px;border-radius:11px;font-size:13px;font-weight:750;line-height:1.4;min-height:46px;transition:background .16s,transform .16s;border:1px solid transparent}.btn:active:not(:disabled){transform:translateY(1px)}.btn-primary{background:var(--lime);color:#15200f}.btn-primary:hover:not(:disabled){background:#d8ff82}.btn-secondary{background:var(--surface2);border-color:var(--line);color:var(--text)}.btn-secondary:hover:not(:disabled){background:var(--surface3)}.btn-ghost{background:transparent;color:var(--muted)}.btn-ghost:hover:not(:disabled){color:var(--text);background:#ffffff05}.btn-danger{background:#ff8a9013;border-color:#ff8a9040;color:var(--red)}.btn-wide{width:100%}.btn-sm{padding:9px 12px;min-height:38px;font-size:12px}.link-button{background:none;color:var(--muted);padding:7px 0;font-size:12px;display:inline-flex;align-items:center;gap:6px}.link-button:hover{color:var(--lime)}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.panel-head{padding:21px 22px;display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-head h2,.panel-head h3{font-size:14px;letter-spacing:-.2px}.panel-body{padding:0 22px 22px}.notice{border:1px solid #efd28945;background:#efd2890c;color:var(--gold);padding:12px 16px;border-radius:10px;font-size:12px;margin-bottom:20px}.section-title{font-size:27px;font-weight:800;letter-spacing:-1.1px;line-height:1.15}.section-sub{color:var(--muted);font-size:13px;margin-top:7px}.section-head{margin-bottom:24px;display:flex;justify-content:space-between;align-items:center;gap:16px}.desktop-only{display:initial}.mobile-only{display:none!important}.welcome{display:grid;grid-template-columns:1.05fr .95fr;gap:70px;align-items:center;padding:38px 12px 35px;min-height:620px}.welcome-copy{max-width:550px}.welcome h1{font-size:76px;line-height:.98;letter-spacing:-5px;font-weight:950;margin:26px 0;font-style:italic}.welcome h1 em{font-style:inherit;color:var(--lime)}.welcome-description{max-width:415px;color:#a7b2bd;font-size:16px;line-height:1.7}.welcome-description strong{font-weight:550;color:var(--text)}.mode-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:29px 0 17px}.mode-choice{background:var(--surface);border:1px solid var(--line);border-radius:13px;text-align:left;padding:15px 17px;position:relative}.mode-choice.selected{border-color:var(--lime);background:#cbfa5f09}.mode-choice .mode-top{display:flex;align-items:center;justify-content:space-between;font-weight:750;margin-bottom:5px}.mode-choice.selected .mode-top{color:var(--lime)}.mode-choice small{font-size:11px;color:var(--muted)}.mode-radio{width:15px;height:15px;border:1px solid var(--faint);border-radius:50%}.selected .mode-radio{border:4px solid var(--lime)}.start-row{display:flex;gap:10px}.start-row .btn-primary{flex:1}.welcome-footnote{font-size:11px;color:var(--faint);margin-top:12px;display:flex;gap:6px;align-items:center}.welcome-visual{position:relative;min-height:530px;display:flex;align-items:center;justify-content:center;isolation:isolate}.welcome-visual:before{content:"";position:absolute;inset:45px -30px;background:radial-gradient(ellipse,#cbfa5f13,transparent 65%);z-index:-1}.orb{position:absolute;width:410px;height:410px;border-radius:50%;border:1px solid #cbfa5f28;box-shadow:0 0 0 37px #cbfa5f04,0 0 0 38px #cbfa5f0b,0 0 0 76px #cbfa5f02;transform:rotate(-20deg)}.orb:before,.orb:after{content:"";position:absolute;inset:10%;border:1px solid #cbfa5f18;border-radius:50%}.orb:after{inset:0 34%;transform:rotate(35deg)}.visual-title{position:absolute;top:25px;left:8px;z-index:5}.visual-title strong{font-size:12px;display:block;letter-spacing:2px;color:var(--muted);font-weight:500}.visual-title span{font-size:11px;display:block;color:var(--faint);margin-top:4px}.hero-card{width:204px;min-height:278px;border:1px solid #d9ff9c70;background:linear-gradient(145deg,#334136,#17231c 55%,#15201a);border-radius:20px;padding:19px;position:absolute;top:112px;left:calc(50% - 102px);box-shadow:0 25px 70px #0008;z-index:3;transform:rotate(-5deg)}.hero-card .hero-ovr{font-size:54px;font-weight:850;letter-spacing:-3px;line-height:1}.hero-card .hero-role{font-size:11px;color:var(--lime);letter-spacing:2px;margin-top:4px}.hero-card .hero-shirt{width:93px;height:93px;color:#cbfa5f;margin:16px auto 10px;filter:drop-shadow(0 10px 18px #0005)}.hero-card .hero-name{font-size:22px;font-weight:800;letter-spacing:-.7px;line-height:1.15}.hero-card .hero-country{font-size:10px;color:var(--muted);margin-top:5px}.hero-card .hero-tier{position:absolute;top:22px;right:18px;font-size:11px;color:var(--lime);border:1px solid #cbfa5f55;border-radius:6px;padding:3px 7px;font-weight:800}.hero-card.back{z-index:1;transform:rotate(13deg) translate(80px,35px);background:linear-gradient(145deg,#30323f,#1b1f29);border-color:#a1a4ba40}.hero-card.back .hero-ovr{color:#a1a4ba}.hero-card.front-small{z-index:4;transform:rotate(6deg);width:180px;min-height:0;top:335px;left:calc(50% - 160px);background:var(--surface2);padding:15px;border-color:#344350;border-radius:14px}.mini-match{display:flex;align-items:center;gap:12px}.mini-match .mini-score{font-size:25px;font-weight:850;letter-spacing:-1px}.mini-match small{display:block;font-size:9px;color:var(--muted);letter-spacing:1px}.hero-caption{position:absolute;bottom:18px;right:12px;font-size:11px;color:var(--muted);text-align:right}.hero-caption strong{display:block;color:var(--lime);font-weight:500;font-size:25px;letter-spacing:-1px}.league-strip{margin-top:25px;padding-top:22px;border-top:1px solid var(--line);display:flex;gap:17px;flex-wrap:wrap;color:var(--faint);font-size:10px;font-weight:650;letter-spacing:.4px}.resume-banner{margin-bottom:24px;display:flex;align-items:center;justify-content:space-between;gap:15px;background:#cbfa5f08;border:1px solid #cbfa5f30;padding:16px 20px;border-radius:14px}.resume-banner p{font-size:12px;color:var(--muted);margin-top:2px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}.workspace-main{min-width:0}.squad-sidebar{position:sticky;top:20px;min-width:0}.phase-line{display:flex;gap:3px;margin-top:16px}.phase-line span{height:4px;flex:1;background:var(--line);border-radius:8px}.phase-line span.done{background:var(--lime)}.phase-line span.active{background:#cbfa5f50}.draft-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.draft-heading h1{font-size:27px;letter-spacing:-1px}.draft-heading .fraction{font-size:22px;font-weight:750;letter-spacing:-1px;color:var(--lime)}.draft-heading .fraction small{color:var(--faint);font-size:14px;margin-left:3px;font-weight:500}.spin-panel{position:relative;overflow:hidden;padding:24px 27px;background:linear-gradient(115deg,#1c2932,#152029 65%,#202e25);border:1px solid #35454d;border-radius:var(--radius);margin-bottom:25px;min-height:162px;display:flex;align-items:center;justify-content:space-between;gap:22px}.spin-panel:before{content:"";position:absolute;width:240px;height:240px;border:1px solid #ffffff08;border-radius:50%;top:-65px;right:85px;box-shadow:0 0 0 27px #ffffff02,0 0 0 28px #ffffff06;pointer-events:none}.spin-club{display:flex;align-items:center;gap:20px;position:relative;min-width:0}.club-shield{position:relative;display:grid;place-items:center;flex-shrink:0;width:62px;height:70px;background:var(--club,#334553);clip-path:polygon(8% 0,92% 0,100% 12%,93% 72%,50% 100%,7% 72%,0 12%);color:#fff;font-size:15px;font-weight:900;letter-spacing:-.5px;text-shadow:0 1px 5px #0008;isolation:isolate}.club-shield:before{content:"";position:absolute;inset:4px;clip-path:inherit;border-radius:3px;background:linear-gradient(110deg,transparent 42%,var(--club2,#d5e1ed) 42%,var(--club2,#d5e1ed) 58%,transparent 58%);z-index:-1;opacity:.22}.club-shield.sm{width:32px;height:36px;font-size:9px}.club-shield.lg{width:78px;height:88px;font-size:20px}.club-shield.user{--club:#364b23;--club2:#cbfa5f;color:var(--lime);font-size:23px}.spin-label{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:1.4px;margin-bottom:7px}.spin-name{font-size:30px;line-height:1.13;font-weight:850;letter-spacing:-1.2px;overflow-wrap:anywhere}.spin-note{color:var(--muted);font-size:11px;margin-top:8px}.spin-actions{position:relative;flex-shrink:0;text-align:center}.spin-actions .link-button{justify-content:center;margin-top:4px;width:100%}.spin-actions .btn{white-space:nowrap}.spin-random{width:64px;height:64px;border:1px dashed #cbfa5f55;border-radius:16px;display:grid;place-items:center;color:var(--lime);background:#cbfa5f08}.spin-random .icon{width:29px;height:29px}.spin-panel.spinning .spin-random .icon{animation:rotate .5s linear infinite}.spin-panel.revealed .club-shield{animation:reveal .4s both}.spin-panel.revealed .spin-name{animation:reveal .45s both}.cap-bar{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:15px}.cap-chip{border:1px solid var(--line);background:#ffffff04;border-radius:7px;padding:5px 8px;font-size:10px;display:flex;align-items:center;gap:6px;color:var(--muted)}.cap-chip strong{color:var(--text);font-weight:650}.cap-chip.full{opacity:.6}.tier-dot{width:17px;height:17px;border-radius:4px;display:grid;place-items:center;font-size:9px;font-weight:850;background:var(--tier-bg,#ffffff08);color:var(--tier-color,var(--muted))}.tier-S{--tier-color:#e9a5ee;--tier-bg:#e9a5ee13}.tier-A{--tier-color:#efd289;--tier-bg:#efd28913}.tier-B{--tier-color:#8cbbf4;--tier-bg:#8cbbf413}.tier-C{--tier-color:#a9d49a;--tier-bg:#a9d49a13}.tier-D{--tier-color:#aab5c1;--tier-bg:#aab5c113}.tier-E{--tier-color:#8593a1;--tier-bg:#8593a113}.player-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.player-toolbar h2{font-size:16px;font-weight:750;letter-spacing:-.3px}.player-toolbar p{font-size:11px;color:var(--faint);margin-top:3px}.filters{display:flex;gap:4px}.filter{min-width:35px;min-height:35px;padding:7px 10px;background:transparent;color:var(--muted);border:1px solid transparent;border-radius:8px;font-size:11px;font-weight:650}.filter.active{background:#cbfa5f10;border-color:#cbfa5f35;color:var(--lime)}.filter:hover{background:var(--surface2)}.tier-group{margin-top:21px}.tier-heading{display:flex;align-items:center;gap:8px;margin-bottom:10px;font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:1.4px}.tier-heading .tier-line{height:1px;background:var(--line);flex:1;opacity:.6}.tier-heading strong{color:var(--tier-color);font-size:11px}.players-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.player-card{position:relative;border:1px solid var(--line);background:linear-gradient(135deg,var(--surface2),var(--surface));border-radius:13px;overflow:hidden;transition:border-color .18s,transform .18s;min-width:0}.player-card:before{content:"";position:absolute;left:0;top:0;right:0;height:2px;background:var(--tier-color);opacity:.8}.player-card:hover{border-color:#51616f}.player-card.unavailable{opacity:.53}.player-card .card-main{display:block;text-align:left;background:none;width:100%;padding:15px 15px 10px}.card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.card-tier{color:var(--tier-color);background:var(--tier-bg);border:1px solid color-mix(in srgb,var(--tier-color) 25%,transparent);font-size:9px;font-weight:750;padding:2px 6px;border-radius:5px;display:inline-flex;align-items:center;gap:4px}.card-overall{font-size:29px;font-weight:800;letter-spacing:-1.2px;line-height:1}.card-overall span{display:block;font-size:7px;letter-spacing:1px;color:var(--faint);font-weight:600;text-align:center;margin-top:3px}.card-roles{display:flex;gap:4px;margin:4px 0 12px}.role{font-size:9px;line-height:1;font-weight:750;min-width:17px;text-align:center;padding:3px 4px;border-radius:4px;background:#ffffff06;color:var(--muted)}.role-P{color:var(--gold);background:#efd28910}.role-D{color:var(--blue);background:#81bbf810}.role-C{color:#a8ddbd;background:#a8ddbd10}.role-A{color:#f4a4a4;background:#f4a4a410}.card-name{font-size:15px;font-weight:750;letter-spacing:-.3px;line-height:1.25;min-height:37.5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card-club{font-size:10px;color:var(--faint);margin:4px 0 12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.card-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px 8px;padding-top:10px;border-top:1px solid #ffffff07}.card-stat{display:flex;align-items:center;justify-content:space-between;gap:4px;font-size:9px;color:var(--faint)}.card-stat strong{font-size:11px;font-weight:650;color:#d2dbe3;font-variant-numeric:tabular-nums}.card-stat strong.high{color:var(--lime)}.card-stat strong.low{color:#bd7b81}.keeper-stat{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;color:var(--gold);font-size:10px;min-height:37px}.keeper-stat strong{font-size:23px}.card-flairs{display:flex;gap:4px;align-items:center;min-height:25px;margin-top:9px;color:var(--tier-color);font-size:8px;overflow:hidden}.flair-dot{display:flex;align-items:center;gap:3px;white-space:nowrap;padding:3px 5px;background:#ffffff04;border-radius:4px}.flair-dot .icon{width:10px;height:10px}.card-select{width:calc(100% - 16px);margin:0 8px 8px;min-height:34px;display:flex;justify-content:center;align-items:center;gap:5px;font-size:11px;font-weight:700;border:1px solid #ffffff09;background:#ffffff04;border-radius:7px;color:#c4cfd8}.card-select:not(:disabled):hover{background:var(--lime);border-color:var(--lime);color:#172010}.card-select:disabled{opacity:.7;font-size:9px;font-weight:500;min-height:34px}.empty-pool{border:1px dashed var(--line);border-radius:var(--radius);padding:42px 20px;text-align:center;color:var(--muted);font-size:13px}.empty-pool .icon{width:34px;height:34px;margin:0 auto 13px;color:var(--faint)}.empty-pool strong{display:block;color:var(--text);font-size:15px;margin-bottom:5px}.team-panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.team-head{padding:18px 18px 13px;display:flex;align-items:center;justify-content:space-between}.team-head h2{font-size:14px;font-weight:700;display:flex;gap:8px;align-items:center}.team-head h2 span{font-size:10px;font-weight:500;color:var(--muted)}.team-formation{font-size:11px;color:var(--lime);border:1px solid #cbfa5f28;background:#cbfa5f08;padding:4px 7px;border-radius:6px}.pitch{position:relative;aspect-ratio:1/1.13;margin:0 13px;background:repeating-linear-gradient(0deg,#1c332a 0%,#1c332a 12.5%,#20372f 12.5%,#20372f 25%);border:1px solid #79968b20;border-radius:10px;overflow:hidden;isolation:isolate}.pitch-markings{position:absolute;inset:12px;border:1px solid #a1c5b026;z-index:-1;pointer-events:none}.pitch-markings:before{content:"";position:absolute;inset:50% 0 auto;height:1px;background:#a1c5b026}.pitch-center{position:absolute;top:50%;left:50%;width:24%;aspect-ratio:1;border:1px solid #a1c5b026;border-radius:50%;transform:translate(-50%,-50%)}.pitch-center:before{content:"";position:absolute;top:50%;left:50%;width:3px;height:3px;border-radius:50%;background:#a1c5b04a}.pitch-box{position:absolute;left:26%;right:26%;height:16%;border:1px solid #a1c5b026}.pitch-box.top{top:0;border-top:0}.pitch-box.bottom{bottom:0;border-bottom:0}.pitch-box:before{content:"";position:absolute;left:24%;right:24%;height:40%;border:1px solid #a1c5b026}.pitch-box.top:before{top:0;border-top:0}.pitch-box.bottom:before{bottom:0;border-bottom:0}.pitch-rows{position:absolute;inset:12px 7px 7px;display:flex;flex-direction:column;justify-content:space-between}.pitch-row{display:flex;justify-content:space-evenly;align-items:center;gap:0;min-height:65px}.pitch-player{background:none;width:calc(100% / var(--n,4));padding:2px 0;display:flex;align-items:center;flex-direction:column;min-width:0;gap:3px}.pitch-shirt{position:relative;width:34px;height:35px;color:#c0d2c6;filter:drop-shadow(0 3px 3px #0005)}.pitch-shirt svg{width:100%;height:100%}.pitch-shirt .pitch-ovr{position:absolute;left:0;top:10px;width:100%;text-align:center;font-size:10px;line-height:1;font-weight:800;color:#18211c}.pitch-player.tier-S .pitch-shirt{color:#e9a5ee}.pitch-player.tier-A .pitch-shirt{color:#efd289}.pitch-player.tier-B .pitch-shirt{color:#8cbbf4}.pitch-name{font-size:8px;line-height:1.3;font-weight:650;background:#0d1718ba;border-radius:4px;padding:3px 4px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pitch-empty{height:32px;width:32px;border:1px dashed #a1c5b04a;display:grid;place-items:center;border-radius:50%;font-size:10px;color:#93aa9c;background:#13251b42}.pitch-empty-name{font-size:7px;color:#6b8a79;min-height:15px}.bench-label{font-size:9px;text-transform:uppercase;letter-spacing:1.1px;color:var(--faint);margin:14px 17px 8px;display:flex;align-items:center;gap:6px}.bench{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:0 12px 15px}.bench-player{min-width:0;padding:7px 3px;background:#ffffff03;border:1px solid #ffffff06;border-radius:6px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:4px}.bench-player strong{font-size:12px;color:var(--tier-color,var(--muted));font-weight:750}.bench-player span{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:7px;color:var(--muted)}.bench-player.empty{min-height:48px;border-style:dashed;background:none;color:var(--faint);font-size:13px;justify-content:center}.team-metrics{padding:15px 17px;border-top:1px solid var(--line);display:grid;gap:10px}.metric-row{display:grid;grid-template-columns:75px 1fr 22px;align-items:center;gap:10px;font-size:10px;color:var(--muted)}.metric-track{height:4px;background:#ffffff08;border-radius:99px;overflow:hidden}.metric-track span{display:block;height:100%;background:var(--lime);border-radius:inherit}.metric-row strong{font-size:10px;color:var(--text);font-weight:600;text-align:right}.formation-controls{display:flex;align-items:center;gap:5px;padding:0 13px 14px}.formation-controls button{flex:1;background:none;border:1px solid var(--line);color:var(--muted);padding:8px 2px;border-radius:7px;font-size:10px;font-weight:600}.formation-controls button.active{border-color:#cbfa5f45;color:var(--lime);background:#cbfa5f08}.team-tip{font-size:10px;line-height:1.6;color:var(--faint);padding:0 17px 15px}.mobile-tabs{display:none}.callout{background:#cbfa5f08;border:1px solid #cbfa5f25;border-radius:13px;padding:18px 20px;margin:0 0 20px}.callout h2{font-size:16px;letter-spacing:-.3px;margin-bottom:6px}.callout p{color:var(--muted);font-size:12px;line-height:1.65}.callout .btn{margin-top:15px}.ready-hero{padding:28px;background:linear-gradient(130deg,#223027,var(--surface));border:1px solid #cbfa5f30;border-radius:var(--radius);margin-bottom:20px}.ready-hero h1{font-size:37px;letter-spacing:-1.7px;line-height:1.1;margin:14px 0 12px}.ready-hero p{font-size:13px;line-height:1.7;color:var(--muted);max-width:460px}.ready-hero .btn{margin-top:24px}.ready-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:22px 0}.ready-stat{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:17px}.ready-stat strong{font-size:28px;letter-spacing:-1px;font-weight:750;display:block;color:var(--lime)}.ready-stat span{font-size:10px;color:var(--muted)}.identity-panel{padding:20px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}.identity-panel h2{font-size:14px;margin-bottom:8px}.identity-panel p{font-size:12px;color:var(--muted);line-height:1.7}.identity-panel .flair-list{display:flex;flex-wrap:wrap;gap:7px;margin-top:15px}.flair-tag{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:6px;background:#ffffff05;border:1px solid #ffffff06;color:var(--muted);font-size:10px}.flair-tag .icon{width:13px;height:13px;color:var(--lime)}.race-panel{padding:22px 24px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);margin-bottom:19px}.race-top{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.race-points{font-size:44px;line-height:1;font-weight:850;letter-spacing:-2px}.race-points small{font-size:17px;color:var(--faint);font-weight:500;margin-left:5px;letter-spacing:-.4px}.race-caption{font-size:11px;color:var(--muted);margin-top:7px}.race-title{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:6px}.race-title .icon{color:var(--lime);width:16px;height:16px}.race-track{height:7px;border-radius:99px;background:#ffffff06;margin:20px 0 10px;position:relative}.race-track>span{display:block;max-width:100%;height:100%;background:var(--lime);border-radius:99px;transition:width .45s}.race-track:after{content:"40";position:absolute;left:66.666%;bottom:14px;font-size:9px;color:var(--faint);transform:translateX(-50%)}.race-track:before{content:"";position:absolute;left:66.666%;top:-3px;bottom:-3px;width:2px;background:var(--bg);box-shadow:0 0 0 1px #91a0ad30}.race-bottom{display:flex;justify-content:space-between;font-size:10px;color:var(--faint);gap:10px}.record-pills{display:flex;gap:11px;align-items:center;margin-top:14px;font-size:11px}.record-pills span{color:var(--muted)}.record-pills strong{color:var(--text);font-weight:600}.record-pills .w strong{color:var(--lime)}.record-pills .l strong{color:var(--red)}.matchday{position:relative;background:linear-gradient(125deg,#1c2933,#131c25);border:1px solid #35434f;border-radius:var(--radius);padding:22px 25px;margin-bottom:23px;overflow:hidden}.matchday:before{content:"";position:absolute;border:1px solid #ffffff04;width:240px;height:240px;border-radius:50%;top:-20px;left:calc(50% - 120px);pointer-events:none}.matchday-top{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:26px;position:relative}.fixture{display:grid;grid-template-columns:1fr 60px 1fr;align-items:center;gap:15px;position:relative}.fixture-team{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;min-width:0}.fixture-team strong{font-size:16px;letter-spacing:-.4px;line-height:1.25}.fixture-team small{color:var(--faint);font-size:10px;display:block;margin-top:-8px}.fixture-vs{font-size:14px;font-weight:700;letter-spacing:2px;text-align:center;color:var(--faint)}.matchday-actions{display:flex;gap:9px;margin-top:26px;position:relative}.matchday-actions .btn-primary{flex:1}.matchday-actions .btn-secondary{flex:1}.next-note{font-size:10px;color:var(--faint);margin-top:12px;text-align:center}.results-panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.result-row{display:flex;width:100%;align-items:center;gap:12px;background:none;text-align:left;padding:13px 20px;border-top:1px solid #ffffff06}.result-row:hover{background:#ffffff03}.result-round{font-size:10px;color:var(--faint);min-width:23px}.result-symbol{width:23px;height:23px;display:grid;place-items:center;border-radius:5px;font-size:10px;font-weight:800}.result-symbol.w{color:var(--lime);background:#cbfa5f0c}.result-symbol.d{color:var(--gold);background:#efd2890d}.result-symbol.l{color:var(--red);background:#ff8a900d}.result-opponent{font-size:12px;font-weight:600;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.result-location{color:var(--faint);font-size:9px;width:15px}.result-score{font-size:14px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}.result-row>.icon{color:var(--faint);width:15px;height:15px;margin-left:3px}.results-empty{padding:10px 22px 26px;color:var(--faint);font-size:12px}.results-toggle{display:block;width:100%;padding:12px;text-align:center;background:#ffffff02;border-top:1px solid #ffffff06;color:var(--muted);font-size:11px}.leaders{margin-top:18px;border:1px solid var(--line);border-radius:var(--radius);padding:20px;background:var(--surface)}.leaders h2{font-size:13px;margin-bottom:14px}.leader-row{display:flex;align-items:center;gap:12px;padding:8px 0}.leader-rank{width:15px;color:var(--faint);font-size:11px}.leader-name{flex:1;font-size:12px;min-width:0}.leader-name small{display:block;font-size:9px;color:var(--faint)}.leader-values{font-size:12px;color:var(--lime);font-weight:750}.leader-values small{color:var(--faint);font-size:9px;font-weight:500;margin-left:3px}.market-banner{border:1px solid #e9a5ee35;background:linear-gradient(110deg,#302536,var(--surface));padding:20px 24px;border-radius:var(--radius);margin-bottom:20px}.market-banner h1{font-size:25px;letter-spacing:-1px;margin:8px 0}.market-banner p{font-size:12px;color:var(--muted);line-height:1.6}.market-outgoing{display:flex;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--line);padding:14px 17px;border-radius:12px;margin-bottom:18px}.market-outgoing>div{flex:1;min-width:0}.market-outgoing label{font-size:10px;color:var(--muted);display:block;margin-bottom:6px}.market-outgoing select{width:100%;background:var(--surface2);border:1px solid var(--line);border-radius:7px;padding:9px 10px;font-size:12px;color:var(--text)}.market-outgoing>.icon{color:var(--pink)}.market-finished{padding:42px 28px;text-align:center;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}.market-finished>.icon{width:40px;height:40px;margin:0 auto 17px;color:var(--lime)}.market-finished h2{font-size:24px;letter-spacing:-.7px;margin-bottom:8px}.market-finished p{font-size:13px;color:var(--muted);margin-bottom:23px}.cup-road{display:flex;gap:0;padding:22px 16px;background:linear-gradient(115deg,#1c2336,#171e29);border:1px solid #344052;border-radius:var(--radius);margin-bottom:20px}.cup-step{flex:1;text-align:center;position:relative;z-index:0;min-width:0}.cup-step:before{content:"";position:absolute;left:0;right:0;height:1px;background:#415064;top:16px;z-index:-1}.cup-step:first-child:before{left:50%}.cup-step:last-child:before{right:50%}.cup-step .step-dot{height:33px;width:33px;border-radius:50%;display:grid;place-items:center;background:#202b3b;border:1px solid #3f4d60;color:var(--faint);font-size:11px;margin:0 auto 10px}.cup-step.done .step-dot{border-color:#cbfa5f80;color:var(--lime);background:#283726}.cup-step.active .step-dot{border-color:var(--lime);color:#182214;background:var(--lime);box-shadow:0 0 0 5px #cbfa5f0a}.cup-step span{font-size:9px;color:var(--muted)}.cup-step.active span{color:var(--text)}.finish-hero{text-align:center;position:relative;overflow:hidden;padding:40px 25px;background:radial-gradient(ellipse at top,#cbfa5f14,transparent 70%),var(--surface);border:1px solid #cbfa5f35;border-radius:var(--radius);margin-bottom:20px}.finish-hero .finish-icon{width:68px;height:68px;color:var(--lime);margin:0 auto 18px}.finish-hero h1{font-size:44px;line-height:1.06;letter-spacing:-2px;margin:10px 0 13px;font-weight:900}.finish-hero p{color:var(--muted);font-size:13px;max-width:390px;margin:0 auto;line-height:1.7}.finish-hero .eyebrow{justify-content:center}.finish-actions{display:flex;gap:10px;justify-content:center;margin-top:25px}.finish-stats{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:14px;background:var(--surface);overflow:hidden;margin-bottom:20px}.finish-stat{padding:18px 10px;text-align:center;border-right:1px solid var(--line)}.finish-stat:last-child{border-right:0}.finish-stat strong{display:block;font-size:26px;font-weight:750;letter-spacing:-1px}.finish-stat span{font-size:9px;color:var(--muted)}.finished-caption{color:var(--faint);font-size:11px;text-align:center;margin-top:15px}.toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);opacity:0;pointer-events:none;max-width:calc(100% - 32px);width:max-content;background:#243329;border:1px solid #cbfa5f50;color:#e6efde;border-radius:12px;padding:12px 18px;font-size:12px;z-index:100;box-shadow:0 8px 40px #0008;transition:opacity .2s,transform .2s}.toast.visible{opacity:1;transform:translate(-50%,0)}.toast.error{background:#382427;border-color:#ff8a9050;color:#ffb8bc}dialog{padding:0;border:1px solid #3b4955;border-radius:21px;background:#141d26;color:var(--text);width:560px;max-width:calc(100vw - 28px);max-height:85dvh;overflow:hidden;box-shadow:0 30px 100px #0009}dialog::backdrop{background:#060a10b3;backdrop-filter:blur(7px)}.modal-head{padding:20px 23px 17px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px}.modal-head h2{font-size:17px;letter-spacing:-.5px}.modal-head .icon-button{width:33px;height:33px;border-radius:9px}.modal-body{padding:23px;overflow-y:auto;max-height:calc(85dvh - 79px);overscroll-behavior:contain}.modal-footer{display:flex;gap:9px;margin-top:23px}.modal-footer .btn-primary{flex:1}.modal-player-top{display:flex;align-items:center;gap:20px}.modal-player-avatar{width:90px;height:104px;border:1px solid var(--tier-color);background:var(--tier-bg);border-radius:14px;display:flex;align-items:center;flex-direction:column;justify-content:center;color:var(--tier-color);flex-shrink:0}.modal-player-avatar strong{font-size:43px;letter-spacing:-2px;line-height:1.1}.modal-player-avatar span{font-size:10px;letter-spacing:1.5px}.modal-player-info h3{font-size:26px;letter-spacing:-1px;line-height:1.12;margin-bottom:7px}.modal-player-info p{font-size:12px;color:var(--muted)}.modal-player-info .card-roles{margin:10px 0 0}.modal-player-info .role{font-size:10px;padding:4px 6px}.modal-stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px 25px;margin:26px 0}.modal-stat{display:grid;grid-template-columns:1fr auto;gap:6px;align-items:center;font-size:11px;color:var(--muted)}.modal-stat strong{font-size:16px;color:var(--text);font-weight:650}.modal-stat .metric-track{grid-column:1/-1;height:5px}.modal-stat .metric-track span{background:#a9c7a0}.modal-stat .metric-track span.high{background:var(--lime)}.modal-flairs{display:grid;gap:10px;margin-top:18px}.modal-flair{display:flex;gap:12px;padding:13px;background:#ffffff03;border:1px solid #ffffff06;border-radius:10px}.modal-flair>.icon{color:var(--lime);width:20px;height:20px;margin-top:2px}.modal-flair strong{display:block;font-size:12px;margin-bottom:3px}.modal-flair p{font-size:11px;color:var(--muted);line-height:1.6}.modal-info{color:var(--muted);font-size:12px;line-height:1.7}.rules-grid{display:grid;gap:18px}.rule{display:flex;gap:14px}.rule-number{width:25px;height:25px;background:#cbfa5f10;border:1px solid #cbfa5f25;border-radius:7px;display:grid;place-items:center;font-size:11px;color:var(--lime);flex-shrink:0}.rule h3{font-size:13px;margin-bottom:4px}.rule p{font-size:12px;color:var(--muted);line-height:1.65}.rules-note{font-size:10px;color:var(--faint);padding-top:18px;margin-top:21px;border-top:1px solid var(--line);line-height:1.7}.match-scoreboard{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;text-align:center;margin:0 0 24px}.match-score-team{display:flex;align-items:center;flex-direction:column;gap:9px;font-size:12px;font-weight:650;line-height:1.3;min-width:0}.match-score-center strong{font-size:43px;letter-spacing:-2px;font-weight:850;white-space:nowrap}.match-score-center span{font-size:9px;color:var(--faint);display:block;text-transform:uppercase;letter-spacing:1px}.penalties-note{font-size:11px;color:var(--gold);text-align:center;margin:-12px 0 22px}.match-stat{margin:15px 0}.match-stat-line{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:11px;color:var(--muted);margin-bottom:6px}.match-stat-line strong{font-size:14px;color:var(--text);font-weight:650;font-variant-numeric:tabular-nums}.match-stat-bars{display:grid;grid-template-columns:1fr 1fr;gap:4px}.match-stat-bar{height:4px;background:#ffffff07;border-radius:99px;overflow:hidden}.match-stat-bar span{display:block;height:100%;background:var(--lime);border-radius:inherit}.match-stat-bar:first-child{display:flex;justify-content:flex-end}.match-stat-bar:last-child span{background:#7da0bc}.match-report{background:#cbfa5f07;border:1px solid #cbfa5f16;border-radius:10px;padding:13px 15px;margin-top:22px;font-size:11px;line-height:1.65;color:#b1c0aa}.timeline-title{font-size:12px;margin:24px 0 12px}.timeline{display:grid;gap:0}.event{display:flex;align-items:flex-start;gap:11px;padding:11px 0;border-bottom:1px solid #ffffff06}.event-minute{font-size:10px;min-width:28px;color:var(--faint);font-variant-numeric:tabular-nums;padding-top:2px}.event>.icon{width:15px;height:15px;color:var(--muted);margin-top:2px}.event.goal>.icon{color:var(--lime)}.event div{font-size:11px;line-height:1.5;flex:1}.event small{display:block;font-size:10px;color:var(--faint);margin-top:2px}.event.away{opacity:.78}.swap-list{display:grid;gap:8px;margin-top:18px}.swap-candidate{display:flex;align-items:center;gap:11px;padding:12px;background:var(--surface2);border:1px solid var(--line);border-radius:10px;text-align:left}.swap-candidate .swap-name{flex:1;font-size:13px;font-weight:600}.swap-candidate .swap-name small{font-size:10px;color:var(--muted);display:block;font-weight:400}.swap-candidate>strong{color:var(--tier-color);font-size:20px;font-weight:750}.history-item{padding:14px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:15px}.history-item>.icon{color:var(--lime)}.history-item div{flex:1}.history-item strong{font-size:13px;font-weight:650}.history-item small{font-size:10px;display:block;color:var(--muted);margin-top:4px}.history-points{font-size:23px;font-weight:750;color:var(--lime);letter-spacing:-.7px}.boot{height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;color:var(--muted);font-size:12px}.boot-mark{height:64px;width:64px;background:var(--lime);border-radius:17px;display:grid;place-items:center;font-weight:950;font-size:35px;font-style:italic;color:#122009;letter-spacing:-4px;padding-right:4px}.loading-line{height:2px;width:110px;overflow:hidden;background:#ffffff08;border-radius:10px}.loading-line:after{content:"";display:block;width:40px;height:100%;background:var(--lime);animation:loading 1s infinite alternate}.error-screen{max-width:440px;margin:15vh auto;padding:30px;text-align:center}.error-screen h1{font-size:27px;letter-spacing:-1px;margin-bottom:12px}.error-screen p{font-size:13px;color:var(--muted);margin-bottom:20px}.share-text{width:100%;min-height:120px;background:var(--surface2);border:1px solid var(--line);border-radius:10px;color:var(--text);padding:15px;line-height:1.7;font-size:13px;resize:vertical}.save-line{display:inline-flex;gap:5px;align-items:center;font-size:9px;color:var(--faint)}.save-line .icon{width:11px;height:11px}.round-badge{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:1px}.no-entries{padding:24px 0;text-align:center;color:var(--muted);font-size:12px}.draft-progress-mobile{display:none}.spin-remaining{font-size:10px;color:var(--muted);margin-top:9px}.team-summary-mobile{display:none}.mini-standings{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:5px;margin:18px 0}.fixture-dot{height:26px;border-radius:5px;border:1px solid var(--line);display:grid;place-items:center;background:transparent;color:var(--faint);font-size:9px;min-width:0}.fixture-dot.w{color:var(--lime);border-color:#cbfa5f30;background:#cbfa5f08}.fixture-dot.d{color:var(--gold);border-color:#efd28930;background:#efd28908}.fixture-dot.l{color:var(--red);border-color:#ff8a9030;background:#ff8a9008}.fixture-dot.current{border-color:var(--lime);color:var(--lime)}.spinner-inline{width:15px;height:15px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:rotate .5s linear infinite}
@keyframes rotate{to{transform:rotate(360deg)}}@keyframes reveal{from{opacity:0;transform:translateY(9px) scale(.96)}to{opacity:1;transform:none}}@keyframes loading{to{transform:translateX(70px)}}
@media(min-width:1450px){.workspace{grid-template-columns:minmax(0,1fr) 370px}.pitch-name{font-size:9px}.pitch-shirt{width:38px;height:39px}.pitch-shirt .pitch-ovr{top:12px}.pitch-row{min-height:74px}}
@media(max-width:1100px){.shell{padding:0 25px}.workspace{grid-template-columns:minmax(0,1fr) 300px;gap:20px}.players-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.spin-panel{padding:21px}.spin-name{font-size:25px}.spin-club{gap:14px}.spin-actions .btn{padding:12px}.welcome{gap:35px;padding:35px 0}.welcome h1{font-size:65px;letter-spacing:-4px}.welcome-visual{transform:scale(.9);transform-origin:center}.hero-caption{right:0}.orb{width:350px;height:350px}.pitch-row{min-height:58px}.pitch-name{font-size:7px}.pitch-shirt{height:31px;width:30px}.pitch-shirt .pitch-ovr{top:9px}.team-head{padding:16px 15px}.team-metrics{padding:14px}.metric-row{gap:7px;grid-template-columns:70px 1fr 20px}.fixture{gap:10px}.matchday{padding:21px}.matchday-actions{flex-wrap:wrap}.matchday-actions .btn{font-size:12px;padding:12px}.welcome-description{font-size:15px}}
@media(max-width:800px){.shell{padding:0 20px}.topbar{height:74px}.nav-label{display:none}.main{padding-top:23px}.workspace{grid-template-columns:1fr}.squad-sidebar{position:static;display:none}.workspace.team-view .squad-sidebar{display:block}.workspace.team-view .workspace-main{display:none}.mobile-tabs{display:flex;gap:4px;background:var(--surface);border:1px solid var(--line);padding:4px;border-radius:11px;margin-bottom:18px}.mobile-tabs button{flex:1;background:none;color:var(--muted);font-weight:650;font-size:12px;border-radius:7px;min-height:38px;display:flex;align-items:center;justify-content:center;gap:7px}.mobile-tabs button.active{background:var(--surface3);color:var(--text)}.mobile-tabs button span{font-size:10px;color:var(--lime);font-weight:750}.mobile-tabs .icon{width:15px;height:15px}.team-panel{max-width:520px;margin:auto}.pitch{aspect-ratio:1/1.05;max-height:500px}.pitch-row{min-height:67px}.pitch-shirt{width:37px;height:38px}.pitch-shirt .pitch-ovr{top:11px;font-size:11px}.pitch-name{font-size:10px}.bench-player{padding:10px 4px}.bench-player span{font-size:9px}.team-head{padding:19px}.team-head h2{font-size:16px}.team-metrics{padding:18px 20px}.metric-row{grid-template-columns:90px 1fr 25px;font-size:12px}.metric-row strong{font-size:12px}.formation-controls{padding:0 17px 18px;gap:8px}.formation-controls button{padding:10px;font-size:12px}.team-tip{padding:0 20px 18px;font-size:11px}.mobile-only{display:initial!important}.desktop-only{display:none!important}.players-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.welcome{grid-template-columns:1fr;max-width:620px;margin:auto;min-height:0;padding:20px 0 26px;gap:0}.welcome-copy{max-width:none}.welcome h1{font-size:69px;max-width:500px}.welcome-visual{display:none}.welcome-description{max-width:480px}.league-strip{gap:17px}.footer{font-size:10px}.section-title{font-size:25px}.draft-heading h1{font-size:26px}.spin-panel{min-height:149px}.spin-name{font-size:28px}.spin-actions .btn{padding:12px 18px}.ready-hero h1{font-size:36px}.section-head{margin-bottom:19px}.pitch-empty{height:37px;width:37px}.pitch-empty-name{font-size:9px}.team-summary-mobile{display:flex;gap:10px;align-items:center;padding:11px 14px;background:#cbfa5f07;border:1px solid #cbfa5f1c;border-radius:10px;color:var(--muted);font-size:11px;margin:0 0 18px}.team-summary-mobile .icon{color:var(--lime);width:17px;height:17px}.team-summary-mobile strong{color:var(--text);font-weight:600}.team-summary-mobile button{margin-left:auto;background:none;color:var(--lime);font-size:11px;padding:3px}.modal-body{padding:20px}.matchday-actions .btn{font-size:13px;padding:13px 18px}.fixture-team strong{font-size:18px}.fixture .club-shield{width:70px;height:80px;font-size:18px}.matchday{padding:23px}.race-panel{padding:23px}.finish-hero h1{font-size:42px}}
@media(max-width:540px){.shell{padding:0 17px}.topbar{height:69px}.brand-name{font-size:21px}.brand-mark{width:34px;height:34px;font-size:20px;border-radius:9px}.brand-sub{font-size:8px;letter-spacing:1.8px}.nav{gap:7px}.icon-button{height:37px;width:37px;border-radius:10px}.nav .icon{height:17px;width:17px}.main{padding-top:20px}.welcome{padding:22px 0 17px}.welcome h1{font-size:58px;letter-spacing:-3.6px;margin:22px 0}.welcome-description{font-size:14px;line-height:1.7}.welcome .eyebrow{font-size:9px;letter-spacing:1.7px}.mode-choices{margin-top:25px}.mode-choice{padding:14px 13px}.mode-choice .mode-top{font-size:13px}.mode-choice small{font-size:10px}.welcome-footnote{font-size:10px}.league-strip{gap:12px 15px;font-size:9px;margin-top:26px}.footer{flex-wrap:wrap;gap:8px;padding:18px 0 22px}.resume-banner{padding:13px 15px;gap:10px}.resume-banner strong{font-size:12px}.resume-banner p{font-size:10px}.resume-banner .btn{padding:10px;min-height:40px;font-size:11px}.draft-heading{margin-bottom:12px}.draft-heading h1{font-size:23px}.draft-heading .fraction{font-size:21px}.draft-heading .eyebrow{font-size:8px;letter-spacing:1.3px}.spin-panel{padding:20px 18px;flex-wrap:wrap;gap:19px;margin-bottom:21px;min-height:0}.spin-club{gap:14px;width:100%}.spin-name{font-size:29px}.spin-label{font-size:9px;margin-bottom:5px}.spin-note{font-size:10px;margin-top:6px}.spin-actions{width:100%;display:flex;align-items:center;gap:10px;justify-content:space-between;text-align:left}.spin-actions .btn{flex:1;min-height:43px;padding:11px 12px;font-size:12px}.spin-actions .link-button{width:auto;flex:1;min-height:43px;border:1px solid var(--line);border-radius:9px;margin:0;font-size:11px}.spin-actions .spin-remaining{font-size:9px;margin:0;flex:1;line-height:1.6}.spin-panel .club-shield{width:53px;height:61px;font-size:13px}.spin-random{width:53px;height:53px;border-radius:13px}.phase-line{margin-top:13px}.cap-bar{gap:5px;margin-top:12px}.cap-chip{font-size:9px;padding:4px 6px;gap:5px}.cap-bar>.muted{font-size:9px!important}.player-toolbar{gap:8px;align-items:flex-start}.player-toolbar h2{font-size:14px}.player-toolbar p{font-size:10px;max-width:150px}.filters{gap:2px}.filter{min-width:29px;min-height:33px;padding:7px 8px;font-size:10px}.players-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.player-card .card-main{padding:13px 12px 8px}.card-name{font-size:14px;min-height:35px}.card-stats{gap:7px 9px}.card-stat{font-size:8px;gap:3px}.card-stat strong{font-size:10px}.card-overall{font-size:28px}.card-club{margin-bottom:9px}.card-flairs{font-size:7px;min-height:23px;margin-top:7px}.flair-dot{padding:3px 4px}.flair-dot:nth-child(n+2){display:none}.card-select{font-size:10px;min-height:35px}.card-select:disabled{font-size:8px}.tier-group{margin-top:18px}.tier-heading{font-size:9px;letter-spacing:1px}.tier-heading strong{font-size:10px}.team-summary-mobile{font-size:10px;padding:10px 12px}.section-head{gap:9px}.section-title{font-size:24px}.section-sub{font-size:11px}.section-head .pill{font-size:8px;padding:5px 7px}.ready-hero{padding:23px}.ready-hero h1{font-size:34px;letter-spacing:-1.3px}.ready-hero p{font-size:12px}.ready-grid{gap:8px;margin:18px 0}.ready-stat{padding:15px 12px}.ready-stat strong{font-size:26px}.ready-stat span{font-size:9px}.identity-panel{padding:18px}.race-panel{padding:20px}.race-points{font-size:40px}.race-title{font-size:10px}.race-caption{font-size:10px}.race-track{margin-top:21px}.race-bottom{font-size:9px}.record-pills{font-size:10px;gap:11px}.matchday{padding:20px 18px}.matchday-top{margin-bottom:23px}.fixture{grid-template-columns:1fr 32px 1fr;gap:9px}.fixture-team strong{font-size:15px}.fixture-team small{font-size:9px}.fixture-vs{font-size:12px}.fixture .club-shield{width:60px;height:68px;font-size:15px}.fixture .club-shield.user{font-size:21px}.matchday-actions{margin-top:24px;gap:8px}.matchday-actions .btn{font-size:11px;padding:12px 10px;gap:6px;min-height:44px}.matchday-actions .icon{width:17px;height:17px}.matchday-top .eyebrow{font-size:8px;letter-spacing:1.5px}.next-note{font-size:9px}.panel-head{padding:18px}.panel-head h2{font-size:13px}.result-row{padding:12px 16px;gap:9px}.result-round{min-width:19px;font-size:9px}.result-symbol{height:21px;width:21px;font-size:9px}.result-opponent{font-size:11px}.result-score{font-size:13px}.result-location{font-size:8px}.result-row .club-shield.sm{width:25px;height:28px;font-size:7px}.result-row>.icon{width:13px;height:13px;margin:0}.leaders{padding:18px}.market-banner{padding:18px 20px}.market-banner h1{font-size:23px}.market-banner p{font-size:11px}.market-outgoing{padding:12px 14px}.market-outgoing select{font-size:11px}.market-finished{padding:34px 22px}.market-finished h2{font-size:22px}.market-finished p{font-size:12px}.cup-road{padding:19px 10px}.cup-step span{font-size:8px}.finish-hero{padding:34px 22px}.finish-hero h1{font-size:36px;letter-spacing:-1.5px}.finish-hero p{font-size:12px}.finish-hero .finish-icon{width:58px;height:58px}.finish-actions{gap:8px}.finish-actions .btn{font-size:11px;padding:12px 13px}.finish-stats{margin-bottom:18px}.finish-stat{padding:16px 5px}.finish-stat strong{font-size:23px}.finish-stat span{font-size:8px}.modal-head{padding:17px 19px 15px}.modal-head h2{font-size:15px}.modal-body{padding:20px 18px;max-height:calc(85dvh - 72px)}.modal-player-top{gap:17px}.modal-player-avatar{width:78px;height:94px;border-radius:12px}.modal-player-avatar strong{font-size:38px}.modal-player-info h3{font-size:23px}.modal-player-info p{font-size:11px}.modal-stat-grid{gap:14px 22px}.modal-stat strong{font-size:15px}.modal-footer .btn{font-size:12px;padding:12px}.match-scoreboard{gap:10px}.match-score-team{font-size:11px}.match-score-team .club-shield{width:48px;height:55px;font-size:12px}.match-score-center strong{font-size:36px}.match-score-center span{font-size:8px}.match-stat-line{font-size:10px}.match-stat-line strong{font-size:13px}.match-report{font-size:10px}.rule p{font-size:11px}.rule h3{font-size:12px}.rule{gap:12px}.rules-grid{gap:16px}.modal-flair p{font-size:10px}.event div{font-size:10px}.event small{font-size:9px}.event-minute{font-size:9px;min-width:24px}.event{gap:9px}.toast{font-size:11px;padding:11px 15px;bottom:20px}.team-panel .pitch-name{font-size:8px}.pitch-row{min-height:66px}.pitch-shirt{width:34px;height:35px}.pitch-shirt .pitch-ovr{top:10px}.pitch-empty{width:33px;height:33px}.pitch-empty-name{font-size:8px}.bench-player span{font-size:8px}.mini-standings{gap:4px}.fixture-dot{height:24px;font-size:8px}.mobile-tabs{margin-bottom:17px}.footer .save-line{display:none}}
@media(max-width:360px){.shell{padding:0 13px}.welcome h1{font-size:50px;letter-spacing:-3px}.players-grid{gap:8px}.card-stat{font-size:7px}.card-stat strong{font-size:9px}.player-card .card-main{padding:12px 10px 7px}.card-name{font-size:13px}.filters{gap:0}.filter{min-width:26px;padding:7px}.player-toolbar h2{font-size:13px}.spin-name{font-size:25px}.nav{gap:5px}.icon-button{width:34px;height:34px}.brand-name{font-size:20px}.pitch-name{font-size:7px!important}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Phone controls and numbers remain comfortably readable. */
@media(max-width:800px){.card-select{min-height:44px}.filter{min-height:44px;min-width:44px}.pitch-name,.team-panel .pitch-name{font-size:10px!important}.formation-controls button{min-height:44px}.bench-player{min-height:54px}.bench-player span{font-size:9px}.mobile-tabs button{min-height:44px}}
@media(max-width:540px){.player-toolbar{flex-wrap:wrap}.player-toolbar>div:first-child{width:100%}.player-toolbar p{max-width:none}.filters{width:100%;gap:5px}.filter{flex:1;min-height:44px;font-size:11px}.card-stat{font-size:10px;gap:3px}.card-stat strong{font-size:12px}.card-stats{gap:8px 7px}.card-flairs{font-size:9px;min-height:29px}.card-select,.card-select:disabled{min-height:44px;font-size:11px}.card-select:disabled{font-size:10px}.card-roles .role{font-size:10px}.card-club{font-size:11px}.card-name{font-size:15px;min-height:38px}.card-overall{font-size:30px}.card-tier{font-size:10px}.card-main{padding-bottom:11px!important}.card-flairs .icon{width:12px;height:12px}.filter.active{border-color:#cbfa5f55}.pitch-player{min-height:55px}.pitch-name{padding:3px}.spin-actions .btn,.spin-actions .link-button{min-height:44px}.bench-player{min-height:54px}.bench-player span{font-size:9px}.result-row{min-height:55px}}
.name-input{display:block;width:100%;margin-top:12px;padding:13px 15px;background:var(--surface2);border:1px solid var(--line);border-radius:10px;color:var(--text);font-size:16px;min-height:48px}.bracket-tie{border:1px solid var(--line);background:#ffffff02;border-radius:9px;margin-bottom:9px;padding:10px 13px}.bracket-tie.user-tie{border-color:#cbfa5f35;background:#cbfa5f04}.bracket-tie>div{display:flex;align-items:center;justify-content:space-between;gap:13px;font-size:12px;color:var(--muted);padding:3px 0}.bracket-tie .winner{color:var(--text)}.bracket-tie .winner strong{color:var(--lime)}.bracket-tie small{display:block;text-align:right;font-size:10px;color:var(--gold);margin-top:5px}.bracket-round:first-child h3{margin-top:0!important}.team-formation{min-width:36px;min-height:32px;display:grid;place-items:center}
.draft-needs{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:-8px 0 17px;font-size:11px;color:var(--muted)}.draft-needs>span:first-child{margin-right:3px}.need-chip{display:flex;align-items:center;gap:5px;padding:4px 7px;border:1px solid var(--line);background:var(--surface);border-radius:6px}.need-chip strong{font-size:11px;color:var(--text);font-weight:600}.market-standing{display:flex;align-items:center;gap:23px;flex-wrap:wrap;border-top:1px solid #e9a5ee19;margin-top:16px;padding-top:16px}.market-points strong{font-size:28px;font-weight:800;letter-spacing:-1px;line-height:1;display:block}.market-points strong small{font-size:12px;font-weight:500;color:var(--muted);letter-spacing:0}.market-points>span{display:block;margin-top:5px;font-size:10px;color:var(--muted)}.market-record{display:flex;gap:14px;font-size:11px;color:var(--muted)}.market-record strong{color:var(--text);font-weight:650}.market-record>span:first-child strong{color:var(--lime)}.market-record>span:last-child strong{color:var(--red)}.market-standing .link-button{margin-left:auto;min-height:44px;color:var(--pink);font-size:11px}.modal-body>.results-panel .panel-head{padding:17px}.modal-body>.results-panel .result-row{padding:12px 14px;gap:9px}
@media(max-width:540px){.market-standing{gap:15px}.market-standing .link-button{flex-basis:100%;margin-left:0;border-top:1px solid #e9a5ee12;padding-top:12px;justify-content:space-between}.market-record{gap:15px;margin-left:auto}.draft-needs{font-size:10px;gap:5px}.need-chip{padding:4px 6px}.need-chip strong{font-size:10px}.modal-body>.results-panel .result-row{padding:11px 10px;gap:7px}.modal-body>.results-panel .result-location{display:none}}
/* Compact draft and direct, touch-friendly squad placement. */
.topbar{height:62px}.main{padding-top:18px}.nav-label,.brand-sub{display:none}.footer{padding:14px 0;font-size:10px}.footer>span:nth-child(2){display:none}.compact-welcome{display:block;min-height:0;max-width:520px;margin:35px auto 60px;padding:0}.compact-welcome h1{font-size:58px;letter-spacing:-3px;margin:0 0 18px}.compact-welcome .welcome-description{font-size:14px}.compact-welcome .mode-choices{margin:22px 0 14px}.compact-welcome .welcome-footnote{margin-top:12px;font-size:11px}.compact-welcome .league-strip{margin-top:24px;padding-top:18px}.draft-mini-head{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:27px;margin-bottom:8px;color:var(--muted);font-size:11px}.draft-mini-head strong{color:var(--text);font-weight:650}.draft-mini-head .cap-bar{margin:0;gap:4px}.draft-mini-head .cap-bar>.muted{display:none}.draft-mini-head .cap-chip{padding:3px 6px;font-size:10px}.draft-mini-head .tier-dot{width:15px;height:15px;font-size:9px}.compact-spin{min-height:70px;padding:11px 15px;gap:12px;margin-bottom:10px;border-radius:12px;flex-wrap:nowrap}.compact-spin:before{display:none}.compact-spin .spin-club{gap:11px;width:auto;min-width:0}.compact-spin .spin-club>div:last-child{min-width:0}.compact-spin .club-shield{width:35px;height:40px;font-size:9px}.compact-spin .spin-random{width:36px;height:36px;border-radius:10px}.compact-spin .spin-random .icon{width:20px;height:20px}.compact-spin .spin-label{font-size:9px;letter-spacing:.9px;margin:0 0 3px}.compact-spin .spin-name{font-size:20px;letter-spacing:-.55px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;line-height:1.15}.compact-spin .spin-actions{width:auto;display:block;flex:0 0 auto}.compact-spin .spin-actions .btn{min-height:36px;padding:8px 11px;font-size:11px;gap:5px}.compact-spin .spin-actions .icon{width:15px;height:15px}.compact-toolbar{margin:0 0 8px;flex-wrap:nowrap;gap:10px;align-items:center}.compact-toolbar .filters{width:auto;gap:4px;flex:0 0 auto}.compact-toolbar .filter{min-height:32px;min-width:32px;padding:5px 9px;font-size:11px;border-radius:6px;flex:none}.pool-count{font-size:10px;color:var(--faint);white-space:nowrap}.compact-empty{padding:16px;border-radius:10px;font-size:12px;border-style:solid;background:#ffffff02}.players-list{display:grid;grid-template-columns:1fr;gap:6px}.player-row{display:flex;min-width:0;min-height:70px;align-items:stretch;border:1px solid var(--line);border-left:3px solid var(--tier-color);background:var(--surface);border-radius:10px;overflow:hidden}.row-pick{background:none;padding:10px 11px;display:flex;align-items:center;gap:11px;flex:1;min-width:0;text-align:left}.row-pick:hover:not(:disabled){background:#ffffff04}.row-pick:disabled{opacity:.56}.row-rating{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:30px;flex:0 0 30px;color:var(--tier-color)}.row-rating strong{font-size:25px;line-height:1;letter-spacing:-.9px;font-weight:800}.row-rating>span{font-size:9px;font-weight:800;line-height:1;background:var(--tier-bg);padding:3px 6px;border-radius:4px}.row-info{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:5px}.row-title{display:flex;align-items:center;gap:8px;min-width:0;flex-wrap:wrap}.row-title>strong{font-size:15px;font-weight:700;letter-spacing:-.2px;line-height:1.2}.row-roles{display:inline-flex;gap:3px;flex-shrink:0}.row-roles .role{font-size:9px;padding:3px 4px}.row-flairs{display:flex;gap:4px 8px;flex-wrap:wrap;align-items:center;line-height:1.25}.row-flair{display:inline-flex;align-items:center;gap:3px;color:#afbdc8;font-size:10px;white-space:nowrap}.row-flair .icon{color:var(--tier-color);width:11px;height:11px}.row-add{width:17px;height:17px;flex:0 0 17px;color:var(--lime)}.row-pick:disabled .row-add{display:none}.row-detail{flex:0 0 34px;display:grid;place-items:center;background:#ffffff02;color:var(--faint);border-left:1px solid #ffffff05;padding:0}.row-detail:hover{color:var(--lime);background:#ffffff05}.row-reason{font-size:10px;color:var(--faint)}.compact-team .team-head{padding:9px 11px;min-height:44px;gap:8px}.compact-team .team-head h2{font-size:13px;white-space:nowrap;min-width:0;overflow:hidden;text-overflow:ellipsis;display:block;flex:1}.compact-team .team-head h2 span{margin-left:4px;font-size:9px}.team-tools{display:flex;align-items:center;gap:5px}.team-tools select{height:29px;padding:2px 5px;background:var(--surface2);border:1px solid var(--line);border-radius:6px;font-size:12px;color:var(--lime)}.team-tools .team-formation{height:29px;min-height:29px;width:29px;min-width:29px;padding:0}.team-tools .team-formation .icon{width:13px;height:13px}.placement-bar{display:flex;align-items:center;gap:6px;border-top:1px solid #cbfa5f24;border-bottom:1px solid #cbfa5f24;background:#cbfa5f08;margin:0 8px 7px;padding:6px 7px;min-height:43px;border-radius:7px;outline:none}.placement-player{min-width:0;flex:1;display:flex;align-items:center;gap:8px;background:none;text-align:left;padding:0;touch-action:pan-y;-webkit-touch-callout:none;user-select:none}.placement-player>strong{font-size:23px;letter-spacing:-.8px;color:var(--tier-color);line-height:1}.placement-player>span{font-size:12px;font-weight:650;line-height:1.2;min-width:0}.placement-player small{display:block;font-size:9px;font-weight:400;color:var(--muted);margin-top:3px}.placement-clear{width:25px;height:28px;background:none;display:grid;place-items:center;color:var(--muted)}.placement-hint{font-size:10px;color:var(--faint);margin:0;padding:0 11px 8px;line-height:1.3}.compact-team .pitch{margin:0 8px;aspect-ratio:1.24;max-height:none;border-radius:8px}.compact-team .pitch-rows{inset:7px 4px 5px}.compact-team .pitch-row{min-height:0;flex:1;align-items:center}.compact-team .pitch-player{min-height:50px;padding:0 1px;gap:1px;transition:opacity .12s,background .12s;border-radius:8px;touch-action:pan-y;-webkit-touch-callout:none;user-select:none}.compact-team .pitch-shirt{width:30px;height:31px}.compact-team .pitch-shirt .pitch-ovr{top:9px;font-size:9px}.compact-team .pitch-name{font-size:9px!important;line-height:1.15;padding:2px 3px}.compact-team .pitch-empty{height:29px;width:29px;font-size:10px}.compact-team .pitch-empty-name{font-size:8px;min-height:12px;line-height:1.2}.compact-team .bench-label{font-size:9px;margin:7px 11px 4px;line-height:1}.compact-team .bench{padding:0 8px 7px;gap:4px}.compact-team .bench-player{min-height:42px;padding:5px 2px;gap:3px;touch-action:pan-y;-webkit-touch-callout:none;user-select:none}.compact-team .bench-player strong{font-size:13px}.compact-team .bench-player span{font-size:8px}.compact-team .bench-player.empty{font-size:14px;min-height:42px}.squad-next{position:sticky;bottom:0;background:var(--surface);padding:6px 8px 8px;z-index:3}.squad-next .btn{min-height:37px;padding:8px 12px;font-size:12px}.squad-next .icon{width:17px;height:17px}.auto-xi{display:block;width:100%;padding:5px 8px 11px;font-size:10px;color:var(--faint);background:none}.selected .pitch-shirt,.bench-player.selected{filter:drop-shadow(0 0 5px #cbfa5f88)}.pitch-player.selected .pitch-name{color:var(--lime);background:#173025}.pitch-player.can-drop .pitch-empty{border-color:var(--lime);color:var(--lime);background:#cbfa5f12}.pitch-player.can-drop{background:#cbfa5f08;box-shadow:inset 0 0 0 1px #cbfa5f30}.bench-player.can-drop{border-color:#cbfa5f80;background:#cbfa5f0c}.pitch-player.cannot-drop:not(.selected),.bench-player.cannot-drop:not(.selected){opacity:.43}.drop-over:not(.pitch-player):not(.bench-player){background:#cbfa5f33!important;box-shadow:inset 0 0 0 2px var(--lime)!important}.drag-source:not(.pitch-player):not(.bench-player){opacity:.25!important}.drag-ghost{position:fixed;z-index:1000;pointer-events:none!important;transform:translate(-50%,-80%) scale(1.15);width:90px!important;min-width:90px;height:65px!important;padding:7px!important;border:1px solid var(--lime)!important;box-shadow:0 12px 35px #0009!important;border-radius:10px;background:#243529!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column;gap:4px!important;opacity:1!important;color:var(--text)}.drag-ghost .pitch-shirt{width:29px;height:30px}.drag-ghost .pitch-name{max-width:80px;font-size:10px!important}.drag-ghost.placement-player,.drag-ghost.incoming-player{flex-direction:row;width:165px!important;min-width:165px;max-width:165px}.drag-ghost.placement-player small,.drag-ghost.incoming-player small{display:none}.reserve-overflow{display:flex;gap:5px;flex-wrap:wrap;padding:0 9px 7px}.reserve-overflow button{background:#ffffff05;border:1px solid var(--line);border-radius:5px;padding:4px 6px;font-size:10px;color:var(--muted)}.compact-ready{padding:19px}.compact-ready h1{font-size:27px;margin:0 0 8px;line-height:1.1}.compact-ready p{font-size:12px}.compact-ready .btn{margin-top:17px}.ready-grid{margin:12px 0}.ready-stat{padding:12px}.ready-stat strong{font-size:23px}.compact-race{padding:15px 17px;margin-bottom:12px}.compact-race .race-top{align-items:center}.compact-race .race-points{font-size:30px}.compact-race .race-points small{font-size:13px}.compact-race .race-title{font-size:10px}.compact-race .race-track{height:5px;margin:13px 0 8px}.compact-race .race-track:after{display:none}.compact-race .race-bottom{font-size:10px}.matchday{padding:17px;margin-bottom:14px}.matchday-top{margin-bottom:16px}.fixture-team{gap:8px}.fixture-team strong{font-size:15px}.fixture .club-shield{width:45px;height:51px;font-size:12px}.fixture .club-shield.user{font-size:18px}.matchday-actions{margin-top:18px}.matchday-actions .btn{min-height:38px;padding:9px 12px;font-size:11px}.next-note{display:none}.market-banner{padding:14px 17px;margin-bottom:12px}.market-banner h1{font-size:21px;margin:6px 0}.market-banner>p{display:none}.market-standing{margin-top:11px;padding-top:11px;gap:15px}.market-standing .link-button{min-height:30px}.market-outgoing{padding:10px 13px;margin-bottom:10px}.market-outgoing label{font-size:9px;margin-bottom:4px}.market-outgoing select{padding:7px 8px;font-size:12px}.section-head{margin-bottom:14px}.section-title{font-size:23px}.cup-road{padding:15px 12px;margin-bottom:12px}.cup-step .step-dot{width:28px;height:28px;margin-bottom:6px}.cup-step:before{top:14px}.cup-step span{font-size:9px}.finish-hero{padding:25px 20px;margin-bottom:14px}.finish-hero .finish-icon{height:42px;width:42px;margin-bottom:12px}.finish-hero h1{font-size:35px;margin:8px 0}.finish-hero p{font-size:12px}.finish-actions{margin-top:18px}.finish-stats{margin-bottom:14px}.finish-stat{padding:12px 5px}.leaders{margin-top:12px}.panel-head{padding:15px 17px}.result-row{padding:10px 16px;min-height:45px}
@media(max-width:800px){.topbar{height:56px}.main{padding-top:10px}.mobile-tabs{padding:3px;margin-bottom:8px;border-radius:9px;gap:3px}.mobile-tabs button{min-height:32px;font-size:11px;gap:5px}.mobile-tabs button .icon{width:14px;height:14px}.mobile-tabs button span{font-size:9px}.team-panel{max-width:470px}.compact-team .pitch{aspect-ratio:1.24}.compact-team .team-head h2{font-size:13px}.compact-team .pitch-name{font-size:10px!important}.compact-team .bench-player span{font-size:9px}.compact-team .pitch-player{min-height:49px}.compact-team .team-head{min-height:40px;padding-top:7px;padding-bottom:7px}.compact-team .placement-hint{font-size:10px;padding-bottom:7px}.compact-welcome{margin-top:22px}.compact-welcome h1{font-size:49px}.compact-toolbar .filters{width:auto}.compact-toolbar{flex-wrap:nowrap}.compact-toolbar>div:first-child{width:auto}}
@media(max-width:540px){.shell{padding:0 12px}.brand-name{font-size:19px}.brand-mark{width:30px;height:30px;font-size:18px;border-radius:8px}.brand{gap:8px}.nav .icon-button{height:32px;width:32px;border-radius:8px}.nav .icon{width:16px;height:16px}.draft-mini-head{font-size:10px;min-height:22px;margin-bottom:6px}.draft-mini-head .cap-chip{font-size:9px;padding:3px 5px}.compact-spin{min-height:66px;padding:10px 11px;gap:8px;margin-bottom:8px}.compact-spin .spin-name{font-size:18px;letter-spacing:-.35px}.compact-spin .spin-label{font-size:8px;margin-bottom:3px}.compact-spin .spin-club{gap:9px}.compact-spin .club-shield{width:31px;height:35px;font-size:8px}.compact-spin .spin-actions .btn{min-height:34px;font-size:10px;padding:8px 9px;gap:4px}.compact-spin .spin-actions .icon{width:14px;height:14px}.compact-toolbar{margin-bottom:6px;gap:8px}.compact-toolbar .filters{gap:3px}.compact-toolbar .filter{min-width:30px;min-height:30px;font-size:10px;padding:5px 9px}.pool-count{font-size:9px}.player-row{min-height:72px;border-radius:9px}.row-pick{gap:9px;padding:10px 9px}.row-rating{min-width:27px;flex-basis:27px}.row-rating strong{font-size:24px}.row-rating>span{font-size:8px}.row-title{gap:6px}.row-title>strong{font-size:14px}.row-info{gap:5px}.row-roles .role{font-size:9px}.row-flair{font-size:9px;gap:3px}.row-flair .icon{width:10px;height:10px}.row-flairs{gap:4px 7px}.row-add{width:15px;height:15px;flex-basis:15px}.row-detail{flex-basis:29px}.row-detail .icon{width:14px;height:14px}.players-list{gap:5px}.row-reason{font-size:9px}.compact-team .team-head h2{font-size:12px}.team-tools select{font-size:13px;height:28px}.team-tools .team-formation{width:26px;min-width:26px;height:28px;min-height:28px}.placement-player>span{font-size:11px}.placement-player small{font-size:9px}.placement-bar{min-height:42px}.compact-team .pitch-name{font-size:9px!important}.compact-team .pitch-shirt{height:30px;width:29px}.compact-team .bench-player span{font-size:8px}.squad-next .btn{min-height:35px;font-size:11px}.compact-race{padding:13px 15px}.compact-race .race-points{font-size:27px}.compact-race .race-bottom{font-size:9px}.market-standing .link-button{flex-basis:auto;margin-left:auto;border:0;padding:0;font-size:10px}.market-record{gap:10px;margin-left:0;font-size:10px}.market-points strong{font-size:23px}.market-points>span{font-size:9px}.market-banner h1{font-size:18px}.market-banner .eyebrow{font-size:8px;letter-spacing:1px}.market-banner .pill{font-size:8px}.market-banner .cap-bar{margin-top:8px}.market-outgoing{gap:9px}.market-outgoing>.icon{height:17px;width:17px}.market-outgoing select{font-size:11px}.matchday-actions .btn{font-size:10px;padding:9px}.matchday{padding:15px}.fixture-team strong{font-size:14px}.fixture .club-shield{width:42px;height:48px;font-size:11px}.matchday-top{margin-bottom:14px}.race-title .icon{width:14px;height:14px}.footer{font-size:9px}.footer .status-dot{width:4px;height:4px}.compact-welcome{margin-top:20px;margin-bottom:30px}.compact-welcome h1{font-size:45px;letter-spacing:-2px}.compact-welcome .welcome-description{font-size:12px}.compact-welcome .mode-choice{padding:12px}.compact-welcome .welcome-footnote{font-size:10px}.compact-welcome .league-strip{gap:9px;font-size:8px}}
/* Tier materials are deliberately quiet; role colors carry position meaning. */
.tier-S{--tier-color:#e3e5e8;--tier-bg:#090b0f;--tier-edge:#353b43}.tier-A{--tier-color:#d9c18b;--tier-bg:#9b7d3818;--tier-edge:#a28a56}.tier-B{--tier-color:#c2c8cf;--tier-bg:#adb5bf13;--tier-edge:#919ba5}.tier-C,.tier-D,.tier-E{--tier-color:#c09a7b;--tier-bg:#a1714d15;--tier-edge:#997353}.player-row{border-left-color:var(--tier-edge);background:var(--surface)}.row-rating{flex-basis:39px;min-width:39px;color:var(--text)}.row-rating strong{color:var(--text)}.row-rating>span{color:var(--tier-color);background:var(--tier-bg);font-size:8px;letter-spacing:.1px;border:1px solid var(--tier-edge);padding:3px 5px;font-weight:650}.row-flair .icon{color:var(--muted)}.placement-player>strong,.bench-player strong{color:var(--text)!important}.pitch-player.tier-S .pitch-shirt,.pitch-player.tier-A .pitch-shirt,.pitch-player.tier-B .pitch-shirt{color:#b6c0c7}.modal-player-avatar{border-color:var(--tier-edge);background:var(--tier-bg)}.role-P{--role-color:#f0cf6e;--role-bg:#f0cf6e16}.role-D{--role-color:#83d8a0;--role-bg:#83d8a016}.role-C{--role-color:#8bbcf4;--role-bg:#8bbcf416}.role-A{--role-color:#ee959a;--role-bg:#ee959a16}.role,.pitch-role{color:var(--role-color,var(--muted));background:var(--role-bg,#ffffff08);border:1px solid color-mix(in srgb,var(--role-color,var(--muted)) 27%,transparent)}.role{font-size:9px;letter-spacing:.2px;padding:3px 5px}.compact-toolbar .filter[class*="role-"]{color:var(--role-color);background:transparent;border-color:transparent}.compact-toolbar .filter.active[class*="role-"]{background:var(--role-bg);border-color:var(--role-color)}.compact-team .pitch-empty{color:var(--role-color,var(--muted));background:var(--role-bg);border-color:var(--role-color);font-size:8px;width:34px;height:29px;border-radius:7px;letter-spacing:.1px}.compact-team .pitch-player.can-drop .pitch-empty{color:var(--role-color);background:var(--role-bg);border-color:var(--role-color)}.pitch-player.can-drop{box-shadow:inset 0 0 0 1px #d3dcdf45;background:#e7f4ed08}.pitch-player.cannot-drop:not(.selected){opacity:.55}.pitch-person{position:relative;display:block;width:44px;height:36px}.pitch-person .pitch-ovr{position:absolute;right:-2px;bottom:1px;top:auto;left:auto;width:auto;min-width:17px;padding:2px 3px;font-size:9px;line-height:1;background:#10161de8;border:1px solid var(--tier-edge);border-radius:4px;color:var(--text);font-weight:750}.pitch-role{position:absolute;top:-1px;left:-6px;font-size:7px;padding:2px 3px;line-height:1;border-radius:3px;z-index:1;font-weight:750}.pitch-person .player-portrait{margin:auto}.squad-tier-status{padding:0 9px 7px}.cap-status .cap-bar{margin-top:0}.cap-status .cap-chip{gap:0;display:flex;flex-direction:column;align-items:flex-start;border-color:var(--tier-edge);background:var(--tier-bg);opacity:1}.cap-name{color:var(--tier-color);font-size:10px;white-space:nowrap;display:flex;align-items:center;gap:7px}.cap-name strong{color:var(--text);font-size:10px}.cap-bar.detailed{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.cap-bar.detailed .cap-chip{padding:5px 7px;border-radius:6px;min-width:0}.cap-bar.detailed .cap-name{display:flex;justify-content:space-between;width:100%}.cap-bar.detailed .cap-chip small{font-size:9px;color:#b3bec7;line-height:1.2;margin-top:3px}.cap-bar.detailed .cap-chip.full small{color:var(--faint)}.cap-context{font-size:9px;color:var(--faint);line-height:1.3;margin-top:4px}.tier-unlimited{font-size:10px;color:var(--faint);padding:2px 2px 4px}.draft-mini-head .cap-status{min-width:0}.draft-mini-head .cap-chip{padding:3px 5px}.draft-mini-head .cap-name{font-size:9px;gap:4px}.draft-mini-head .cap-name strong{font-size:9px}.market-banner .cap-status{margin-top:10px}.selection-actions{display:flex;flex-wrap:wrap;gap:5px;padding:0 8px 7px}.selection-actions button{display:flex;align-items:center;justify-content:center;gap:5px;min-height:29px;padding:5px 8px;font-size:10px;background:#ffffff05;border:1px solid var(--line);border-radius:6px;color:var(--text)}.selection-actions button .icon{width:12px;height:12px}.placement-wrap .placement-bar{margin-bottom:5px}.placement-player{gap:6px}.placement-player>strong{font-size:20px}.placement-player>span:not(.player-portrait){flex:1;min-width:0}.placement-player small{font-size:9px}.player-portrait{position:relative;display:block;flex-shrink:0;overflow:hidden;background:linear-gradient(145deg,#ffffff09,#ffffff02);border-radius:7px;width:40px;height:44px;isolation:isolate}.portrait-fallback{position:absolute;inset:5px;display:grid;place-items:center;color:#8796a1;z-index:0}.portrait-fallback>svg{width:100%;height:100%}.player-portrait>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center bottom;z-index:1}.player-portrait.image-loaded .portrait-fallback{opacity:0}.portrait-pitch{width:36px;height:36px;background:#ffffff05;border-radius:5px}.portrait-pitch .portrait-fallback{inset:3px}.portrait-selected{width:29px;height:33px}.portrait-detail{width:84px;height:82px;border-radius:9px;background:transparent}.row-pick{gap:9px}.row-info{min-width:0}.row-title{gap:5px}.row-roles .role{padding:2px 4px;font-size:8px}.row-title>strong{font-size:14px}.row-flairs{gap:4px 6px}.row-flair{font-size:9px}.row-add{display:none}.modal-player-avatar{position:relative;justify-content:flex-start;width:94px;min-height:112px;height:112px;padding:3px;overflow:hidden}.detail-rating{display:flex;align-items:center;justify-content:center;gap:7px;min-height:25px;position:absolute;bottom:0;left:0;right:0;background:#111820dc;padding:3px 4px}.modal-player-avatar .detail-rating strong{font-size:20px;letter-spacing:-.5px;color:var(--text)}.modal-player-avatar .detail-rating span{font-size:10px;letter-spacing:0;color:var(--tier-color)}.detail-club{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted)}.detail-club>.club-shield,.detail-club>.club-mark{width:21px!important;height:24px!important;font-size:6px}.club-mark{position:relative;display:block;flex-shrink:0;width:62px;height:70px;isolation:isolate}.club-mark>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:1}.club-mark.sm{width:32px;height:36px}.club-mark.lg{width:78px;height:88px}.compact-spin .club-mark{width:35px;height:40px}.fixture .club-mark{width:45px;height:51px}.match-score-team .club-mark{width:62px;height:70px}.drag-ghost .portrait-pitch{height:34px;width:34px}.drag-ghost .pitch-person{width:44px;height:36px}.drag-ghost.placement-player .portrait-selected,.drag-ghost.incoming-player .portrait-selected{width:30px;height:34px}.drag-ghost.placement-player>span:not(.player-portrait),.drag-ghost.incoming-player>span:not(.player-portrait){font-size:10px}.compact-welcome .mode-choice small{font-size:10px}
@media(max-width:540px){.row-pick{padding:9px 8px;gap:7px}.portrait-row{width:39px;height:43px}.row-rating{flex-basis:36px;min-width:36px}.row-rating strong{font-size:23px}.row-rating>span{font-size:8px;padding:3px 4px}.row-title>strong{font-size:13px}.row-roles .role{font-size:8px;padding:2px 4px;letter-spacing:0}.row-flair{font-size:9px}.row-flairs{gap:4px 6px}.row-info{gap:5px}.compact-toolbar .filter{padding:5px 8px}.compact-team .pitch-name{font-size:9px!important}.compact-team .pitch-person{height:35px}.portrait-pitch{height:35px;width:35px}.pitch-role{font-size:7px;left:-3px}.compact-team .pitch-empty{font-size:8px}.cap-bar.detailed .cap-chip{padding:4px 6px}.cap-name{font-size:9px}.cap-name strong{font-size:9px}.cap-bar.detailed .cap-chip small{font-size:8px}.cap-context{font-size:8px}.draft-mini-head .cap-chip{padding:3px 4px}.draft-mini-head .cap-name{font-size:8px;gap:3px}.draft-mini-head .cap-name strong{font-size:8px}.selection-actions button{font-size:9px;min-height:28px;padding:5px 7px}.placement-player>span:not(.player-portrait){font-size:11px}.placement-player small{font-size:8px}.compact-spin .club-mark{width:31px;height:35px}.fixture .club-mark{width:42px;height:48px}.match-score-team .club-mark{width:48px;height:55px}.result-row .club-mark.sm{width:25px;height:28px}.modal-player-avatar{width:84px;height:103px;min-height:103px}.portrait-detail{width:76px;height:75px}.modal-player-avatar .detail-rating strong{font-size:18px}.modal-player-avatar .detail-rating span{font-size:9px}.modal-player-info h3{font-size:21px}.modal-player-info .role{font-size:9px;padding:3px 5px}.detail-club{font-size:10px!important;line-height:1.4}.compact-welcome .mode-choice small{font-size:9px}}

/* Clear onboarding, material tiers and logo-only club marks. */
.beta-note{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:11px;color:var(--muted);line-height:1.4}.beta-note>span,.guide-beta{font-size:9px;font-weight:750;letter-spacing:.8px;border:1px solid #b4beca40;border-radius:4px;color:#d4dce4;padding:2px 5px}.welcome-guide{margin:16px 0 0;padding:15px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.welcome-guide h2{font-size:15px;letter-spacing:-.2px;margin-bottom:5px}.welcome-guide>p{font-size:12px;color:var(--muted);line-height:1.5;max-width:430px}.guide-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:13px 0 5px}.guide-steps>div{display:flex;flex-direction:column;gap:2px}.guide-steps strong{font-size:15px;font-weight:750;letter-spacing:-.2px}.guide-steps span{font-size:10px;color:var(--muted);line-height:1.4}.guide-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:7px;border-top:1px solid var(--line);padding-top:4px}.guide-bottom>span{font-size:10px;color:var(--muted)}.guide-bottom>button{background:none;color:var(--text);display:flex;align-items:center;gap:3px;min-height:36px;font-size:11px;font-weight:650;padding:5px 0}.compact-welcome .mode-choices{margin-top:14px}.compact-welcome .mode-choice small{display:block;line-height:1.6}.compact-welcome .league-strip{margin-top:18px;padding-top:15px}.guide-intro{padding:0 0 18px;border-bottom:1px solid var(--line)}.guide-intro>p{margin:10px 0 7px;font-size:15px;color:var(--text);line-height:1.5}.guide-intro>small{display:block;font-size:12px;color:var(--muted);line-height:1.5}.guide-topic{border-bottom:1px solid var(--line)}.guide-topic summary{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 0;font-size:13px;font-weight:650;list-style:none;cursor:pointer;min-height:48px}.guide-topic summary::-webkit-details-marker{display:none}.guide-topic summary .icon{color:var(--muted);transition:transform .15s}.guide-topic[open] summary .icon{transform:rotate(90deg)}.guide-topic summary:focus-visible{outline:2px solid var(--lime);outline-offset:3px}.guide-topic>p{font-size:12px;color:var(--muted);line-height:1.7;margin:0 0 16px}.guide-topics+.rules-note{margin-top:18px}.tier-S{--tier-color:#e3e5e8;--tier-bg:#090c10;--tier-edge:#6b737e}.tier-A{--tier-color:#d9c18b;--tier-bg:#b4984c0a;--tier-edge:#bca16a}.tier-B{--tier-color:#c2c8cf;--tier-bg:#c4ccd40a;--tier-edge:#abb4bd}.tier-C,.tier-D,.tier-E{--tier-color:#c09a7b;--tier-bg:#b0825d0a;--tier-edge:#ad8260}.player-row{border:2px solid var(--tier-edge);background:linear-gradient(var(--tier-bg),var(--tier-bg)),var(--surface)}.player-row.tier-S{background:#090c10}.row-rating{flex-basis:29px;min-width:29px}.tier-legend{display:flex;gap:13px;align-items:center;flex-wrap:wrap;margin:0 0 8px;color:var(--muted);font-size:10px;line-height:1.2}.tier-legend>span{display:inline-flex;align-items:center;gap:4px}.tier-swatch{display:inline-block;width:12px;height:12px;border:2px solid var(--tier-edge);border-radius:3px;background:linear-gradient(var(--tier-bg),var(--tier-bg)),var(--surface)}.club-mark{display:grid;place-items:center;background:transparent;clip-path:none;box-shadow:none}.club-mark:before,.club-mark:after{content:none}.club-initials[hidden],.club-mark>img[hidden]{display:none!important}.club-initials{display:grid;place-items:center;width:100%;height:100%;border:1px solid #64717e55;border-radius:8px;background:#a7b2bf0b;color:#b9c5d1;font-size:12px;font-weight:750;letter-spacing:-.3px}.club-mark.sm .club-initials{font-size:8px;border-radius:5px}.club-mark.lg .club-initials{font-size:17px}.club-mark.user .club-initials{color:#d2dce4;font-size:21px}.club-mark.sm.user .club-initials{font-size:12px}.compact-spin .club-initials{font-size:8px;border-radius:6px}.fixture .club-initials{font-size:11px}.fixture .club-mark.user .club-initials{font-size:17px}.detail-club .club-initials{font-size:6px;border-radius:4px}.history-description{min-width:0;flex:1}.history-item .history-description>small{display:block;line-height:1.5}.history-points{flex:0 0 auto;white-space:nowrap;text-align:right;line-height:1.2}.history-points>small{display:block;font-size:11px;font-weight:500;letter-spacing:0;color:var(--muted);margin-top:4px}.history-points>span{display:block;font-size:8px;font-weight:400;letter-spacing:0;color:var(--faint);margin-top:3px}
@media(max-width:540px){.compact-welcome{margin-top:12px}.compact-welcome h1{font-size:41px;margin-bottom:13px}.beta-note{font-size:10px;gap:5px}.welcome-guide{padding:12px;margin-top:13px}.welcome-guide h2{font-size:14px}.welcome-guide>p{font-size:11px}.guide-steps{gap:6px;margin-top:11px}.guide-steps strong{font-size:14px}.guide-steps span{font-size:9px}.guide-bottom>span{font-size:9px}.guide-bottom>button{font-size:10px}.compact-welcome .mode-choice{padding:11px}.row-rating{flex-basis:27px;min-width:27px}.tier-legend{font-size:9px;gap:10px;margin-bottom:7px}.tier-swatch{width:11px;height:11px}.guide-topic summary{font-size:12px;min-height:46px}.guide-intro>p{font-size:14px}.guide-topic>p{font-size:12px}.history-item{gap:10px}.history-item .history-description>small{font-size:10px}.history-points{font-size:21px}.history-points>small{font-size:10px}.match-score-team .club-mark.user .club-initials{font-size:18px}}

/* Versioned draft choices, incoming-first market and European boosts. */
.draft-alternatives{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:-1px 0 10px}.draft-alternatives-note{grid-column:1/-1;font-size:9px;color:var(--muted);line-height:1.3;margin-bottom:1px}.draft-alternatives>button{display:flex;align-items:center;gap:7px;min-width:0;min-height:40px;padding:6px 8px;background:var(--surface);border:1px solid var(--line);border-radius:8px;text-align:left}.draft-alternatives>button.active{border-color:#cbfa5f66;background:#cbfa5f08}.draft-alternatives>button>span{min-width:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;font-weight:600}.draft-alternatives .club-mark.sm{width:23px;height:26px}.draft-alternatives>button>.icon{width:13px;height:13px;color:var(--muted)}.draft-alternatives>button.active>.icon{color:var(--lime)}.market-pool-note{font-size:11px;color:var(--muted);margin:0 0 9px}.market-placement{margin:0 8px 7px;padding:9px;border:1px solid #a6c5ba33;border-radius:9px;background:#b4d2c708}.incoming-heading{font-size:8px;letter-spacing:1.2px;color:var(--muted);font-weight:650;margin-bottom:5px}.incoming-player{display:flex;align-items:center;gap:7px;text-align:left;background:none;padding:0;width:100%;min-width:0;min-height:35px}.incoming-player>.portrait-selected{width:33px;height:36px}.incoming-player>strong{font-size:24px;line-height:1;letter-spacing:-1px}.incoming-player>span:not(.player-portrait){flex:1;min-width:0}.incoming-player b{display:block;font-size:12px;font-weight:650;line-height:1.25}.incoming-player small{display:block;font-size:9px;color:var(--tier-color);margin-top:3px}.incoming-player>.icon{color:var(--muted);width:15px;height:15px}.incoming-instruction{font-size:10px;color:var(--muted);margin:7px 0 4px;line-height:1.4}.incoming-cancel{display:flex;align-items:center;gap:5px;font-size:10px;font-weight:600;min-height:30px;padding:3px 0;background:none;color:var(--text)}.incoming-cancel>.icon{height:13px;width:13px}.market-selecting .pitch-player:disabled,.market-selecting .bench-player:disabled{opacity:.35;cursor:default}.market-selecting .pitch-player.can-drop{background:#cbfa5f12;box-shadow:inset 0 0 0 1px #cbfa5f7a}.market-selecting .bench-player.can-drop{border-color:#cbfa5f8a}.boost-screen{padding:22px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}.boost-screen h1{font-size:27px;letter-spacing:-.9px;line-height:1.15;margin:12px 0 8px}.boost-screen>p{font-size:12px;line-height:1.6;color:var(--muted)}.boost-options{display:grid;grid-template-columns:1fr;gap:9px;margin:20px 0 15px}.boost-option{display:flex;align-items:center;gap:12px;text-align:left;border:1px solid #5b6d705e;background:var(--surface2);border-radius:11px;padding:16px 14px;width:100%;min-width:0}.boost-option:hover{border-color:var(--lime);background:#cbfa5f08}.boost-option-icon{display:grid;place-items:center;width:39px;height:39px;flex:0 0 39px;background:#cbfa5f0a;border:1px solid #cbfa5f25;color:var(--lime);border-radius:10px}.boost-option-body{flex:1;min-width:0}.boost-option-body>strong{font-size:15px;letter-spacing:-.25px;display:block;margin-bottom:7px}.boost-stats{display:flex;align-items:center;flex-wrap:wrap;gap:5px 10px;font-size:11px;color:var(--muted);line-height:1.4}.boost-stats>span{white-space:nowrap}.boost-stats strong{font-weight:750;color:var(--text)}.boost-option>.icon{color:var(--muted)}.boost-screen .boost-footnote{font-size:10px;line-height:1.6}.boost-screen>.link-button{margin-top:14px}.boost-badge{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid #cbfa5f30;border-radius:6px;background:#cbfa5f08;color:#c7dba6;font-size:10px;min-height:28px;margin:0 0 10px;text-align:left}.boost-badge>.icon{width:12px;height:12px}.compact-team>.boost-badge{margin:0 9px 7px;font-size:9px;padding:3px 6px;min-height:24px}.modal-body>.boost-badge{margin-bottom:15px}.boost-info-title{font-size:20px}.boost-info-stats{padding:12px 0 20px;font-size:12px}.boost-info-stats strong{color:var(--lime)}
@media(max-width:540px){.draft-alternatives{margin-bottom:8px;gap:4px}.draft-alternatives>button{padding:5px 7px;gap:6px;min-height:38px}.draft-alternatives>button>span{font-size:10px}.draft-alternatives .club-mark.sm{width:20px;height:23px}.draft-alternatives-note{font-size:9px}.market-pool-note{font-size:10px}.incoming-player b{font-size:11px}.incoming-instruction{font-size:9px}.incoming-cancel{font-size:9px}.market-placement{padding:8px}.boost-screen{padding:17px}.boost-screen h1{font-size:25px}.boost-screen>p{font-size:11px}.boost-options{margin:17px 0 13px;gap:8px}.boost-option{padding:14px 11px;gap:10px}.boost-option-icon{width:33px;height:33px;flex-basis:33px;border-radius:8px}.boost-option-icon>.icon{width:18px;height:18px}.boost-option-body>strong{font-size:14px}.boost-stats{font-size:10px;gap:4px 8px}.boost-screen .boost-footnote{font-size:9px}.boost-option>.icon{width:13px;height:13px}}

.incoming-player small.incoming-meta{display:flex;align-items:center;gap:6px;line-height:1.2}.incoming-roles{display:inline-flex;gap:3px}.incoming-roles .role{font-size:8px;padding:2px 3px;letter-spacing:0}

/* Optional contextual coaching stays in the active game column. */
.tutorial-coach{margin:0 0 11px;padding:11px 13px;background:#17221c;border:1px solid #a7c17d55;border-radius:11px;color:var(--text);max-width:100%}.tutorial-coach-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:5px}.tutorial-coach-top>span{display:flex;align-items:center;gap:5px;color:#c3dba4;font-size:8px;font-weight:750;letter-spacing:.65px;line-height:1.3}.tutorial-coach-top>span>.icon{height:12px;width:12px}.tutorial-coach-top>button{background:none;padding:4px 0 4px 5px;min-height:25px;color:#b1beb3;font-size:9px;white-space:nowrap}.tutorial-coach h2{font-size:13px;line-height:1.3;font-weight:700;letter-spacing:-.1px;margin-bottom:4px}.tutorial-coach p{font-size:11px;line-height:1.5;color:#bcc9bf;margin:0}.tutorial-coach-bottom{display:flex;justify-content:flex-end;margin-top:4px}.tutorial-coach-bottom>button{display:flex;align-items:center;gap:5px;padding:4px 0 0 9px;min-height:28px;background:none;color:#d1e7b5;font-size:10px;font-weight:650}.tutorial-coach-bottom>button>.icon{width:13px;height:13px}.tutorial-target{outline:2px solid #c2dc9866;outline-offset:3px;scroll-margin-top:18px}.tutorial-target:focus-visible{outline-color:var(--lime)}.squad-sidebar>.tutorial-coach{max-width:470px;margin-left:auto;margin-right:auto}.modal-body>.tutorial-coach{margin-bottom:18px}.tutorial-help-entry{display:flex;align-items:center;gap:14px;padding:12px;border:1px solid #b6cf8e35;border-radius:9px;background:#b6cf8e08;margin-bottom:18px}.tutorial-help-entry>div{flex:1;min-width:0}.tutorial-help-entry strong{display:block;font-size:12px;font-weight:650;margin-bottom:4px}.tutorial-help-entry p{font-size:10px;line-height:1.5;color:var(--muted)}.tutorial-help-entry>button{flex:0 0 auto;min-height:36px;padding:7px 9px;border:1px solid #b6cf8e40;border-radius:7px;background:#b6cf8e0a;font-size:10px;font-weight:650;color:#d0e3b4}.tutorial-offer-copy{font-size:15px;line-height:1.6;color:var(--text);margin-bottom:10px}.tutorial-offer-note{font-size:12px;line-height:1.6;color:var(--muted)}.tutorial-offer-note strong{font-weight:750;color:var(--text)}.tutorial-offer-actions{display:grid;gap:9px;margin-top:24px}.tutorial-offer-actions .btn{width:100%;min-height:44px}.tutorial-offer-actions .btn-secondary{background:transparent;color:var(--muted)}
@media(max-width:540px){.tutorial-coach{padding:9px 11px;margin-bottom:10px}.tutorial-coach h2{font-size:12px}.tutorial-coach p{font-size:10px;line-height:1.5}.tutorial-coach-top{gap:7px;margin-bottom:4px}.tutorial-coach-top>span{font-size:7px;letter-spacing:.5px}.tutorial-coach-top>button{font-size:8px;min-height:25px}.tutorial-coach-bottom>button{font-size:9px;min-height:28px}.tutorial-help-entry{padding:10px;gap:10px}.tutorial-help-entry strong{font-size:11px}.tutorial-help-entry p{font-size:9px}.tutorial-help-entry>button{font-size:9px;padding:7px 8px}.tutorial-offer-copy{font-size:14px}.tutorial-offer-note{font-size:11px}.tutorial-offer-actions{margin-top:19px}}

.tutorial-coach-bottom{justify-content:space-between;gap:12px;margin-top:5px}.tutorial-coach-bottom>button{min-height:34px;padding:4px 0;font-size:10px}.tutorial-coach-bottom>.tutorial-stop{font-weight:400;color:#b1beb3}.tutorial-coach-top{margin-bottom:6px;min-height:13px}

/* Three meaningful choices per checkpoint and an explicit market comparison. */
.choice-screen{padding:20px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.choice-screen h1{font-size:27px;line-height:1.15;letter-spacing:-.8px;margin:11px 0 7px}
.choice-screen>p{font-size:12px;color:var(--muted);line-height:1.5}
.run-choice-list{display:grid;gap:9px;margin:17px 0 12px}
.run-choice{display:flex;align-items:center;gap:12px;padding:15px 13px;width:100%;min-width:0;background:var(--surface2);border:1px solid #52616f88;border-radius:11px;text-align:left}
.run-choice:hover,.run-choice:focus-visible{border-color:var(--lime);background:#cbfa5f08}
.run-choice-body{flex:1;min-width:0;display:grid;gap:4px}
.run-choice-body>strong{font-size:16px;letter-spacing:-.2px;line-height:1.25}
.choice-style{color:var(--lime);font-size:10px;font-weight:650}
.choice-description{font-size:11px;line-height:1.5;color:#b1bec9}
.choice-scope{font-size:9px;color:var(--muted);margin-top:2px}
.run-choice>.icon{color:var(--muted);width:14px;height:14px}
.coach-monogram,.perk-symbol{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:10px;background:#cbfa5f0a;border:1px solid #cbfa5f30;color:var(--lime);font-size:17px;font-weight:800;letter-spacing:-.6px}
.choice-footnote,.choice-screen>.choice-footnote{font-size:10px;color:var(--muted);line-height:1.6;margin-top:10px}
.run-upgrades{margin:0 9px 7px;border:1px solid #7f936138;border-radius:8px;background:#cbfa5f04}
.run-upgrades summary{display:flex;align-items:center;gap:6px;padding:7px 9px;min-height:37px;font-size:10px;list-style:none;cursor:pointer}
.run-upgrades summary::-webkit-details-marker{display:none}
.run-upgrades summary>span{flex:1;display:flex;align-items:center;justify-content:space-between;gap:7px;min-width:0;font-weight:650}
.run-upgrades summary small{font-size:9px;font-weight:400;color:var(--muted);white-space:nowrap}
.run-upgrades summary>.icon{width:13px;height:13px;color:#c2d6a4}
.run-upgrades[open] summary>.icon:last-child{transform:rotate(90deg)}
.run-upgrades-body{padding:0 9px 9px;display:grid;gap:8px}
.run-upgrades-body p{font-size:10px;line-height:1.5;color:var(--muted);border-top:1px solid var(--line);padding-top:7px}
.run-upgrades-body strong{display:block;color:var(--text);font-size:10px;margin-bottom:2px}
.run-upgrades-body .retired-perk{opacity:.65}
.perk-target-list{display:grid;gap:6px;margin:15px 0;max-height:280px;overflow:auto;padding:2px}
.perk-target{display:flex;align-items:center;gap:9px;min-width:0;min-height:55px;width:100%;padding:7px 9px;border:1px solid var(--tier-edge);border-radius:9px;background:var(--surface2);text-align:left}
.perk-target.selected,.perk-flair.selected{outline:2px solid var(--lime);outline-offset:-2px;background:#cbfa5f08}
.perk-target .portrait-selected{width:34px;height:37px}
.perk-target>strong{font-size:23px;letter-spacing:-.7px}
.perk-target>span:not(.player-portrait){flex:1;min-width:0;font-size:12px;font-weight:650;line-height:1.3}
.perk-target small{display:block;font-size:10px;color:var(--muted);font-weight:400;margin-top:3px}
.perk-target>.icon{color:var(--muted)}
.perk-target.selected>.icon,.perk-flair.selected>.icon{color:var(--lime)}
.perk-flair-list{display:grid;gap:6px;margin:12px 0}
.perk-flair{display:flex;gap:9px;align-items:center;text-align:left;background:var(--surface2);padding:11px;border:1px solid var(--line);border-radius:9px;width:100%}
.perk-flair>span{flex:1;min-width:0}
.perk-flair strong{font-size:12px;display:block;line-height:1.3}
.perk-flair small{display:block;color:var(--muted);font-size:10px;line-height:1.5;margin-top:3px}
.perk-flair>.icon{width:16px;height:16px;color:var(--muted)}
.player-tier-context{display:block;color:var(--muted);font-size:10px;line-height:1.4;margin:4px 0}
.player-boost-note{font-size:10px;color:#c7dba6;line-height:1.5;margin:6px 0 13px}
.comparison-players{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 13px}
.comparison-player{border:1px solid var(--tier-edge);border-radius:10px;background:linear-gradient(var(--tier-bg),var(--tier-bg)),var(--surface);padding:11px;min-width:0}
.comparison-direction{color:var(--muted);font-size:8px;font-weight:750;letter-spacing:1.2px;display:block;margin-bottom:4px}
.comparison-player>div{display:flex;align-items:center;gap:9px;margin-bottom:6px}
.comparison-player .portrait-selected{width:39px;height:44px}
.comparison-player>div>strong{font-size:30px;line-height:1;letter-spacing:-1px}
.comparison-player>b{display:block;overflow-wrap:anywhere;font-size:13px;line-height:1.3}
.comparison-roles{display:flex;gap:4px;margin:6px 0}
.comparison-table{border-collapse:collapse;width:100%;font-size:12px;font-variant-numeric:tabular-nums}
.comparison-table caption{text-align:left}
.comparison-table th,.comparison-table td{padding:7px 5px;border-bottom:1px solid #ffffff09;text-align:right}
.comparison-table th:first-child{text-align:left;padding-left:0}
.comparison-table thead th{font-weight:500;font-size:10px;color:var(--muted)}
.comparison-table tbody th{font-size:11px;font-weight:500;color:var(--muted)}
.comparison-table td{font-weight:700}
.comparison-delta{font-size:11px;font-weight:650;color:var(--muted);font-variant-numeric:tabular-nums}
.comparison-delta.positive{color:var(--lime)}
.comparison-delta.negative{color:var(--red)}
.comparison-flairs{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:15px 0}
.comparison-flairs>div{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:10px}
.comparison-flairs small{font-size:8px;letter-spacing:.6px;color:var(--faint);margin-bottom:2px}
.comparison-flairs span{display:flex;gap:5px;align-items:center;line-height:1.3}
.comparison-flairs .icon{width:12px;height:12px}
.comparison-title{font-size:13px;font-weight:650;margin:18px 0 9px}
.comparison-team{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:11px;background:var(--surface2);border-radius:9px;text-align:center}
.comparison-team>div>span{font-size:9px;color:var(--muted);display:block}
.comparison-team strong{display:flex;justify-content:center;align-items:center;gap:5px;font-size:16px;margin:4px 0}
.comparison-team strong .icon{width:12px;height:12px;color:var(--faint)}
.comparison-team>div>.comparison-delta{font-size:10px}
.comparison-team>div>.comparison-delta.positive{color:var(--lime)}
.comparison-team>div>.comparison-delta.negative{color:var(--red)}
.comparison-note{font-size:10px;line-height:1.5;color:var(--muted);margin-top:9px}
.comparison-cap{margin-top:14px;padding:10px;border:1px solid var(--line);border-radius:8px;font-size:10px}
.comparison-cap>strong{font-size:11px;font-weight:650}
.comparison-cap>div{display:flex;flex-wrap:wrap;gap:7px 12px;margin:7px 0}
.comparison-cap small{color:var(--muted);font-size:9px}
.comparison-warning{display:flex;align-items:flex-start;gap:7px;border:1px solid #efd28944;background:#efd28909;border-radius:8px;padding:10px;margin-top:12px;font-size:11px;line-height:1.5;color:var(--gold)}
.comparison-warning>.icon{margin-top:2px}
.comparison-actions{position:sticky;bottom:-22px;background:var(--surface);padding:12px 0 4px;border-top:1px solid var(--line);margin-top:17px}
.fixture-aggregate{display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;margin:-4px 0 13px;color:var(--muted)}
.fixture-aggregate strong{font-size:16px;color:var(--text)}
.aggregate-note{padding:8px 10px;border:1px solid #81bbf833;background:#81bbf807;border-radius:8px;color:var(--blue);font-size:11px;line-height:1.5;text-align:center;margin-bottom:16px}
.bracket-tie>.tie-status{display:block;color:var(--muted);font-size:9px;margin-top:5px}
@media(max-width:540px){.choice-screen{padding:15px}.choice-screen h1{font-size:23px}.choice-screen>p{font-size:11px}.run-choice-list{gap:8px;margin-top:14px}.run-choice{padding:12px 10px;gap:9px}.run-choice-body>strong{font-size:14px}.choice-description{font-size:10px}.coach-monogram,.perk-symbol{width:34px;height:34px;flex-basis:34px;font-size:14px;border-radius:8px}.perk-symbol>.icon{width:18px;height:18px}.choice-screen>.choice-footnote{font-size:9px}.comparison-player{padding:9px}.comparison-player>b{font-size:12px}.comparison-player .player-tier-context{font-size:9px}.comparison-player>div>strong{font-size:26px}.comparison-table{font-size:11px}.comparison-table thead th{font-size:9px}.comparison-table tbody th{font-size:10px}.comparison-actions{display:grid;grid-template-columns:1fr;gap:7px;bottom:-18px}.comparison-actions>.btn{width:100%;font-size:12px}.comparison-actions>.btn-primary{grid-row:1}.comparison-actions>.btn-secondary{min-height:34px;padding:7px}.comparison-team{gap:5px;padding:9px 6px}.comparison-team strong{font-size:14px}.perk-target-list{max-height:220px}.perk-target>span:not(.player-portrait){font-size:11px}.run-upgrades summary{font-size:9px}.run-upgrades summary small{font-size:8px}.run-upgrades-body p{font-size:9px}.player-boost-note{font-size:9px}}

.perk-player-preview{display:grid;grid-template-columns:1fr auto;align-items:center;gap:3px 8px;padding:10px 12px;border:1px solid #cbfa5f40;border-radius:9px;background:#cbfa5f08;margin:10px 0}.perk-player-preview>span{font-size:11px;color:var(--muted)}.perk-player-preview>strong{display:flex;align-items:center;gap:7px;font-size:20px;color:var(--lime)}.perk-player-preview>small{grid-column:1/-1;color:var(--muted);font-size:9px;line-height:1.5}.perk-player-preview>strong>.icon{width:14px;height:14px}

/* Classic / Mantra: one quiet start screen and persistent squad strength. */
.is-home{max-width:760px}.is-home .main{min-height:100svh;padding:32px 0;display:grid;place-items:center}
.start-screen{width:min(100%,340px);text-align:center;padding:22px 0}
.start-logo{margin:0 0 32px}.start-mark{display:grid;place-items:center;width:76px;height:76px;margin:0 auto 14px;border-radius:20px;background:var(--lime);color:#10170b;font-size:43px;font-weight:950;letter-spacing:-5px;padding-right:5px;box-shadow:0 12px 55px #cbfa5f0c}
.start-logo h1{font-size:38px;line-height:1;letter-spacing:-1.8px;font-weight:900}.start-logo h1 em{font-style:normal;color:var(--lime)}
.start-actions{display:grid;gap:10px}.start-actions>.btn{width:100%;min-height:51px;justify-content:space-between;padding:14px 18px;font-size:15px}.start-actions>.btn>.icon{height:18px;width:18px}
.variant-control{display:flex;justify-content:center;align-items:center;gap:12px;margin:23px 0;color:var(--muted);font-size:13px}.variant-control>.selected{color:var(--text);font-weight:650}
.variant-switch{width:49px;height:29px;padding:4px;border-radius:30px;background:#28323b;border:1px solid #46535d;display:flex;align-items:center;transition:background .15s}.variant-switch>span{width:20px;height:20px;border-radius:50%;background:#a4afb9;transition:transform .15s}.variant-switch[aria-checked=true]{background:#cbfa5f20;border-color:#cbfa5f66}.variant-switch[aria-checked=true]>span{transform:translateX(19px);background:var(--lime)}
.start-resume{width:100%;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:7px;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:9px;min-height:49px;padding:9px 12px;font-size:12px;font-weight:650;margin-bottom:9px}.start-resume>span{flex-basis:100%;font-size:10px;color:var(--muted);font-weight:400;line-height:1.2}
.start-help{display:flex;align-items:center;justify-content:center;gap:7px;margin:0 auto;min-height:44px;background:none;color:var(--muted);font-size:12px}.start-beta{font-size:10px;color:var(--faint);margin-top:13px;letter-spacing:.5px}
.team-ratings-bar{position:sticky;top:0;z-index:12;display:flex;align-items:center;justify-content:center;gap:25px;width:100%;min-height:49px;margin:0 0 12px;padding:8px 12px;background:#101820f5;backdrop-filter:blur(12px);border:1px solid #38434d;border-radius:9px;color:var(--text);box-shadow:0 5px 15px #0002;text-align:left}
.ratings-caption{font-size:9px;letter-spacing:1.5px;color:var(--faint);margin-right:auto}.team-ratings-bar>.icon{margin-left:auto;color:var(--muted)}.ratings-item{display:flex;align-items:center;gap:7px;min-width:0}.ratings-item strong{font-size:20px;font-weight:750;line-height:1;letter-spacing:-.5px}.ratings-item>span{font-size:11px;color:var(--muted)}
.ratings-detail{display:grid;gap:16px;margin:22px 0}.ratings-detail>div{display:flex;gap:16px;align-items:center}.ratings-detail>div>strong{font-size:27px;color:var(--lime);width:35px}.ratings-detail span{min-width:0}.ratings-detail b{display:block;font-size:13px}.ratings-detail small{display:block;font-size:11px;line-height:1.5;color:var(--muted);margin-top:2px}
.foot-label{display:block;color:var(--muted);font-size:10px;font-weight:450;line-height:1.4;margin-top:4px}.foot-label>span{white-space:nowrap;color:#b6c0c8}.row-info>.foot-label{font-size:9px;margin:2px 0 0}.adapted-label{display:inline-flex;align-items:center;background:#cfb36a0c;border:1px solid #cfb36a33;border-radius:5px;padding:3px 6px;color:#d0ba8a;font-size:10px;margin:5px 0}
.pitch-fit{font-size:7px;line-height:1.2;color:#c9d3d3;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}.pitch-fit.adapted{color:#dfc58f}.pitch-fit.invalid{color:#b6bec7}.pitch-fit.natural{color:#c7dcb7}
.compact-team .pitch.mantra-pitch{height:350px;aspect-ratio:auto}.compact-team .mantra-pitch .pitch-player{min-height:57px}.compact-team .mantra-pitch .pitch-empty-name{display:none}.compact-team .mantra-pitch .pitch-role{font-size:8px;min-width:24px}.compact-team .mantra-pitch .pitch-person{height:35px}.compact-team .mantra-pitch .pitch-name{font-size:9px!important}.team-tools{min-width:0}.team-tools select{max-width:155px}
@media(min-width:801px){.squad-sidebar{top:65px}}
@media(max-width:540px){.start-screen{width:min(100% - 22px,340px)}.is-home .main{padding:20px 0}.start-logo{margin-bottom:27px}.team-ratings-bar{gap:12px;min-height:46px;margin-bottom:8px;padding:7px 10px}.ratings-caption{display:none}.ratings-item{gap:4px;flex:1;justify-content:center}.ratings-item strong{font-size:18px}.ratings-item>span{font-size:9px}.team-ratings-bar>.icon{width:14px;height:14px;flex-shrink:0;margin:0}.compact-team .pitch.mantra-pitch{height:350px}.team-tools select{max-width:143px;font-size:10px}.row-info>.foot-label{font-size:8px}}

/* Live keeps the same controls in place while its clock and real events update. */
.live-workspace{max-width:720px;margin:0 auto}.live-match{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:20px}.live-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.live-heading .eyebrow{font-size:10px;line-height:1.4;letter-spacing:1px}.live-clock{display:inline-flex;justify-content:center;align-items:center;min-width:53px;padding:7px 9px;font-size:19px;font-variant-numeric:tabular-nums;font-weight:750;line-height:1;color:var(--lime);background:#cbfa5f0b;border:1px solid #cbfa5f33;border-radius:8px}.live-scoreboard{margin:19px 0 15px}.live-scoreboard .match-score-center strong{font-variant-numeric:tabular-nums;white-space:nowrap}.live-dash{display:inline!important;font:inherit!important;color:var(--faint)!important}.live-progress{height:3px;background:var(--line);border-radius:3px;overflow:hidden;margin:12px 0 16px}.live-progress>span{display:block;height:100%;background:var(--lime);transition:width .18s linear}.live-aggregate{text-align:center;font-size:11px;color:var(--muted);margin-top:-5px;margin-bottom:12px}.live-skip{font-size:12px;min-height:41px}.live-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin:14px 0}.live-stats>div{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:10px 0;border-bottom:1px solid #ffffff06;font-size:12px}.live-stats strong{min-width:27px;font-size:13px;font-variant-numeric:tabular-nums}.live-stats strong:last-child{text-align:right}.live-stats span{font-size:10px;color:var(--muted)}.live-feed{min-height:153px;padding-top:5px}.live-event{display:flex;align-items:flex-start;gap:9px;padding:8px 0;border-bottom:1px solid #ffffff06;font-size:12px}.live-event>span{font-size:10px;width:25px;flex-shrink:0;color:var(--muted);font-variant-numeric:tabular-nums;padding-top:2px}.live-event>.icon{flex-shrink:0;margin-top:2px;color:var(--muted)}.live-event.goal>.icon{color:var(--lime)}.live-event.perk>.icon{color:#cfb36a}.live-event p{font-size:11px;line-height:1.5}.live-event p small{display:block;font-size:9px;color:var(--faint)}.live-waiting{color:var(--faint);text-align:center;font-size:11px;padding:37px 10px}.match-actions-three{display:grid;grid-template-columns:1fr 1fr;gap:8px}.match-actions-three .auto-start{grid-column:1/-1;background:transparent;border-color:var(--line);color:var(--muted)}.match-actions-three .btn{min-width:0;font-size:11px;min-height:43px;padding:9px 10px}.match-actions-three .btn>.icon{width:15px;height:15px;flex-shrink:0}.match-actions-three .btn small{font-size:9px;opacity:.6;margin-left:3px;font-weight:400}
.automatic-status{position:sticky;top:55px;z-index:11;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;margin:0 0 12px;border:1px solid #cbfa5f40;border-radius:9px;background:#19231bfa;backdrop-filter:blur(10px)}.automatic-status>span{font-size:11px;font-weight:600;line-height:1.4}.automatic-status>span i{display:inline-block;background:var(--lime);width:5px;height:5px;border-radius:50%;margin-right:7px}.automatic-status small{display:block;font-size:9px;font-weight:400;color:var(--muted);margin-left:12px}.automatic-status button{display:flex;align-items:center;gap:5px;min-height:34px;background:#ffffff05;border:1px solid #6b7b6d66;border-radius:6px;padding:6px 9px;color:var(--text);font-size:10px;font-weight:650}.automatic-status button>.icon{height:12px;width:12px}
@media(max-width:540px){.live-match{padding:14px 12px;border-radius:11px}.live-heading .eyebrow{font-size:8px;letter-spacing:.7px}.live-clock{font-size:17px;min-width:46px;padding:6px 8px}.live-scoreboard{margin:16px 0 14px;gap:7px}.live-scoreboard .match-score-team>span{font-size:10px}.live-scoreboard .match-score-center strong{font-size:35px}.live-scoreboard .match-score-center>span{font-size:8px}.live-scoreboard .club-mark{width:39px;height:44px}.live-stats{gap:0 18px}.live-stats strong{font-size:12px}.live-stats span{font-size:9px}.live-feed{min-height:165px}.live-event p{font-size:10px}.live-event{gap:7px}.automatic-status{top:52px;padding:8px 10px;gap:7px}.automatic-status>span{font-size:10px}.automatic-status button{font-size:9px;padding:6px 7px}.match-actions-three .btn{font-size:10px;line-height:1.4}.match-actions-three .btn:nth-child(2){gap:6px}.match-actions-three .btn:nth-child(2)>.icon{display:none}}
@media(prefers-reduced-motion:reduce){.variant-switch,.variant-switch>span,.live-progress>span{transition:none}}
.player-position-context{margin:5px 0 0;font-size:11px;color:#c9d3c6}.icon-button:disabled{opacity:.35;cursor:default}
@media(max-width:540px){.team-ratings-bar{padding-top:5px;padding-bottom:5px}.ratings-item{flex-direction:column;gap:2px}.ratings-item>span{font-size:10px;line-height:1.15}.ratings-item strong{font-size:18px;line-height:1}}

/* The live uses the final report's bars, kept mounted for smooth stat updates. */
.live-stats{display:block;margin:13px 0 17px}
.live-stats>.match-stat{display:block;margin:0;padding:5px 0 7px;border:0}
.live-stats .match-stat-line{margin-bottom:4px;font-size:10px;line-height:1.3}
.live-stats .match-stat-line strong{font-size:13px;min-width:35px}
.live-stats .match-stat-line>span{font-size:10px}
.live-stats .match-stat-bars{display:grid;grid-template-columns:1fr 1fr;gap:4px}
.live-stats .match-stat-bar{display:block;height:4px;padding:0}
.live-stats .match-stat-bar:first-child{display:flex;justify-content:flex-end}
.live-stats .match-stat-bar>span{transition:width .2s ease-out}
.live-chronicle-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:4px;border-top:1px solid var(--line)}
.live-chronicle-heading h2{font-size:12px;font-weight:700;line-height:1.4;margin:9px 0 4px}
.live-chronicle-heading>span{font-size:9px;color:var(--faint)}
.live-feed{min-height:218px;padding-top:0}
.live-event{padding:7px 0;gap:8px}
.live-event p{font-size:11px;line-height:1.4;min-width:0;overflow-wrap:anywhere}
.live-event p small{margin-top:2px;font-size:8px}
.live-event.comment{background:#ffffff03;border-radius:6px;padding:8px;margin:3px 0}
.live-event.comment>span{color:var(--faint)}
.live-event.comment p{color:#bbc7d1}
.live-event.save>.icon,.event.save>.icon{color:#8cb4d3}
.live-event.cross>.icon,.event.cross>.icon{color:#b4a2db}
.live-event.penalty.saved>.icon,.event.penalty.saved>.icon{color:#8cb4d3}
.live-event.penalty.goal>.icon,.event.penalty.goal>.icon{color:var(--lime)}
.live-penalties:empty{display:none}
.live-penalties{display:flex;align-items:center;justify-content:center;gap:12px;background:#cbfa5f08;border:1px solid #cbfa5f30;border-radius:8px;padding:9px 10px;margin:11px 0;color:var(--text)}
.live-penalties>span{font-size:11px;color:var(--muted)}
.live-penalties>strong{font-size:23px;font-variant-numeric:tabular-nums;white-space:nowrap}
.live-penalties>small{font-size:9px;color:var(--muted)}
.full-chronicle{border-top:1px solid var(--line);margin-top:17px}
.full-chronicle>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:45px;padding:9px 0;font-size:12px;font-weight:650;cursor:pointer}
.full-chronicle>summary>span{font-size:10px;color:var(--muted);font-weight:400}
.full-chronicle .timeline{max-height:330px;overflow:auto;padding-right:5px}
.full-chronicle .event.comment{color:var(--muted)}
@media(max-width:540px){.live-stats{margin:10px 0 13px}.live-stats>.match-stat{padding:4px 0 6px}.live-stats .match-stat-line strong{font-size:12px}.live-stats .match-stat-line>span{font-size:10px}.live-chronicle-heading h2{font-size:11px}.live-event p{font-size:10px}.live-feed{min-height:220px}.live-penalties{gap:8px}.live-penalties>strong{font-size:21px}}
@media(prefers-reduced-motion:reduce){.live-stats .match-stat-bar>span{transition:none}}

/* Ratings retain text labels so the scale also works without color perception. */
.rating-elite{--rating-color:#78e3ac}.rating-good{--rating-color:#bee37c}.rating-fair{--rating-color:#efca70}.rating-weak{--rating-color:#f08e8e}.rating-empty{--rating-color:var(--muted)}
.ratings-item strong,.ratings-detail>.rating-row>strong,.rating-grade,.ratings-scale>span{color:var(--rating-color)}
.ratings-detail>.rating-row>strong{flex:0 0 38px;width:38px;font-variant-numeric:tabular-nums}
.ratings-detail .rating-grade{display:inline-block;margin-left:7px;font-size:10px;font-style:normal;font-weight:600;vertical-align:1px}
.ratings-detail .rating-bonus{font-size:10px;color:#c0d8a6;margin-top:4px}
.ratings-coach{display:flex;align-items:center;gap:6px;font-size:11px;flex-wrap:wrap;color:var(--muted);margin-top:10px}.ratings-coach strong{color:var(--text);font-weight:600}
.ratings-scale{display:flex;flex-wrap:wrap;gap:5px 12px;font-size:9px;line-height:1.6;margin:0 0 12px}.ratings-note{font-size:10px}
.goal-banner{--goal-color:#c8fa64;--goal-bg:#263b24;display:flex;align-items:center;gap:10px;margin:12px 0 0;padding:12px;border:1px solid var(--goal-color);border-radius:9px;background:var(--goal-bg);color:#f5ffe8;animation:goal-glow .9s ease-in-out 2}
.goal-banner.goal-against{--goal-color:#f0a090;--goal-bg:#3d2526;color:#fff2ee}
.goal-banner-minute{font-size:12px;font-weight:700;color:var(--goal-color);font-variant-numeric:tabular-nums;flex-shrink:0}
.goal-banner>div{flex:1;min-width:0}.goal-banner strong{font-size:12px;font-weight:850;letter-spacing:1px;color:var(--goal-color)}
.goal-banner p{font-size:13px;line-height:1.4;margin-top:3px;overflow-wrap:anywhere}.goal-banner>.icon{width:24px;height:24px;flex-shrink:0;color:var(--goal-color)}
@keyframes goal-glow{0%,100%{box-shadow:inset 0 0 0 0 #ffffff00,0 0 0 0 #ffffff00}50%{box-shadow:inset 0 0 30px 5px #ffffff18,0 0 14px 0 #ffffff12}}
@media(max-width:540px){.goal-banner{padding:10px;gap:8px}.goal-banner p{font-size:12px}.goal-banner strong{font-size:11px}.goal-banner>.icon{width:20px;height:20px}.ratings-detail{gap:15px;margin:18px 0}.ratings-detail .rating-grade{font-size:9px;margin-left:5px}}
@media(prefers-reduced-motion:reduce){.goal-banner{animation:none}}

/* Goal banners use the scoring team's two colors; text contrast is computed. */
.goal-banner,.goal-banner.goal-against{background:var(--goal-bg);color:var(--goal-ink);border-color:var(--goal-color);border-left:5px solid var(--goal-secondary);border-bottom:4px solid var(--goal-secondary)}
.goal-banner strong,.goal-banner-minute,.goal-banner>.icon{color:var(--goal-ink)}
.live-event.goal-ours,.event.goal-ours{--event-goal:#baf36b;--event-goal-bg:#baf36b0d}
.live-event.goal-theirs,.event.goal-theirs{--event-goal:#ff9b9b;--event-goal-bg:#ee686813}
.live-event.goal-ours,.live-event.goal-theirs,.event.goal-ours,.event.goal-theirs{background:var(--event-goal-bg);border-left:3px solid var(--event-goal);border-radius:5px;padding:8px;margin:3px 0;color:var(--event-goal);opacity:1}
.live-event.goal-ours>.icon,.live-event.goal-theirs>.icon,.event.goal-ours>.icon,.event.goal-theirs>.icon,.live-event.goal-ours>span,.live-event.goal-theirs>span,.event.goal-ours>span,.event.goal-theirs>span{color:var(--event-goal)}
.live-event.goal-ours p small,.live-event.goal-theirs p small,.event.goal-ours small,.event.goal-theirs small{color:var(--event-goal);font-weight:650}
.momentum-panel{margin:16px 0 12px;padding:11px 0 5px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.momentum-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.momentum-heading h3{font-size:12px;font-weight:650}.momentum-heading>span{font-size:9px;color:var(--muted)}
.momentum-legend{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:9px;margin-bottom:5px;color:var(--club-color,var(--muted))}.momentum-legend>span:last-child{color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.momentum-ours{color:var(--lime)}
.momentum-graph{display:block;width:100%;height:74px;overflow:hidden}.momentum-future{fill:#ffffff03}.momentum-baseline{stroke:#66727d;stroke-width:.7}.momentum-half{stroke:#ffffff0c;stroke-width:.7;stroke-dasharray:2 4}.momentum-cursor{stroke:#bac8d5;stroke-width:.6;stroke-dasharray:2 3}.momentum-bar{opacity:.9}
.momentum-axis{display:flex;justify-content:space-between;font-size:8px;color:var(--faint);padding-top:3px}
@media(max-width:540px){.momentum-panel{margin:12px 0 10px;padding-top:9px}.momentum-graph{height:64px}.momentum-heading h3{font-size:11px}.momentum-heading>span,.momentum-legend{font-size:9px}}
.full-chronicle>summary>span{margin-left:auto}.full-chronicle>summary>.icon{width:14px;height:14px;color:var(--muted);transition:transform .15s}.full-chronicle[open]>summary>.icon{transform:rotate(90deg)}

.momentum-legend>span:last-child:before{content:"";display:inline-block;width:6px;height:6px;background:var(--club-color);border-radius:1px;margin-right:4px}

/* Real league: compact standings, shared live state and a readable mobile table. */
.league-nav{color:var(--lime)}
.league-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;width:100%;padding:16px 18px;margin:0 0 16px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);text-align:left}
.league-summary:hover{border-color:#b7da7070}.league-summary-main{display:flex;align-items:center;gap:14px;min-width:0}.league-summary-main>strong{font-size:32px;font-weight:800;line-height:1;color:var(--lime);white-space:nowrap}.league-summary-main>span{display:flex;flex-direction:column;gap:4px}.league-summary-main b{font-size:14px;font-weight:650}.league-summary-main small{font-size:11px;color:var(--muted);line-height:1.4}.league-summary-end{display:flex;align-items:center;gap:5px;font-size:9px;letter-spacing:.08em;color:var(--muted);margin-left:auto}.league-summary-end>.icon{width:15px}.league-race-badge,.league-contender,.league-champion{display:flex;align-items:center;gap:6px;color:var(--lime);font-size:11px}.league-race-badge{width:100%;padding-top:8px;border-top:1px solid var(--line)}.league-contender{margin:0 0 14px}.league-champion{justify-content:center;margin:10px 0}
.league-live{margin:12px 0}.league-summary-live{padding:10px 12px;margin-bottom:8px;border-radius:9px}.league-summary-live .league-summary-main>strong{font-size:25px}.league-summary-live .league-summary-main b{font-size:12px}.league-summary-live .league-summary-main small{font-size:10px}.league-summary-live .league-summary-end{color:var(--lime)}
.league-news{border-left:2px solid #c8fa6450;padding:1px 0 1px 10px}.league-news>span{font-size:9px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.league-news p{font-size:11px;line-height:1.45;margin:4px 0;color:var(--muted)}.league-news p>b{color:var(--text);margin-right:3px;font-variant-numeric:tabular-nums}
.league-modal-intro{margin-bottom:14px}.league-state{font-size:10px;text-transform:uppercase;letter-spacing:.07em;font-weight:650;color:var(--muted)}.league-state.live{color:var(--lime)}.league-modal-intro p{font-size:12px;margin:5px 0;color:var(--text)}
.league-table{width:100%;border-collapse:collapse;table-layout:fixed;font-variant-numeric:tabular-nums}.league-table thead th{font-size:10px;color:var(--muted);font-weight:500;padding:7px 4px;border-bottom:1px solid var(--line);text-align:center}.league-table th:first-child{width:28px}.league-table th:nth-child(2){width:auto;text-align:left}.league-table th:nth-child(3){width:30px}.league-table th:nth-child(4){width:38px}.league-table th:nth-child(5){width:34px}.league-table td{font-size:12px;text-align:center;padding:8px 4px;border-bottom:1px solid #ffffff07}.league-table tbody th{padding:0 4px;border-bottom:1px solid #ffffff07;text-align:left}.league-table tbody th button{display:flex;align-items:center;gap:8px;min-width:0;width:100%;min-height:41px;background:none;text-align:left;padding:4px 0;color:var(--text);font-size:12px;font-weight:500}.league-table tbody th button>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.league-table .club-mark.sm{width:23px;height:23px;flex:0 0 23px}.league-table .league-position{display:inline-block;min-width:18px}.league-top-four .league-position{border-left:2px solid var(--lime);padding-left:4px;color:var(--lime)}.league-top-four:nth-child(4)>*{border-bottom:1px solid #c8fa6460}.league-own{background:#c8fa6410}.league-own td>strong,.league-own th button{color:var(--lime);font-weight:750}.league-table tbody tr:hover{background:#ffffff06}.league-own:hover{background:#c8fa6418}
.league-table-note,.league-tiebreak-note,.league-pause-note{font-size:10px;line-height:1.6;color:var(--muted);margin:12px 0}.league-table-note>i{display:inline-block;width:5px;height:9px;background:var(--lime);margin-right:5px}.league-pause-note{color:var(--lime)}.league-round-results{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:14px 0}.league-round-results>summary{display:flex;align-items:center;min-height:44px;gap:8px;font-size:12px;font-weight:650;cursor:pointer;list-style:none}.league-round-results>summary::-webkit-details-marker{display:none}.league-round-results>summary>.icon{margin-left:auto;width:14px;color:var(--muted)}.league-round-results[open]>summary>.icon{transform:rotate(90deg)}
.league-fixture{display:grid;grid-template-columns:37px minmax(0,1fr) 43px minmax(0,1fr);gap:7px;align-items:center;min-height:42px;border-top:1px solid #ffffff08;font-size:11px}.league-fixture>small{font-size:9px;color:var(--muted)}.league-fixture>strong{text-align:center;font-size:12px;font-variant-numeric:tabular-nums}.league-fixture-team{display:flex;align-items:center;gap:5px;min-width:0}.league-fixture-team>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.league-fixture-team.away{flex-direction:row-reverse;text-align:right}.league-fixture .club-mark.sm{width:20px;height:20px;flex:0 0 20px}.league-fixture.own-fixture>strong{color:var(--lime)}.league-team-heading{display:flex;align-items:center;gap:13px;margin:0 0 20px}.league-team-heading h3{font-size:20px;margin:0 0 4px}.league-team-heading p{font-size:12px;color:var(--muted);margin:0}.league-team-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:22px}.league-team-stats>div{border:1px solid var(--line);border-radius:8px;padding:10px;display:flex;flex-direction:column;gap:3px}.league-team-stats strong{font-size:22px}.league-team-stats span{font-size:10px;color:var(--muted)}.league-calendar-title{font-size:14px;margin:0}.league-calendar{margin:12px 0}
@media(max-width:540px){.league-summary{padding:12px 13px;gap:8px;margin-bottom:12px}.league-summary-main{gap:11px}.league-summary-main>strong{font-size:28px}.league-summary-main b{font-size:12px}.league-summary-main small{font-size:10px}.league-summary-end{font-size:8px}.league-summary-live{padding:9px 10px;margin-bottom:7px}.league-table th:first-child{width:23px}.league-table th:nth-child(3){width:25px}.league-table th:nth-child(4){width:31px}.league-table th:nth-child(5){width:28px}.league-table tbody th button{font-size:11px;gap:6px}.league-table td{font-size:11px;padding:7px 2px}.league-table tbody th{padding:0 2px}.league-table .club-mark.sm{width:20px;height:20px;flex-basis:20px}.league-fixture{grid-template-columns:31px minmax(0,1fr) 36px minmax(0,1fr);gap:5px;font-size:10px}.league-fixture>strong{font-size:11px}.league-team-heading h3{font-size:18px}.league-team-stats{gap:8px}.league-team-stats>div{padding:9px}.league-team-stats strong{font-size:19px}}

/* Form stays visually separate from the permanent player rating. */
.ovr-form{display:inline-flex;align-items:baseline;gap:1px;white-space:nowrap;font:inherit;color:inherit;letter-spacing:inherit;font-variant-numeric:tabular-nums}
.ovr-form>span,.compact-team .bench-player .ovr-form,.compact-team .bench-player .ovr-form>span,.modal-player-avatar .detail-rating .ovr-form,.modal-player-avatar .detail-rating .ovr-form>span{font:inherit;color:inherit;overflow:visible;max-width:none;text-overflow:clip;letter-spacing:inherit}
.ovr-form .form-delta{font-size:.55em;line-height:1;position:relative;top:-.48em;letter-spacing:0;font-weight:800;white-space:nowrap}
.form-positive{color:#78e3ac}.form-negative{color:#ff9b9b}.form-neutral{color:var(--muted)}
.pitch-person .pitch-ovr .form-delta{font-size:8px;top:-.25em}.bench-player .form-delta{font-size:9px}
.player-performance{border:1px solid var(--line);border-radius:9px;padding:12px;margin:14px 0;background:#ffffff02;min-width:0}
.performance-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px;font-size:11px;line-height:1.35}.performance-heading>strong{font-weight:650}.performance-heading>span{white-space:nowrap;font-weight:700}
.performance-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.performance-grid>div{display:flex;flex-direction:column;gap:3px;min-width:0}.performance-grid small{font-size:9px;color:var(--muted)}.performance-grid strong{font-size:19px;line-height:1.3;font-variant-numeric:tabular-nums}
.performance-caption{font-size:9px;line-height:1.5;color:var(--muted);margin:8px 0 0}
.form-equation{font-size:11px;line-height:1.5;margin-top:7px}.form-equation>span{font-weight:650}.form-equation>strong{font-size:13px}
.form-history{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:4px;margin-top:11px}.form-history-vote{display:block;text-align:center;border:1px solid #ffffff0b;background:#ffffff03;border-radius:4px;padding:6px 1px;font-size:10px;font-weight:650;font-variant-numeric:tabular-nums}.form-history-vote.recent{border-bottom:2px solid currentColor}
.performance-inline{display:flex;align-items:center;flex-wrap:wrap;gap:3px 10px;font-size:10px;font-weight:400;line-height:1.5;color:var(--muted);margin-top:5px}.performance-inline>span{white-space:nowrap}.performance-inline b{font-weight:650;color:var(--text)}
.placement-wrap>.performance-inline{margin:0 9px 4px;font-size:9px;gap:3px 8px}
.swap-current{border:1px solid var(--line);border-radius:9px;padding:10px 12px;margin-bottom:12px;background:#cbfa5f05}.swap-current>strong{display:flex;align-items:center;justify-content:space-between;gap:9px;font-size:12px}.swap-current>strong>.ovr-form{font-size:21px}.swap-candidate{min-width:0}.swap-candidate .swap-name{min-width:0;overflow-wrap:anywhere}.swap-candidate>.icon{width:16px;flex-shrink:0}.swap-candidate .performance-inline{font-size:9px;gap:3px 8px}
.comparison-performance{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:-3px 0 14px}.comparison-performance .player-performance{margin:0;padding:10px}.comparison-performance .performance-heading{display:block;font-size:10px;margin-bottom:8px}.comparison-performance .performance-heading>span{display:block;margin-top:3px}.comparison-performance .performance-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.comparison-performance .performance-grid strong{font-size:17px}.comparison-performance .performance-caption{font-size:9px}
.roster-form{border:1px solid var(--line);border-radius:10px;padding:0 12px;margin:16px 0;background:var(--surface)}.roster-form>summary,.match-ratings>summary{display:flex;align-items:center;gap:8px;min-height:44px;font-size:12px;font-weight:650;cursor:pointer;list-style:none}.roster-form>summary::-webkit-details-marker,.match-ratings>summary::-webkit-details-marker{display:none}.roster-form>summary>.icon:last-child,.match-ratings>summary>.icon{margin-left:auto;width:14px;height:14px;color:var(--muted);transition:transform .15s}.roster-form[open]>summary>.icon:last-child,.match-ratings[open]>summary>.icon{transform:rotate(90deg)}
.roster-form-head,.roster-form-row{display:grid;grid-template-columns:minmax(0,1fr) 38px 38px 22px 22px;align-items:center;gap:5px}.roster-form-head{color:var(--muted);font-size:9px;padding:2px 0 8px;text-align:center}.roster-form-head>span:first-child{text-align:left}.roster-form-row{width:100%;min-width:0;background:none;border-top:1px solid #ffffff08;min-height:47px;padding:7px 0;text-align:center;font-size:11px}.roster-form-row:hover{background:#ffffff03}.roster-form-name{text-align:left;min-width:0}.roster-form-name>b{display:block;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.roster-form-name>small{display:block;font-size:9px;color:var(--muted);margin-top:3px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.roster-form-name .ovr-form{color:var(--text);font-weight:650}.roster-form>.performance-caption{margin:7px 0 10px}.roster-form-row>strong{font-variant-numeric:tabular-nums;font-size:12px}
.match-ratings{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:14px 0}.match-ratings>summary>span{font-size:9px;font-weight:400;color:var(--muted);margin-left:auto}.match-ratings>summary>.icon{margin-left:0}.match-rating-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid #ffffff09}.match-rating-row>div{flex:1;min-width:0}.match-rating-row>div>strong{font-size:12px;display:block;overflow-wrap:anywhere}.match-rating-row small{font-size:9px;display:block;color:var(--muted);margin-top:3px}.match-rating-row p{font-size:10px;line-height:1.5;margin:4px 0 0;color:var(--muted)}.match-rating-value{min-width:34px;text-align:center;font-size:20px;font-variant-numeric:tabular-nums}.match-ratings>.performance-caption{margin:6px 0 12px}.roster-form>summary:focus-visible,.match-ratings>summary:focus-visible{outline:2px solid var(--lime);outline-offset:3px}
@media(max-width:540px){.player-performance{padding:10px;margin:12px 0}.performance-heading{font-size:10px}.performance-grid strong{font-size:18px}.form-history{gap:3px}.form-history-vote{font-size:9px;padding:5px 0}.comparison-performance{gap:10px}.comparison-performance .player-performance{padding:8px}.swap-candidate{padding:10px;gap:9px}.swap-candidate .swap-name{font-size:12px}.roster-form{padding:0 10px}.roster-form-head,.roster-form-row{grid-template-columns:minmax(0,1fr) 34px 34px 20px 20px;gap:4px}}
.roster-form-name .form-delta{font-size:8px;top:-.2em}

/* Every coach and perk can be inspected before committing the choice. */
.bonus-preview{margin:18px 0;border-top:1px solid var(--line);padding-top:15px}

dialog[data-surface="coach"] .modal-footer>.btn,dialog[data-surface="perk"] .modal-footer>.btn{flex:1;min-width:0;font-size:12px;padding:11px 9px}
.bonus-preview h3{font-size:14px;font-weight:700;margin-bottom:10px}.bonus-scenario{font-size:11px;line-height:1.55;color:var(--muted);margin:0 0 12px}
.bonus-team-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:12px 5px;border:1px solid var(--line);border-radius:9px;background:#ffffff02}
.bonus-team-preview>div{display:flex;align-items:center;flex-direction:column;gap:5px;min-width:0}.bonus-team-preview>div>span{font-size:10px;color:var(--muted)}.bonus-team-preview strong{display:flex;align-items:center;gap:6px;font-size:21px;line-height:1.2;font-variant-numeric:tabular-nums}.bonus-team-preview .icon{width:13px;height:13px;color:var(--muted)}.bonus-team-preview small{font-size:10px;font-weight:650}
.bonus-preview-count{font-size:11px;margin:15px 0 8px;color:var(--muted)}.bonus-preview-count strong{font-weight:700;color:var(--lime)}.bonus-player-list{border-top:1px solid var(--line)}
.bonus-player{border-bottom:1px solid var(--line)}.bonus-player>summary{display:flex;align-items:center;gap:9px;min-height:58px;padding:8px 0;list-style:none;cursor:pointer}.bonus-player>summary::-webkit-details-marker,.bonus-unaffected>summary::-webkit-details-marker{display:none}.bonus-player>summary>.icon{width:13px;height:13px;color:var(--muted);flex:0 0 13px}.bonus-player[open]>summary>.icon,.bonus-unaffected[open]>summary>.icon{transform:rotate(90deg)}
.bonus-player .portrait-selected,.bonus-unaffected-player .portrait-selected{width:32px;height:37px;flex:0 0 32px}.bonus-player-name{flex:1;min-width:0}.bonus-player-name b{font-size:12px;line-height:1.35;display:block;overflow-wrap:anywhere}.bonus-player-name small{display:block;font-size:9px;line-height:1.45;color:var(--muted);margin-top:3px}
.bonus-player-ovr{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px;flex:0 0 73px;font-size:19px;font-weight:750;line-height:1.25;font-variant-numeric:tabular-nums}.bonus-player-ovr>.icon{width:12px;height:12px;color:var(--muted)}.bonus-player-ovr>small{font-size:8px;line-height:1.2;color:var(--muted);font-weight:400;width:100%;text-align:center}
.bonus-player-effects{padding:2px 0 13px 41px}.bonus-player-effects>div{display:grid;grid-template-columns:minmax(0,1fr) 77px 37px;align-items:center;gap:7px;padding:4px 0;font-size:11px;font-variant-numeric:tabular-nums}.bonus-player-effects>div>span{color:var(--muted)}.bonus-player-effects>div>strong{font-weight:500;text-align:right}.bonus-player-effects>div>b{text-align:right;font-weight:650}
.bonus-flair{display:flex;gap:8px;padding:4px 0;font-size:11px}.bonus-flair>.icon{color:var(--lime);flex:0 0 15px}.bonus-flair strong{display:block;font-weight:650}.bonus-flair small{display:block;font-size:10px;color:var(--muted);margin-top:3px;line-height:1.5}
.bonus-unaffected{margin-top:9px}.bonus-unaffected>summary{list-style:none;display:flex;align-items:center;gap:7px;min-height:40px;color:var(--muted);font-size:11px;cursor:pointer}.bonus-unaffected>summary>.icon{height:12px;width:12px;margin-left:auto}.bonus-unaffected-player{display:flex;gap:9px;align-items:center;border-top:1px solid #ffffff08;padding:7px 0}.bonus-unaffected-player>span:last-child{font-size:9px;color:var(--muted);flex:0 0 86px;text-align:right}.bonus-preview-note,.bonus-no-change{font-size:10px;line-height:1.6;color:var(--muted);margin:13px 0 0}.bonus-player>summary:focus-visible,.bonus-unaffected>summary:focus-visible{outline:2px solid var(--lime);outline-offset:3px}
/* Momentum and the goal announcement share one fixed-size stage. */
.live-momentum-stage{position:relative;height:190px;min-height:190px;margin:16px 0 12px;isolation:isolate}
.live-momentum-chart,.live-goal-overlay{position:absolute;inset:0}
.live-momentum-chart[aria-hidden="true"]{visibility:hidden}
.live-momentum-chart .momentum-panel{display:flex;flex-direction:column;height:100%;margin:0}
.live-momentum-chart .momentum-graph{flex:1;min-height:0}
.live-goal-overlay{pointer-events:none;z-index:1}
.live-goal-overlay>.goal-banner{height:100%;margin:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:auto minmax(0,1fr);gap:8px 10px;align-content:center;padding:14px 16px}
.live-goal-overlay>.goal-banner>div{display:contents}.live-goal-overlay .goal-banner-minute{grid-column:1;grid-row:1}.live-goal-overlay .goal-banner strong{grid-column:2;grid-row:1;font-size:12px;line-height:1.3;letter-spacing:.5px;overflow-wrap:anywhere}.live-goal-overlay .goal-banner p{grid-column:1/-1;grid-row:2;align-self:center;font-size:17px;line-height:1.4;margin:0;overflow-wrap:anywhere}.live-goal-overlay .goal-banner>.icon{grid-column:3;grid-row:1;width:20px;height:20px}
.momentum-waiting{height:37px;min-height:37px;font-size:10px;line-height:1.4;color:var(--muted);padding:6px 0 3px}
@media(max-width:540px){.bonus-preview{margin-top:14px;padding-top:12px}.bonus-preview h3{font-size:13px}.bonus-team-preview strong{font-size:18px;gap:4px}.bonus-team-preview>div>span{font-size:9px}.bonus-player>summary{gap:7px}.bonus-player-name b{font-size:11px}.bonus-player-ovr{flex-basis:65px;font-size:17px}.bonus-player-effects{padding-left:0}.bonus-player-effects>div{grid-template-columns:minmax(0,1fr) 75px 37px}.bonus-unaffected-player{gap:7px}.bonus-unaffected-player>span:last-child{font-size:8px;flex-basis:78px}}
@media(max-width:360px){.topbar{gap:10px}.brand{gap:7px}.brand-name{font-size:19px}.nav{gap:5px}.nav .icon-button{width:35px;height:35px}.league-table thead th{padding-left:2px;padding-right:2px}.bonus-player .portrait-selected,.bonus-unaffected-player .portrait-selected{width:28px;flex-basis:28px}.bonus-player-ovr{flex-basis:58px;font-size:16px}.live-goal-overlay .goal-banner p{font-size:15px}}
@media(max-width:800px){}

/* Keep every reserve's native roles visible without opening a player card. */
.compact-team .bench-player .bench-roles,.compact-team .reserve-overflow .bench-roles{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:2px;width:100%;max-width:100%;white-space:normal;overflow:visible;text-overflow:clip}
.compact-team .bench-roles .role{flex:0 0 auto;min-width:0;max-width:none;padding:2px 3px;font-size:8px;line-height:1.1;letter-spacing:0;white-space:nowrap;overflow:visible;text-overflow:clip;color:var(--role-color,var(--muted));background:var(--role-bg,#ffffff08)}
.compact-team .reserve-overflow button{display:flex;align-items:center;gap:5px}
.compact-team .reserve-overflow .bench-roles{width:auto}

/* Deliberate pauses between the season, markets and the shareable run recap. */
.run-interlude{max-width:640px;margin:0 auto;padding:28px;border:1px solid var(--line);border-radius:20px;background:radial-gradient(ellipse at 100% 0,#cbfa5f0d,transparent 60%),var(--surface);text-align:left}
.run-interlude.is-january{background:radial-gradient(ellipse at 100% 0,#e9a5ee13,transparent 60%),var(--surface)}
.interlude-emblem{width:52px;height:52px;display:grid;place-items:center;margin-bottom:20px;border:1px solid #cbfa5f40;border-radius:14px;background:#cbfa5f0a;color:var(--lime)}.interlude-emblem>.icon{width:28px;height:28px}.is-january .interlude-emblem{color:var(--pink);background:#e9a5ee0a;border-color:#e9a5ee40}.is-january>.eyebrow{color:var(--pink)}
.run-interlude h1{font-size:36px;line-height:1.12;letter-spacing:-1.3px;margin:10px 0 13px;max-width:470px}.interlude-intro{font-size:13px;line-height:1.65;color:var(--muted);max-width:520px}.is-champion h1{color:var(--lime)}
.interlude-record{display:grid;grid-template-columns:1fr 1fr 1.7fr;gap:10px;padding:19px 0;margin:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.interlude-record>div{display:flex;flex-direction:column;gap:5px}.interlude-record strong{font-size:30px;line-height:1;font-weight:800;font-variant-numeric:tabular-nums;color:var(--text)}.interlude-record strong small{font-size:19px;font-weight:500;color:var(--muted)}.interlude-record>div>span{font-size:8px;letter-spacing:.7px;color:var(--muted)}
.interlude-next h2{font-size:12px;font-weight:700;margin:0 0 13px}.interlude-step{display:flex;gap:12px;margin:12px 0}.interlude-step>span{font-size:10px;font-weight:700;color:var(--lime);padding-top:2px}.is-january .interlude-step>span{color:var(--pink)}.interlude-step strong{display:block;font-size:12px;font-weight:650}.interlude-step small{display:block;font-size:11px;line-height:1.5;color:var(--muted);margin-top:3px}.interlude-closing{font-size:13px;line-height:1.6;color:var(--muted)}
.interlude-actions{display:flex;flex-direction:column;align-items:center;gap:6px;margin-top:23px}.interlude-actions .link-button{font-size:11px;margin-top:4px}
.run-finish{max-width:520px;margin:0 auto}.recap-card{overflow:hidden;border-radius:17px;border:1px solid #cbfa5f27;background:#0b1015;box-shadow:0 16px 45px #0003}.recap-image{display:block;width:100%;height:auto}.recap-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:15px}.recap-actions .btn{min-width:0;padding:12px 10px;font-size:12px}.recap-actions .icon{width:17px;height:17px}.recap-status{min-height:32px;font-size:10px;line-height:1.5;color:var(--muted);text-align:center;margin:10px 0}.recap-retry{margin:0 auto 12px;display:flex;color:var(--lime)}.recap-new{margin-bottom:20px}.recap-details{margin-top:8px;border-top:1px solid var(--line)}.recap-details>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;padding:17px 0;font-size:12px;font-weight:650}.recap-details>summary::-webkit-details-marker{display:none}.recap-details[open]>summary>.icon{transform:rotate(90deg)}.recap-details .team-panel{margin-top:20px}.recap-details>summary:focus-visible{outline:2px solid var(--lime);outline-offset:4px}
@media(max-width:540px){.run-interlude{padding:22px 18px;border-radius:15px}.interlude-emblem{width:44px;height:44px;margin-bottom:16px}.interlude-emblem>.icon{width:25px;height:25px}.run-interlude>.eyebrow{font-size:8px;letter-spacing:1.1px}.run-interlude h1{font-size:29px;letter-spacing:-.8px}.interlude-intro{font-size:12px;line-height:1.6}.interlude-record{margin:17px 0;padding:16px 0;gap:8px}.interlude-record strong{font-size:27px}.interlude-record strong small{font-size:16px}.interlude-record>div>span{font-size:7px;letter-spacing:.4px}.interlude-step{gap:10px}.interlude-step strong{font-size:11px}.interlude-step small{font-size:10px}.interlude-actions{margin-top:20px}.recap-card{border-radius:12px}.recap-actions{gap:7px}.recap-actions .btn{font-size:10px;gap:6px;padding:12px 7px}.recap-status{font-size:9px}}

/* Material backgrounds make the four tiers readable before opening a card. */
.tier-S{--tier-color:#b9d4ff;--tier-bg:#0b2253;--tier-edge:#518bfa;--tier-texture:url('./assets/tier-star.svg');--tier-surface:radial-gradient(ellipse at 83% 12%,#2354a8 0,transparent 60%),linear-gradient(125deg,#0a1b42 0%,#143978 53%,#0b2456 100%);--tier-sheen:#8cbaff38}
.tier-A{--tier-color:#ffe073;--tier-bg:#edc83e;--tier-edge:#f8dc6b;--tier-texture:none;--tier-surface:linear-gradient(125deg,#f5d44d 0%,#ffeb94 28%,#e8bf27 62%,#ffdf5c 100%);--tier-sheen:#fff4bb80}
.tier-B{--tier-color:#c6d0db;--tier-bg:#272f37;--tier-edge:#7e8a98;--tier-texture:none;--tier-surface:linear-gradient(118deg,#303943,#252d35 48%,#2b343d);--tier-sheen:#e1e7ef1c}
.tier-C,.tier-D,.tier-E{--tier-color:#b49378;--tier-bg:#25201d;--tier-edge:#715743;--tier-texture:none;--tier-surface:linear-gradient(118deg,#29221d,#201c19 60%,#25201d);--tier-sheen:#b79b8010}
.player-row[class*="tier-"],.comparison-player[class*="tier-"],.modal-player-avatar[class*="tier-"],.perk-target[class*="tier-"],.swap-candidate[class*="tier-"],.placement-player[class*="tier-"],.incoming-player[class*="tier-"],.bench-player[class*="tier-"],.compact-team .pitch-player[class*="tier-"]{background-color:var(--tier-bg);background-image:var(--tier-texture),var(--tier-surface);background-size:360px 140px,cover,cover;background-repeat:repeat,no-repeat,no-repeat;background-position:center;box-shadow:inset 0 1px 0 var(--tier-sheen),inset 0 0 0 1px var(--tier-edge);color:var(--text)}
.player-row.tier-S,.comparison-player.tier-S{box-shadow:inset 0 1px 0 #d5e6ff36,0 4px 14px #0004}
.player-row.tier-A,.comparison-player.tier-A{box-shadow:inset 0 1px 0 #f4d58b55,0 3px 12px #120b0440}
.player-row.tier-A,.comparison-player.tier-A,.modal-player-avatar.tier-A,.perk-target.tier-A,.swap-candidate.tier-A,.placement-player.tier-A,.incoming-player.tier-A,.bench-player.tier-A,.pitch-player.tier-A{--text:#211b08;--muted:#51431a;--faint:#61501d;--tier-color:#51400b}
.placement-player[class*="tier-"],.incoming-player[class*="tier-"]{padding:6px;border-radius:8px}
.compact-team .pitch-player[class*="tier-"]{background-clip:padding-box;border:2px solid transparent;box-shadow:inset 0 1px 0 var(--tier-sheen)}
.player-row .role,.comparison-player .role,.perk-target .role,.incoming-player .role,.compact-team .bench-player .bench-roles .role,.pitch-player .pitch-role{background:color-mix(in srgb,var(--role-color,var(--muted)) 12%,#111820)}
.player-row .row-detail{background:#080c1326;color:var(--tier-color);border-left-color:var(--tier-sheen)}
.player-row .row-detail:hover{background:#ffffff0c;color:var(--text)}
.player-row .row-flair .icon{color:var(--tier-color)}
.tier-swatch{background-color:var(--tier-bg);background-image:var(--tier-surface);box-shadow:inset 0 1px 0 var(--tier-sheen)}
.compact-team .pitch-player[class*="tier-"].can-drop,.compact-team .bench-player[class*="tier-"].can-drop{outline:1px solid #cbfa5f99;outline-offset:-2px}
.compact-team .pitch-player[class*="tier-"].selected,.compact-team .bench-player[class*="tier-"].selected,.perk-target.selected{outline:2px solid var(--lime);outline-offset:-2px}
.compact-team .pitch-player[class*="tier-"]:focus-visible,.compact-team .bench-player[class*="tier-"]:focus-visible,.perk-target:focus-visible{outline:3px solid var(--lime);outline-offset:2px}

/* Compact squad: individual tiles and a viewport-level mobile action. */
.cap-bar.detailed{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
.cap-bar.detailed .cap-chip{padding:4px 6px}
.cap-bar.detailed .cap-name{flex-direction:column;align-items:flex-start;gap:0;line-height:1.3;font-size:9px}
.cap-bar.detailed .cap-name strong{font-size:11px;font-variant-numeric:tabular-nums}
.cap-chip.tier-A{--tier-color:#51400b;--text:#211b08;background-image:var(--tier-surface)}
.compact-team .squad-tier-status:has(> :only-child){padding-bottom:6px}
.compact-team .squad-tier-status:empty{display:none}
.compact-team .pitch,.compact-team .pitch.mantra-pitch{height:calc(var(--pitch-lines,4) * 64px + 12px);aspect-ratio:auto}
.compact-team .pitch-row{gap:5px}
.compact-team .pitch-player,.compact-team .mantra-pitch .pitch-player{flex:0 1 72px;width:72px;max-width:72px;min-height:60px;height:60px;padding:1px 2px;gap:1px;justify-content:center}
.compact-team .pitch-player[class*="tier-"]{border-width:1px;border-color:var(--tier-edge);border-radius:8px;box-shadow:inset 0 1px 0 var(--tier-sheen),0 2px 4px #0002}
.compact-team .pitch-person,.compact-team .mantra-pitch .pitch-person{height:30px}
.compact-team .portrait-pitch{width:30px;height:30px}
.compact-team .pitch-player .pitch-person .pitch-ovr{color:#f0f4f7}
.compact-team .pitch-name{color:#f0f4f7;background:#10191ff2;max-width:100%}
.compact-team .pitch-player.selected .pitch-name{color:var(--lime);background:#173025}
.compact-team .pitch-fit{line-height:1.1}
.compact-team .bench-player{padding:4px 2px;gap:2px;min-height:52px}
.compact-team .bench-player .bench-name{font-size:9px;line-height:1.25}
.compact-team .bench-player.empty{min-height:52px}
.tier-A .form-positive{color:#14613b}.tier-A .form-negative{color:#9c2232}
.tier-A .pitch-ovr .form-positive,.tier-A .detail-rating .form-positive{color:#78e3ac}
.tier-A .pitch-ovr .form-negative,.tier-A .detail-rating .form-negative{color:#ff9b9b}
.player-row.tier-A .row-flair{color:var(--muted)}
.modal-player-avatar.tier-A .detail-rating{--text:#f0f4f7;--tier-color:#ffe073}
.pitch-player.tier-A .pitch-fit{color:#403512}
.pitch-player.tier-A.selected,.bench-player.tier-A.selected,.perk-target.tier-A.selected{box-shadow:inset 0 0 0 3px #17251c}
.squad-action-dock{display:none}
@media(max-width:800px){
  .workspace .squad-next{display:none}
  .has-squad-dock{padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))}
  .squad-action-dock{display:block;position:fixed;z-index:30;left:0;right:0;bottom:0;padding:9px max(12px,env(safe-area-inset-right,0px)) calc(9px + env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px));border-top:1px solid var(--line);background:#0b1015;box-shadow:0 -8px 24px #0003}
  .squad-action-dock>.btn{display:flex;width:100%;max-width:470px;margin:auto;min-height:46px;font-size:13px;padding:10px 14px}
  body:has(dialog[open]) .squad-action-dock{visibility:hidden}
  body:has(.has-squad-dock) .toast{bottom:calc(80px + env(safe-area-inset-bottom,0px))}
  .compact-team .pitch-player,.compact-team .bench-player{scroll-margin-top:90px;scroll-margin-bottom:110px}
  .compact-team .run-upgrades{margin-bottom:6px}
}
/* Keep secondary information readable on the bright Gold material. */
.tier-A .foot-label>span{color:var(--muted)}
.tier-A .role{background:color-mix(in srgb,var(--role-color,var(--muted)) 12%,#111820)}

/* Identity lives in the roomy list/detail cards; pitch tiles stay compact. */
.player-identity{display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px 6px;font-size:10px;font-weight:500;color:var(--muted);line-height:1.35;min-width:0}
.player-nationality{display:inline-flex;align-items:center;gap:4px;min-width:0}
.nationality-flag{font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-size:14px;line-height:1.1;flex-shrink:0}
.nationality-code{font-size:8px;border:1px solid currentColor;border-radius:3px;padding:1px 3px;line-height:1.2}
.player-age{white-space:nowrap;font-variant-numeric:tabular-nums}
.row-meta{display:flex;align-items:center;flex-wrap:wrap;gap:3px 10px;min-width:0}
.row-meta .foot-label{margin:0;font-size:9px}
.row-meta .player-identity{font-size:9px}
.modal-player-info{min-width:0}
.modal-player-info>.player-identity{display:flex;font-size:11px;margin:7px 0}
.modal-player-info .detail-club{overflow-wrap:anywhere}
.perk-target .player-identity,.swap-candidate .player-identity{display:flex;margin-top:3px;font-size:9px}
.comparison-player>.player-identity{margin-top:5px}
/* The close target cannot shrink under long titles; only the body scrolls. */
dialog[open]{display:flex;flex-direction:column}
.modal-head{flex:0 0 auto;position:relative;z-index:3;background:#141d26;padding:12px 16px;gap:12px}
.modal-head h2{flex:1;min-width:0;overflow-wrap:anywhere;line-height:1.3}
.modal-head .modal-close{flex:0 0 44px;min-width:44px;width:44px;height:44px;min-height:44px;padding:10px;touch-action:manipulation}
.modal-close>.icon{pointer-events:none;width:22px;height:22px}
.modal-body{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;-webkit-overflow-scrolling:touch}
.roster-form-head,.roster-form-row{grid-template-columns:minmax(0,1fr) 28px 38px 38px 22px 22px}
@media(max-width:540px){
 .roster-form-head,.roster-form-row{grid-template-columns:minmax(0,1fr) 24px 32px 32px 18px 18px;gap:4px}
 .modal-head{padding:10px 12px}
}

/* Actual source contributions, separate from conditional in-match effects. */
.modal-stat .stat-change{display:block;font-size:10px;line-height:1.4;font-weight:650;margin:2px 0 6px}
.player-effects{border-top:1px solid var(--line);padding-top:14px;margin:0 0 22px}
.player-effects h3{font-size:13px;margin-bottom:5px}
.player-effects-note,.conditional-effects>p{font-size:10px;color:var(--muted);line-height:1.5;margin-bottom:8px}
.player-effect-source{padding:8px 0;border-bottom:1px solid #ffffff08}
.player-effect-source>strong{display:block;font-size:11px;font-weight:650;margin-bottom:4px}
.player-effect-source>div{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:10px;color:var(--muted)}
.player-effect-source>div>span{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.player-effect-source .icon{width:12px;height:12px;color:var(--lime)}
.conditional-effects{margin-top:9px}
.conditional-effects>summary{display:flex;align-items:center;gap:8px;min-height:44px;font-size:11px;font-weight:650;cursor:pointer;list-style:none}
.conditional-effects>summary::-webkit-details-marker{display:none}
.conditional-effects>summary>span{font-size:10px;color:var(--muted)}
.conditional-effects>summary>.icon{margin-left:auto;width:14px}
.conditional-effects[open]>summary>.icon{transform:rotate(90deg)}
.conditional-effects>div{margin:10px 0}
.conditional-effects>div>strong{font-size:11px}
.conditional-effects>div>p{font-size:10px;color:var(--muted);line-height:1.5;margin-top:3px}
.conditional-effects>summary:focus-visible{outline:2px solid var(--lime);outline-offset:2px}

/* Flair identity is independent of player tiers and role colors. */
.flair-aerial{--flair-ink:#b4d5ff;--flair-bg:#1b2c43;--flair-edge:#4d709b}
.flair-sprinter{--flair-ink:#ffe089;--flair-bg:#332a14;--flair-edge:#8a7139}
.flair-relentless{--flair-ink:#91e1c9;--flair-bg:#15352f;--flair-edge:#3b796a}
.flair-supersub{--flair-ink:#d6bcff;--flair-bg:#2c2242;--flair-edge:#775c9e}
.flair-playmaker{--flair-ink:#9be2f0;--flair-bg:#17343e;--flair-edge:#3f7c8e}
.flair-poacher{--flair-ink:#ffb79e;--flair-bg:#39241e;--flair-edge:#975e48}
.flair-wall{--flair-ink:#c0dfa8;--flair-bg:#27321f;--flair-edge:#607c49}
.flair-biggame{--flair-ink:#f1bce6;--flair-bg:#39243a;--flair-edge:#905e86}
.flair-generic{--flair-ink:#d1d8df;--flair-bg:#263039;--flair-edge:#63727e}
.flair-badge,.player-row.tier-A .flair-badge{display:inline-flex;align-items:center;gap:4px;align-self:flex-start;max-width:100%;min-height:21px;padding:3px 6px;border:1px solid var(--flair-edge);border-radius:7px;background:var(--flair-bg);color:var(--flair-ink);font-size:9px;font-weight:650;line-height:1.2;white-space:normal;text-align:left}
.flair-badge>.icon,.player-row .flair-badge>.icon,.player-effect-source .flair-badge>.icon{width:11px;height:11px;color:var(--flair-ink)}
.flair-badge>span{min-width:0;overflow-wrap:anywhere}
.row-flairs{gap:4px}
.modal-flair .flair-badge{font-size:11px;min-height:25px;padding:4px 8px}
.modal-flair .flair-badge>.icon{width:13px;height:13px}
.modal-flair p{margin-top:6px}
.perk-flair .flair-badge{margin-bottom:5px;font-size:10px}
.comparison-flairs .flair-badge{display:inline-flex;align-self:flex-start}
.run-upgrades-body .flair-badge{margin-top:5px}
.player-effect-source>div>.flair-badge{white-space:normal}
/* Coach materials match player tiers. Photographs have a stable local fallback. */
.coach-choice[class*="tier-"]{background-color:var(--tier-bg);background-image:var(--tier-texture),var(--tier-surface);background-size:360px 140px,cover,cover;background-repeat:repeat,no-repeat,no-repeat;border-color:var(--tier-edge);box-shadow:inset 0 1px 0 var(--tier-sheen);color:var(--text)}
.coach-choice.tier-A{--text:#211b08;--muted:#51431a;--faint:#61501d;--tier-color:#51400b}
.coach-choice:hover{outline:2px solid var(--lime);outline-offset:2px}
.coach-choice{gap:12px}
.coach-portrait{position:relative;display:block;flex:0 0 54px;width:54px;height:64px;border:1px solid #ffffff28;border-radius:8px;overflow:hidden;isolation:isolate;background:#15202b;color:#c8d5df}
.coach-portrait>.portrait-fallback{inset:0;display:grid;place-items:center;font-weight:750;font-size:17px;color:inherit}
.coach-portrait>img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center 20%;z-index:1}
.coach-portrait.image-loaded>.portrait-fallback{opacity:0}
.coach-card-title{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin-bottom:3px}
.coach-card-title>strong{font-size:15px;line-height:1.25;letter-spacing:-.25px}
.coach-tier{display:inline-flex;align-items:center;justify-content:center;padding:3px 6px;border:1px solid var(--tier-edge);border-radius:5px;font-size:9px;font-weight:750;line-height:1.1;background:var(--tier-bg);color:var(--tier-color)}
.coach-tier.tier-A{color:#43330a;background:#ffde61}
.coach-choice .choice-style{color:var(--tier-color);font-weight:650}
.coach-choice .choice-description{color:var(--muted)}
.coach-choice.tier-A .choice-style{color:#51400b}
.coach-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;margin:4px 0 14px}
.coach-actions>.btn{min-height:42px;padding:9px 12px;font-size:12px}
.coach-actions>small{font-size:10px;color:var(--muted)}
.coach-preview-heading{display:flex;align-items:center;gap:13px;margin-bottom:14px}
.coach-preview-heading>.coach-portrait{flex-basis:65px;width:65px;height:78px}
.coach-preview-heading>div{min-width:0}
.coach-preview-heading .choice-style{margin:5px 0 3px}
.coach-preview-heading .modal-info{font-size:11px;margin:0}
.chosen-coach{display:flex;align-items:center;gap:10px;padding-bottom:7px}
.chosen-coach .coach-portrait{flex-basis:38px;width:38px;height:46px}
.chosen-coach>div{min-width:0;flex:1}
.chosen-coach p{margin-top:4px}
@media(max-width:540px){
 .coach-choice{padding:12px 10px;gap:10px}
 .coach-card-title>strong{font-size:13px}
 .coach-choice .choice-description{font-size:10px}
 .coach-portrait{flex-basis:48px;width:48px;height:58px}
 .coach-actions>.btn{flex:1}
 .coach-actions>small{flex-basis:100%;text-align:center}
}

/* Draft picks remain provisional until the explicit confirmation action. */
.draft-confirm-actions{display:flex;gap:8px;width:100%;align-items:stretch}
.draft-confirm-actions>.btn{flex:1;min-width:0;min-height:44px;padding:9px 8px;font-size:12px;white-space:normal;line-height:1.25}
.draft-confirm-actions>.btn-secondary{font-size:11px}
@media(max-width:760px){.squad-action-dock>.draft-confirm-actions{max-width:470px;margin:auto}.squad-action-dock .draft-confirm-actions>.btn{min-height:46px;font-size:12px}}

.result-opponent .result-shootout{display:block;font-size:9px;font-weight:500;line-height:1.3;margin-top:2px;white-space:normal}
.result-shootout.won{color:#a8d98d}.result-shootout.lost{color:#e6a8ab}

.player-base-note{color:var(--muted);font-size:11px;line-height:1.4;margin:12px 0}
.swap-name .swap-fit{display:block;font-size:10px;line-height:1.4;margin-top:4px;color:#a9d3b5}
.swap-name .swap-fit.adapted{color:#f2cd79}

/* Header and actions are outside the only scrollable dialog region. */
dialog{max-height:calc(100dvh - 32px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));max-height:min(88dvh,calc(100dvh - 32px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)))}
dialog>.modal-head{flex:0 0 auto}
dialog>.modal-body{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable}
dialog>.modal-actions{position:relative;flex:0 0 auto;display:flex;gap:9px;margin:0;padding:13px 23px max(13px,env(safe-area-inset-bottom,0px));border-top:1px solid var(--line);background:#141d26;box-shadow:0 -6px 16px #0002;z-index:2}
dialog>.modal-actions>.btn{flex:1;min-width:0;min-height:44px;white-space:normal;line-height:1.3;padding:11px 10px;font-size:12px}
dialog>.modal-actions.tutorial-offer-actions{display:grid;grid-template-columns:1fr 1fr}
@media(max-width:540px){dialog>.modal-actions{padding:11px 18px max(11px,env(safe-area-inset-bottom,0px))}}
@media(max-height:450px){dialog{max-height:calc(100dvh - 12px)}dialog>.modal-head{padding-top:9px;padding-bottom:9px}dialog>.modal-actions{padding-top:7px;padding-bottom:7px}}

/* Compact home entry; the full timeline lives in the shared scrollable dialog. */
.start-news{display:block;text-align:left;width:100%;max-width:340px;margin:17px auto 0;padding:12px 14px;background:#ffffff03;border:1px solid var(--line);border-radius:11px;color:var(--text)}
.start-news>span{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:650}
.start-news b{margin-left:auto;color:var(--lime);font-size:10px;font-weight:650}
.start-news>small{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:5px;font-size:11px;color:var(--muted)}
.start-news:hover{border-color:#cbfa5f66;background:#cbfa5f06}
.release-intro{color:var(--muted);font-size:12px;line-height:1.5;margin:0 0 15px}
.release-current{border:1px solid #cbfa5f45;border-radius:13px;background:linear-gradient(140deg,#cbfa5f0d,#cbfa5f02);padding:17px}
.release-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:7px}
.release-version{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:6px;padding:4px 7px;font-size:10px;font-weight:700;font-variant-numeric:tabular-nums;color:var(--muted);white-space:nowrap}
.release-current .release-version{color:var(--lime);border-color:#cbfa5f44;background:#cbfa5f0a}
.release-latest{font-size:9px;color:var(--lime);text-transform:uppercase;letter-spacing:.7px}
.release-current h3{font-size:19px;line-height:1.2;letter-spacing:-.4px;margin:13px 0 6px}
.release-current time,.release-summary time{display:block;font-size:10px;color:var(--muted);line-height:1.4}
.release-current ul,.release-item ul{padding-left:17px;margin:13px 0 0;color:#c7d1d9;font-size:12px;line-height:1.55}
.release-current li+li,.release-item li+li{margin-top:7px}
.release-current li::marker{color:var(--lime)}
.release-history{margin-top:23px}
.release-history>h3{font-size:13px;display:flex;align-items:center;justify-content:space-between;margin:0 0 9px}
.release-history>h3>span{font-size:10px;font-weight:400;color:var(--faint)}
.release-item{border-top:1px solid var(--line)}
.release-item summary{display:flex;align-items:center;gap:11px;min-height:62px;padding:12px 0;list-style:none;cursor:pointer}
.release-item summary::-webkit-details-marker{display:none}
.release-summary{min-width:0;flex:1}
.release-summary strong{display:block;font-size:12px;line-height:1.35;font-weight:650;margin-bottom:4px}
.release-item summary>.icon{color:var(--faint);flex-shrink:0}
.release-item[open] summary>.icon{transform:rotate(90deg);color:var(--lime)}
.release-item ul{margin:0 0 18px 0;padding-left:20px;font-size:11px}
.release-item summary:focus-visible{outline:2px solid var(--lime);outline-offset:2px;border-radius:5px}
.choice-impact{display:block;margin-top:7px}.choice-impact-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.choice-impact-values>span{display:flex;align-items:center;justify-content:space-between;gap:4px;min-width:0}.choice-impact-values small{font-size:9px;color:var(--muted);font-weight:400}.choice-impact-values b{font-size:13px;font-variant-numeric:tabular-nums}.choice-impact-count,.choice-impact-scenario{display:block;font-size:10px;line-height:1.4;color:var(--muted);margin-top:4px}.choice-impact-scenario{color:var(--gold);margin-bottom:5px}.respin-spent{font-size:11px;color:var(--muted);padding:7px 0}.coach-actions:has(.respin-spent){margin-top:12px}
.draft-needs{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:10px 0 8px;font-size:10px;color:var(--muted)}.draft-needs .need-chip{display:inline-flex;align-items:center;padding:3px 5px;border:1px solid currentColor;border-radius:5px;font-size:10px;line-height:1.2;background:#ffffff03}.row-fit,.row-keeper-note{display:block;font-size:9px;line-height:1.4;margin-top:3px;color:var(--muted)}.row-keeper-note{color:var(--gold)}.unavailable-players{margin-top:12px;border-top:1px solid var(--line)}.unavailable-players>summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;cursor:pointer;list-style:none;font-size:11px;color:var(--muted)}.unavailable-players>summary::-webkit-details-marker{display:none}.unavailable-players[open]>summary>.icon{transform:rotate(90deg)}.unavailable-players>summary:focus-visible{outline:2px solid var(--lime);outline-offset:2px}.bench-keeper-note{font-size:10px;line-height:1.4;color:var(--muted);margin:7px 0 0}
.market-banner.market-compact{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;margin-bottom:12px}.market-compact h1{font-size:18px;line-height:1.2;margin:0 0 5px}.market-compact .link-button{font-size:11px;min-height:24px;padding:0}.market-compact .pill{flex-shrink:0;font-size:10px}.performance-panel{border:1px solid var(--line);border-radius:12px;padding:0 14px;margin:16px 0;background:var(--surface)}.performance-panel>summary{display:flex;align-items:center;gap:8px;min-height:44px;list-style:none;font-size:12px;font-weight:650;cursor:pointer}.performance-panel>summary::-webkit-details-marker{display:none}.performance-panel>summary>.icon:last-child{margin-left:auto;width:14px;height:14px;color:var(--muted)}.performance-panel[open]>summary>.icon:last-child{transform:rotate(90deg)}.performance-panel>summary:focus-visible{outline:2px solid var(--lime);outline-offset:2px}.performance-panel .roster-form{border:0;padding:0;margin:0 0 14px}.roster-form.embedded h3{font-size:12px;padding:7px 0 12px;margin:0}.performance-panel .leaders{border-top:1px solid var(--line);margin:0;padding:14px 0}.roster-form-name .rated-appearances{font-size:8px;color:var(--muted)}
.run-finish>.recap-actions{margin:0 0 12px}.recap-actions .recap-new{margin:0}.recap-secondary{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:10px;flex-wrap:wrap}.recap-secondary .link-button{font-size:10px;min-height:36px}.recap-secondary .recap-retry{margin:0}.recap-status:empty{display:none}.personal-record-callout{display:flex;align-items:center;gap:10px;padding:12px;margin:0 0 12px;background:#cbfa5f0d;border:1px solid #cbfa5f33;border-radius:10px}.personal-record-callout>.icon{color:var(--lime);flex-shrink:0}.personal-record-callout strong{display:block;font-size:12px;color:var(--lime)}.personal-record-callout small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.personal-records{border-bottom:1px solid var(--line);margin-bottom:14px;padding-bottom:12px}.personal-records>summary{display:flex;align-items:center;justify-content:space-between;min-height:40px;cursor:pointer;font-weight:650;font-size:13px}.personal-records>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.personal-record{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;border:1px solid var(--line);border-radius:9px;padding:10px;background:#ffffff02}.personal-record>span{min-width:0}.personal-record strong{font-size:11px;display:block}.personal-record small{display:block;font-size:9px;color:var(--muted);line-height:1.4;margin-top:3px}.personal-record>b{font-size:22px;text-align:right;color:var(--lime);font-variant-numeric:tabular-nums}.personal-record>b small{font-weight:400}.personal-record p{grid-column:1/-1;font-size:9px;color:var(--muted);margin:0}.personal-record p:empty{display:none}
@media(max-width:540px){.choice-impact-values{gap:6px}.choice-impact-values>span{align-items:flex-start;flex-direction:column;gap:2px}.choice-impact-values small{font-size:9px}.choice-impact-values b{font-size:12px}.choice-impact-count,.choice-impact-scenario{font-size:9px}.market-banner.market-compact{padding:11px 12px}.market-compact h1{font-size:16px}.performance-panel{padding:0 10px}.personal-records>div{grid-template-columns:1fr}}

/* Champions: compact tables and a fixed-stage draw ceremony. */
.champions-nav{color:var(--lime)}
.champions-summary{border-color:#8daee033;background:linear-gradient(115deg,#14212b,#10191f)}
.champions-summary .league-summary-main>strong{font-size:28px}
.champions-summary .league-summary-end{color:#adbed3}
.champions-table .champions-zone-direct .league-position{border-left:2px solid var(--lime);padding-left:4px;color:var(--lime)}
.champions-table .champions-zone-seeded .league-position{border-left:2px solid #e9c96a;padding-left:4px;color:#e9c96a}
.champions-table .champions-zone-playoff .league-position{border-left:2px solid #90a5be;padding-left:4px;color:#a7bdd3}
.champions-table .champions-zone-out{color:var(--muted)}
.champions-table .champions-cut>*{border-bottom:1px solid #b8c9da55}
.cup-road-expanded{gap:0;padding-inline:7px}
.cup-road-expanded .cup-step{min-width:0;flex:1}
.cup-road-expanded .cup-step>span:last-child{font-size:9px}
.cup-step.skipped{opacity:.5}
.cup-step.skipped .step-dot{border-style:dashed}
.cup-draw{--draw-blue:#a5c0f1;display:flex;flex-direction:column;height:min(710px,calc(100dvh - 170px));min-height:0;max-width:850px;margin:0 auto 16px;border:1px solid #52657b;border-radius:20px;background:radial-gradient(ellipse at 50% 0,#28446477,transparent 60%),#101922;box-shadow:0 22px 70px #0003;overflow:hidden;position:relative;isolation:isolate}
.cup-draw::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle at 9% 14%,#caff8844 0 1px,transparent 2px),radial-gradient(circle at 84% 8%,#a9cdff88 0 1px,transparent 2px),radial-gradient(circle at 65% 30%,#caff8844 0 1px,transparent 2px);background-size:180px 180px,260px 260px,220px 220px}
.cup-draw-heading{padding:23px 25px 15px;border-bottom:1px solid #ffffff0d;flex-shrink:0;text-align:center}
.cup-draw-heading .eyebrow{display:flex;align-items:center;justify-content:center;gap:7px;color:var(--draw-blue);font-size:9px;letter-spacing:.16em}
.cup-draw-heading h1{font-size:32px;letter-spacing:-1px;line-height:1.1;margin:10px 0 8px}
.cup-draw-heading p{color:var(--muted);font-size:11px;margin:0;line-height:1.45}
.cup-draw-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 22px 12px;scrollbar-width:thin}
.draw-stage{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr);align-items:center;gap:15px;height:190px;padding:18px 14px 32px;border-radius:13px;background:radial-gradient(ellipse at 50% 100%,#597b981c,transparent 65%);margin:8px 0 12px;border:1px solid transparent}
.draw-stage.our-draw{border-color:#c8fa6450;background:radial-gradient(ellipse at 50% 100%,#c8fa6420,transparent 75%)}
.draw-club{min-width:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;text-align:center;align-self:stretch}
.draw-club>.club-mark{width:65px;height:65px;flex:0 0 65px;filter:drop-shadow(0 7px 14px #0007)}
.draw-club>.club-mark.user{border-color:var(--lime);color:var(--lime);background:#c8fa640c;border-radius:14px}
.draw-club>strong{font-size:16px;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:100%;min-height:38px}
.draw-club>small{font-size:8px;color:var(--muted);letter-spacing:.05em;min-height:10px}
.draw-club.is-hidden>strong{font-size:11px;color:var(--muted);font-weight:400}
.draw-club.is-ours>strong,.draw-club.is-ours>small{color:var(--lime)}
.draw-club.is-revealed>.club-mark{animation:draw-club-in .42s ease-out both}
.draw-ball{display:grid;place-items:center;width:65px;height:65px;flex:0 0 65px;border-radius:50%;color:#b4c9e4;background:radial-gradient(circle at 32% 25%,#7c8ea4,#2a394c 42%,#0a121b 79%);border:1px solid #9badc360;box-shadow:inset 0 0 12px #d0e6ff18,0 10px 22px #0005;position:relative;overflow:hidden;animation:draw-ball-breathe 1.5s ease-in-out infinite alternate}
.draw-ball>.icon{width:26px;height:26px;opacity:.65}
.draw-ball::after{content:"";position:absolute;top:-40%;left:-70%;height:180%;width:25%;transform:rotate(30deg);background:linear-gradient(90deg,transparent,#e1f3ff2b,transparent);animation:draw-ball-shine 1.8s linear infinite}
.draw-versus{font-size:11px;font-weight:800;letter-spacing:.1em;color:#b6c9de66;text-align:center}
.draw-stage-caption{position:absolute;bottom:11px;left:10px;right:10px;text-align:center;font-size:8px;letter-spacing:.17em;color:var(--draw-blue)}
.our-draw .draw-stage-caption{color:var(--lime)}
.draw-pairs{display:grid;grid-template-columns:1fr 1fr;gap:5px 10px}
.draw-pair{display:grid;grid-template-columns:18px minmax(0,1fr) 8px minmax(0,1fr);gap:5px;align-items:center;min-height:41px;padding:6px;border:1px solid #ffffff0a;border-radius:7px;background:#060c1233}
.draw-pair.own-pair{border-color:#c8fa6466;background:#c8fa640c}
.draw-pair-number{font-variant-numeric:tabular-nums;font-size:8px;color:var(--faint)}
.draw-pair>span:not(.draw-pair-number){display:flex;align-items:center;gap:5px;min-width:0}
.draw-pair .club-mark.sm{width:22px;height:22px;flex:0 0 22px}
.draw-pair b{font-size:9px;font-weight:500;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.draw-pair.own-pair b{color:var(--lime)}
.draw-pair>small{text-align:center;color:var(--faint);font-size:9px}
.draw-placeholder{display:block;width:70%;height:5px;border-radius:8px;background:#a1b3c51a}
.draw-rule{font-size:9px;line-height:1.5;color:var(--muted);text-align:center;margin:12px 0 0}
.cup-draw-actions{flex-shrink:0;padding:12px 22px calc(18px + env(safe-area-inset-bottom,0px));background:#101922;border-top:1px solid #ffffff12;display:flex;align-items:center;gap:15px;z-index:1}
.cup-draw-actions>.btn{margin-left:auto;max-width:270px;min-height:43px;font-size:12px}
.draw-progress{font-size:10px;color:var(--muted);line-height:1.4}
.cup-verdict{max-width:850px;margin-inline:auto}
.cup-final-fixture{display:grid;grid-template-columns:1fr 30px 1fr;align-items:center;gap:15px;max-width:460px;margin:22px auto}
.cup-final-fixture>.draw-club{min-height:140px}
.cup-final-fixture>span{color:var(--muted);font-size:11px}
.bracket-tie>div>span{display:flex;align-items:center;gap:8px;min-width:0}
.bracket-tie .club-mark.sm{width:22px;height:22px;flex:0 0 22px}
.bracket-pair-number{display:block;font-size:9px;color:var(--muted);margin-bottom:6px}
@keyframes draw-club-in{from{opacity:0;transform:translateY(8px) scale(.85)}to{opacity:1;transform:none}}
@keyframes draw-ball-breathe{from{filter:brightness(.85)}to{filter:brightness(1.12)}}
@keyframes draw-ball-shine{to{left:150%}}
@media(max-width:540px){.champions-summary{padding:12px}.champions-summary .league-summary-main{gap:10px}.champions-summary .league-summary-main>strong{font-size:24px}.champions-summary .league-summary-main b{font-size:12px}.champions-summary .league-summary-main small{font-size:10px}.champions-summary .league-summary-end{font-size:8px}.cup-road-expanded{padding:11px 4px}.cup-road-expanded .cup-step>span:last-child{font-size:8px}.cup-road-expanded .step-dot{width:25px;height:25px}.cup-draw{height:min(670px,calc(100dvh - 155px));border-radius:14px;margin-bottom:10px}.cup-draw-heading{padding:16px 14px 12px}.cup-draw-heading .eyebrow{font-size:8px;letter-spacing:.12em}.cup-draw-heading h1{font-size:25px;margin:8px 0 6px}.cup-draw-heading p{font-size:10px}.cup-draw-body{padding:0 12px 10px}.draw-stage{height:164px;padding:14px 8px 24px;gap:9px;margin:7px 0 9px}.draw-club>.club-mark,.draw-ball{width:53px;height:53px;flex-basis:53px}.draw-club>strong{font-size:13px;min-height:31px}.draw-club>small{font-size:7px}.draw-stage-caption{font-size:7px;bottom:8px}.draw-pairs{grid-template-columns:1fr;gap:4px}.draw-pair{min-height:34px;padding:4px 6px}.draw-pair b{font-size:10px}.draw-pair .club-mark.sm{width:20px;height:20px;flex-basis:20px}.draw-rule{font-size:8px;margin-top:9px}.cup-draw-actions{padding:10px 12px calc(12px + env(safe-area-inset-bottom,0px));gap:8px}.cup-draw-actions>.btn{font-size:11px;min-height:41px;width:auto;flex:1}.draw-progress{font-size:9px;max-width:110px}.cup-final-fixture{gap:10px;margin:18px auto}.champions-table th:nth-child(4){width:32px}.champions-table .league-position{font-size:10px}}
@media(prefers-reduced-motion:reduce){.draw-club.is-revealed>.club-mark,.draw-ball,.draw-ball::after{animation:none}}

/* Update notices float above the header without changing the game layout. */
.update-notice{position:fixed;z-index:90;top:calc(env(safe-area-inset-top,0px) + 10px);left:50%;transform:translateX(-50%);width:min(460px,calc(100% - 24px));display:flex;align-items:center;gap:12px;padding:10px 11px 10px 15px;border:1px solid #c8fa6470;border-radius:13px;background:#16231f;box-shadow:0 8px 28px #0008;color:var(--text)}
.update-notice>span{flex:1;min-width:0}.update-notice strong{display:block;font-size:12px;line-height:1.35}.update-notice small{display:block;font-size:10px;color:var(--muted);margin-top:2px}
.update-reload{min-height:44px;padding:0 12px;border-radius:9px;background:var(--lime);color:#14200e;font-size:12px;font-weight:750}.update-dismiss{min-width:44px;min-height:44px;background:transparent;color:var(--muted);font-size:24px;line-height:1;border-radius:9px}
@media(max-width:380px){.update-notice{gap:5px;padding-left:11px}.update-notice strong{font-size:11px}.update-reload{padding:0 9px}.update-dismiss{min-width:40px}}

/* Won individual honours: compact cards, optional explanatory detail. */
.individual-awards{margin:19px 0 22px}.individual-awards h2{display:flex;align-items:center;gap:8px;font-size:12px;color:#ffe078;margin:0 0 10px}.award-list{display:grid;gap:8px}.award-card{min-width:0;border:1px solid #ad8e3a70;border-radius:12px;background:linear-gradient(115deg,#ffe0780b,transparent 65%),#172126;overflow:hidden}.award-card.award-ballon{background:radial-gradient(ellipse at 0 0,#ffe07823,transparent 75%),#201e17;border-color:#d7b752}.award-card>summary{list-style:none;display:flex;align-items:center;gap:11px;padding:11px 12px;cursor:pointer;min-height:78px}.award-card>summary::-webkit-details-marker{display:none}.award-card>summary>.icon{flex:0 0 16px;color:#d5c386;transition:transform .15s}.award-card[open]>summary>.icon{transform:rotate(90deg)}.award-card>summary:focus-visible,.award-explanations>summary:focus-visible{outline:2px solid var(--lime);outline-offset:-3px;border-radius:10px}.portrait-award{width:44px;height:52px;flex:0 0 44px;align-self:center}.award-copy{display:block;flex:1;min-width:0;overflow-wrap:anywhere}.award-copy .award-title{display:block;font-size:10px;font-weight:750;color:#ffe078;line-height:1.4}.award-copy>strong{display:block;font-size:14px;font-weight:750;color:var(--text);line-height:1.35;margin:2px 0}.award-copy>small{display:block;font-size:10px;color:var(--muted);line-height:1.45}.award-detail{margin:0;padding:0 14px 13px;font-size:11px;line-height:1.65;color:var(--muted);overflow-wrap:anywhere}.award-explanations{margin:12px 0 4px;border:1px solid var(--line);border-radius:11px}.award-explanations>summary{display:flex;align-items:center;gap:8px;list-style:none;padding:13px;font-size:11px;font-weight:650;cursor:pointer}.award-explanations>summary::-webkit-details-marker{display:none}.award-explanations>summary>.icon:first-child{color:#ffe078}.award-explanations>summary>.icon:last-child{margin-left:auto}.award-explanations[open]>summary>.icon:last-child{transform:rotate(90deg)}.award-explanations .individual-awards{margin:0;padding:0 10px 10px}.history-awards{margin-top:6px}.history-awards>small{display:flex;align-items:flex-start;gap:5px;color:#e7ca75}.history-awards .icon{flex:0 0 12px;width:12px;height:12px;margin-top:2px}
@media(prefers-reduced-motion:reduce){.award-card>summary>.icon{transition:none}}

/* Legends: pale marble, warm metal and dark type; role badges retain their colors. */
.tier-L{--tier-color:#695421;--tier-bg:#f0eee5;--tier-edge:#c5b77e;--tier-texture:repeating-linear-gradient(126deg,transparent 0 54px,#5f64600d 55px,#ffffff90 57px,transparent 61px,transparent 95px,#a4a59616 97px,transparent 100px);--tier-surface:radial-gradient(ellipse at 87% 0,#fffdf4 0,transparent 58%),linear-gradient(132deg,#deded7 0%,#fffdf5 29%,#e3e4de 51%,#fbf9ef 72%,#e9e5d8 100%);--tier-sheen:#ffffffd9}
.player-row.tier-L,.comparison-player.tier-L,.modal-player-avatar.tier-L,.perk-target.tier-L,.swap-candidate.tier-L,.placement-player.tier-L,.incoming-player.tier-L,.bench-player.tier-L,.pitch-player.tier-L,.legend-choice,.legend-event-heading,.legend-perk,.legend-spin{--text:#182126;--muted:#4d595e;--faint:#61696b;color:var(--text)}
.legend-perk,.legend-choice,.legend-event-heading,.legend-spin{background-color:var(--tier-bg);background-image:var(--tier-texture),var(--tier-surface);background-size:360px 180px,cover;background-position:center;border:1px solid var(--tier-edge);box-shadow:inset 0 1px 0 var(--tier-sheen),0 3px 16px #0002}
.player-row.tier-L .row-detail{background:#50472b0c;color:#695421}.player-row.tier-L .row-detail:hover{background:#ffffff80;color:#182126}
.tier-L .role{background:color-mix(in srgb,var(--role-color,var(--muted)) 12%,#111820)}
.tier-L .flair-badge{background:var(--flair-bg);color:var(--flair-ink)}
.tier-L .foot-label>span{color:var(--muted)}
.tier-L .form-positive{color:#14613b}.tier-L .form-negative{color:#9c2232}
.tier-L .pitch-ovr .form-positive,.tier-L .detail-rating .form-positive{color:#78e3ac}.tier-L .pitch-ovr .form-negative,.tier-L .detail-rating .form-negative{color:#ff9b9b}
.modal-player-avatar.tier-L .detail-rating{--text:#f0f4f7;--tier-color:#f3e9bf}.pitch-player.tier-L .pitch-fit{color:#4d512e}
.pitch-player.tier-L.selected,.bench-player.tier-L.selected,.perk-target.tier-L.selected{box-shadow:inset 0 0 0 3px #17251c}
.legend-perk .perk-symbol{color:#695421;background:#fff9df70;border-color:#b8a36877}.legend-perk .run-choice-body strong{color:#182126}.legend-perk .choice-description,.legend-perk .choice-scope,.legend-perk .choice-impact-count{color:#4d595e}.legend-perk:hover,.legend-perk:focus-visible{background-color:var(--tier-bg);background-image:var(--tier-texture),var(--tier-surface);border-color:#e6ce7b;box-shadow:inset 0 0 0 1px #a9914e,0 4px 18px #0003}
.legend-spin{position:relative;overflow:hidden}.legend-spin .spin-label{color:#695421}.legend-spin .spin-name{color:#182126}.legend-spin .btn-secondary{--text:#182126;background:#ffffff80;border-color:#a79862;color:#182126}
.legend-spin:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 27%,#ffffffb0 44%,transparent 62%);transform:translateX(110%);animation:legend-reveal 1.7s ease-out 1}
.legend-mark{display:grid;place-items:center;border:1px solid #ae9652;border-radius:50%;background:#fff9df70;color:#695421}.legend-mark .icon{width:60%;height:60%;fill:#ac8a4133}
.legend-pool-heading{display:flex;flex-wrap:wrap;justify-content:space-between;gap:3px 8px;margin:11px 0 9px;font-size:11px;color:#eadfb7}.legend-pool-heading>span{display:flex;align-items:center;gap:6px;font-weight:650}.legend-pool-heading small{font-size:9px;color:var(--muted)}
.legend-choice-list{display:grid;gap:8px}.legend-choice{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border-radius:12px;padding:12px}.legend-choice:hover{box-shadow:inset 0 0 0 1px #a9914e,0 4px 18px #0003}.legend-choice-ovr{font-size:27px;line-height:1.1}.legend-choice-body{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}.legend-choice-body>b{font-size:14px;line-height:1.2}.legend-choice-body .row-flairs{display:flex;flex-wrap:wrap;gap:4px}.legend-choice-body .player-identity{font-size:9px}
.legend-event-heading{display:flex;align-items:center;gap:13px;border-radius:12px;padding:15px;margin-bottom:14px}.legend-event-heading>div{min-width:0}.legend-event-heading>.icon{width:30px;height:30px;color:#695421}.legend-event-heading strong{font-size:13px;line-height:1.3}.legend-event-heading p{font-size:11px;line-height:1.5;margin-top:4px;color:#4d595e}.legend-confirm-note{font-size:11px;line-height:1.5;color:#eadfb7;margin-top:12px;padding:10px 12px;border-radius:8px;border:1px solid #c5b77e40;background:#c5b77e0b}
@keyframes legend-reveal{from{transform:translateX(-110%)}to{transform:translateX(110%)}}
@media(prefers-reduced-motion:reduce){.legend-spin:after{animation:none;display:none}}
/* Compare freely, then change the lineup only after the explicit action. */
.compare-roster-button{display:flex;align-items:center;justify-content:center;gap:4px;min-height:30px;border:1px solid var(--line);border-radius:7px;padding:5px 8px;background:var(--surface2);color:var(--muted);font-size:10px}.compare-roster-button:hover{color:var(--text)}.compare-roster-button .icon{width:13px;height:13px}
.comparison-selected{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:10px 0;margin-bottom:8px;border-bottom:1px solid var(--line);font-size:12px}.comparison-selected>.link-button{margin-left:auto;font-size:10px}.comparison-context{font-size:12px;font-weight:650;margin-bottom:12px}.comparison-location{display:block;color:var(--muted);font-size:10px;margin-top:6px}.comparison-candidate-roles{display:flex;flex-wrap:wrap;gap:4px;margin-top:5px}.comparison-roster-list .swap-candidate{padding:10px;gap:8px}.comparison-roster-list .swap-candidate>strong{font-size:23px;min-width:32px}.comparison-roster-list .swap-name{flex:1;min-width:0}.comparison-roster-list .swap-name>small{margin-top:4px}.comparison-table{table-layout:fixed}.comparison-table thead th{overflow-wrap:anywhere}.comparison-table th:first-child{width:27%}.comparison-table th:last-child{width:15%}.comparison-performance .performance-heading{flex-wrap:wrap;gap:3px}
@media(max-width:540px){.compact-team .team-head{gap:6px}.compact-team .team-head h2{white-space:nowrap;font-size:11px}.compact-team .team-tools{gap:5px}.compact-team .team-tools select{max-width:87px;padding-right:20px;font-size:11px}.compare-roster-button{font-size:9px;padding:5px 6px;gap:3px}.legend-choice{padding:10px;gap:8px}.legend-choice-ovr{font-size:25px}.legend-choice-body>b{font-size:13px}.legend-choice .portrait-row{width:35px;height:40px}.legend-choice .flair-badge{font-size:8px;padding:3px 5px}.legend-event-heading{padding:12px;gap:10px}.legend-event-heading strong{font-size:12px}.legend-event-heading p{font-size:10px}.comparison-roster-list .swap-candidate{padding:9px 8px}.comparison-roster-list .portrait-selected{width:28px;height:31px}.comparison-table{font-size:11px}.comparison-table th,.comparison-table td{padding-left:3px;padding-right:3px}.comparison-table thead th{font-size:9px}.comparison-selected{font-size:11px}}

/* Optional team identity, retained independently from a single run. */
.start-team-name{text-align:left;margin:-12px 0 18px}.start-team-name label{display:flex;justify-content:space-between;gap:12px;font-size:12px;font-weight:650;margin-bottom:7px}.start-team-name label span{font-weight:400;color:var(--muted)}.start-team-name input{display:block;width:100%;min-height:44px;border:1px solid var(--line);border-radius:10px;padding:10px 12px;background:var(--surface);color:var(--text);font:inherit;font-size:16px;box-sizing:border-box}.start-team-name input::placeholder{color:var(--muted)}.start-team-name input:focus-visible{outline:2px solid var(--lime);outline-offset:2px}.start-team-name small{display:block;margin-top:6px;font-size:10px;color:var(--muted);line-height:1.4}

/* Career and Album are permanent collections, independent from tier and run power. */
.career-entries{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:13px 0}.career-entries>button{display:flex;align-items:center;gap:8px;min-height:46px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);text-align:left;font-size:12px}.career-entries>button>.icon{width:17px;height:17px;color:var(--lime)}.career-entries>button>span{display:flex;align-items:center;justify-content:space-between;gap:6px;flex:1}.career-entries b{font-size:10px;color:var(--muted);font-weight:500}.career-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:4px;background:#080f15;border:1px solid var(--line);border-radius:10px;margin-bottom:22px}.career-tabs button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:39px;border-radius:7px;background:none;color:var(--muted);font-size:12px;font-weight:650}.career-tabs button[aria-pressed=true]{background:#24333f;color:var(--text)}.career-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:10px}.career-heading .eyebrow{font-size:9px;letter-spacing:1.2px;color:var(--lime)}.career-heading h3{font-size:21px;line-height:1.2;letter-spacing:-.4px;margin-top:5px}.career-heading>strong{font-size:28px;line-height:1;letter-spacing:-.7px;white-space:nowrap;color:var(--lime)}.career-heading>strong small{font-size:14px;color:var(--muted);font-weight:400;letter-spacing:0}.career-intro{font-size:12px;color:var(--muted);line-height:1.6;margin-bottom:19px}.career-local{font-size:10px;line-height:1.5;color:var(--muted);margin-top:20px}.career-footnote{font-size:11px;line-height:1.6;color:var(--muted);margin-top:16px}.career-empty{padding:28px 10px;text-align:center;color:var(--muted);font-size:12px;line-height:1.6}.achievement-list{display:grid;gap:8px}.achievement{display:flex;align-items:flex-start;gap:12px;padding:14px 12px;border:1px solid var(--line);border-radius:12px;background:#111b23}.achievement-symbol{display:grid;place-items:center;flex:0 0 34px;width:34px;height:38px;color:#8f9eaa}.achievement-symbol>.icon{width:25px;height:25px}.achievement>div{min-width:0}.achievement h3{font-size:13px;line-height:1.4;margin:0 0 4px}.achievement p{font-size:11px;line-height:1.5;color:var(--muted);margin:0}.achievement small{display:block;font-size:9px;margin-top:7px;color:var(--faint)}.achievement.unlocked{border-color:#c9fa5f55;background:linear-gradient(110deg,#b9ed4d0c,transparent 70%),#111b23}.achievement.unlocked .achievement-symbol,.achievement.unlocked small{color:var(--lime)}
.album-filters{display:flex;flex-wrap:wrap;gap:5px;margin:0 0 15px}.album-filters button{min-height:32px;border:1px solid var(--line);border-radius:7px;padding:6px 9px;background:#111b23;color:var(--muted);font-size:10px}.album-filters button[aria-pressed=true]{border-color:var(--lime);color:var(--lime);background:#c5f45a0a}.album-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.collection-keeper{--collection-color:#e9c66a;--collection-deep:#533b15;--collection-shape:repeating-radial-gradient(ellipse at 50% 90%,transparent 0 19px,#e9c66a20 20px 21px,transparent 22px 38px)}.collection-defender{--collection-color:#6ee5b0;--collection-deep:#0c4d3a;--collection-shape:repeating-linear-gradient(65deg,transparent 0 22px,#6ee5b01c 23px 24px,transparent 25px 44px)}.collection-playmaker{--collection-color:#9dc5ff;--collection-deep:#243b70;--collection-shape:repeating-conic-gradient(from 15deg at 50% 65%,transparent 0 21deg,#9dc5ff17 22deg 23deg,transparent 24deg 45deg)}.collection-scorer{--collection-color:#f5a2cf;--collection-deep:#702e50;--collection-shape:repeating-linear-gradient(-40deg,transparent 0 17px,#f5a2cf20 18px 20px,transparent 21px 39px)}.album-card{min-width:0;border:1px solid color-mix(in srgb,var(--collection-color) 34%,#253440);border-radius:14px;overflow:hidden;background:#0d151d;box-shadow:0 3px 12px #0002}.album-card.is-tracked{outline:1px solid var(--lime);outline-offset:2px}.album-art{display:block;position:relative;isolation:isolate;width:100%;height:193px;padding:10px;overflow:hidden;background:var(--collection-shape),radial-gradient(ellipse at 50% 75%,var(--collection-deep),#101a23 80%);color:#f2f6fa;text-align:left}.album-art:after{content:'';position:absolute;inset:4px;border:1px solid color-mix(in srgb,var(--collection-color) 35%,transparent);border-radius:10px;pointer-events:none}.album-orbit{position:absolute;z-index:-1;width:128px;height:128px;border:1px solid var(--collection-color);opacity:.4;border-radius:50%;left:50%;top:36px;transform:translateX(-50%)}.album-meta{position:relative;z-index:3;display:flex;justify-content:space-between;align-items:center;gap:3px}.album-meta .role{font-size:9px;padding:3px 5px;background:#111820}.album-original-tier{padding:3px 5px;border-radius:4px;background:var(--tier-bg);color:var(--tier-color);border:1px solid var(--tier-edge);font-size:8px;line-height:1.2}.portrait-album{position:absolute;left:50%;bottom:42px;transform:translateX(-50%);height:123px;width:123px;background:transparent;overflow:visible}.portrait-album .portrait-fallback{inset:20px;color:var(--collection-color);opacity:.28}.portrait-album img{height:100%;width:100%;object-fit:contain;filter:drop-shadow(0 8px 15px #0006)}.album-name{position:absolute;z-index:2;inset:auto 0 0;padding:22px 11px 13px;background:linear-gradient(transparent,#081019eb 32%);text-align:center}.album-name>strong{display:block;font-size:14px;letter-spacing:-.2px;line-height:1.2}.album-name>small{display:block;color:var(--collection-color);font-size:9px;margin-top:5px;line-height:1.4}.album-card.is-locked .portrait-album{opacity:.55;filter:saturate(.6)}.album-card.is-unlocked{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--collection-color) 30%,transparent),0 3px 12px #0002}.album-equipped{display:flex;align-items:center;gap:3px;position:absolute;top:40px;left:10px;z-index:3;padding:3px 5px;border-radius:5px;background:#09151cdd;color:var(--collection-color);font-size:8px}.album-equipped .icon{height:10px;width:10px}.album-progress{padding:11px 10px 0}.album-progress>span:first-child{display:flex;align-items:center;gap:4px;font-size:10px;color:#b4c0cb;line-height:1.4}.album-progress>span:first-child>.icon{width:11px;height:11px;color:var(--collection-color)}.album-progress-track{display:block;height:3px;margin-top:7px;overflow:hidden;border-radius:4px;background:#293440}.album-progress-track>span{display:block;height:100%;background:var(--collection-color);border-radius:4px}.album-track{display:flex;align-items:center;justify-content:center;gap:4px;min-height:37px;width:100%;background:none;color:var(--muted);font-size:9px}.album-track .icon{width:12px;height:12px}.album-track[aria-pressed=true]{color:var(--lime)}.collection-detail-art{max-width:220px;margin:0 auto 20px}.collection-detail-art .album-art{height:260px}.collection-detail-art .portrait-album{width:180px;height:180px;bottom:44px}.collection-detail-art .album-orbit{width:180px;height:180px;top:35px}.collection-detail-art .album-name strong{font-size:18px}.collection-detail-art .album-name small{font-size:11px}.collection-detail-art .album-progress{padding-bottom:13px}.collection-detail-copy{text-align:center}.collection-detail-copy h3{font-size:20px;letter-spacing:-.3px;margin-bottom:8px}.collection-detail-copy>p{font-size:12px;line-height:1.6;color:var(--muted)}.collection-detail-copy>strong{display:block;margin-top:12px;font-size:17px}.collection-detail-copy>small{display:block;color:var(--lime);font-size:10px;margin-top:5px}.collection-follow{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:8px 12px;margin-top:10px;background:#202d38;color:var(--text);border:1px solid var(--line);border-radius:8px;font-size:11px}.collection-follow[aria-pressed=true]{color:var(--lime);border-color:#c9fa5f55}.collection-inline{display:flex;align-items:center;gap:4px;font-size:9px;line-height:1.4;color:var(--muted);margin-top:1px}.collection-inline>.icon{width:11px;height:11px;flex-shrink:0}.collection-inline.is-tracked{font-weight:650;color:#cffa72}.player-row.tier-A .collection-inline.is-tracked{color:#334a11}.player-album-link{display:flex;align-items:center;gap:10px;justify-content:space-between;width:100%;border:1px solid #67789655;border-radius:10px;padding:12px;background:linear-gradient(105deg,#7093bc0a,#a991d70c);color:var(--text);margin:14px 0;text-align:left}.player-album-link>span{display:grid;grid-template-columns:16px 1fr;gap:4px 8px}.player-album-link>span>.icon{grid-row:span 2;color:#b6cbe7}.player-album-link strong{font-size:12px}.player-album-link small{font-size:10px;color:var(--muted)}.player-album-link>.icon{width:14px;height:14px}.player-portrait.collection-equipped{outline:1px solid var(--collection-color);outline-offset:2px;box-shadow:0 0 13px color-mix(in srgb,var(--collection-color) 30%,transparent);border-radius:8px;background-image:var(--collection-shape),radial-gradient(ellipse at bottom,var(--collection-deep),transparent 85%)}.collection-emblem{display:grid;place-items:center;position:absolute;z-index:3;bottom:0;left:0;width:13px;height:13px;border-radius:3px;background:#0c151f;color:var(--collection-color);box-shadow:0 0 0 1px var(--collection-color)}.collection-emblem>.icon{height:9px;width:9px}.portrait-pitch .collection-emblem{width:9px;height:9px;left:-1px;bottom:-1px}.portrait-pitch .collection-emblem>.icon{height:7px;width:7px}.portrait-detail .collection-emblem{width:18px;height:18px}.portrait-detail .collection-emblem>.icon{height:12px;width:12px}.career-run-unlocks{margin:16px 0 20px;border:1px solid #c9fa5f44;border-radius:12px;background:#c9fa5f06;padding:14px}.career-run-unlocks h2{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--lime);margin-bottom:7px}.career-run-unlocks>button{display:flex;align-items:center;gap:9px;width:100%;padding:10px 0;background:none;color:var(--text);text-align:left}.career-run-unlocks>button>span{flex:1}.career-run-unlocks>button>span>small{display:block;font-size:9px;color:var(--muted);margin-bottom:3px}.career-run-unlocks>button>span>strong{font-size:12px}.career-run-unlocks>button>.icon{width:16px;height:16px;color:var(--muted)}
@media(max-width:540px){.album-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.album-art{height:185px;padding:9px}.portrait-album{height:116px;width:116px}.album-name{padding-left:6px;padding-right:6px}.album-name>strong{font-size:13px}.album-name>small{font-size:8px}.album-meta .role{font-size:8px}.album-progress{padding:9px 9px 0}.album-progress>span:first-child{font-size:9px}.career-heading h3{font-size:20px}.career-heading .eyebrow{font-size:8px}.career-entries>button{padding:9px;font-size:11px}.career-entries>button>.icon{height:15px;width:15px}.career-entries b{font-size:9px}.career-tabs{margin-bottom:18px}.achievement{padding:12px 10px;gap:8px}.achievement-symbol{flex-basis:29px;width:29px}.collection-detail-art .album-art{height:250px}.collection-detail-art .portrait-album{width:173px;height:173px}}

.career-save-warning{font-size:10px;line-height:1.5;color:#e5c77c;text-align:left;margin:0 2px 12px}
.album-original-tier.tier-A{color:#352703}.album-original-tier.tier-B{color:#e3e8ef}

/* Album: unknown portraits, then a layered foil card to inspect. */
.album-card.is-locked{--collection-color:#a4b0c2;--collection-deep:#263346;--collection-shape:repeating-linear-gradient(135deg,transparent 0 18px,#a4b0c20a 19px 20px,transparent 21px 40px)}
.album-silhouette{color:#101924;filter:drop-shadow(0 0 1px #a6bad0) drop-shadow(0 0 13px #8ca9d91c)}
.album-silhouette svg{display:block;width:100%;height:100%;overflow:visible}
.album-card.is-locked .portrait-album{opacity:1;filter:drop-shadow(0 0 1px #a6bad0) drop-shadow(0 0 13px #8ca9d91c)}
.album-locked-label{position:absolute;top:40px;left:10px;z-index:3;display:flex;align-items:center;gap:4px;font-size:8px;letter-spacing:.2px;color:#b7c4d6}
.album-locked-label .icon{width:10px;height:10px}
.collector-stage{display:flex;justify-content:center;align-items:center;padding:25px 24px 28px;perspective:900px;background:radial-gradient(ellipse at center,#7e90c514,transparent 68%)}
.collector-tilt{--tilt-x:0deg;--tilt-y:0deg;--shine-x:50%;--shine-y:50%;position:relative;width:min(260px,100%);aspect-ratio:5/7;perspective:900px;flex:none;outline-offset:9px;border-radius:17px}
.collector-tilt[data-card-tilt]{touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:grab}
.collector-tilt.is-dragging{cursor:grabbing}
.collector-face.album-art{height:100%;width:100%;padding:14px;border:1px solid var(--collection-color);border-radius:17px;overflow:visible;isolation:auto;transform-style:preserve-3d;transform:rotateX(var(--tilt-x)) rotateY(var(--tilt-y));transition:transform .65s cubic-bezier(.2,.75,.2,1),box-shadow .4s;box-shadow:0 23px 32px -17px #000d,0 0 24px color-mix(in srgb,var(--collection-color) 12%,transparent),inset 0 0 0 3px #080e19,inset 0 0 0 4px color-mix(in srgb,var(--collection-color) 25%,transparent)}
.collector-tilt.is-dragging .collector-face{transition:transform 50ms linear;will-change:transform;box-shadow:0 28px 38px -15px #000d,0 0 35px color-mix(in srgb,var(--collection-color) 20%,transparent)}
.collector-face.is-locked{--collection-color:#b3c3da;--collection-deep:#303e56;--collection-shape:repeating-linear-gradient(135deg,transparent 0 18px,#becde412 19px 20px,transparent 21px 40px)}
.collector-face.album-art:after{inset:7px;border-radius:11px;border-color:color-mix(in srgb,var(--collection-color) 50%,transparent);transform:translateZ(2px)}
.collector-face .album-meta{transform:translateZ(18px)}
.collector-face .album-meta .role{font-size:11px;padding:4px 6px}
.collector-face .album-original-tier{font-size:10px;padding:4px 6px}
.collector-face .portrait-album{width:88%;height:69%;bottom:55px;transform:translateX(-50%) translateZ(30px);pointer-events:none}
.collector-face .album-silhouette{width:72%;height:64%;bottom:62px}
.collector-face .album-orbit{z-index:0;width:80%;height:auto;aspect-ratio:1;top:20%;opacity:.4;transform:translateX(-50%) translateZ(6px);box-shadow:0 0 0 9px #a8c8e306,0 0 0 10px #a8c8e312}
.collector-face .album-name{inset:auto 8px 23px;border-radius:0 0 10px 10px;padding:25px 8px 14px;transform:translateZ(36px);pointer-events:none}
.collector-face .album-name strong{font-size:21px;font-weight:800;letter-spacing:-.65px;line-height:1.1;text-shadow:0 2px 8px #0009}
.collector-face .album-name small{font-size:11px;margin-top:7px;letter-spacing:.3px}
.collector-face .album-equipped,.collector-face .album-locked-label{top:49px;left:15px;transform:translateZ(20px);font-size:9px}
.collector-foil,.collector-glare{position:absolute;inset:0;border-radius:17px;pointer-events:none;transform:translateZ(3px)}
.collector-foil{background:repeating-linear-gradient(115deg,#66f3dd28 0%,#9db6ff38 15%,#f6a3ec33 30%,#fff9ae35 45%,#66f3dd28 60%);background-size:240% 240%;background-position:var(--shine-x) var(--shine-y);mix-blend-mode:screen;opacity:.27;transition:opacity .4s}
.collector-glare{background:radial-gradient(ellipse at var(--shine-x) var(--shine-y),#efffff66,transparent 60%);mix-blend-mode:screen;opacity:.16;transition:opacity .4s}
.collector-tilt.is-dragging .collector-foil{opacity:.8}.collector-tilt.is-dragging .collector-glare{opacity:.65}
.collector-edition{position:absolute;bottom:12px;left:0;right:0;font-size:8px;letter-spacing:2px;text-align:center;color:var(--collection-color);transform:translateZ(10px)}
.collector-hint{text-align:center;color:#c4d0df;font-size:12px;margin:0 0 8px}.collector-hint>span{color:var(--muted);font-size:10px}
.collector-preview-label{text-align:center;color:#94a5bc;font-size:10px;margin:0 0 19px}
.collector-stage~.collection-detail-copy{margin-top:18px}
.collector-face.is-unlocked .portrait-album{animation:collector-reveal .8s ease-out both}
.collector-face.is-unlocked .collector-glare{animation:collector-flash 1s ease-out}
@keyframes collector-reveal{from{opacity:0;filter:brightness(2)}to{opacity:1;filter:brightness(1)}}
@keyframes collector-flash{from{opacity:.85}to{opacity:.16}}
@media(pointer:coarse){.collector-hint>span{display:none}}
@media(max-width:380px){.collector-stage{padding:22px 20px 25px}.collector-face .album-name strong{font-size:18px}.collector-face .album-name small{font-size:10px}}
@media(prefers-reduced-motion:reduce){.collector-face.album-art,.collector-foil,.collector-glare{transition:none}.collector-face.is-unlocked .portrait-album,.collector-face.is-unlocked .collector-glare{animation:none}}

/* One primary action; collection and history live in the profile. */
.is-home .main{min-height:100svh;padding:24px 0;align-items:center}
.start-screen{width:min(100%,370px);padding:8px 0}
.start-logo{display:flex;align-items:center;justify-content:center;gap:13px;margin:0 0 26px}
.start-mark{width:58px;height:58px;margin:0;border-radius:16px;font-size:34px;letter-spacing:-4px}
.start-logo h1{font-size:35px}
.start-resume.btn{display:flex;align-items:center;gap:12px;min-height:68px;margin:0 0 22px;padding:13px 16px;text-align:left;border:0;background:var(--lime);color:#14200b;flex-wrap:nowrap}
.start-resume.btn>span{display:block;flex:1;font-size:14px;color:inherit;line-height:1.3}
.start-resume strong,.start-resume small{display:block}.start-resume small{font-size:10px;font-weight:500;opacity:.75;margin-top:4px}
.start-resume>.icon{width:21px;height:21px;flex:none}
.start-new-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.start-new-heading>span{font-size:11px;font-weight:650;color:var(--muted)}
.start-new-heading .variant-control{margin:0;gap:7px;font-size:11px}
.start-new-heading .variant-switch{min-height:32px;width:49px}
.start-actions{grid-template-columns:1fr 1fr;gap:9px}
.start-actions>.btn{font-size:13px;min-height:51px;padding:12px 14px}
.start-actions>.btn>.icon{height:16px;width:16px}
.start-team-settings{text-align:left;margin-top:9px}
.start-team-settings>summary{display:flex;align-items:center;gap:7px;min-height:39px;cursor:pointer;list-style:none;font-size:11px;color:var(--muted)}
.start-team-settings>summary::-webkit-details-marker{display:none}
.start-team-settings>summary>span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.start-team-settings>summary>small{font-size:10px;color:var(--muted)}
.start-team-settings .start-team-name{margin:2px 0 12px}.start-team-name label{font-size:11px}
.start-utilities{margin-top:15px;padding-top:15px;border-top:1px solid var(--line)}
.start-utilities>button:first-child{display:flex;align-items:center;gap:11px;min-height:62px;padding:11px 13px;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:10px;width:100%;text-align:left}
.start-utilities>button:first-child>span{flex:1;font-size:13px;font-weight:650}.start-utilities>button:first-child small{display:block;font-size:10px;font-weight:400;color:var(--muted);margin-top:4px}
.start-utilities>button:first-child>.icon{color:var(--lime)}.start-utilities>button:first-child>.icon:last-child{width:14px;color:var(--muted)}
.start-help{margin-top:5px;font-size:11px}
.start-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:11px;color:var(--faint);font-size:10px}
.start-footer>button{display:flex;align-items:center;gap:3px;min-height:34px;padding:5px 0 5px 12px;color:var(--muted);background:none;font-size:10px}
.start-footer .icon{width:12px;height:12px}
.career-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;margin-bottom:18px}
.career-tabs button{gap:5px;font-size:11px;min-height:45px;padding:5px 3px}.career-tabs button>span>small{display:block;font-size:9px;color:var(--muted);font-weight:400;margin-top:3px}
.profile-heading .eyebrow{font-size:9px}.profile-heading h3{font-size:24px;letter-spacing:-.6px;margin:6px 0}.profile-heading p{font-size:11px;color:var(--muted)}
.profile-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:18px 0 24px}
.profile-stats>div{padding:13px 8px;background:#0d171f;border:1px solid var(--line);border-radius:10px}
.profile-stats strong,.profile-bests strong,.profile-match-stats strong{display:block;color:var(--text);font-size:25px;font-weight:750;line-height:1.1;letter-spacing:-.6px}
.profile-stats>div:nth-child(n+2)>strong{color:var(--lime)}.profile-stats span,.profile-bests span,.profile-match-stats span{display:block;font-size:10px;color:var(--muted);margin-top:6px;line-height:1.4}
.profile-section{border-top:1px solid var(--line);padding:18px 0}
.profile-section-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}.profile-section-head h3{font-size:14px}.profile-section-head>span{font-size:10px;color:var(--muted)}
.profile-finishes>div{display:grid;grid-template-columns:66px 1fr 26px;gap:12px;align-items:center;margin:12px 0;font-size:11px;color:var(--muted)}.profile-finishes b{text-align:right;color:var(--text)}
.profile-finish-track{height:7px;border-radius:8px;background:#28343e;overflow:hidden}.profile-finish-track>span{display:block;height:100%;border-radius:8px;background:#65857b}.profile-finishes>div:nth-child(1) .profile-finish-track>span{background:var(--lime)}.profile-finishes>div:nth-child(2) .profile-finish-track>span{background:#94c472}
.profile-bests{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:19px}.profile-bests strong{font-size:21px}.profile-bests strong>small{font-size:12px;font-weight:400;color:var(--muted)}
.profile-results{display:flex;gap:20px;margin-bottom:16px;font-size:11px;color:var(--muted)}.profile-results b{font-size:16px;color:var(--text)}.profile-results>span:first-child b{color:var(--lime)}
.profile-match-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.profile-match-stats strong{font-size:20px}.profile-match-stats span{font-size:9px}
.profile-filters{display:flex;gap:4px;margin-bottom:10px}.profile-filters button{flex:1;min-height:36px;font-size:10px;color:var(--muted);background:#0d171f;border:1px solid var(--line);border-radius:7px}.profile-filters button[aria-pressed=true]{color:var(--lime);border-color:#c5f45a66;background:#c5f45a09}
.profile-leaders{padding:0;margin:0;list-style:none}.profile-leaders li{display:flex;align-items:center;gap:8px;padding:11px 0;border-bottom:1px solid #29354077}.profile-leaders li:last-child{border-bottom:0}.profile-rank{flex:0 0 12px;font-size:10px;color:var(--faint)}.profile-leaders .player-portrait{width:40px;height:43px;flex:0 0 40px}.profile-player-name{flex:1;min-width:0}.profile-player-name strong{font-size:12px;display:block}.profile-player-name small{display:block;font-size:9px;color:var(--muted);margin-top:4px;line-height:1.6}.profile-leaders li>b{text-align:right;font-size:20px;color:var(--lime)}.profile-leaders li>b>small{display:block;font-size:8px;font-weight:400;color:var(--muted);margin-top:3px}
.profile-empty{font-size:12px;color:var(--muted);line-height:1.7;padding:8px 0}
.profile-history{display:flex;align-items:center;gap:8px;width:100%;padding:13px 11px;min-height:44px;border:1px solid var(--line);border-radius:9px;color:var(--text);background:#17232d;font-size:12px}.profile-history>.icon:last-child{margin-left:auto}
.profile-data-note{margin-top:18px;font-size:10px;color:var(--muted);line-height:1.7}.profile-data-note summary{cursor:pointer;min-height:34px;padding-top:7px}.profile-data-note p{margin-top:9px}
@media(max-width:540px){.profile-stats{grid-template-columns:1fr 1fr;gap:7px}.profile-stats>div{padding:12px}.career-tabs button{font-size:10px;gap:4px}.career-tabs .icon{width:13px;height:13px}}
@media(max-width:360px){.start-screen{width:100%}.start-actions>.btn{font-size:12px;padding:12px}.start-logo{margin-bottom:22px}.profile-leaders .player-portrait{width:33px;height:36px;flex-basis:33px}}
.profile-back{display:flex;align-items:center;gap:5px;min-height:40px;padding:5px 0 13px;background:none;color:var(--muted);font-size:11px}.profile-back .icon{transform:rotate(180deg)}
.profile-cheats{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;margin:12px auto 0;padding:9px 12px;background:none;color:var(--muted);font-size:12px;text-decoration:underline;text-underline-offset:3px}
.profile-cheats:hover{color:var(--lime)}
.cheat-form{margin:20px 0}.cheat-form label{display:block;margin-bottom:8px;font-size:12px;font-weight:650}
.cheat-form input{display:block;box-sizing:border-box;width:100%;min-height:48px;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);font:inherit;font-size:16px}
.cheat-form input:focus-visible{outline:2px solid var(--lime);outline-offset:2px}.cheat-form input[aria-invalid=true]{border-color:#ffaaa4}
.cheat-feedback{min-height:18px;margin-top:8px;font-size:12px;line-height:1.5;color:#ffaaa4;overflow-wrap:anywhere}
.cheat-result{text-align:center;padding:18px 0}.cheat-result>.icon{display:block;width:36px;height:36px;color:var(--lime);margin:0 auto 12px}.cheat-result h3{font-size:21px;line-height:1.35;overflow-wrap:anywhere}.cheat-result p{margin-top:12px;font-size:13px;line-height:1.6;color:var(--muted)}

/* Release 33: outcome and actual gains stay readable without changing layout. */
.score-number,.match-score-center .score-number{display:inline;font:inherit;letter-spacing:inherit;color:var(--text)}
.bonus-change{display:inline-flex;align-items:center;justify-content:flex-end;gap:5px;white-space:nowrap;color:var(--text)}
.bonus-change>.icon{flex-shrink:0;width:12px;height:12px;color:var(--muted)}
.bonus-change-delta{font-size:11px;font-weight:700;margin-right:3px}
.bonus-preview .value-rise{color:var(--lime)}
.bonus-preview .value-fall{color:var(--red)}
.bonus-player-ovr{flex-basis:auto;flex-shrink:0;flex-wrap:nowrap}
.bonus-player-effects>div{grid-template-columns:minmax(0,1fr) auto}
.bonus-player-effects>div>strong{justify-self:end}
@media(max-width:540px){.bonus-player-ovr{flex-basis:auto;font-size:17px}.bonus-player-ovr .bonus-change{gap:3px}.bonus-player-ovr .bonus-change-delta{font-size:10px;margin-right:2px}.bonus-player-effects>div{grid-template-columns:minmax(0,1fr) auto}}

/* Final outcomes: left edge only in the list; the dialog keeps a neutral frame. */
.result-w,[data-surface="match"][data-outcome="w"]{--outcome-edge:var(--lime);--outcome-tint:#c8fa6417}
.result-l,[data-surface="match"][data-outcome="l"]{--outcome-edge:var(--red);--outcome-tint:#ff8a9017}
.result-d,[data-surface="match"][data-outcome="d"]{--outcome-edge:#8997a5;--outcome-tint:#8997a50b}
.result-row{border-left:3px solid var(--outcome-edge,transparent);background:linear-gradient(100deg,var(--outcome-tint,transparent),transparent 78%)}
.result-row:hover{background:linear-gradient(100deg,var(--outcome-tint,transparent),#ffffff03 78%)}
dialog[data-surface="match"][data-outcome]{background:linear-gradient(105deg,var(--outcome-tint,transparent),transparent 65%),var(--surface)}
dialog[data-surface="match"]>.modal-head,dialog[data-surface="match"]>.modal-actions{background:transparent}

.match-score-center .match-outcome-label{color:var(--outcome-edge,var(--text));font-size:10px;font-weight:700;letter-spacing:.7px;margin-top:3px}

.result-d .result-symbol{color:#aab6c1;background:#8997a51a}
/* Action photos are separate from the familiar compact squad portraits. */
.album-action{width:96%;height:70%;bottom:26px;overflow:hidden;mask-image:linear-gradient(#000 0 84%,transparent 100%)}
.album-action img{object-fit:cover;object-position:var(--action-x,50%) top;transform:scale(var(--action-scale,1));transform-origin:center top}
.album-name{z-index:3}
.collector-face .album-action{width:100%;height:79%;bottom:33px;overflow:hidden;transform:translateX(-50%) translateZ(30px)}
.collector-face .album-action img{object-position:var(--action-x,50%) top}

/* Ambient rays and drifting sparks stay behind the unlocked player's PNG. */
.card-energy{position:absolute;inset:1px;border-radius:inherit;overflow:hidden;pointer-events:none;z-index:0;contain:paint}
.card-energy:before,.card-energy:after{content:'';position:absolute;pointer-events:none}
.card-energy:before{inset:-65%;background:repeating-conic-gradient(from 12deg,transparent 0 28deg,color-mix(in srgb,var(--collection-color) 38%,transparent) 30deg,transparent 40deg 65deg);opacity:.55;animation:card-rays-orbit 24s linear infinite;transform-origin:50% 58%}
.card-energy:after{inset:-40% 0;background:radial-gradient(circle at 18% 24%,#fff 0 1px,transparent 2px),radial-gradient(circle at 72% 48%,var(--collection-color) 0 1.5px,transparent 3px),radial-gradient(circle at 38% 73%,#fff 0 1px,transparent 2px),radial-gradient(circle at 83% 92%,var(--collection-color) 0 1px,transparent 2px);background-size:100% 60%;opacity:.7;animation:card-sparks-rise 9s linear infinite}
.album-art .portrait-album{z-index:1}.collection-equipped>.portrait-fallback{z-index:1}.collection-equipped>.collection-card-label,.collection-equipped>.collection-emblem{z-index:3}
.collector-face>.card-energy{transform:translateZ(1px);border-radius:16px}
@keyframes card-rays-orbit{to{transform:rotate(360deg)}}
@keyframes card-sparks-rise{from{transform:translateY(15%)}to{transform:translateY(-25%)}}
@media(prefers-reduced-motion:reduce){.card-energy:before,.card-energy:after{animation:none}.card-energy:before{opacity:.25}}
.match-highlights{display:flex;flex-direction:column;gap:3px;margin-top:5px;font-size:10px;line-height:1.4;color:var(--muted);font-weight:500;white-space:normal;overflow-wrap:anywhere}
.match-highlights b{color:var(--text);font-weight:650}.match-highlights-detail{padding:11px 13px;margin:0 0 17px;border:1px solid var(--line);border-radius:10px;background:#ffffff03;font-size:12px;gap:6px}


.save-transfer-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:8px}
.save-transfer-actions>button{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:42px;padding:8px 10px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--text);font-size:10px;line-height:1.35}
.save-transfer-actions>button:hover{border-color:#cbfa5f66}
.save-transfer-actions .icon{width:15px;height:15px;color:var(--lime);flex:none}
.save-transfer-label{display:block;margin:15px 0 7px;color:var(--muted);font-size:11px;font-weight:650}
.save-transfer-text{display:block;width:100%;min-height:220px;max-height:50dvh;resize:vertical;overflow:auto;white-space:pre;background:var(--surface2);border:1px solid var(--line);border-radius:10px;color:var(--text);padding:12px;font:11px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace}
.save-transfer-text:focus{outline:2px solid var(--lime);outline-offset:2px}
@media(max-width:540px){.save-transfer-actions>button{gap:5px;padding:8px 5px;font-size:9px}.save-transfer-text{min-height:180px}}


/* Mobile usability: retain compact cards, give their controls reliable touch targets. */
dialog>.modal-head{flex-wrap:wrap}
.modal-feedback{flex:0 0 100%;margin:0;padding:10px 12px;border:1px solid #cbfa5f50;border-radius:9px;background:#243329;color:#e6efde;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.modal-feedback.error{background:#382427;border-color:#ff8a9050;color:#ffb8bc}
@media(max-width:800px){
  .topbar .brand{min-height:44px}
  .icon-button{min-width:44px;min-height:44px}
  .mobile-tabs button,.compact-toolbar .filter,.compact-spin .spin-actions .btn,.compare-roster-button,.profile-filters button,.album-filters button,.link-button,.start-team-settings>summary,.start-footer>button,.save-transfer-actions>button,.selection-actions>button,.auto-xi{min-height:44px}
  .compact-toolbar{flex-wrap:wrap;gap:6px}
  .compact-toolbar .filters{flex-wrap:wrap;min-width:0}
  .compact-toolbar .filter{min-width:44px;font-size:12px}
  .row-detail{flex-basis:44px;min-width:44px}
  .row-detail .icon{width:18px;height:18px}
  .compact-team .team-head{flex-wrap:wrap;gap:8px}
  .compact-team .team-head h2{white-space:normal;overflow-wrap:anywhere;min-width:0}
  .compact-team .team-tools{margin-left:auto;flex-shrink:0}
  .compact-team .team-tools select{height:44px;max-width:145px;font-size:16px}
  .start-new-heading .variant-switch{min-height:44px}
  .save-transfer-actions>button{font-size:12px}
  .save-transfer-text{font-size:16px}
  .profile-filters button,.album-filters button{font-size:12px}
  .row-title>strong{font-size:13px}
}

/* Pitch cosmetics own only the interior; the immutable cap tier owns the frame. */
.player-portrait.portrait-pitch.collection-equipped{border:0;outline:0;border-radius:0;box-shadow:none;background:transparent;isolation:isolate;overflow:hidden}
.compact-team .pitch-player[class*="tier-"]{position:relative;isolation:isolate;overflow:hidden;border:1px solid var(--tier-edge)}
.pitch-player.pitch-cosmetic[class*="tier-"]{--text:#f0f4f7;--muted:#bac2cc;--collection-color:#c4d0e0;--tier-sheen:#ffffff12;--pitch-bg:#15171c;--pitch-texture:none;--pitch-surface:radial-gradient(ellipse at 50% 25%,#31353e80,transparent 65%),linear-gradient(150deg,#202329,#101216);background-color:var(--pitch-bg);background-image:var(--pitch-surface)}
.pitch-player.pitch-wonderkids[class*="tier-"]{--collection-color:#f2a3bc;--pitch-bg:#410c21;--pitch-surface:radial-gradient(ellipse at 50% 25%,#8d204680,transparent 65%),linear-gradient(150deg,#57122c,#280b18)}
.pitch-cosmetic>.card-energy{inset:2px;opacity:.45;z-index:0}
.pitch-cosmetic>.card-energy:before{opacity:.35}
.pitch-cosmetic>.card-energy:after{opacity:.5}
.pitch-cosmetic>.pitch-person,.pitch-cosmetic>.pitch-name,.pitch-cosmetic>.pitch-fit{position:relative;z-index:1}
.compact-team .pitch-player.pitch-cosmetic .pitch-fit{color:#d1dae5}
/* A destination is marked inside the card, never with an overlapping green frame. */
.compact-team .pitch-player[class*="tier-"].can-drop,.compact-team .pitch-player[class*="tier-"].selected,.compact-team .pitch-player[class*="tier-"].drop-over{border-color:var(--tier-edge);outline:none;box-shadow:inset 0 1px 0 var(--tier-sheen),0 2px 4px #0002}
.compact-team .pitch-player[class*="tier-"].can-drop .pitch-name{background:#243c50;color:#f0f4f7;text-decoration:underline;text-underline-offset:2px}
.compact-team .pitch-player[class*="tier-"].selected .pitch-name,.compact-team .pitch-player[class*="tier-"].drop-over .pitch-name{background:#e2ebf6;color:#101b2b}
.compact-team .pitch-player[class*="tier-"].cannot-drop,.compact-team .pitch-player[class*="tier-"]:disabled{opacity:1}
.compact-team .pitch-player[class*="tier-"].cannot-drop:not(.selected)>:not(.card-energy),.compact-team .pitch-player[class*="tier-"]:disabled>:not(.card-energy){opacity:.6}
.compact-team .pitch-player[class*="tier-"]:focus-visible{outline:2px solid #e2ebf6;outline-offset:2px}
@media(prefers-reduced-motion:reduce){.pitch-cosmetic>.card-energy:before,.pitch-cosmetic>.card-energy:after{animation:none}.pitch-cosmetic>.card-energy:before{opacity:.2}}

.pitch-player.drag-ghost[class*="tier-"]{height:74px!important;padding:6px!important;isolation:isolate;overflow:hidden;border-color:var(--tier-edge)!important;outline:none;background-color:var(--pitch-bg,var(--tier-bg))!important;background-image:var(--pitch-texture,var(--tier-texture)),var(--pitch-surface,var(--tier-surface))!important}
.compact-team .pitch-player.drag-source>.pitch-person,.compact-team .pitch-player.drag-source>.pitch-name{opacity:.6}

/* Bench destinations keep their cap frame throughout the same swap interaction. */
.compact-team .bench-player[class*="tier-"]:is(.can-drop,.selected,.drop-over){border:1px solid var(--tier-edge);outline:none;background-color:var(--tier-bg);background-image:var(--tier-texture),var(--tier-surface);box-shadow:inset 0 1px 0 var(--tier-sheen),0 2px 4px #0002}
.compact-team .bench-player[class*="tier-"].can-drop .bench-name{text-decoration:underline;text-underline-offset:2px}
.compact-team .bench-player[class*="tier-"]:is(.selected,.drop-over) .bench-name{background:#e2ebf6;color:#101b2b;border-radius:3px}
.compact-team .bench-player[class*="tier-"]:is(.cannot-drop,:disabled,.drag-source){opacity:1}
.compact-team .bench-player[class*="tier-"]:is(.cannot-drop,:disabled,.drag-source)>*{opacity:.6}
.compact-team .bench-player[class*="tier-"]:focus-visible{outline:2px solid #e2ebf6;outline-offset:2px}
.bench-player.drag-ghost[class*="tier-"]{border-color:var(--tier-edge)!important;outline:none;background-color:var(--tier-bg)!important;background-image:var(--tier-texture),var(--tier-surface)!important}

/* Old-origin handoff: reading and copying saves never starts a game. */
.moved-page{width:min(100% - 40px,480px);margin:0 auto;padding:28px 0 30px;color:var(--text)}
.moved-brand{display:flex;align-items:center;justify-content:center;gap:9px;font-size:12px;font-weight:800;letter-spacing:1.2px}
.moved-mark{display:grid;place-items:center;width:29px;height:29px;background:var(--lime);color:var(--bg);border-radius:8px;font-size:17px;letter-spacing:-1px;font-style:italic}
.moved-illustration{width:210px;margin:26px auto 6px;transform:rotate(-2deg)}
.moved-illustration svg{display:block;width:100%;height:auto}
.moved-eyebrow{text-align:center;color:var(--lime);font-size:10px;font-weight:750;letter-spacing:2px;margin:12px 0}
.moved-page h1{text-align:center;font-size:clamp(44px,10vw,62px);line-height:.99;letter-spacing:-2.6px;margin:0;font-weight:850}
.moved-page h1 span{color:var(--lime)}
.moved-intro{text-align:center;color:var(--muted);font-size:15px;line-height:1.5;margin:16px 0 24px}
.moved-link{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:56px;padding:15px 21px;border-radius:13px;background:var(--lime);color:var(--bg);font-size:17px;font-weight:800;text-decoration:none;box-shadow:0 8px 34px #cbfa5f10}
.moved-link:hover{background:#dcff8f}
.moved-link span{font-size:23px;line-height:1}
.moved-transfer{margin:24px 0 0;padding:22px;border:1px solid var(--line);border-radius:17px;background:linear-gradient(145deg,#17212a,#101820)}
.moved-transfer h2{margin:0 0 9px;font-size:18px;line-height:1.3;letter-spacing:-.4px}
.moved-transfer>p{color:var(--muted);font-size:13px;line-height:1.65;margin:0 0 17px}
.moved-transfer strong{color:#d9e2e8;font-weight:600}
.moved-transfer label{display:block;color:var(--muted);font-size:11px;font-weight:600;margin:0 0 7px}
.moved-transfer textarea{display:block;width:100%;min-height:105px;max-height:260px;resize:vertical;background:#0a1118;color:#a5b4c1;border:1px solid #334351;border-radius:9px;padding:11px;font:11px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere;word-break:break-all}
#moved-copy{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:46px;margin:12px 0 0;padding:12px 14px;border:1px solid #526247;border-radius:9px;background:#cbfa5f0d;color:#d6edb2;font-size:13px;font-weight:700;cursor:pointer}
#moved-copy:hover{background:#cbfa5f19;border-color:var(--lime)}
#moved-copy:disabled{opacity:.5;cursor:wait}
.moved-page .moved-note{font-size:11px;line-height:1.6;color:var(--muted);margin:11px 0 0}
.moved-page .moved-status{font-size:13px;line-height:1.6;color:var(--lime);margin:13px 0 0}
.moved-status:empty{display:none}
.moved-retry{min-height:44px;margin-top:10px;padding:10px 0;color:var(--text);background:none;text-decoration:underline;font-size:12px;cursor:pointer}
.moved-page [hidden]{display:none!important}
.moved-page :is(a,button,textarea):focus-visible{outline:3px solid var(--lime);outline-offset:4px}
.moved-footer{text-align:center;font-size:11px;line-height:1.7;color:var(--muted);margin:22px 8px 0}
@media(min-width:700px){.moved-page{padding-top:38px}.moved-illustration{margin-top:30px}}
@media(max-width:360px){.moved-page{width:calc(100% - 32px);padding-top:20px}.moved-illustration{width:170px;margin-top:19px}.moved-transfer{padding:18px}.moved-link{font-size:16px}.moved-page h1{letter-spacing:-2px}}

/* Optional account controls live outside the game render tree. */
.cloud-bar{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;padding:8px 14px;background:#11261f;border-bottom:1px solid #335346;color:#d7e9df;font-size:12px;position:relative;z-index:5}
.cloud-bar .btn{min-height:34px;padding:7px 12px;font-size:12px}
.cloud-dialog{width:min(580px,calc(100vw - 24px));max-height:88dvh;overflow:auto;border:1px solid #426a56;border-radius:18px;background:#10231c;color:#e6f1e9;padding:24px}
.cloud-dialog::backdrop{background:#000b}.cloud-dialog h2{margin-bottom:14px}.cloud-dialog p{line-height:1.55;margin:12px 0}.cloud-dialog .btn{margin:5px 6px 5px 0;white-space:normal}.cloud-dialog a{color:#c6f46c}.cloud-note{font-size:12px;opacity:.8}.cloud-comparison{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cloud-comparison section{padding:12px;background:#ffffff07;border-radius:12px}.cloud-comparison h3{font-size:14px}.cloud-comparison p{font-size:13px}[data-cloud-error]{color:#ffb0a8}
@media(max-width:420px){.cloud-comparison{grid-template-columns:1fr}.cloud-dialog{padding:18px}.cloud-bar>span{flex-basis:100%;text-align:center}}
