:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:#17332c;background:#f3f6f2;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #a7d86d;outline-offset:2px}a{color:#2e7855}.shell{max-width:1420px;margin:auto;padding:0 34px}.top{height:74px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dce4db}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#17332c;font-size:0.9375rem;font-weight:900;letter-spacing:.12em}.brand small{font-size:0.875rem;font-weight:600;color:#798c7f;letter-spacing:.07em}.mark{width:39px;height:39px;border-radius:10px;background:#12332b;color:#edf9e7;display:grid;place-content:center;font-size:1.438rem;letter-spacing:-.14em}.mark span{font-size:0.8125rem;color:#bee991}.private{font-size:0.875rem;letter-spacing:.08em;font-weight:800;color:#558057;background:#e7f0e2;border:1px solid #d8e6d0;border-radius:40px;padding:8px 12px}.nav{display:flex;gap:26px;border-bottom:1px solid #dce4db}.nav a{display:block;padding:17px 3px 15px;border-bottom:3px solid transparent;text-decoration:none;color:#61796b;font-weight:600;font-size:1rem}.nav a.active{color:#235d42;border-color:#54a56f}.roundbar{display:flex;align-items:center;gap:17px;padding:23px 0;color:#728377;font-size:0.9375rem}.roundbar label{font-size:1rem;font-weight:800;color:#193e30}.roundbar select,.result-controls select{border:1px solid #c9d9ca;border-radius:8px;background:#fff;color:#173f2d;padding:8px 12px;margin-left:7px;min-width:86px}.roundbar a{margin-left:auto;font-size:0.9375rem}.section-heading{margin:3px 0 22px}.section-heading h1{font-size:clamp(32px,4vw,48px);line-height:1.12;letter-spacing:-.048em;margin:0 0 8px}.section-heading p{color:#687d6f;font-size:1rem;margin:0;line-height:1.5}.match-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.match-card{text-align:left;border:1px solid #d9e4d9;background:#fff;border-radius:14px;padding:17px 19px;display:grid;gap:7px;min-height:135px;color:#15372b}.match-card:hover,.match-card.selected{border-color:#3f9464;box-shadow:0 2px 0 #5bac75}.match-card .pair{font-size:1.125rem;font-weight:800;letter-spacing:-.025em}.match-card .pair span{font-weight:400;color:#9aa9a0}.match-card strong{font-size:1.375rem;font-weight:700}.match-card small{font-size:0.9375rem;line-height:1.35;color:#6b7e70}.match-detail{margin-top:28px}.scoreboard{background:#12322b;color:#f6f9ee;border-radius:17px 17px 0 0;display:grid;grid-template-columns:1fr 55px 1fr;gap:15px;padding:28px 36px;min-height:206px}.scoreboard>div{display:flex;flex-direction:column;align-items:flex-start}.scoreboard .right{align-items:flex-end;text-align:right}.badge{font-size:0.875rem;font-weight:900;letter-spacing:.11em;background:#bce58b;color:#23412b;border-radius:4px;padding:5px 8px}.badge.away{background:#375c4d;color:#e0ebde}.scoreboard h2{font-size:clamp(24px,3.8vw,42px);margin:9px 0 2px;letter-spacing:-.04em}.scoreboard strong{font-size:4.25rem;line-height:1;font-weight:700}.scoreboard small{font-size:0.9375rem;color:#bcd2c3;margin-top:8px}.colon{font-size:2.25rem;color:#759185;align-self:center;text-align:center}.analysis{background:#e7eee5;border:1px solid #d8e5d7;border-radius:0 0 17px 17px;padding:18px 28px}.analysis strong{font-size:1.062rem}.analysis p{font-size:0.9375rem;color:#688070;margin:6px 0 0;line-height:1.45}.roster-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin:28px 0 40px}.panel,.result-team,.guide{background:#fff;border:1px solid #dce6db;border-radius:15px}.panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding:20px;border-bottom:1px solid #e7eee6}.panel-head h2,.result-team h2{margin:0;font-size:1.688rem;letter-spacing:-.035em}.panel-head p{margin:5px 0 0;font-size:0.9375rem;color:#728477;line-height:1.4}.panel-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.panel-actions button,.secondary{background:#f7fbf6;color:#2c6a47;border:1px solid #c9dcc9;border-radius:8px;padding:8px 10px;font-size:0.9375rem;font-weight:700}.player-row{border-top:1px solid #edf1eb;padding:11px 19px}.player-row:first-child{border-top:0}.player-row.unselected,.result-team tr.unselected{background:#fafcf9;color:#89988e}.player-primary{display:flex;align-items:center;gap:11px}.select-player input{width:19px;height:19px;accent-color:#398e5d}.player-name{display:grid;gap:3px;min-width:0;flex:1}.player-name b,.identity b{font-size:1.062rem;font-weight:700;color:#203d30;line-height:1.3}.player-name span,.identity span{font-size:0.9375rem;color:#788b7b}.fact-pill{font-size:0.9375rem;color:#497254;text-align:right;white-space:nowrap}.player-row details{margin:9px 0 0 31px}.player-row summary{font-size:0.9375rem;color:#318050;cursor:pointer}.edit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:13px 0}.edit-grid label{display:grid;gap:5px;color:#586e5e;font-size:0.9375rem;font-weight:600}.edit-grid input,.edit-grid select{width:100%;min-width:0;border:1px solid #d2ded0;border-radius:7px;padding:8px;color:#173b2d;background:#fff;font-size:1rem}.edit-grid input[type=checkbox]{width:20px;height:20px}.delete{border:0;background:transparent;padding:5px 0;color:#a45350;font-size:0.9375rem}.empty{padding:20px;color:#6c8070;font-size:1rem;line-height:1.5}.result-controls{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:20px 0;color:#6e8172;font-size:0.9375rem}.result-controls label{font-size:1rem;font-weight:700;color:#31563c}.result-team{margin:17px 0;padding:19px}.result-team h2{font-size:1.562rem;margin-bottom:16px}.result-team h2 small{font-size:0.9375rem;font-weight:500;color:#809084;letter-spacing:0}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:720px}th{text-align:left;font-size:0.9375rem;color:#637d69;background:#f4f8f3;padding:10px 12px}td{border-bottom:1px solid #eef1ec;padding:10px 12px;font-size:1rem}td.identity{min-width:220px}td.identity b,td.identity span{display:block}td input[type=number]{width:76px;padding:8px;border:1px solid #d4e0d1;border-radius:7px;color:#173d2e}.fact-check{display:flex;align-items:center;gap:7px;white-space:nowrap}.fact-check input{width:18px;height:18px;accent-color:#438e5e}.import-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.import-panel{padding:24px}.import-panel h2,.guide h2{font-size:1.5rem;letter-spacing:-.03em;margin:0 0 10px}.import-panel p,.guide p{font-size:1rem;color:#5e7465;line-height:1.6}.import-panel button{margin:5px 8px 5px 0}.primary{background:#174d36;border:1px solid #174d36;border-radius:8px;color:#fff;padding:12px 17px;font-weight:700;font-size:0.9375rem}.hint{font-size:0.9375rem!important}.guide{margin:18px 0 40px;padding:24px}.guide code{background:#edf4eb;border-radius:4px;color:#285e40;padding:3px;overflow-wrap:anywhere}.notice{padding:0;margin:0;color:#2b7850;font-size:1rem}.notice:not(:empty){padding:10px 13px;margin-bottom:15px;border-radius:8px;background:#e5f2e4}.notice.error{color:#a43f3d;background:#fff1ef}footer{border-top:1px solid #dfe8de;font-size:0.9375rem;color:#758778;line-height:1.5;padding:22px 0 45px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:960px){.match-grid{grid-template-columns:repeat(2,1fr)}.roster-grid,.import-grid{grid-template-columns:1fr}.edit-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:620px){.shell{padding:0 15px}.top{height:62px}.brand small{display:none}.private{font-size:0.8125rem;padding:7px 8px}.nav{gap:18px}.nav a{font-size:0.9375rem}.roundbar{padding:17px 0}.match-grid{grid-template-columns:1fr}.match-card{min-height:112px}.scoreboard{padding:19px 15px;grid-template-columns:1fr 17px 1fr;gap:5px;min-height:160px}.scoreboard h2{font-size:1.5rem}.scoreboard strong{font-size:3.375rem}.scoreboard small{font-size:0.875rem}.badge{font-size:0.8125rem}.colon{font-size:1.562rem}.analysis{padding:16px}.panel-head{flex-direction:column}.panel-actions{justify-content:flex-start}.player-primary{flex-wrap:wrap}.fact-pill{margin-left:31px;text-align:left}.edit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.result-controls{align-items:flex-start;flex-direction:column}}
.player-outcome{margin:7px 0 0 31px;font-size:0.9375rem;font-weight:600;color:#2d6446;line-height:1.4}.player-outcome span{display:block;color:#718474;font-weight:500;margin-top:3px}.result-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:14px 0}.result-toolbar label{font-size:1rem;font-weight:700;color:#31563c}.result-toolbar select{border:1px solid #c9d9ca;border-radius:8px;background:#fff;color:#173f2d;padding:8px 12px;margin-left:6px;max-width:220px}.roster-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.results-note{font-size:0.9375rem;color:#657d69;line-height:1.5;margin:0 0 20px}.result-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.result-team .result-head h2{margin:0}.result-team table{min-width:850px}.result-team .identity details{margin-top:8px}.result-team .identity summary{font-size:0.9375rem;color:#347753;cursor:pointer}.result-team .identity .edit-grid{min-width:450px}.result-team .identity .edit-grid label{display:grid}.result-team .identity .edit-grid input,.result-team .identity .edit-grid select{width:100%;font-size:0.9375rem}.result-team .identity .edit-grid input[type=checkbox]{width:20px}@media(max-width:620px){.result-head{align-items:flex-start;flex-direction:column}.roster-tools{width:100%}.result-toolbar select{max-width:180px}.player-outcome{font-size:0.9375rem}}
.lineup-key{display:flex;gap:8px;padding:10px 18px;border-bottom:1px solid #e7eee6;background:#f8fbf7}
.lineup-key span,.lineup-badge{border-radius:999px;padding:4px 8px;font-size:0.8125rem;font-weight:900;letter-spacing:.07em}
.starter-key{background:#dcefdc;color:#1f6a41}.substitute-key{background:#e6ebf5;color:#465d8b}
.squad-divider{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:9px 18px;border-top:3px solid #9caea1;border-bottom:1px solid #dce5dd;background:#e9efea;color:#314e3b}
.squad-divider span{font-size:0.875rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.squad-divider small{font-size:0.875rem;color:#718077}
.player-row{border-left:4px solid transparent;transition:background-color .15s ease}
.player-row.slot-starter{background:#fbfefb}.player-row.slot-bench{background:#f5f7f5;color:#77867c}
.player-row.status-starter{border-left-color:#4b9c66}.player-row.status-out{border-left-color:#d16a61;background:#fff7f5}.player-row.status-in{border-left-color:#3e8fbd;background:#f3f9ff}.player-row.status-bench{border-left-color:#cfd7d1}
.squad-number{width:28px;height:28px;flex:0 0 28px;display:grid;place-items:center;border-radius:8px;background:#173c2d;color:#fff;font-size:0.9375rem;font-weight:900;font-variant-numeric:tabular-nums}
.player-row.slot-bench .squad-number{background:#65786b}
.readonly-lineup{width:19px;text-align:center;font-weight:900;color:#318052}
.lineup-badge{flex:none}
.status-starter .lineup-badge{background:#dcefdc;color:#1f6a41}.status-out .lineup-badge{background:#ffe0dc;color:#a33d35}.status-in .lineup-badge{background:#dcefff;color:#1e628d}.status-bench .lineup-badge{background:#e7ebe8;color:#64736a}
.stat-metrics{display:flex;align-items:stretch;gap:5px;flex:none}
.stat-metrics>span{display:grid;grid-template-columns:auto auto;align-items:baseline;gap:5px;min-width:58px;padding:7px 9px;border:1px solid;border-radius:9px;line-height:1}
.stat-metrics small{font-size:0.8125rem;font-weight:950;letter-spacing:.08em}.stat-metrics b{font-size:1.188rem;font-variant-numeric:tabular-nums}
.stat-metrics .metric-goals{background:#eff8d8;border-color:#b9d978;color:#365f15}.stat-metrics .metric-saves{background:#e2f2ff;border-color:#9bc8e6;color:#205b80}.stat-metrics .metric-assists{background:#f5eafa;border-color:#d0acdF;color:#71417d}
.team-metrics>span{min-width:70px;padding:10px 12px}.team-metrics small{font-size:0.875rem}.team-metrics b{font-size:1.562rem}
.player-outcome{margin-left:73px}
@media(max-width:620px){.team-metrics{width:100%;order:3}.team-metrics>span{flex:1;justify-content:center}.lineup-badge{order:5;margin-left:73px}.player-metrics{order:4;margin-left:auto}.player-metrics>span{min-width:50px;padding:6px}.player-name{flex-basis:calc(100% - 114px)}.player-outcome{margin-left:73px}.player-filters label,.player-filters select{width:100%}.player-filters>span{margin-left:0}}
.real-match{display:block;margin-top:3px;font-size:0.9375rem;color:#778b7b;line-height:1.35}
.source-links{display:flex;gap:15px;align-items:center;flex-wrap:wrap;margin-left:auto}.source-links a{margin-left:0!important;white-space:nowrap}
.fixture-results h2{margin-bottom:5px}.fixture-results>p,.league-table>p{color:#647e6b;font-size:0.9375rem;line-height:1.5}
.fixture-result{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:11px 0;border-top:1px solid #e7eee6}.fixture-result>span:first-child{flex:1 1 200px;font-size:1rem;font-weight:700}.fixture-result label:not(.fixture-confirm){display:grid;gap:3px;font-size:0.875rem;color:#607667}.fixture-result input[type=number]{width:75px;padding:7px 9px;border:1px solid #cbdccc;border-radius:7px}.fixture-result .fixture-confirm{display:flex;align-items:center;gap:6px;font-size:0.9375rem}.fixture-confirm input{width:18px;height:18px;accent-color:#438e5e}.fixture-colon{align-self:end;padding-bottom:8px}.fixture-result small{color:#397d55;font-size:0.9375rem}
.league-table table{min-width:660px}.league-table th:first-child,.league-table td:first-child{width:36px}.league-table td{white-space:nowrap}.league-table td:nth-child(2){min-width:120px}.league-table td:last-child strong{color:#1b6443}.table-fixtures{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.table-fixture{display:grid;grid-template-columns:64px 1fr 75px;gap:4px 10px;align-items:center;padding:11px;border-radius:8px;background:#f1f8f0;font-size:0.9375rem}.table-fixture span{color:#5f8067;font-size:0.9375rem}.table-fixture strong{text-align:right}.table-fixture small{grid-column:2/4;color:#50845e}.table-fixture.missing{background:#f6f8f5;color:#718175}.table-fixture.missing small{color:#89998e}
@media(max-width:800px){.table-fixtures{grid-template-columns:1fr}.source-links{margin-left:0}.roundbar{flex-wrap:wrap;gap:10px}}
@media(max-width:620px){.nav{gap:12px;overflow-x:auto}.nav a{white-space:nowrap}.source-links{gap:12px}.fixture-result>span:first-child{flex-basis:100%}}
.club-crest{display:inline-grid;place-items:center;flex:none;border-radius:50%;border:2px solid rgba(255,255,255,.56);box-shadow:0 2px 10px #14243135;background:#fff;vertical-align:middle;overflow:hidden}.club-crest img{display:block;width:82%;height:82%;object-fit:contain}
.club-crest.milan img{width:74%;height:74%;transform:translateY(-3%)}
.match-card{border-left:5px solid var(--club-bg,#3f9464)}.match-card .pair{display:flex;align-items:center;flex-wrap:wrap;gap:5px}.match-card .pair .pair-team{display:inline-flex;align-items:center;gap:7px;color:#17372b;font-weight:800}.match-card .pair .club-crest{margin-right:1px}
.scoreboard{padding:16px;align-items:stretch;background:#213f46}.scoreboard .scoreboard-team{background:var(--club-bg,#12332b);color:var(--club-ink,#fff);border-radius:12px;padding:17px 21px;min-width:0}.scoreboard-title{display:flex;align-items:center;gap:12px;min-width:0}.scoreboard .right .scoreboard-title{justify-content:flex-end}.scoreboard .badge,.scoreboard .badge.away{background:#ffffff36;color:inherit}.scoreboard .scoreboard-team small{color:inherit;opacity:.82}.scoreboard .colon{color:#edf8ee}
.team-panel{border-top:5px solid var(--club-bg,#3f9464)}.team-panel .panel-head h2{display:flex;align-items:center;gap:9px}
.league-table table{min-width:1270px}.league-table th{background:#5d4c72;color:#fff;text-align:center;white-space:nowrap;border-right:1px solid #ffffff25;font-size:0.9375rem}.league-table thead tr:nth-child(2) th{background:#76638a}.league-table td{text-align:center;padding:9px 6px;border-right:1px solid #e1e7e2;font-size:0.9375rem}.league-table .table-team{text-align:left;display:flex;align-items:center;gap:8px;min-width:155px;white-space:nowrap}.league-table .rank-row{border-left:4px solid var(--club-bg,#dbe5db)}.league-table .rank-1{background:#fff4c9}.league-table .rank-2{background:#e1f7e4}.league-table .rank-3{background:#e3f2ff}.league-table .rank-11,.league-table .rank-12{background:#fce9f5}.league-table td.points strong{font-size:1.062rem;color:#193b2c}
@media(max-width:620px){.scoreboard{padding:8px;gap:4px}.scoreboard .scoreboard-team{padding:10px 6px}.scoreboard-title{flex-direction:column;align-items:flex-start;gap:1px}.scoreboard .right .scoreboard-title{align-items:flex-end}.scoreboard .scoreboard-team small{font-size:0.875rem}.scoreboard .colon{font-size:1.25rem}.match-card .pair .club-crest{transform:scale(.8);margin:-4px}}
.league-table .table-team{display:table-cell}.table-team-inner{display:flex;align-items:center;gap:8px}
.club-forecast{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:13px 15px;margin-bottom:15px;border-radius:9px;background:#f4f8f3;color:#31563c;font-size:0.9375rem;font-weight:700}
.club-forecast-fields{display:flex;gap:12px;flex-wrap:wrap}
.club-forecast-fields label{display:grid;gap:4px;font-size:0.9375rem;color:#506d57}
.club-forecast-fields input{width:112px;max-width:100%;border:1px solid #cbdccc;border-radius:7px;background:#fff;padding:7px 9px;color:#173b2d;font-size:1rem}
.roundbar.table-mode>label,.roundbar.table-mode>#roundDate{display:none}
.league-table .table-sort{border:0;background:none;color:inherit;font:inherit;font-weight:800;padding:4px 2px;display:inline-flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap;cursor:pointer}
.league-table .table-sort:hover{text-decoration:underline}
.league-table .table-sort span{font-size:0.875rem;opacity:.7}
.match-status{display:inline-block;border-radius:30px;padding:7px 12px;margin:0 0 10px;background:#f1f4ec;color:#526d59;font-size:0.9375rem;font-weight:700}
.match-status.finished{background:#d8eee0;color:#1d7148}
.match-status.ready{background:#dfe9fb;color:#255c99}
.player-stat-panel>p{font-size:1rem;line-height:1.5;color:#607568;margin:0 0 18px}
.player-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:0 0 18px;padding:14px;border:1px solid #dbe6da;border-radius:11px;background:#f6f9f5}
.player-filters label{display:grid;gap:5px;font-size:0.9375rem;font-weight:800;color:#31563c}
.player-filters select{min-width:180px;border:1px solid #c9d9ca;border-radius:8px;background:#fff;color:#173f2d;padding:9px 11px}
.player-filters>span{margin-left:auto;padding:9px 0;color:#6b7e70;font-size:0.9375rem;font-weight:700}
[hidden]{display:none!important}
.sync-status a{color:inherit;text-decoration:underline}
.readonly-lineup{width:19px;flex:none;font-size:1.188rem;font-weight:800;color:#428b5d;text-align:center}
.player-row.unselected .readonly-lineup{color:#9aa89c}
.player-stats-wrap{max-height:min(75vh,860px);overflow:auto}
.player-stats-table{min-width:920px}
.player-stats-table th{position:sticky;top:0;z-index:2;background:#5d4c72;color:#fff;white-space:nowrap;text-align:center;border-right:1px solid #ffffff2b;font-size:0.9375rem}
.player-stats-table th:first-child{left:0;z-index:4;text-align:left;min-width:185px}
.player-stats-table th:nth-child(2){text-align:left;min-width:130px}
.player-stats-table td{font-size:0.9375rem;text-align:center;border-right:1px solid #e7ece7;white-space:nowrap;padding:8px 9px}
.player-stats-table td:first-child{position:sticky;left:0;z-index:1;text-align:left;background:#fff}
.player-stats-table td:nth-child(2){text-align:left}
.player-stats-table tbody tr:nth-child(even){background:#f6f9f6}
.player-stats-table tbody tr:nth-child(even) td:first-child{background:#f6f9f6}
.player-stats-table tbody tr:hover,.player-stats-table tbody tr:hover td:first-child{background:#ebf5eb}
.player-stats-table th:last-child{right:0;z-index:5;min-width:105px;box-shadow:-4px 0 8px #172c2b23}
.player-stats-table td:last-child{position:sticky;right:0;z-index:1;min-width:105px;background:#fff;box-shadow:-4px 0 8px #172c2b16}
.player-stats-table tbody tr:nth-child(even) td:last-child{background:#f6f9f6}
.player-stats-table tbody tr:hover td:last-child{background:#ebf5eb}
.player-stats-table .table-sort{border:0;background:none;color:inherit;font:inherit;font-weight:800;padding:4px 2px;display:inline-flex;align-items:center;justify-content:center;gap:4px;white-space:normal;line-height:1.15;max-width:105px}
.player-stats-table .table-sort:hover{text-decoration:underline}
.player-stats-table .table-sort span{font-size:0.875rem;opacity:.7}
.player-stat-name strong,.player-stat-name small{display:block}
.player-stat-name strong{font-size:1rem;color:#193e2e}
.player-stat-name small{font-size:0.9375rem;color:#728478;white-space:normal;line-height:1.35;margin-top:2px}
.player-stat-teams{display:flex;gap:5px;flex-wrap:wrap}
.player-goals{font-size:1.062rem;color:#153d2d}
.import-workspace{padding:22px}
.import-workspace>p{font-size:1rem;line-height:1.5;color:#667c6b}
.import-report p{line-height:1.5}.import-report summary{cursor:pointer;font-weight:700}.import-report ul{max-height:18rem;overflow:auto;padding-left:1.5rem;line-height:1.5;overflow-wrap:anywhere}
.import-controls{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:20px}
.import-controls label,.catalog-search{display:grid;gap:5px;font-size:0.9375rem;font-weight:700;color:#34583d}
.import-controls select,.catalog-search input{min-width:190px;border:1px solid #c9d9ca;border-radius:8px;background:#fff;color:#173f2d;padding:10px 12px}
.import-progress{display:flex;align-items:baseline;gap:15px;flex-wrap:wrap}
.import-progress h2{margin:0}
.import-progress span,.import-actions span{font-size:0.9375rem;color:#657e69}
.catalog-search input{width:min(420px,100%)}
.catalog-list{margin-top:15px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:440px;overflow:auto;padding:2px}
.catalog-player{display:flex;gap:10px;align-items:center;padding:12px;border:1px solid #dce8dc;border-radius:9px;cursor:pointer;background:#fafdfa}
.catalog-player:has(input:checked){border-color:#4ca674;background:#edf7ef}
.catalog-player input{width:19px;height:19px;accent-color:#398e5d;flex:none}
.catalog-player strong,.catalog-player small{display:block}
.catalog-player strong{font-size:1rem;color:#1a3c2c}
.catalog-player small{font-size:0.9375rem;color:#687f6d;margin-top:3px;line-height:1.35}
.import-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:18px}
.primary:disabled{opacity:.48;cursor:not-allowed}
.legacy-import{margin:18px 0 36px;padding:16px;border:1px solid #dce6db;border-radius:10px;background:white;color:#355f43}
.legacy-import summary{cursor:pointer;font-weight:700}
@media(max-width:700px){.catalog-list{grid-template-columns:1fr}.import-controls label{width:100%}.import-controls select{width:100%}}
.player-team-tag{border-left:3px solid var(--club-bg,#40915e);border-radius:4px;background:#f1f5f1;padding:4px 7px;font-size:0.9375rem;font-weight:700;color:#244434}
@media(max-width:620px){.club-forecast-fields{width:100%}.club-forecast-fields label{flex:1;min-width:95px}.club-forecast-fields input{width:100%}}
.workbook-panel{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:16px;border-color:#a9cfae;background:#f5fbf4}
.workbook-panel>div{max-width:850px}.workbook-panel .primary{flex:none;padding:13px 20px}
.separate-import{margin:0 0 17px;border:1px solid #dce6db;border-radius:12px;background:#fff}
.separate-import>summary{cursor:pointer;padding:15px 19px;color:#315e42;font-weight:700}
.separate-import[open]>summary{border-bottom:1px solid #e5ece4}.separate-import .import-grid{padding:16px}
.separate-import .import-panel{border:0;background:#f8fbf7}
@media(max-width:700px){.workbook-panel{align-items:flex-start;flex-direction:column}.workbook-panel .primary{width:100%}.separate-import .import-grid{padding:10px}}

/* История личных встреч */
.h2h-controls,.team-page-chooser{display:flex;align-items:flex-end;justify-content:center;gap:14px;margin:12px 0 30px;padding:17px 20px;border:1px solid #d9e5d9;border-radius:14px;background:#fff}
.h2h-controls label,.team-page-chooser label,.h2h-table-filters label,.h2h-entry label{display:grid;gap:6px;color:#627768;font-size:0.875rem;font-weight:850;letter-spacing:.035em}
.h2h-controls select,.team-page-chooser select,.h2h-table-filters select,.h2h-entry select{min-width:210px;border:1px solid #c9d9ca;border-radius:9px;background:#fff;color:#173f2d;padding:10px 12px;font-weight:700}
.swap{width:43px;height:43px;border:1px solid #b8d2bd;border-radius:50%;background:#edf7ed;color:#236043;font-size:1.438rem;font-weight:800;transition:transform .15s ease,background .15s ease}
.swap:hover{background:#dff0df;transform:rotate(180deg)}
.h2h-title{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:24px;margin:4px 0 18px;text-align:center}
.h2h-title .section-heading{margin:0}.h2h-title .section-heading h1{font-size:clamp(35px,5vw,62px)}
.h2h-title .crest.large,.team-profile .crest.large,.h2h-empty .crest.large{width:82px;height:82px}
.h2h-switch{display:flex;justify-content:center;gap:5px;margin:0 0 18px}
.h2h-switch button{border:1px solid #cbdccb;background:#fff;color:#52705d;padding:9px 18px;font-weight:800}
.h2h-switch button:first-child{border-radius:9px 0 0 9px}.h2h-switch button:last-child{border-radius:0 9px 9px 0}
.h2h-switch button.active{border-color:#173f2d;background:#173f2d;color:#fff}
.h2h-hero{overflow:hidden;border-radius:20px;background:#102f27;color:#fff;box-shadow:0 12px 35px rgba(23,51,44,.14);margin-bottom:25px;padding:28px 34px 0}
.h2h-leader{text-align:center;margin:0;color:#c8ecae;font-size:1rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.h2h-total{display:flex;align-items:baseline;justify-content:center;gap:8px;margin:7px 0 20px}
.h2h-total strong{font-size:2.688rem;line-height:1}.h2h-total span{color:#b9cec2;font-size:1rem}
.h2h-scoreboard{display:grid;grid-template-columns:1fr .7fr 1fr;align-items:end;gap:16px;text-align:center}
.h2h-scoreboard article{display:grid;gap:3px}.h2h-scoreboard span{min-height:27px;font-size:1.188rem;font-weight:800}.h2h-scoreboard strong{font-size:clamp(46px,7vw,76px);line-height:1}.h2h-scoreboard small{color:#abc2b5;font-size:0.9375rem}.h2h-scoreboard .draws strong{color:#c7d3cc}
.balance-bar{display:flex;height:12px;margin:22px 0 0;border-radius:7px 7px 0 0;overflow:hidden;background:#557068}.balance-bar span{display:block}.balance-bar .a{background:#86d15f}.balance-bar .d{background:#acbcb2}.balance-bar .b{background:#8370dd}
.h2h-goals{display:grid;grid-template-columns:repeat(3,1fr);margin:0 -34px;background:#193c32;border-top:1px solid #39584f}
.h2h-goals>div{display:grid;gap:5px;text-align:center;padding:18px;border-left:1px solid #35564b}.h2h-goals>div:first-child{border-left:0}.h2h-goals small{color:#a9bfb3;font-size:0.875rem;text-transform:uppercase;letter-spacing:.08em}.h2h-goals b{font-size:1.562rem}
.h2h-section{margin:18px 0;padding:25px 27px;border:1px solid #dce6db;border-radius:16px;background:#fff}
.h2h-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}.h2h-section h2,.h2h-entry h2{margin:3px 0 0;font-size:1.75rem;letter-spacing:-.035em}.eyebrow{color:#43855d;font-size:0.875rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.h2h-form{display:grid;gap:7px;min-width:285px}.h2h-form-line{display:grid;grid-template-columns:minmax(80px,1fr) auto;align-items:center;gap:10px;font-size:0.9375rem}.h2h-form-line>span{display:flex;gap:5px}.h2h-form-line i{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;color:#fff;font-style:normal;font-weight:900}.h2h-form-line .win{background:#408e5c}.h2h-form-line .draw{background:#87958b}.h2h-form-line .loss{background:#b75e59}
.active-streak{margin:0 0 16px;padding:11px 14px;border-left:4px solid #7ebe57;border-radius:6px;background:#edf7e8;color:#28553b;font-weight:700}
.h2h-table{min-width:760px}.h2h-table th{white-space:nowrap}.h2h-table td{font-variant-numeric:tabular-nums}.h2h-table td:nth-child(5),.h2h-table td:nth-child(7){font-weight:700}.h2h-score{text-align:center;font-size:1.062rem;font-weight:900;white-space:nowrap}.h2h-score a{display:inline-block;border-radius:6px;background:#eaf4e8;padding:5px 9px;color:#205d3d;text-decoration:none}.h2h-score a:hover{text-decoration:underline}
.recent-section>.secondary{margin-top:17px}
.venue-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.venue-grid article{display:grid;grid-template-columns:1fr auto;gap:5px 15px;padding:20px;border-radius:12px;background:#f2f7f1}.venue-grid h3{grid-column:1/3;margin:0 0 9px;font-size:1.125rem}.venue-grid b{font-size:1.188rem}.venue-grid span{grid-column:1;line-height:1.45;color:#667b6b}.venue-grid strong{grid-column:2;grid-row:2/4;font-size:2.125rem;align-self:center}.venue-grid small{grid-column:2;text-align:right;color:#718278}
.record-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.record-grid article{min-height:126px;display:flex;flex-direction:column;justify-content:space-between;gap:12px;padding:17px;border:1px solid #e2e9e1;border-radius:12px;background:#f9fbf8}.record-grid article>span:first-child{color:#647869;font-size:0.875rem;font-weight:850;text-transform:uppercase;letter-spacing:.045em}.record-grid article strong{font-size:1.188rem;line-height:1.3;color:#183d2d}.record-grid article strong+span{font-size:0.9375rem;color:#6c806f}
.streak-table th:first-child{width:50%}.streak-table td{font-size:1.25rem;font-weight:850}
.productivity-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.productivity-grid article{display:grid;gap:3px;padding:18px;border-radius:12px;background:#eef5ec}.productivity-grid small{min-height:31px;color:#5f7665;font-weight:700}.productivity-grid strong{font-size:2.188rem}.productivity-grid span{font-size:0.9375rem;color:#6a7f70}
.goal-buckets{display:grid;gap:9px;margin-top:20px}.goal-buckets>div{display:grid;grid-template-columns:60px 1fr 35px;align-items:center;gap:12px}.goal-buckets span{height:12px;border-radius:7px;background:linear-gradient(90deg,#64a96f var(--share),#e4ebe3 var(--share))}.goal-buckets strong{text-align:right}
.period-table th:first-child{width:55%}.period-table td{font-weight:700}
.h2h-table-filters{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}.h2h-table-filters select{min-width:135px;padding:8px 10px}.source-note{margin:17px 0 0;color:#6a7e70;font-size:0.9375rem;line-height:1.55}
.h2h-empty{text-align:center;margin:25px 0 45px;padding:55px 25px;border:1px dashed #bfd2c0;border-radius:17px;background:#f8fbf7}.h2h-empty .crest{margin:auto}.h2h-empty h2{margin:20px auto 7px;max-width:720px}.h2h-empty p{color:#6b8070}
.team-page-chooser{justify-content:flex-start}.team-profile{display:flex;align-items:center;gap:23px;margin-bottom:18px;padding:30px;border-radius:17px;background:linear-gradient(135deg,var(--club-bg,#173f2d),#102c24);color:#fff}.team-profile h1{margin:3px 0;font-size:clamp(38px,6vw,62px);letter-spacing:-.05em}.team-profile p{margin:6px 0 0;color:#d2e1d6}.team-profile .eyebrow{color:#c7eca9}
.h2h-entry{display:flex;align-items:flex-end;gap:20px;margin-bottom:40px;padding:25px;border:1px solid #dce6db;border-radius:15px;background:#fff}.h2h-entry>div{flex:1}.h2h-entry p{margin:7px 0 0;color:#687d6f}.h2h-entry .primary{height:43px}
@media(max-width:900px){.record-grid{grid-template-columns:repeat(2,1fr)}.productivity-grid{grid-template-columns:repeat(2,1fr)}.h2h-section-head{align-items:flex-start;flex-direction:column}.h2h-table-filters{justify-content:flex-start}.h2h-form{width:100%}}
@media(max-width:620px){.h2h-controls{display:grid;grid-template-columns:1fr auto 1fr;padding:13px 10px;gap:7px}.h2h-controls label{min-width:0}.h2h-controls select{width:100%;min-width:0;padding:9px 7px}.swap{width:36px;height:36px;font-size:1.188rem}.h2h-title{grid-template-columns:1fr}.h2h-title>.crest{display:none}.h2h-title .section-heading h1{font-size:2.125rem}.h2h-hero{padding:23px 15px 0;border-radius:15px}.h2h-scoreboard{gap:5px}.h2h-scoreboard span{font-size:0.9375rem}.h2h-scoreboard strong{font-size:2.812rem}.h2h-scoreboard small{font-size:0.875rem}.h2h-goals{margin-left:-15px;margin-right:-15px}.h2h-goals>div{padding:14px 7px}.h2h-goals b{font-size:1.188rem}.h2h-section{padding:18px 14px}.h2h-section h2{font-size:1.5rem}.venue-grid,.record-grid,.productivity-grid{grid-template-columns:1fr}.record-grid article{min-height:105px}.h2h-form-line{grid-template-columns:75px auto}.team-profile{padding:23px 18px}.team-profile .crest{display:none}.h2h-entry{align-items:stretch;flex-direction:column}.h2h-entry label,.h2h-entry select,.h2h-entry .primary{width:100%}}

.match-h2h-link{display:inline-flex;margin-top:10px;padding:9px 12px;border:1px solid #b8d4bd;border-radius:8px;background:#f7fbf6;color:#245f40;font-weight:800;text-decoration:none}.match-h2h-link:hover{background:#eaf5e9}
.player-credited-goals{color:#285f9d}.player-stats-table th:nth-child(n+4){min-width:72px}.player-stats-table th:nth-child(5),.player-stats-table th:nth-child(6),.player-stats-table th:nth-child(8){min-width:92px}
.goal-credits>p{color:#617668;line-height:1.5}.goal-credit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.goal-credit-card{padding:17px;border:1px solid #d8e6d7;border-left:5px solid #4f8cbd;border-radius:11px;background:#f8fbfd}.goal-credit-card.all-blocked{border-left-color:#87958b;background:#f5f7f5}.goal-credit-card>div:first-child{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.goal-credit-card h3{margin:0;font-size:1.25rem}.goal-credit-card>div>span{color:#74857a;font-size:0.9375rem}.goal-credit-card>strong{display:block;margin-top:12px;color:#244d6d}.goal-credit-card>p{margin:5px 0 12px;color:#65776c;font-size:0.9375rem;line-height:1.45}.goal-credit-selects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.goal-credit-selects label{display:grid;gap:5px;color:#5f7166;font-size:0.875rem;font-weight:800}.goal-credit-selects select{width:100%;min-width:0;border:1px solid #c9d9ca;border-radius:8px;background:#fff;padding:8px;color:#173f2d}
.h2h-form>small{color:#687d70;text-align:right}.h2h-result-row .team-result{border-left:4px solid transparent}.h2h-result-row .team-result.win{border-left-color:#408e5c;background:#edf7ef;color:#1f623a}.h2h-result-row .team-result.loss{border-left-color:#b75e59;background:#fff1ef;color:#8c3f3b}.h2h-result-row .team-result.draw{border-left-color:#87958b;background:#f1f3f1;color:#59645d}.h2h-score.win a,.h2h-score.win b{background:#dff1e4;color:#1d6c40}.h2h-score.loss a,.h2h-score.loss b{background:#fce6e3;color:#963e39}.h2h-score.draw a,.h2h-score.draw b{background:#e7ebe8;color:#536057}.h2h-score b{display:inline-block;border-radius:6px;padding:5px 9px}.current-series{display:block;margin-top:3px;color:#33724e!important;font-weight:850}.streak-table td strong,.streak-table td small{display:block}.streak-table td small{margin-top:3px;color:#467759;font-size:0.875rem}
@media(max-width:700px){.goal-credit-grid,.goal-credit-selects{grid-template-columns:1fr}.goal-credit-card>div:first-child{align-items:flex-start;flex-direction:column}.player-stats-table{min-width:900px}}

/* Карточки команд и статистика команды */
.match-card{padding:17px 19px}.match-card .pair-team{text-decoration:none}.match-card .pair-team:hover{text-decoration:underline}.match-card-open{display:grid;gap:7px;width:100%;padding:0;border:0;background:transparent;color:inherit;text-align:left}.match-card-open strong{font-size:1.375rem}.match-card-open small{font-size:0.9375rem;line-height:1.35;color:#6b7e70}.scoreboard-title{color:inherit;text-decoration:none}.scoreboard-title:hover h2{text-decoration:underline}.table-team-inner{text-decoration:none;color:inherit}.player-team-tag{text-decoration:none}a.player-team-tag:hover{text-decoration:underline}.h2h-title h1 a{color:inherit;text-decoration:none}.h2h-title h1 a:hover{text-decoration:underline}.h2h-result-row .team-result a{color:inherit}
.team-profile{justify-content:flex-start}.team-profile>div{flex:1}.team-profile>label{display:grid;gap:6px;min-width:200px;color:#d4e5d8;font-size:0.875rem;font-weight:850;letter-spacing:.035em}.team-profile select{width:100%;border:1px solid #ffffff5c;border-radius:9px;background:#fff;color:#173f2d;padding:10px 12px;font-weight:700}
.team-section{margin:18px 0;padding:25px 27px;border:1px solid #dce6db;border-radius:16px;background:#fff}.team-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}.team-section h2{margin:3px 0 0;font-size:1.75rem;letter-spacing:-.035em}.team-period-caption{color:#60776a;font-size:0.9375rem}.honor-grid,.team-stat-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}.honor-grid article,.team-stat-grid article,.season-extremes article{display:grid;align-content:start;gap:5px;min-height:108px;padding:16px;border:1px solid #dfe9dd;border-radius:12px;background:#f7faf6}.honor-grid article:first-child{background:#fff7d8;border-color:#ead27b}.honor-grid span,.team-stat-grid span,.season-extremes span{color:#64796a;font-size:0.875rem;font-weight:850;letter-spacing:.04em;text-transform:uppercase}.honor-grid strong,.team-stat-grid strong,.season-extremes strong{font-size:1.875rem;line-height:1.1;color:#183c2d}.honor-grid small,.team-stat-grid small,.season-extremes small{color:#6a7f70;font-size:0.875rem;line-height:1.4}.summary-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.summary-grid article:nth-child(2),.summary-grid article:nth-child(6){background:#edf7ef;border-color:#b9d9bd}.gop-grid{grid-template-columns:repeat(3,1fr)}.data-gap,.muted{margin:0;padding:17px;border-left:4px solid #96a49b;border-radius:8px;background:#f3f5f3;color:#617267;line-height:1.55}
.recent-summary{display:grid;text-align:right}.recent-summary b{font-size:1.438rem}.recent-summary small{color:#687d6f}.team-form-strip{display:flex;gap:7px;margin-bottom:16px}.team-form-strip i,.team-recent-row>i{display:grid;place-items:center;border-radius:50%;color:#fff;font-style:normal;font-weight:900}.team-form-strip i{width:31px;height:31px}.team-form-strip .win,.team-recent-row>i.win{background:#408e5c}.team-form-strip .draw,.team-recent-row>i.draw{background:#87958b}.team-form-strip .loss,.team-recent-row>i.loss{background:#b75e59}.team-recent-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.team-recent-row{display:grid;grid-template-columns:29px 1fr auto;align-items:center;gap:10px;padding:11px 13px;border:1px solid #e0e9df;border-radius:9px;color:#1d4030;text-decoration:none}.team-recent-row:hover{border-color:#8fbd98;background:#f6faf5}.team-recent-row>i{width:27px;height:27px;font-size:0.875rem}.team-recent-row span{display:grid;gap:2px}.team-recent-row small{color:#708376;font-size:0.875rem}.team-recent-row>strong{font-size:1.125rem}.active-team-streaks{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:17px}.active-team-streaks span{padding:10px 13px;border-radius:30px;background:#e7f4e5;color:#285e3c;font-size:0.9375rem;font-weight:700}.active-team-streaks b{font-size:1.125rem}.team-compare-table{min-width:600px}.team-compare-table th:first-child{width:48%}.team-compare-table td{font-variant-numeric:tabular-nums}.team-compare-table td strong{font-size:1.125rem}.opponent-list{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.opponent-list>a{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px;border:1px solid #dfe8de;border-radius:11px;color:#1b412f;text-decoration:none}.opponent-list>a:hover{border-color:#8fbd98;background:#f6faf5}.opponent-list span,.opponent-list strong{display:grid;gap:4px}.opponent-list span{font-size:1.062rem;font-weight:800}.opponent-list strong{text-align:right;font-size:1.375rem}.opponent-list small{color:#6b7f70;font-size:0.875rem;font-weight:500}.season-extremes{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:17px}.season-extremes article:first-child{background:#edf7ef}.season-extremes article:last-child{background:#fff4f2}.season-table{min-width:900px}.season-table th,.season-table td{text-align:center}.season-table th:first-child,.season-table td:first-child{text-align:left}.season-table .current-season{background:#edf5ff}.season-table td small{color:#6081a6}.season-place{display:inline-grid;place-items:center;min-width:31px;height:31px;border-radius:50%;background:#edf1ed}.season-place.place-1{background:#f8d75e;color:#5d4900}.season-place.place-2{background:#dce5e2;color:#40544e}.season-place.place-3{background:#e8b98e;color:#68401e}
@media(max-width:1050px){.honor-grid{grid-template-columns:repeat(3,1fr)}.summary-grid{grid-template-columns:repeat(3,1fr)}.opponent-list{grid-template-columns:1fr}.team-recent-list{grid-template-columns:1fr}}
@media(max-width:620px){.match-card{padding:14px 15px}.team-profile{align-items:flex-start;flex-direction:column}.team-profile>label{width:100%}.team-section{padding:18px 14px}.team-section-head{align-items:flex-start;flex-direction:column}.team-section h2{font-size:1.5rem}.honor-grid,.summary-grid,.gop-grid{grid-template-columns:repeat(2,1fr)}.honor-grid article,.team-stat-grid article{min-height:99px}.honor-grid strong,.team-stat-grid strong{font-size:1.562rem}.recent-summary{text-align:left}.season-extremes{grid-template-columns:1fr}}

/* Состав команды и ближайшие матчи */
.team-subnav{display:flex;gap:6px;margin-top:13px}.team-subnav a{padding:8px 12px;border:1px solid #ffffff42;border-radius:22px;color:#fff;text-decoration:none;font-size:0.9375rem;font-weight:850}.team-subnav a:hover,.team-subnav a.active{background:#fff;color:#173f2d}.upcoming-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.upcoming-list>a{display:flex;min-height:104px;flex-direction:column;justify-content:space-between;gap:14px;padding:16px;border:1px solid #dce8da;border-radius:12px;background:#f7faf6;color:#173f2d;text-decoration:none}.upcoming-list>a:hover{border-color:#83b18c;background:#eff8ed}.upcoming-list span{display:grid;gap:5px}.upcoming-list small{color:#64796b;font-size:0.875rem;font-weight:700}.upcoming-list b{font-size:1.062rem;line-height:1.35}.upcoming-list>a>strong{color:#2b7549;font-size:0.9375rem}
.squad-profile{margin-bottom:10px}.roster-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 10px;padding:12px 15px;border:1px solid #d9e5d8;border-radius:12px;background:#fff;color:#617568;font-size:0.9375rem}.roster-meta span{padding-right:10px;border-right:1px solid #dde7dc}.roster-meta b{color:#183f2d}.roster-meta a{margin-left:auto;color:#226744;font-weight:800}.roster-legend{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}.roster-legend span{display:flex;align-items:center;gap:7px;color:#587060;font-size:0.9375rem;font-weight:700}.roster-legend i{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;font-style:normal;font-weight:900}.roster-legend i.active{background:#dff1e1;color:#28633d}.roster-legend i.list-b{background:#fff1c9;color:#765b06}.roster-legend i.deregistered{background:#f4dfdd;color:#8a3f3a}.roster-status>.team-section-head>strong{display:grid;place-items:center;min-width:39px;height:39px;border-radius:50%;background:#e6f2e5;color:#24593a;font-size:1.125rem}.roster-list-b>.team-section-head>strong{background:#fff1c9;color:#765b06}.roster-deregistered>.team-section-head>strong{background:#f4dfdd;color:#8a3f3a}.squad-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:9px}.squad-player{display:grid;grid-template-columns:minmax(0,1fr);gap:13px;min-width:0;overflow:hidden;padding:15px;border:1px solid #dfe8de;border-radius:12px;background:#fbfcfa}.squad-player-title{display:flex;align-items:center;gap:11px;min-width:0}.squad-player-title>div{display:grid;gap:3px;min-width:0}.squad-player-title strong,.squad-player-title small{overflow-wrap:anywhere}.squad-player-title strong{color:#183f2d;font-size:1rem}.squad-player-title small{color:#697d6f}.position-badge{display:grid;place-items:center;flex:0 0 auto;min-width:43px;height:31px;padding:0 7px;border-radius:8px;background:#e8f2e7;color:#285b3b;font-size:0.875rem;font-weight:900}.position-gk{background:#fff0bf;color:#745a08}.position-def{background:#dceafa;color:#345f8a}.position-mid{background:#dff1e1;color:#27633e}.position-fwd{background:#f3dedd;color:#8b423e}.squad-player-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(88px,1fr));gap:10px}.squad-player-stats span{display:grid;align-content:start;gap:2px;min-width:0}.squad-player-stats small{color:#748478;font-size:0.8125rem;font-weight:800;line-height:1.25;text-transform:uppercase;overflow-wrap:anywhere}.squad-player-stats b{font-size:1.062rem;color:#173f2d}.sports-link,.sports-missing{justify-self:start;max-width:100%;font-size:0.875rem;font-weight:800;line-height:1.4;overflow-wrap:anywhere}.sports-link{color:#247047}.sports-missing{color:#8b7b68}.quality-warning{color:#a45147}
.squad-list{overflow:hidden;border:1px solid #dfe8de;border-radius:12px;background:#fff}.squad-list-head,.squad-list-row{display:grid;grid-template-columns:minmax(180px,2fr) minmax(150px,1.4fr) minmax(125px,1fr) minmax(90px,.7fr);align-items:center;column-gap:18px}.squad-list-head{padding:9px 14px;background:#f3f7f2;color:#6b7d70;font-size:0.875rem;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.squad-list-row{min-height:51px;padding:9px 14px;border-top:1px solid #e5ece4;color:#506458}.squad-list-row:first-of-type{border-top:0}.squad-list-row strong{color:#173f2d;font-size:1rem;overflow-wrap:anywhere}.squad-list-row>span{min-width:0}.squad-list-row .position-badge{display:inline-flex;width:auto;min-width:0;height:27px;padding:0 9px;font-style:normal}.squad-list-row .sports-link{font-size:0.9375rem}
@media(max-width:850px){.upcoming-list{grid-template-columns:1fr}.squad-grid{grid-template-columns:1fr}}
@media(max-width:620px){.team-subnav{flex-wrap:wrap}.roster-meta{align-items:flex-start;flex-direction:column}.roster-meta span{padding-right:0;border-right:0}.roster-meta a{margin-left:0}.squad-player-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.squad-list-head{display:none}.squad-list-row{grid-template-columns:minmax(0,1fr) auto;gap:7px 12px;padding:12px}.squad-list-row strong{grid-column:1/-1}.squad-list-row>span:nth-child(4){grid-column:1/-1}.upcoming-list>a{min-height:92px}}
.roster-admin-summary .import-controls{margin-bottom:14px}.roster-admin-editor form{display:grid;grid-template-columns:1.35fr 1.2fr .8fr 1fr;gap:12px;align-items:end}.roster-admin-editor label{display:grid;gap:6px;color:#526a5b;font-size:0.9375rem;font-weight:800}.roster-admin-editor input,.roster-admin-editor select,.roster-admin-table select,.roster-admin-table input{width:100%;min-height:42px;padding:8px 10px;border:1px solid #cbd9cd;border-radius:8px;background:#fff;color:#183f2d;font:inherit}.sports-form-field{grid-column:1/-1}.roster-admin-actions{grid-column:1/-1;display:flex;gap:9px;flex-wrap:wrap}.roster-admin-table small{display:block;margin-top:3px;color:#7a8b7e;font-size:0.875rem}.roster-admin-table th:nth-child(1){min-width:210px}.roster-admin-table th:nth-child(2){min-width:150px}.roster-admin-table th:nth-child(4){min-width:180px}.roster-admin-table th:nth-child(5){min-width:300px}.sports-admin-cell{display:grid;grid-template-columns:minmax(210px,1fr) auto;gap:7px}.roster-row-actions{display:flex;gap:7px;align-items:center}.secondary.compact,.danger.compact{padding:8px 11px;white-space:nowrap}
@media(max-width:760px){.roster-admin-editor form{grid-template-columns:1fr 1fr}.roster-admin-table{min-width:850px}}
@media(max-width:520px){.roster-admin-editor form{grid-template-columns:1fr}}

/* Зал славы */
.hall-controls{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:0 0 20px;padding:15px 18px;border:1px solid #d7e3d7;border-radius:14px;background:#fff}.hall-controls>strong{color:#264f39}.hall-era{display:flex;gap:5px;flex-wrap:wrap}.hall-era button{border:1px solid #c9d9ca;border-radius:8px;background:#f7faf6;color:#4d6c57;padding:9px 13px;font-weight:800}.hall-era button.active{border-color:#173f2d;background:#173f2d;color:#fff}.hall-range{display:flex;align-items:end;gap:9px}.hall-range label,.hall-order,.matrix-controls label{display:grid;gap:5px;color:#607568;font-size:0.875rem;font-weight:850}.hall-range select,.hall-order select,.matrix-controls select,.matrix-controls input{border:1px solid #c9d9ca;border-radius:8px;background:#fff;color:#173f2d;padding:9px 10px;font-weight:700}
.hall-hero{margin-bottom:18px;padding:26px;border-radius:18px;background:#102f27;color:#fff}.hall-hero .eyebrow{color:#bce58b}.hall-hero .hall-section-head>small{color:#b9ccc1}.hall-section{margin:18px 0;padding:25px 27px;border:1px solid #dce6db;border-radius:16px;background:#fff}.hall-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}.hall-section-head h2{margin:3px 0 0;font-size:1.75rem;letter-spacing:-.035em}.hall-section-head>small{max-width:480px;color:#687d6f;line-height:1.45;text-align:right}.leader-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.leader-grid article{display:grid;grid-template-columns:1fr auto;gap:10px 15px;min-height:135px;padding:18px;border:1px solid #ffffff2e;border-radius:13px;background:#1a4035}.leader-grid article>small{grid-column:1/3;color:#b8cbbf;font-size:0.875rem;font-weight:850;text-transform:uppercase;letter-spacing:.055em}.leader-grid article>div{display:grid;align-content:start;gap:6px}.leader-grid article>div span{display:grid}.leader-grid article a{color:#fff;font-size:1.062rem;font-weight:850}.leader-grid article span small{color:#b9d1c2}.leader-grid article>strong{font-size:2.438rem;color:#c7ee9e;align-self:center}
.hall-table{min-width:760px}.all-teams-table{min-width:1560px}.hall-table th{white-space:nowrap}.hall-table th .table-sort{border:0;background:transparent;color:inherit;font:inherit;font-weight:850;display:inline-flex;align-items:center;gap:5px;padding:2px}.hall-table th .table-sort span{font-size:0.8125rem;opacity:.65}.hall-table td{font-variant-numeric:tabular-nums;white-space:nowrap}.hall-table td:first-child{font-weight:800}.hall-team-link{color:#205f40;font-weight:850}.hall-table tr.small-sample{color:#7b8980;background:#f7f8f7}.sample-note{display:block;color:#96704a;font-size:0.875rem;font-weight:700}.hall-table .current-season{background:#eef5ff}
.dynasty-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.dynasty-grid article{display:grid;grid-template-columns:1fr auto;gap:11px;padding:20px;border-radius:13px;background:#f2f7f0;border:1px solid #dce8da}.dynasty-grid article>small{font-weight:850;color:#58705f;text-transform:uppercase;letter-spacing:.045em}.dynasty-grid article>strong{grid-column:2;grid-row:1/3;font-size:2.625rem;color:#235f40}.dynasty-grid article>div{display:flex;gap:8px;flex-wrap:wrap}.dynasty-grid article span{display:grid;padding:8px 10px;border-radius:8px;background:#fff}.dynasty-grid article em,.hall-record-grid em{color:#6a806f;font-size:0.875rem;font-style:normal}.record-subhead{margin-top:28px;padding-top:25px;border-top:1px solid #e1e9e0}.hall-record-grid{grid-template-columns:repeat(3,1fr)}.hall-record-grid article>strong{font-size:1.688rem}.hall-record-grid article>div{display:grid;gap:5px}.hall-record-grid article>div span{display:flex;justify-content:space-between;gap:10px;font-size:0.9375rem}.hall-record-grid article>div a{font-weight:700}
.distribution-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:25px}.distribution-grid>div{padding:20px;border-radius:13px;background:#f5f8f4}.distribution-grid h3{margin:0 0 15px}.title-bars{display:grid;gap:8px}.title-bars>a{display:grid;grid-template-columns:minmax(105px,1fr) 2fr 30px;align-items:center;gap:10px;text-decoration:none;color:#284c37}.title-bars span{font-weight:700}.title-bars i{height:11px;border-radius:6px;background:linear-gradient(90deg,#62a86f var(--bar),#dfe8df var(--bar))}.cup-bars i{background:linear-gradient(90deg,#d5a93f var(--bar),#eee6d2 var(--bar))}
.matrix-controls{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.matrix-controls input{width:185px}.matrix-wrap{max-height:75vh;border:1px solid #dce6db;border-radius:10px}.h2h-matrix{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0}.h2h-matrix th,.h2h-matrix td{min-width:105px;padding:0;border-right:1px solid #e3e9e2;border-bottom:1px solid #e3e9e2;text-align:center;background:#fff}.h2h-matrix thead th{position:sticky;top:0;z-index:3;height:88px;padding:8px;background:#173f35;color:#fff;vertical-align:bottom}.h2h-matrix thead th a{display:inline-block;max-width:90px;color:#fff;white-space:normal;line-height:1.25}.h2h-matrix th:first-child{position:sticky;left:0;z-index:2;min-width:145px;padding:10px 12px;text-align:left;background:#f2f7f1}.h2h-matrix thead th:first-child{z-index:4;background:#102f27}.h2h-matrix tbody th a{white-space:normal}.matrix-cell{display:grid;gap:2px;padding:11px 7px;color:#215f40;text-decoration:none}.matrix-cell:hover{background:#e8f5e8}.matrix-cell b{font-size:1rem}.matrix-cell small{color:#718377}.matrix-self,.matrix-empty{color:#9aa69e;background:#f7f8f7!important}.hall-method{margin:20px 0 38px;padding:15px 18px;border-left:4px solid #7bad85;background:#edf4ec;border-radius:7px}
@media(max-width:980px){.leader-grid{grid-template-columns:repeat(2,1fr)}.hall-record-grid{grid-template-columns:repeat(2,1fr)}.distribution-grid{grid-template-columns:1fr}.hall-section-head{align-items:flex-start;flex-direction:column}.hall-section-head>small{text-align:left}.matrix-controls{width:100%}}
@media(max-width:620px){.hall-controls{align-items:stretch;flex-direction:column}.hall-era{display:grid;grid-template-columns:1fr 1fr}.hall-range{align-items:stretch}.hall-range label{flex:1}.hall-range select{width:100%}.hall-section,.hall-hero{padding:18px 14px}.leader-grid,.dynasty-grid,.hall-record-grid{grid-template-columns:1fr}.leader-grid article{min-height:115px}.matrix-controls label{width:100%}.matrix-controls select,.matrix-controls input{width:100%}.hall-section-head h2{font-size:1.5rem}}

/* Движение команд по таблице */
.movement-section{overflow:hidden}.movement-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:16px}.movement-head h2{margin:3px 0 0}.movement-head>small{max-width:430px;color:#667b6d;text-align:right;line-height:1.4}
.chart-controls{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin-bottom:10px}.chart-controls label{display:grid;gap:5px;color:#5f7566;font-size:0.875rem;font-weight:850}.chart-controls select{min-width:220px;border:1px solid #c9d9ca;border-radius:9px;background:#fff;padding:9px 11px;color:#173f2d;font-weight:700}.chart-reset{border:1px solid #bad0bd;border-radius:9px;background:#f5f9f4;padding:9px 12px;color:#285d3d;font-weight:800}
.chart-selected{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:12px}.chart-selected button{border:1px solid #a8c9ae;border-radius:22px;background:#eaf5e9;padding:7px 10px;color:#24573a;font-weight:700}.chart-selected span{margin-left:4px;font-size:1.062rem}
.positions-chart{position:relative;width:100%;border:1px solid #dbe6da;border-radius:14px;background:linear-gradient(180deg,#fbfdfb,#f2f7f1);overflow:hidden}.positions-chart svg{display:block;width:100%;height:auto;min-height:320px}.chart-grid-y line,.chart-grid-x line{stroke:#dfe8df;stroke-width:1}.chart-grid-x line{stroke-dasharray:3 6}.chart-grid-y text,.chart-grid-x text{fill:#64766a;font-size:0.9375rem;font-weight:700}.axis-title{fill:#496653;font-size:0.9375rem;font-weight:850}
.chart-series{color:var(--series);transition:opacity .18s ease}.chart-series path{fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.chart-series.muted{opacity:.14}.chart-series.selected{opacity:.92}.chart-series .chart-hit{fill:currentColor;stroke:#fff;stroke-width:2;cursor:pointer;vector-effect:non-scaling-stroke}.chart-series .chart-hit:focus{outline:none;stroke:#142f24;stroke-width:4}.positions-chart.is-hovering .chart-series:not(.hovered){opacity:.08}.positions-chart.is-hovering .chart-series.hovered{opacity:1}.positions-chart.is-hovering .chart-series.hovered path{stroke-width:5}
.chart-tooltip{position:absolute;z-index:5;max-width:230px;transform:translate(-50%,calc(-100% - 12px));border-radius:10px;background:#102f27;padding:10px 12px;color:#fff;box-shadow:0 8px 25px #102f2745;font-size:0.9375rem;font-weight:700;line-height:1.45;white-space:pre-line;pointer-events:none}.chart-tooltip:after{content:"";position:absolute;left:50%;bottom:-6px;border:6px solid transparent;border-top-color:#102f27;border-bottom:0;transform:translateX(-50%)}
.chart-legend{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:11px}.chart-legend button{display:flex;align-items:center;gap:7px;min-width:0;border:1px solid transparent;border-radius:8px;background:transparent;padding:7px 8px;color:#496052;font-weight:700;text-align:left}.chart-legend button:hover,.chart-legend button.active{border-color:#c6d9c7;background:#f2f8f1;color:#183f2d}.chart-legend i{flex:0 0 auto;width:17px;height:4px;border-radius:3px;background:var(--series)}
.table-team-focus{display:inline-flex;align-items:center;gap:9px;border:0;background:transparent;color:inherit;padding:3px 2px;font:inherit;cursor:pointer}.table-team-focus:hover strong{text-decoration:underline}.table-team-page{display:inline-grid;place-items:center;margin-left:5px;width:25px;height:25px;border-radius:50%;background:#edf4ec;color:#356347;text-decoration:none;font-weight:900}.position-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:14px}.position-summary article{display:grid;gap:4px;padding:14px 16px;border:1px solid #dce8da;border-radius:11px;background:#f5f9f4}.position-summary span{color:#617667;font-size:0.875rem;font-weight:850;text-transform:uppercase}.position-summary strong{font-size:1.688rem}.position-summary small{color:#6b7d71}

/* Единые рейтинги команды */
.team-rankings>h3{margin:24px 0 11px;color:#294e38;font-size:1.125rem}.team-rankings>h3:first-of-type{margin-top:0}.ranking-card-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.ranking-card{display:grid;grid-template-columns:1fr auto;gap:8px 12px;padding:16px;border:1px solid #dfe8de;border-radius:12px;background:#f8faf7}.ranking-card>span{align-self:end;color:#617669;font-size:0.875rem;font-weight:850;letter-spacing:.04em;text-transform:uppercase}.ranking-card>strong{grid-row:1/3;grid-column:2;align-self:center;color:#173e2d;font-size:1.75rem}.ranking-card>div{grid-column:1/3;display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:7px;border-top:1px solid #e1e9e0}.ranking-card small{color:#6c7e72}.rank-link{display:inline-flex;align-items:baseline;gap:4px;color:#236443;text-decoration:none}.rank-link:hover{text-decoration:underline}.rank-link strong{font-size:1.062rem}.rank-link span{font-size:0.875rem}.rank-unavailable{color:#897258;font-size:0.875rem;font-weight:700;text-align:right}.team-rankings .team-section-head>small{max-width:420px;color:#687c6f;text-align:right}
.ranking-controls{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-bottom:16px}.ranking-controls label{display:grid;gap:5px;color:#607568;font-size:0.875rem;font-weight:850}.ranking-controls select{min-width:210px;border:1px solid #c9d9ca;border-radius:8px;background:#fff;padding:9px 10px;color:#173f2d;font-weight:700}.ranking-controls>span{margin-left:auto;border-radius:20px;background:#e8f4e7;padding:9px 12px;color:#2c5d3f}.ranking-table-wrap{max-width:760px}.ranking-table{min-width:0}.ranking-table th:first-child,.ranking-table td:first-child{width:90px;text-align:center}.ranking-table td:last-child{font-variant-numeric:tabular-nums;font-size:1.062rem}.ranking-table tr.ranking-highlight td{background:#e8f5e7;border-color:#bad8bd}.ranking-table tr.ranking-highlight td:first-child{box-shadow:inset 4px 0 #318354}
.quality-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0}.quality-summary span{display:grid;gap:3px;padding:14px;border:1px solid #d9e7d8;border-radius:10px;background:#f6faf5;color:#5d7565}.quality-summary b{font-size:1.562rem;color:#1d5138}

@media(max-width:900px){.chart-legend{grid-template-columns:repeat(3,1fr)}.ranking-card-list{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){
  .movement-head{align-items:flex-start;flex-direction:column}.movement-head>small{text-align:left}.positions-chart svg{min-height:280px}.chart-legend{display:none}.chart-controls{align-items:stretch;flex-direction:column}.chart-controls label,.chart-controls select,.chart-reset{width:100%}.chart-tooltip{max-width:190px;font-size:0.875rem}
  .position-summary{grid-template-columns:1fr}.ranking-card-list{grid-template-columns:1fr}.team-rankings .team-section-head>small{text-align:left}.ranking-controls{align-items:stretch;flex-direction:column}.ranking-controls label,.ranking-controls select{width:100%}.ranking-controls>span{margin-left:0}.ranking-table-wrap{width:100%;overflow:visible}.ranking-table,.ranking-table tbody,.ranking-table tr,.ranking-table td{display:block;width:100%}.ranking-table thead{display:none}.ranking-table tr{margin-bottom:8px;padding:12px 14px;border:1px solid #dce6db;border-radius:10px;background:#fff}.ranking-table td{border:0;padding:3px 0!important;text-align:left!important}.ranking-table td:first-child:before{content:"Место: ";color:#718176;font-size:0.875rem}.ranking-table td:last-child{margin-top:5px}.ranking-table tr.ranking-highlight td{background:transparent;box-shadow:none}.ranking-table tr.ranking-highlight{border-color:#74ae7e;background:#edf8ec}
  .quality-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Existing squad identity columns remain; league statistics are additional. */
.squad-list{overflow-x:auto}.squad-list-head,.squad-list-row{grid-template-columns:minmax(170px,2fr) minmax(135px,1.5fr) 130px 85px repeat(5,minmax(54px,.6fr));min-width:940px;column-gap:12px}
.us-panel{margin:16px 0;padding:14px 18px;border:1px solid #dfe8de;border-radius:12px;background:#f7faf6;color:#506458}.us-panel>div{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.us-panel p{font-size:0.9375rem;margin:10px 0 0}.us-panel details{margin-top:8px}.us-panel li{margin:5px 0}
html:not([data-owner="true"]) .us-panel details{display:none}

/* Availability details occupy the whole roster grid row. */
.squad-player-identity{display:flex;align-items:center;gap:7px;min-width:0;flex-wrap:wrap}.availability-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;min-height:30px;padding:4px;border:0;border-radius:6px;background:transparent;color:#aa4338;cursor:pointer;box-shadow:none}.availability-icon svg{display:block;flex-shrink:0}.availability-icon:hover,.availability-icon[aria-expanded="true"]{background:#f4e8e5}.availability-icon:focus-visible{outline:2px solid #216d53;outline-offset:2px}.availability-icon.av-suspended{color:#b23631}.availability-icon.av-unavailable{color:#566779}.availability-icon.av-unavailable:hover,.availability-icon.av-unavailable[aria-expanded="true"]{background:#e8edf3}.availability-icon.av-returning,.availability-icon.av-doubtful{color:#a5781e}.availability-icon.av-unknown,.availability-icon.av-stale{color:#78837c}.availability-row-details{grid-column:1/-1;min-width:0;white-space:normal;padding:14px 16px;margin:4px 0 3px;background:#f5f8f4;border:1px solid #dfe7dc;border-radius:8px}.availability-row-details[hidden]{display:none}.availability-detail p{margin:8px 0;font-size:0.9375rem;line-height:1.6;overflow-wrap:anywhere}.availability-context,.availability-detail>small{color:#68766b}.availability-sources{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px;margin-top:10px}.availability-sources a{font-size:0.875rem;color:#31634e;overflow-wrap:anywhere}.availability-sources small{font-size:0.8125rem;color:#78837b}.availability-row-details>strong{font-size:0.9375rem}.squad-list-row:has(.availability-row-details:not([hidden])){align-items:start}
@media(max-width:620px){.squad-player-identity{grid-column:1/-1}.availability-row-details{padding:12px}.availability-sources{display:grid;gap:4px}.availability-icon{width:34px;min-height:34px;flex-basis:34px}}
@media(max-width:620px){.squad-list-head{display:none}.squad-list-row{min-width:0;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px 8px}.squad-list-row strong{grid-column:1/-1}.squad-list-row>span:nth-child(2){grid-column:1/4}.squad-list-row>span:nth-child(3){grid-column:4/6}.squad-list-row>span:nth-child(4){grid-column:1/-1}.squad-list-row>span[data-label]{font-size:0.9375rem;color:#173f2d}.squad-list-row>span[data-label]:before{content:attr(data-label);display:block;color:#6b7d70;font-size:0.8125rem;margin-bottom:4px}.squad-list-row .position-badge{font-size:0.8125rem;padding:0 5px}.us-panel{padding:12px}.us-panel>div>span{font-size:0.9375rem}}

.lineup-mode{padding:14px 18px;border-bottom:1px solid #d8e1ec;display:flex;flex-wrap:wrap;gap:10px;align-items:center}.lineup-mode strong{margin-right:auto}.lineup-mode p{flex-basis:100%;margin:0;font-size:0.9375rem;color:#5b6b80;line-height:1.5}.lineup-mode button{font-size:0.9375rem}

/* Text and shape identify current EM roster membership without relying on color. */
.history-current-badge{display:block;width:fit-content;max-width:100%;margin-top:5px;padding:4px 8px;border:1px solid #22704d;border-radius:6px;background:#e6f4e9;color:#164f35;font-size:0.875rem;font-weight:700;line-height:1.4;white-space:normal}.history-dialog>.history-current-badge{margin:12px 0;font-size:0.9375rem}

.history-sort{font:inherit;text-align:left;white-space:normal}.history-sort:focus-visible{outline:2px solid #22704d;outline-offset:3px}.history-pagination{display:flex;align-items:center;justify-content:flex-end;gap:14px;margin:16px 0}
