/* LHF Match Centre — accessible football UI, desktop and mobile */
body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;-webkit-font-smoothing:antialiased}button,input,select,textarea{font-family:inherit}button{touch-action:manipulation}button svg{pointer-events:none}.sport-icon{width:21px;height:21px;flex-shrink:0;vertical-align:middle}.sport-button{display:inline-flex!important;align-items:center;justify-content:center;gap:8px}.sport-button .sport-icon{width:18px;height:18px}.sport-eyebrow{display:block;font-size:10px;font-weight:800;letter-spacing:1.7px;color:#198569;text-transform:uppercase}.sport-hint{font-size:12px;color:#6f818d;line-height:1.6}.sport-empty{padding:24px;text-align:center;background:#f5f8fa;border:1px dashed #ccd9df;border-radius:12px;color:#667c89;font-size:13px}.sport-crest{height:var(--crest-size,30px);width:var(--crest-size,30px);min-width:var(--crest-size,30px);display:inline-grid;place-items:center;vertical-align:middle;flex:none}.sport-crest img{width:100%;height:100%;object-fit:contain}.sport-crest.fallback{border-radius:10px;background:#e9f0f3;color:#66818f}.sport-crest .sport-icon{width:65%;height:65%}.sport-club{display:inline-flex;align-items:center;gap:10px;font-weight:650;line-height:1.4}.sport-pill{display:inline-flex;align-items:center;gap:5px;line-height:1.4;max-width:100%;border:1px solid #dbe5e9;border-radius:7px;padding:5px 8px;font-size:10px;font-weight:750;background:#f1f5f7;color:#52707f;white-space:normal}.sport-pill .sport-icon{width:14px;height:14px}.sport-pill.green{background:#e7f7ee;border-color:#c9e8d7;color:#127551}.sport-pill.red{background:#fff0f1;border-color:#f3d1d6;color:#b52d46}.sport-pill.amber,.sport-pill.gold{background:#fff5d8;border-color:#eedfb0;color:#91680a}.sport-person{display:inline-flex;gap:10px;align-items:center}.sport-avatar{display:inline-grid;place-items:center;flex:none;width:33px;height:33px;background:#e7f1f0;border-radius:9px;color:#2c7666;font-size:11px;font-weight:800}.sport-search{position:relative;display:flex!important;align-items:center;gap:10px;border:1px solid #dce5eb;border-radius:10px;background:white;padding:0 12px;min-width:180px;margin:0!important}.sport-search .sport-icon{width:18px;color:#8a9ba7}.sport-search input{border:0!important;min-width:0;width:100%;box-shadow:none!important;margin:0!important;background:none!important}.sport-segments{display:flex;gap:5px;flex-wrap:wrap;margin:15px 0}.sport-segments button{font-size:11px!important;min-height:37px!important;border:1px solid #dbe6e9!important;color:#69828d!important;background:#fff!important;border-radius:9px!important;padding:8px 12px!important;width:auto!important}.sport-segments button[aria-pressed=true]{border-color:#0c7d64!important;background:#e5f3ec!important;color:#126852!important}.sport-warning{background:#fff6dc;border:1px solid #ecd89d;border-radius:10px;color:#85600d;padding:13px;font-size:12px;line-height:1.6}.sport-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.sport-stat{display:grid;grid-template-columns:35px 1fr;gap:3px 9px;padding:15px;border:1px solid #e1e9ec;border-radius:12px;background:#fff}.sport-stat>.sport-icon{grid-row:span 2;align-self:center;width:25px;height:25px;color:#4a7b85}.sport-stat>strong{font-size:23px;line-height:1.1;color:#173a4a}.sport-stat>span{font-size:10px;color:#738b97}.sport-stat.amber{background:#fffaf0}.sport-stat.red{background:#fff7f8}.sport-stat.green{background:#f1faf5}.sport-section-head{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;margin-bottom:18px}.sport-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0}.sport-tools .sport-search{flex:1}.sport-tools select{width:auto;max-width:100%}.sport-section-title{display:flex;align-items:center;gap:9px}.sport-section-title>.sport-icon{color:#168168}
/* Match identity, consistent across compositions, events and reports */
#competitionPage .sport-match-hero{border:1px solid #244b5a!important;background:#102d40!important;color:#fff;padding:26px!important;margin:18px 0;border-radius:19px!important}.sport-match-label{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#b2ced8;font-size:11px}.sport-match-label .sport-pill{background:#ffffff0d;border-color:#ffffff23;color:#cce4e9}.sport-match-teams{display:grid;grid-template-columns:minmax(0,1fr) 100px minmax(0,1fr);gap:22px;align-items:center;padding:24px 0}.sport-match-side{display:flex;gap:15px;align-items:center;min-width:0}.sport-match-side.away{flex-direction:row-reverse;text-align:right}.sport-match-side strong{font-size:17px;line-height:1.4;letter-spacing:-.4px}.sport-match-side .sport-crest{padding:7px;background:#ffffff09;border-radius:15px;width:66px;height:70px;min-width:66px}.sport-match-score{text-align:center;font-weight:850;font-size:32px;white-space:nowrap;color:#c1f379;letter-spacing:1px}.sport-match-score small{display:block;font-size:9px;color:#a7c0ca;letter-spacing:1.5px;margin-top:6px;text-transform:uppercase}.sport-match-meta{display:flex;justify-content:center;gap:22px;flex-wrap:wrap;border-top:1px solid #ffffff15;padding-top:15px;color:#bbd1da;font-size:11px}.sport-match-meta>span{display:inline-flex;align-items:center;gap:7px}.sport-match-meta .sport-icon{width:15px;height:15px}.sport-match-hero .ms-countdown{font-size:11px!important;text-align:center;margin:16px 0 0!important;color:#b9dfd1!important}
/* Team sheets */
.lineup-workspace{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.lineup-workspace.single-team{grid-template-columns:1fr}.lineup-workspace.single-team .sport-lineup{max-width:100%}#competitionPage .sport-lineup{padding:20px!important;margin:0!important;min-width:0;overflow:hidden}.sport-lineup>h2:first-child{display:none!important}.lineup-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-bottom:17px;border-bottom:1px solid #e6edf0}.lineup-identity{display:flex;align-items:center;gap:12px;min-width:0}.lineup-identity h2{font-size:16px;line-height:1.45;letter-spacing:-.3px;margin:5px 0 0!important;color:#173b4c}.lineup-identity .sport-eyebrow{font-size:8px;letter-spacing:1.5px}.lineup-heading>.sport-pill{font-size:9px}.lineup-counts{display:flex;gap:6px;margin:15px 0;flex-wrap:wrap}.lineup-pitch{position:relative;isolation:isolate;min-height:330px;background:repeating-linear-gradient(0deg,#176958 0,#176958 65px,#1a705e 65px,#1a705e 130px);border:7px solid #135647;border-radius:13px;padding:24px 9px 15px;color:white;overflow:hidden}.lineup-pitch:before{content:'';position:absolute;inset:12px;border:1px solid #ffffff30;border-radius:2px;z-index:-1}.lineup-pitch:after{content:'';position:absolute;left:12px;right:12px;top:50%;height:1px;background:#ffffff24;z-index:-1}.pitch-circle{position:absolute;left:50%;top:50%;width:100px;height:100px;border:1px solid #ffffff24;border-radius:50%;transform:translate(-50%,-50%);z-index:-1}.lineup-starters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px 7px;position:relative}.lineup-keepers{display:flex;justify-content:center;margin-top:22px}.lineup-keepers .lineup-player{width:42%}.lineup-player{position:relative;display:flex;align-items:center;flex-direction:column;gap:5px;text-align:center;min-width:0}.lineup-shirt{position:relative;width:45px;height:45px;color:#fff;filter:drop-shadow(0 3px 2px #00000024)}.lineup-shirt .sport-icon{width:45px;height:45px;stroke:#d5e7e2;fill:#f4faf7;stroke-width:.9}.lineup-shirt strong{position:absolute;inset:8px 0 0;display:grid;place-items:center;color:#164b42;font-size:16px;font-weight:850}.lineup-shirt.keeper .sport-icon{fill:#f1c34a;stroke:#c29120}.lineup-shirt.keeper strong{color:#493b13}.lineup-pitch .lineup-player>strong{font-size:9px;line-height:1.35;font-weight:650;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#fff;max-width:100%;padding:0 2px}.lineup-player-badges{display:flex;gap:3px;min-height:17px}.lineup-player-badges .sport-pill{font-size:8px;padding:1px 5px;border-radius:4px;line-height:1.4}.lineup-caption{font-size:9px!important;color:#8a9ba3!important;text-align:center;line-height:1.5}.lineup-empty{grid-column:1/-1;padding:90px 15px;color:#d8eee4;font-size:12px;text-align:center}.lineup-bench{padding-top:12px}.lineup-bench h3,.lineup-list h3{font-size:12px;color:#5c7784;display:flex;align-items:center;gap:7px;margin:15px 0}.lineup-bench-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.lineup-bench-grid>.lineup-player,.lineup-list>.lineup-player{flex-direction:row;text-align:left;background:#f5f8fa;border:1px solid #e5ecf0;border-radius:9px;padding:9px;gap:9px;align-items:center}.lineup-bench-grid .lineup-shirt,.lineup-list .lineup-shirt{width:29px;height:29px;flex:none;filter:none}.lineup-bench-grid .lineup-shirt .sport-icon,.lineup-list .lineup-shirt .sport-icon{width:29px;height:29px;stroke:#bdd2d3;fill:#e3efec}.lineup-bench-grid .lineup-shirt strong,.lineup-list .lineup-shirt strong{font-size:10px;inset:6px 0 0}.lineup-bench-grid .lineup-player>strong,.lineup-list .lineup-player>strong{font-size:10px;line-height:1.5;flex:1}.lineup-bench-grid .lineup-player-badges,.lineup-list .lineup-player-badges{min-height:0}.lineup-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.lineup-list h3{grid-column:1/-1}.lineup-editor{margin-top:20px;padding-top:18px;border-top:1px solid #e6edf0}.lineup-editor>h3{font-size:14px;margin:0}.lineup-editor-row{display:grid;grid-template-columns:30px minmax(140px,1fr) 110px;gap:10px;align-items:end;background:#f7fafb;border:1px solid #e0e8ec;border-radius:11px;padding:13px;margin-top:10px}.lineup-row-number{display:grid;place-items:center;width:29px;height:36px;border-radius:8px;background:#e2efea;color:#187255;font-size:12px;font-weight:800}.lineup-editor-row label{margin:0!important;font-size:10px!important;color:#6d838d!important}.lineup-editor-row select{width:100%;font-size:11px!important;padding:8px!important;min-height:39px!important}.lineup-flags{grid-column:2;display:flex;gap:12px;align-items:center}.lineup-flags label{display:flex!important;gap:5px;align-items:center;white-space:nowrap}.lineup-flags input{width:15px!important;height:15px;min-height:0!important;accent-color:#168165;margin:0}.lineup-remove{grid-column:3;min-height:32px!important;font-size:10px!important;color:#9f5260!important;padding:5px!important;background:none!important;border:0!important}.lineup-remove .sport-icon{width:14px;height:14px}.sport-lineup>.ms-meta{font-size:10px!important;margin-top:16px}.sport-lineup>.ms-actions{position:sticky;bottom:8px;background:#ffffffed;box-shadow:0 -5px 15px #13374807;border:1px solid #e2e9ed;padding:10px;border-radius:12px;z-index:1}.sport-lineup>.ms-actions button{flex:1;font-size:10px!important;padding:9px!important;min-width:100px}
/* Match events */
.event-composer{background:#f5f9fa;border:1px solid #e0e9ed;border-radius:14px;padding:18px;margin:18px 0 25px}.event-quick{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin-bottom:20px}.event-quick button{display:flex;flex-direction:column;align-items:center;gap:9px;background:white!important;border:1px solid #dce6eb!important;border-radius:10px!important;min-height:79px!important;padding:13px 6px!important;font-size:10px!important;color:#4f6c7a!important;box-shadow:none!important}.event-quick button svg{width:26px;height:26px}.event-quick button[aria-pressed=true]{border-color:#138768!important;background:#e5f5ed!important;box-shadow:inset 0 0 0 1px #138768!important;color:#116b52!important}.event-timeline{position:relative;margin-top:15px}.event-timeline:before{content:'';position:absolute;left:60px;top:12px;bottom:12px;width:1px;background:#dce6eb}.event-item{display:grid;grid-template-columns:42px 37px minmax(0,1fr) auto;gap:10px;align-items:start;padding:17px 0;border-bottom:1px solid #edf2f5;position:relative}.event-minute{padding-top:7px;font-size:12px;font-weight:850;color:#668393;text-align:center}.event-symbol{display:grid;place-items:center;width:37px;height:37px;border-radius:11px;background:#f0f5f7;position:relative;border:4px solid white}.event-symbol.goal{color:#15845c;background:#e9f7f0}.event-symbol.substitution{color:#32749c;background:#edf5fd}.event-copy>strong{display:block;color:#173c4e;font-size:13px;margin:5px 0}.event-copy .sport-club{font-size:10px;font-weight:500;color:#748c99}.event-copy .sport-crest{width:19px;height:19px;min-width:19px}.event-copy>small{display:block;color:#8b9fa8;font-size:10px;line-height:1.7}.event-copy .event-player{display:block;font-size:12px;margin:7px 0;color:#3a5c6e}.event-copy .event-player .in{color:#168364}.event-copy .event-player .out{color:#bf4050}.event-item.voided{opacity:.5}.event-item.voided .event-copy>strong{text-decoration:line-through}.event-item>button{font-size:10px!important;min-height:33px!important;padding:7px!important;max-width:140px}
/* Tables, officials, discipline and reports */
#competitionPage .ms-table td:last-child{font-weight:inherit;color:inherit}.sport-table td{vertical-align:middle!important}.sport-table .sport-club{min-width:130px}.sport-table td.points{font-size:17px;font-weight:850!important;color:#0d785b!important;background:#eff9f3}.sport-rank{display:grid;place-items:center;width:28px;height:28px;background:#f0f4f7;border-radius:8px;font-weight:750;color:#5c7d8c}.sport-rank.leader{background:#fff1c8;color:#916d12}.sport-table tbody tr:hover{background:#f2f8f5}.discipline-meta{display:flex;gap:7px;align-items:center;flex-wrap:wrap;font-size:12px}.discipline-count{display:inline-flex;gap:8px;align-items:center;font-size:18px;font-weight:850}.discipline-count .sport-icon{width:23px;height:23px}.official-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:15px}.official-card{border:1px solid #dfe8ee;border-radius:14px;padding:18px;background:white;display:flex;flex-direction:column;gap:12px;min-width:0}.official-card .official-identity{display:flex;gap:10px;align-items:center}.official-card h3{font-size:13px;line-height:1.5;margin:0;color:#23495a}.official-card .official-identity .sport-avatar{width:38px;height:38px}.official-card p{font-size:11px;color:#8297a3;margin:0}.official-card .official-tags{display:flex;flex-wrap:wrap;gap:5px}.official-card button{margin-top:auto;align-self:start;min-height:35px!important;font-size:11px!important;width:auto!important}.official-role-icon{width:35px;height:35px;background:#e9f3ef;color:#2b8369;display:grid;place-items:center;border-radius:10px}.report-downloads{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.report-downloads button{font-size:11px!important;max-width:100%}.report-audit{max-height:380px;overflow:auto}.report-audit details{padding:13px 7px;border-bottom:1px solid #e7edf0;font-size:11px}.report-audit summary{line-height:1.6;cursor:pointer;color:#5e7e8d}.report-audit pre{background:#f4f7f9;padding:12px;border-radius:8px}.report-audit-toolbar{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:12px}.report-audit-toolbar button{min-height:32px!important;font-size:10px!important}.report-audit details[hidden]{display:none!important}
/* Administration and archives share the same visual language */
#appShell .app-page:not(#competitionPage):not(#clubWorkspace) .module-head{padding:24px 26px;border-radius:17px;background:#f2f7f8;border:1px solid #e2ebee;margin-bottom:22px}#appShell .module-head h1{font-size:28px;letter-spacing:-.8px}#userAdmin .admin-head{padding:22px 0}#userAdmin .users-tabs{gap:6px;padding:10px;background:#f0f5f7;border-radius:13px;margin:14px 0}#userAdmin .users-tab{border:0;border-radius:9px;min-height:42px;font-size:12px}#userAdmin .users-tab.active{background:#15394d;color:white}#userAdmin .admin-grid{border-radius:12px;border:1px solid #dce6eb;overflow:auto}#userAdmin table{font-size:12px}#userAdmin th{font-size:10px;background:#f1f6f8;color:#6b8694;padding:14px 12px}#userAdmin td{padding:16px 12px;border-color:#e6eef1;line-height:1.6}#userAdmin .card{border:1px solid #e0e9ee;border-radius:16px;box-shadow:0 4px 20px #163c4d04;background:white!important}#userAdmin .checks{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}#userAdmin .checks label{border:1px solid #dfe8ed;border-radius:11px;display:flex;align-items:center;gap:9px;padding:13px;line-height:1.5;font-size:11px;min-width:0}#userAdmin .checks label:has(input:checked){border-color:#78bca7;background:#f0faf5}#userAdmin .checks input{accent-color:#0f8965;width:15px;height:15px;flex:none}#userAdmin .checks .sport-crest{width:24px;height:27px;min-width:24px}#userAdmin .sport-pill{font-size:10px}.admin-filterbar-v103{border-radius:12px;background:#f6f9fb}.sm-row{gap:16px!important;padding:17px!important;border:1px solid #e2eaf0!important;border-radius:12px;margin:9px 0;background:white}.sm-row>div:first-child{flex:1}.sm-row>button{font-size:11px;min-height:38px}.sm-list{padding:17px!important}.sm-row .sm-pill{border-radius:6px;font-size:10px;padding:5px 8px}.sm-row .sport-crest{float:left;margin:0 12px 8px 0}.sm-fields label{font-size:12px;line-height:1.6}.sm-modal{background:#f0f7f5!important;border-color:#c7ded5!important}.sm-modal h2{font-size:20px;color:#1f5142}.lh-hero{background:#10384a!important;border-radius:18px!important}.lh-tabs{display:flex;gap:4px;flex-wrap:wrap;padding:8px!important;background:#f1f6f7;border-radius:12px;margin:20px 0}.lh-tabs button{min-height:40px;border:0!important;border-radius:8px;font-size:11px!important}.lh-tabs button[aria-pressed=true]{background:white!important;color:#117958!important;box-shadow:0 2px 7px #123e4e0a}.lh-card{border-radius:15px!important;border-color:#dfe9ed!important}.lh-grid{gap:14px}.lh-stat{border:1px solid #e1e9ed!important;border-radius:12px!important;padding:20px!important}.lh-stat strong{font-size:29px!important}.lh-stat .sport-icon{float:right;color:#25896c;width:24px;height:24px}.sport-focus:focus-visible,button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #65ad91;outline-offset:3px}button:disabled{cursor:not-allowed!important;opacity:.5}button:not(:disabled){transition:background .15s,border-color .15s,box-shadow .15s}button:not(:disabled):hover{filter:brightness(.98)}[hidden]{display:none!important}
@media(min-width:1350px){.lineup-starters{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1150px){.lineup-workspace{grid-template-columns:1fr}.lineup-starters{grid-template-columns:repeat(5,minmax(0,1fr))}.official-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lineup-keepers .lineup-player{width:20%}#userAdmin .checks{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.sport-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.sport-stat{padding:12px}.sport-stat>strong{font-size:20px}.sport-stat>span{font-size:9px}.sport-match-teams{grid-template-columns:minmax(0,1fr) 60px minmax(0,1fr);gap:10px;padding:20px 0}.sport-match-side,.sport-match-side.away{flex-direction:column;text-align:center;gap:10px}.sport-match-side strong{font-size:12px}.sport-match-side .sport-crest{width:48px;height:50px;min-width:48px}.sport-match-score{font-size:23px}.sport-match-meta{gap:10px;font-size:10px}.sport-match-hero{padding:18px!important}.lineup-starters{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px 7px}.lineup-keepers .lineup-player{width:34%}.lineup-editor-row{grid-template-columns:26px minmax(0,1fr) 95px;padding:11px 8px;gap:8px}.lineup-flags{grid-column:1/3}.lineup-editor-row select{font-size:10px!important}.lineup-bench-grid,.lineup-list{grid-template-columns:1fr}.event-quick{grid-template-columns:repeat(3,minmax(0,1fr))}.event-item{grid-template-columns:30px 30px minmax(0,1fr);gap:8px}.event-timeline:before{left:53px}.event-symbol{width:30px;height:30px}.event-item>button{grid-column:3;justify-self:start}.event-composer{padding:13px}.official-grid{grid-template-columns:1fr}.sport-tools{align-items:stretch}.sport-tools>*{flex:1;min-width:140px}.sport-segments{gap:5px}.sport-segments button{font-size:10px!important;padding:8px!important}.lineup-heading{align-items:flex-start}.lineup-identity h2{font-size:14px}.lineup-identity .sport-crest{width:36px;height:40px;min-width:36px}#userAdmin .checks{grid-template-columns:1fr}#appShell .module-head h1{font-size:24px}.sport-lineup>.ms-actions{position:static}.sport-lineup>.ms-actions button{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.sport-club-group{display:flex;gap:9px;flex-wrap:wrap}.sport-club-group .sport-club{font-size:10px}.sport-club-group .sport-crest{width:22px;height:22px;min-width:22px}.sport-match-hero .sport-match-score{color:#c1f379!important;font-size:32px}#competitionPage .mc-crest{display:inline-grid;object-fit:contain;flex-shrink:0}#competitionPage .mc-duty>.sport-icon{color:#1b8267;margin-bottom:7px}#clubPermissionSearch{min-height:42px}#editClubs[hidden]{display:none!important}

.sport-directory{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:14px;margin-top:18px}.sport-official-card{background:#fff;border:1px solid #e1e9ee;border-radius:14px;padding:20px;min-width:0;display:flex;flex-direction:column;gap:12px}.sport-official-header{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.sport-official-card .lh-meta{margin:0}.sport-official-card>button{align-self:flex-start}.sport-tags{display:flex;flex-wrap:wrap;gap:6px}.sport-tags .sport-pill{font-size:10px}.sport-official-card details{border-top:1px solid #e3ebee;padding-top:12px}.sport-official-card summary{font-weight:700;cursor:pointer;color:#205a50}.identity-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.identity-comparison>.ms-card{margin:0!important;padding:20px!important;overflow-wrap:anywhere}.identity-merge-form{display:grid;gap:16px;padding:20px 0}.identity-merge-form label{display:grid;gap:8px;font-size:12px;font-weight:650}.identity-merge-form textarea{min-height:95px;width:100%;padding:12px;border:1px solid #c9d8df;border-radius:10px;font:inherit}.identity-merge-form .identity-consent{display:flex;align-items:flex-start;gap:10px;line-height:1.6}.identity-consent input{width:18px!important;min-width:18px;height:18px;min-height:0!important;margin:2px 0}.identity-merge-form button{justify-self:start}@media(max-width:750px){.identity-comparison{grid-template-columns:1fr}.sport-directory{grid-template-columns:1fr}}
.licence-batch-tools{border:1px solid #d4e3df;border-radius:14px;background:#f2f8f5;padding:20px;margin:16px 0}.licence-batch-tools h3{margin:0 0 8px;color:#174638}.licence-batch-tools>p{font-size:12px;line-height:1.6}.licence-batch-tools label{display:grid;gap:7px;font-size:12px;font-weight:650}.licence-batch-tools input[type=search]{max-width:520px}.licence-batch-controls{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:14px 0}.licence-batch-controls input[type=number]{width:130px}.licence-batch-controls button{min-height:43px}.licence-batch-results p{padding:10px 12px;border-radius:8px;font-size:12px;margin:7px 0;overflow-wrap:anywhere}.batch-success{background:#e4f3e9;color:#165e38;border-left:4px solid #2e945d}.batch-error{background:#fff1e8;color:#864012;border-left:4px solid #cf7d33}#submitDossier{background:#187b50;border-color:#187b50}#reviewQueueRows button{margin:3px}#reviewPage .licence-batch-tools.hidden,#rosterPage .licence-batch-tools.hidden{display:none!important}@media(max-width:650px){.licence-batch-controls{display:grid;grid-template-columns:1fr}.licence-batch-controls button,.licence-batch-controls input[type=number]{width:100%}.licence-batch-tools{padding:15px}}
.review-player-summary{margin:18px 0;padding:18px;background:#fff;border:1px solid #dce7ed;border-radius:12px}.review-player-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 20px;margin-bottom:0}.review-player-fields>div{min-width:0;padding-bottom:10px;border-bottom:1px solid #e8eef1}.review-player-fields dt{font-size:10px;color:#73858e}.review-player-fields dd{margin:5px 0 0;font-size:12px;font-weight:650;overflow-wrap:anywhere}@media(max-width:800px){.review-player-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.review-player-fields{grid-template-columns:1fr}}
.batch-select-all{margin:12px 0!important}.batch-select-all label{display:flex!important;align-items:center;gap:9px}.batch-select-all input[type=checkbox]{width:17px!important;min-width:17px;height:17px;min-height:0!important;margin:0;accent-color:#187b50}#reviewDecisionPanel{scroll-margin-top:115px}

/* Role-specific match workspace and score/statistics tools. */
.match-workspace{background:#f5f8fb;border:1px solid #dce5ed;border-radius:18px;margin:18px 0;padding:22px}.workspace-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.workspace-heading h2{margin:6px 0 12px;font-size:24px;color:#132f48}.workspace-heading button{flex:none}.workspace-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0}.workspace-metric{background:white;border-radius:12px;padding:16px;border:1px solid #e0e8ef;display:grid;gap:6px}.workspace-metric strong{font-size:26px;color:#087b63}.workspace-metric span{font-size:12px;color:#52697a}.workspace-tasks summary,.workspace-access summary{font-weight:750;cursor:pointer;padding:12px 0}.workspace-task{display:grid;grid-template-columns:minmax(0,1fr) 230px auto;gap:16px;align-items:center;padding:16px 0;border-bottom:1px solid #dce5ed}.workspace-task small{display:block;margin:6px 0}.workspace-task .lh-club{display:inline-flex}.workspace-list{max-height:460px;overflow:auto}.workspace-access{margin-top:10px;overflow-x:auto}.workspace-access td{vertical-align:top}.workspace-access td:first-child{min-width:180px;font-weight:700}.score-entry-summary{display:flex;align-items:center;gap:20px;padding:18px;background:#eff8f4;border-radius:14px;margin:14px 0}.score-entry-summary strong{font-size:32px;white-space:nowrap;color:#09644e}.score-entry-summary p{margin:0;color:#345f54}.match-statistics-editor input[type=number]{max-width:120px;min-width:70px}.match-statistics-editor form>label{margin:16px 0}.workspace-task button{white-space:nowrap}@media(max-width:760px){.match-workspace{padding:15px}.workspace-heading{align-items:start;flex-direction:column}.workspace-metrics{grid-template-columns:repeat(2,1fr)}.workspace-task{grid-template-columns:1fr auto}.workspace-task>div:nth-child(2){grid-column:1}.workspace-task>button{grid-column:2;grid-row:1 / span 2}.score-entry-summary{align-items:start;flex-direction:column;gap:10px}}
/* Streamlined navigation, operational dashboard and club dossiers. */
.modern-sidebar{padding:18px 12px!important;gap:5px!important}.modern-sidebar .side-title{padding:8px 12px 15px!important;letter-spacing:1.7px}.modern-sidebar>.side-link{margin:3px 0!important}.modern-sidebar .side-link{display:flex;align-items:center;gap:11px;min-height:44px!important;border-radius:11px!important;font-size:12px!important;line-height:1.45!important;padding:10px 12px!important;width:100%;text-align:left}.modern-sidebar .side-link.active{background:#143c52!important;color:#fff!important;box-shadow:inset 3px 0 #d5b064}.nav-group{border:0;border-radius:12px;margin:2px 0}.nav-group>summary{display:flex;align-items:center;gap:10px;list-style:none;padding:12px;color:#284759;font-size:12px;font-weight:800;cursor:pointer;min-height:44px}.nav-group>summary::-webkit-details-marker{display:none}.nav-group>summary>.nav-chevron{margin-left:auto;transform:rotate(0deg);width:13px}.nav-group[open]>summary>.nav-chevron{transform:rotate(90deg)}.nav-group[open]{background:#f1f6f7}.nav-submenu{padding:0 5px 7px 16px;border-left:1px solid #d8e4e8;margin-left:20px}.nav-submenu .side-link{font-size:11px!important;min-height:40px!important;padding:8px!important;gap:8px}.nav-submenu .sport-icon{width:16px;height:16px}.modern-sidebar .side-bottom{padding-top:15px;border-top:1px solid #e2e9ed;margin-top:15px}.nav-group[hidden]{display:none!important}
#homePage>.dashboard-section-heading,#homePage>.quick-cards,#homePage>.metric-grid,#homePage>.home-bottom{display:none!important}.role-dashboard{margin:24px 0}.dashboard-operational-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.dashboard-operational-head h2{font-size:24px;letter-spacing:-.6px;margin:6px 0}.dashboard-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:12px;margin:18px 0 24px}.dashboard-stat{display:grid!important;text-align:left!important;grid-template-columns:35px 1fr;gap:5px 10px;background:#fff!important;color:#173a50!important;border:1px solid #dce6ec!important;border-radius:15px!important;padding:18px!important;box-shadow:0 5px 16px #163b4d06!important}.dashboard-stat>svg{grid-row:span 2;width:28px;height:28px;padding:7px;border-radius:10px;background:#e9f2fa;color:#3071a3;box-sizing:content-box}.dashboard-stat>strong{font-size:25px;line-height:1.3}.dashboard-stat>span{grid-column:1/-1;font-size:12px;color:#5c7383;margin-top:9px}.dashboard-stat.green>svg{background:#e3f5eb;color:#168460}.dashboard-stat.amber>svg{background:#fff1d9;color:#ac7c15}.dashboard-stat.violet>svg{background:#eee9fc;color:#745ab2}.dashboard-action-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:13px}.dashboard-action{display:flex!important;align-items:center;gap:14px;background:#fff!important;color:#16384c!important;border:1px solid #dce6ec!important;border-radius:15px!important;padding:18px!important;text-align:left!important;box-shadow:none!important;transition:transform .15s,border-color .15s}.dashboard-action:hover{border-color:#198465!important;transform:translateY(-2px)}.dashboard-action>svg:last-child{margin-left:auto;width:16px}.dashboard-action strong,.dashboard-action small{display:block}.dashboard-action small{font-size:11px;font-weight:400;line-height:1.5;color:#677e8b;margin-top:5px}.dashboard-action-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:#e2f3eb;color:#16755a;flex:none}.dashboard-action:nth-child(3n) .dashboard-action-icon{background:#ede9fa;color:#7352ad}.dashboard-action:nth-child(3n+2) .dashboard-action-icon{background:#e7f0fc;color:#326eaa}.dashboard-next{background:white;border:1px solid #dce6ec;border-radius:16px;padding:20px;margin-top:22px}.dashboard-next h3{display:flex;align-items:center;gap:9px}.dashboard-next-match{display:flex!important;align-items:center;gap:14px;width:100%;background:#fff!important;color:#16384c!important;border:0!important;border-top:1px solid #edf1f4!important;border-radius:0!important;padding:14px 0!important;box-shadow:none!important}.dashboard-next-match .sport-pill{margin-left:auto}.dashboard-next-match .sport-club{font-size:12px}.dashboard-next-match .sport-club:last-of-type{flex:1}
.cp-tile-icon{width:42px;height:42px;display:grid;place-items:center;background:#e7f3fc;color:#347cb3;border-radius:12px;margin-bottom:16px}.cp-tile:nth-child(2) .cp-tile-icon{background:#e4f4e9;color:#1e8a65}.cp-tile:nth-child(3) .cp-tile-icon{background:#fff1d7;color:#ab7a17}.cp-hero .sport-crest{background:#ffffff0c;padding:10px;border-radius:18px}.cp-label{background:#d8f4e7!important;color:#186347!important}.cp-steps button{border-radius:12px!important;min-height:52px}.cp-hero p{color:#bfdbdf}
.dossier-tools{display:grid;grid-template-columns:2fr 1fr;gap:13px;margin:18px 0}.dossier-tools input,.dossier-tools select{width:100%;margin:0!important}.dossier-result-count{grid-column:1/-1;color:#607a8a;font-size:12px;margin:0}.dossier-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(285px,1fr));gap:15px}.modern-dossier-card{display:grid!important;grid-template-columns:1fr auto!important;gap:13px!important;padding:20px!important;border:1px solid #dce7ed!important;border-radius:16px!important;background:#fff;box-shadow:0 4px 15px #173e5005}.modern-dossier-card>div{grid-column:1/-1}.modern-dossier-card strong{display:block;font-size:17px;color:#183a50;margin:12px 0 7px}.modern-dossier-card .muted{font-size:11px;line-height:1.6}.dossier-sport{font-size:12px;color:#627a87;margin:9px 0 0}.modern-dossier-card>button{font-size:11px!important;border-radius:9px!important;padding:10px!important;min-height:38px}.modern-dossier-card>button[data-remove-draft]{border-color:transparent!important;background:transparent!important;color:#936369!important}.dossier-state{display:inline-flex;align-items:center;padding:5px 9px;background:#eef3f6;color:#5b7383;border-radius:7px;font-size:10px;font-weight:800}.dossier-state.is-issued,.dossier-state.is-accepte{background:#e4f6ec;color:#16835c}.dossier-state.is-retourne,.dossier-state.is-soumis,.dossier-state.is-en_examen{background:#fff1d8;color:#966b16}.dossier-state.is-rejete{background:#fcebee;color:#b64157}.modern-dossier-card[hidden]{display:none!important}
.billing-filter-toolbar{display:flex;gap:12px;margin:18px 0}.billing-filter-toolbar input{flex:2}.billing-filter-toolbar select{flex:1}.billing-license-heading-v118{gap:12px!important}.billing-club-crest{width:34px;height:39px;object-fit:contain}.billing-license-heading-v118 h3{flex:1}.billing-license-card-v118{border-radius:17px!important;padding:20px!important;background:linear-gradient(140deg,#fff,#f7fbfc)!important;box-shadow:0 5px 18px #133d5005}.billing-license-count-v118{font-size:25px!important;white-space:nowrap}.billing-threshold-note-v117{font-size:11px!important;line-height:1.6!important}.billing-summary-card-v117{border-top:3px solid #168a6c!important;border-radius:15px!important}.billing-summary-card-v117:nth-child(2){border-top-color:#467ec3!important}.billing-summary-card-v117:nth-child(3){border-top-color:#d9a345!important}.billing-document-card-v118{border-radius:16px!important}.billing-notice-v117{font-size:12px!important}.billing-license-grid-v118{grid-template-columns:repeat(auto-fit,minmax(255px,1fr))!important}
.playoff-zone td{background:#f0faf5!important}.playoff-zone td:first-child{border-left:4px solid #20a276}.outside-playoff-zone td{background:#fff8ed!important}.outside-playoff-zone td:first-child{border-left:4px solid #e4b65b}.qualification-cutoff td{border-bottom:2px dashed #8ac5af!important}.sport-table td .sport-pill{display:flex;width:max-content;font-size:9px;padding:3px 6px;margin-top:5px}.rank-movement{font-weight:850;font-size:14px}.rank-movement.up{color:#15835e}.rank-movement.down{color:#c45d4f}.rank-movement.stable{color:#8497a4}.standings-legend{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.scorer-podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:24px 0}.scorer-leader{display:flex;align-items:center;flex-direction:column;gap:12px;text-align:center;border:1px solid #dce7ed;border-radius:18px;padding:22px 14px;background:linear-gradient(145deg,#fff,#f3f7fb)}.scorer-leader.position-1{background:linear-gradient(145deg,#fffdf4,#fff4d2);border-color:#edce7e}.scorer-leader.position-2{background:linear-gradient(145deg,#fff,#edf2f8)}.scorer-leader.position-3{background:linear-gradient(145deg,#fff,#f8eee6)}.scorer-leader>.scorer-portrait{width:86px;height:94px;border-radius:50% 50% 12px 12px}.scorer-leader>b{font-size:25px;color:#17674f}.scorer-leader>.sport-club{font-size:11px}.scorer-portrait{width:44px;height:48px;flex:none;position:relative;overflow:hidden;border-radius:50%;background:#e2efed;color:#2b7364;display:inline-grid;place-items:center;font-size:14px;font-weight:800}.scorer-portrait img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center bottom}.scorer-player{display:flex;align-items:center;gap:12px}.scorer-goals{display:inline-flex;align-items:center;gap:8px;font-size:18px;font-weight:850;color:#18785b}
@media(max-width:700px){.dashboard-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-stat>strong{font-size:21px}.dashboard-action-grid{grid-template-columns:1fr}.dashboard-next-match{flex-wrap:wrap}.dashboard-next-match .sport-pill{margin-left:0}.dossier-tools{grid-template-columns:1fr}.dossier-card-grid{grid-template-columns:1fr}.billing-filter-toolbar{flex-direction:column}.scorer-podium{grid-template-columns:1fr}.scorer-leader{display:grid;grid-template-columns:64px 1fr;text-align:left;padding:16px}.scorer-leader>.scorer-portrait{grid-column:1;grid-row:1 / span 4;width:60px;height:72px}.scorer-leader>.sport-pill{display:none}.scorer-leader>b{grid-column:2}.modern-sidebar{padding:10px!important}}
.scorer-portrait:has(img[data-clean-state=ready])>span{visibility:hidden}

/* Mobile navigation stays in document flow and closes after choosing a page. */
.mobile-nav-toggle{display:none}
@media(max-width:760px){
 #appShell .mobile-nav-toggle{display:flex;align-items:center;gap:10px;width:100%;min-height:46px;margin:0 0 12px;background:#143c52;color:#fff;border:1px solid #143c52;border-radius:12px;text-align:left}
 #appShell .app-sidebar.modern-sidebar{position:static!important;top:auto!important;z-index:auto!important;display:flex!important;flex-direction:column!important;align-items:stretch;max-height:70vh;max-height:70dvh;min-height:0;overflow-x:hidden!important;overflow-y:auto!important;width:100%;margin:0 0 14px;padding:10px!important;backdrop-filter:none}
 #appShell .app-sidebar.modern-sidebar.mobile-nav-collapsed{display:none!important}
 #appShell .modern-sidebar .side-link,#appShell .modern-sidebar .nav-group{flex:0 0 auto;min-width:0!important;width:100%;white-space:normal}
 #appShell .modern-sidebar .nav-group>summary{min-height:46px}
 #appShell .modern-sidebar .workspace-role{min-width:0;width:100%;flex:none}
 #appShell .modern-sidebar .workspace-role select{min-width:0;width:100%}
 #appShell .modern-sidebar .nav-submenu{min-width:0}
}

/* Meaningful indicators retain their text labels and do not depend on color alone. */
.discipline-badge,.official-role{display:inline-flex;align-items:center;gap:9px;line-height:1.4}.discipline-badge{padding:6px 10px;border-radius:8px;background:#f4f7fa;font-weight:650}.discipline-badge.yellow{background:#fff8db;color:#735308}.discipline-badge.red,.discipline-badge.second_yellow{background:#fff0f2;color:#9e253a}.discipline-badge .sport-icon{width:22px;height:25px;flex:none}.discipline-legend{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px;font-size:12px}.official-role .sport-icon{width:24px;height:24px;flex:none;padding:5px;box-sizing:content-box;border-radius:8px;background:#e8f2f6;color:#194c65}.official-role.flag .sport-icon{color:#996716;background:#fff5d9}.official-role.clipboard .sport-icon{color:#15705c;background:#e4f5ee}.official-role.eye .sport-icon{color:#74518b;background:#f2eafa}.rank-movement{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.rank-movement .sport-icon{width:19px;height:19px}.rank-movement.unavailable{color:#788d9a}

.official-stats-tools{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:20px 0}.official-stats-tools>.sport-search{flex:1;min-width:200px}.official-stats-tools>label:not(.sport-search){display:grid;gap:6px;font-size:12px;min-width:160px}.official-stats-tools select{width:100%;min-height:44px;border:1px solid #cfdee6;border-radius:10px;padding:10px;background:#fff;color:#17394e}.official-stats-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:20px 0}.official-stats-person{display:grid;gap:7px;min-width:180px}.official-stats-person>.official-role{font-size:11px}.official-stats-person .official-role .sport-icon{width:16px;height:16px;padding:3px}.official-stats-duties{display:flex;flex-wrap:wrap;gap:14px;margin:16px 0}.historical-final-total{font-weight:800;padding:14px;background:#edf7f1;border-radius:10px}@media(max-width:600px){.official-stats-tools>*{width:100%}.official-stats-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.official-stats .sport-stat{min-width:0}.official-stats .sport-stat span{overflow-wrap:anywhere}}

.official-stats-help{padding:10px 14px;background:#f1f6f8;border-radius:10px;margin:12px 0}.official-stats-help>summary{cursor:pointer;font-weight:700;font-size:13px;color:#3f6577}.official-stats-help p{line-height:1.6}
/* Club overview, roster and sporting profiles. */
.th-tabs{display:flex;gap:8px;overflow-x:auto;padding:18px 0}.th-tabs button{white-space:nowrap;border-radius:24px}.th-tabs button[aria-pressed=true]{background:#103748!important;color:#fff!important;border-color:#103748}.th-card{background:#fff;border:1px solid #e1e8ed;border-radius:16px;padding:20px;min-width:0}.th-card h3{font-size:15px;margin:0 0 18px;color:#123447}.th-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.th-metrics .th-card{display:flex;flex-direction:column;gap:12px}.th-metrics span{font-size:12px;color:#526875}.th-metrics strong{font-size:30px;color:#123447}.th-overview-grid,.th-roster-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}.th-tools{display:flex;gap:12px;margin:18px 0}.th-tools>*{min-width:0;flex:1}.th-player{display:flex!important;align-items:center;gap:14px;width:100%;border:0!important;border-bottom:1px solid #edf1f4!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;text-align:left!important;padding:14px 0!important;color:#14394b!important}.th-player:hover{background:#f2f7f8!important}.th-player-copy{display:flex;flex-direction:column;gap:5px;min-width:0;overflow-wrap:anywhere}.th-player-copy small{color:#58707c;font-size:12px}.th-portrait{display:flex;align-items:center;justify-content:center;width:54px;height:62px;flex-shrink:0;border-radius:12px;background:linear-gradient(150deg,#ddece8,#aac9ce);color:#184a53;font-weight:800;overflow:hidden}.th-portrait img{width:100%;height:100%;object-fit:cover;object-position:top}.th-portrait.large{width:105px;height:125px}.th-profile-head{display:flex;align-items:center;gap:20px;margin:20px 0}.th-match{display:block!important;width:100%;background:#f7fafb!important;color:#14394b!important;box-shadow:none!important;border:1px solid #e3eaee!important;border-radius:12px!important;padding:16px!important;margin:8px 0!important;white-space:normal!important}.th-fixture{display:flex;align-items:center;justify-content:center;gap:10px;font-size:12px}.th-fixture strong{flex:1}.th-fixture b{white-space:nowrap;background:#e4edef;padding:8px;border-radius:8px}.th-match small{display:block;font-size:11px;margin-top:12px;color:#58707c}.th-form{display:flex;gap:8px;margin:18px 0}.th-result{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;font-weight:800;color:#fff}.th-result.V{background:#198352}.th-result.N{background:#6d7e8a}.th-result.D{background:#b63949}.th-settings{margin:20px 0}.th-settings summary{cursor:pointer;padding:16px;background:#edf3f5;border-radius:12px;font-weight:700}
/* Portraits and rows mirror the club lineup reference. */
.lineup-pitch.lineup-pitch-modern{display:flex;flex-direction:column;justify-content:space-around;gap:26px;background:linear-gradient(90deg,#fff 49.7%,#e9ecef 49.7%,#e9ecef 50.3%,#fff 50.3%);border:1px solid #dbe4e9;min-height:570px;padding:24px 8px;overflow:hidden;color:#173c4c}.lineup-pitch-modern:before,.lineup-pitch-modern:after{border-color:#dce4e9}.lineup-pitch-modern .pitch-circle{border-color:#dce4e9}.lineup-tactical-row{display:flex;justify-content:space-around;gap:6px;position:relative;z-index:1}.lineup-tactical-row>.lineup-player{flex:1;max-width:24%;min-width:0;background:transparent!important;border:0!important;box-shadow:none!important;color:#163849!important;display:flex;flex-direction:column;align-items:center;text-align:center;padding:0!important}.lineup-tactical-row .lineup-player>strong{font-size:10px!important;line-height:1.45;color:#163849!important;overflow-wrap:anywhere}.lineup-photo{display:flex;align-items:center;justify-content:center;width:58px;height:68px;border-radius:10px;background:#edf3f4;overflow:hidden}.lineup-photo>img{width:100%;height:100%;object-fit:cover;object-position:top}.lineup-tactical-row .lineup-shirt{filter:none}.lineup-tactical-row .lineup-shirt .sport-icon{fill:#d1e4df;stroke:#548478}.lineup-tactical-row .lineup-shirt strong{color:#164c3f}.lineup-player-badges{flex-wrap:wrap;justify-content:center}.lineup-tactical-row .sport-pill{font-size:8px!important;padding:2px 4px!important}.lineup-bench-grid .lineup-photo,.lineup-list .lineup-photo{width:36px;height:43px;flex-shrink:0}
@media(max-width:700px){.th-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.th-overview-grid,.th-roster-grid{grid-template-columns:1fr}.th-tools{flex-direction:column}.th-fixture{gap:5px;font-size:11px}.th-fixture .sport-crest{display:none}.lineup-photo{width:48px;height:58px}.lineup-pitch.lineup-pitch-modern{min-height:510px;gap:23px}.th-profile-head h2{font-size:20px}}
/* Readable lineups: preserve comfortable text sizes instead of squeezing two teams. */
.lineup-workspace{grid-template-columns:repeat(auto-fit,minmax(min(100%,560px),1fr));gap:24px}
.sport-lineup .lineup-heading{gap:16px;padding-bottom:18px}.sport-lineup .lineup-identity h2{font-size:22px;line-height:1.3}.sport-lineup .sport-eyebrow{font-size:12px;letter-spacing:.12em}.sport-lineup .lineup-counts{gap:10px;flex-wrap:wrap}.sport-lineup .lineup-counts .sport-pill,.sport-lineup .lineup-heading .sport-pill{font-size:13px;line-height:1.5;padding:6px 10px}.sport-lineup .sport-segments button{font-size:14px!important;min-height:44px;padding:10px 14px!important}
.sport-lineup .lineup-pitch.lineup-pitch-modern{min-height:700px;gap:30px;padding:26px 14px}.sport-lineup .lineup-tactical-row{gap:12px}.sport-lineup .lineup-tactical-row>.lineup-player{gap:9px}.sport-lineup .lineup-tactical-row .lineup-player>strong{font-size:15px!important;font-weight:750;line-height:1.5;color:#092d41!important;overflow-wrap:break-word;width:100%;max-width:190px}.sport-lineup .lineup-tactical-row .lineup-photo{width:66px;height:78px}.sport-lineup .lineup-tactical-row .lineup-shirt{width:58px;height:64px}.sport-lineup .lineup-tactical-row .lineup-shirt .sport-icon{width:58px;height:64px}.sport-lineup .lineup-tactical-row .lineup-shirt strong{font-size:24px;color:#123f36}.sport-lineup .lineup-tactical-row .lineup-player-badges{gap:5px;min-height:22px}.sport-lineup .lineup-tactical-row .sport-pill{font-size:12px!important;font-weight:700;line-height:1.5;padding:4px 7px!important;white-space:normal;text-align:center}.sport-lineup .lineup-player-badges .sport-pill.neutral{background:#e8f0f5;color:#173e57}.sport-lineup .lineup-player-badges .sport-pill.yellow{background:#fff0b3;color:#624300}.sport-lineup .lineup-player-badges .sport-pill.red{background:#ffe0e3;color:#8e142c}
.sport-lineup .lineup-bench h3,.sport-lineup .lineup-list h3{font-size:16px;line-height:1.5;color:#153d52;margin:22px 0 14px}.sport-lineup .lineup-bench-grid,.sport-lineup .lineup-list{gap:12px}.sport-lineup .lineup-bench-grid>.lineup-player,.sport-lineup .lineup-list>.lineup-player{display:grid;grid-template-columns:44px minmax(0,1fr);gap:5px 12px;padding:14px;min-height:90px}.sport-lineup .lineup-bench-grid .lineup-photo,.sport-lineup .lineup-list .lineup-photo{grid-column:1;grid-row:1/3;width:44px;height:54px}.sport-lineup .lineup-bench-grid .lineup-player>strong,.sport-lineup .lineup-list .lineup-player>strong{grid-column:2;grid-row:1;font-size:14px;line-height:1.5;color:#092d41;overflow-wrap:break-word}.sport-lineup .lineup-bench-grid .lineup-player-badges,.sport-lineup .lineup-list .lineup-player-badges{grid-column:2;grid-row:2;justify-content:flex-start;gap:5px}.sport-lineup .lineup-bench-grid .sport-pill,.sport-lineup .lineup-list .sport-pill{font-size:12px;line-height:1.5;padding:4px 7px}.sport-lineup .sport-hint,.sport-lineup>.ms-meta{font-size:14px!important;line-height:1.65;color:#395767}.sport-lineup .lineup-empty{font-size:15px;color:#395767}
@media(max-width:650px){.sport-lineup .lineup-identity h2{font-size:20px}.sport-lineup .lineup-pitch.lineup-pitch-modern{min-height:680px;gap:26px;padding:22px 8px}.sport-lineup .lineup-tactical-row{gap:7px}.sport-lineup .lineup-tactical-row .lineup-player>strong{font-size:13px!important;line-height:1.45}.sport-lineup .lineup-tactical-row .sport-pill{font-size:11px!important;padding:4px 5px!important}.sport-lineup .lineup-tactical-row .lineup-photo{width:52px;height:64px}.sport-lineup .lineup-bench-grid,.sport-lineup .lineup-list{grid-template-columns:1fr}.sport-lineup .lineup-bench-grid .lineup-player>strong,.sport-lineup .lineup-list .lineup-player>strong{font-size:15px}}

/* Position rows keep all players visible, including five-player defensive lines. */
.lineup-position-band{position:relative;z-index:1;width:100%}.lineup-position-label{margin:0 0 14px;text-align:center;font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#426172}.sport-lineup .lineup-tactical-row{display:flex;flex-wrap:wrap;justify-content:center}.sport-lineup .lineup-tactical-row>.lineup-player{flex:1 1 0;max-width:24%;min-width:72px}.sport-lineup [data-position-group="unknown"]{border-top:1px dashed #9eafb8;padding-top:20px}.sport-lineup [data-position-group="unknown"] .lineup-position-label{color:#795400}@media(max-width:420px){.sport-lineup .lineup-tactical-row>.lineup-player{min-width:52px;max-width:30%}.sport-lineup .lineup-tactical-row .lineup-player>strong{font-size:12px!important}}

.tactics-tools{display:flex;flex-wrap:wrap;gap:12px;align-items:end;padding:18px;border:1px solid #ccd9eb;border-radius:12px;background:#f3f7fd;margin:18px 0}.tactics-tools label{flex:1 1 190px;display:flex;flex-direction:column;gap:8px}.tactics-tools select,.tactics-tools input{min-height:46px;font-size:16px;width:100%;box-sizing:border-box}.tactics-tools .sport-hint,.tactics-tools [role=status]{flex-basis:100%;margin:0}.tactics-pitch{position:relative;border:3px solid #dbe9e1;border-radius:16px;background:repeating-linear-gradient(0deg,#175e49 0,#175e49 75px,#1b694f 75px,#1b694f 150px);margin:20px 0;overflow:hidden}.tactics-pitch:before{content:'';position:absolute;inset:22px;border:2px solid #ffffff60;border-radius:3px;pointer-events:none}.tactics-pitch .pitch-circle{border-color:#ffffff60}.sport-lineup .tactics-player{position:absolute!important;transform:translate(-50%,-50%);width:18%;max-width:122px;min-width:42px;text-align:center;padding:5px;border:0;background:transparent;z-index:2;box-sizing:border-box}.tactics-player>strong{display:block;font-size:12px!important;line-height:1.3;background:#ffffffed;color:#102b48!important;padding:4px;border-radius:5px;overflow-wrap:anywhere}.tactics-player .lineup-photo{width:60px!important;height:72px!important;display:block;margin:auto}.tactics-player .lineup-player-badges{display:flex;justify-content:center;flex-wrap:wrap}.tactics-player .sport-pill{font-size:10px!important;padding:2px 4px!important}.tactics-player[role=button]{cursor:grab}.tactics-player[role=button]:active{cursor:grabbing}.tactics-selected,.tactics-player:focus-visible{outline:3px solid #ffda6a;outline-offset:3px;border-radius:10px}@media(max-width:600px){.tactics-player .lineup-photo{width:42px!important;height:54px!important}.tactics-player>strong{font-size:10px!important}.tactics-tools{padding:13px}.tactics-tools button{width:100%}}
