.progress-pane {padding:16px;border:1px solid var(--line,#56715b);border-radius:12px;background:rgba(15,37,29,.94);}
.progress-pane>header {display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:12px;}
.progress-pane h2 {font-size:20px;margin:0 0 5px;}
.progress-table {width:100%;min-width:0;border-collapse:collapse;table-layout:fixed;font-size:13px;}
.progress-table thead th {box-sizing:border-box;height:var(--fm-player-table-head-height,48px);padding:0 8px!important;vertical-align:middle;background:var(--fm-table-head,#baa86f);color:var(--fm-table-head-ink,#142b22);text-align:center;}
.progress-table thead th:nth-child(1) {width:7%;}.progress-table thead th:nth-child(2) {width:27%;}.progress-table thead th:nth-child(3) {width:10%;}.progress-table thead th:nth-child(4) {width:42%;}.progress-table thead th:nth-child(5) {width:14%;}
.progress-table td,.progress-table tbody th {box-sizing:border-box;height:35px;padding:1px 4px;vertical-align:middle;border-bottom:1px solid #69897930;font-weight:500;font-size:13px;line-height:1.2;text-transform:none;letter-spacing:normal;}
.progress-table tbody tr:nth-child(even) {background:#a7cda508;}
.progress-position {text-align:center;}
.progress-position > :is(.role-badge,.squad-role-badge) {font-size:10px;}

.progress-identity>div {min-width:0;}
.progress-player {min-width:0;max-width:100%;text-align:left;cursor:pointer;}
.progress-value {font-size:12px;line-height:1.2;display:flex;justify-content:space-between;gap:8px;margin-bottom:2px;font-variant-numeric:tabular-nums;}
.progress-value strong {color:var(--stat-experience,#f1c65b);white-space:nowrap;}
.progress-count {color:var(--muted,#b9c9ae);white-space:nowrap;font-size:12px;}
.progress-meter {height:6px;background:#071c15;border-radius:3px;overflow:hidden;}
.progress-meter>span {display:block;width:100%;height:100%;transform-origin:left center;background:var(--stat-experience,#f1c65b);}
.progress-level {color:var(--stat-experience,#f1c65b);}
.progress-level .level-mark {display:inline-grid;place-items:center;width:24px;height:24px;min-width:0;min-height:0;vertical-align:middle;font-size:11px;font-weight:700;color:#f4f1e9;}
.progress-achievement {display:block;font-size:10px;line-height:1.1;color:#f1c65b;}
.progress-level-up {animation:progress-level-glow .85s ease-out both;}
@keyframes progress-level-glow {0%,100% {filter:brightness(1);transform:scale(1);text-shadow:none;}35% {filter:brightness(1.35);transform:scale(1.08);text-shadow:0 0 8px #f1c65b,0 0 18px #f1c65baa;}}
#post-match-review[hidden],.progress-pane[hidden],#match-live-panel .match-live-grid[hidden] {display:none!important;}
#post-match-review :is(button,summary):focus-visible {outline:2px solid #f1c65b;outline-offset:2px;}
@media(max-width:600px){
 .progress-pane {padding:10px;}.progress-table {display:block;}.progress-table caption,.progress-table thead {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
 .progress-table tbody {display:block;}.progress-table tbody tr {display:grid;grid-template-columns:44px minmax(0,1fr) 44px 48px;align-items:center;border-bottom:1px solid #69897950;padding:0.5px 0;}
 .progress-table tbody th,.progress-table td {display:block;height:auto;padding:2px 4px;border:0;width:auto!important;}.progress-experience {grid-column:1/-1;grid-row:2;}.progress-level {grid-column:4;grid-row:1;text-align:center;}
.progress-player {font-size:12px;}
}
@media(prefers-reduced-motion:reduce){.progress-level-up {animation:none!important;}}

:is(#post-match-review, #matchday-review-dialog) .progress-player {position:static;inset:auto;display:flex;align-items:center;justify-content:flex-start;gap:7px;width:auto;height:auto;flex:1;min-width:0;min-height:0;padding:2px 8px 2px 2px;border:0;border-radius:0;font-family:var(--fm-font-body-family,sans-serif);text-align:left;}

.progress-dialog {width:min(800px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--line,#56715b);border-radius:12px;background:#10271f;color:var(--ink,#f1f1df);overflow:auto;}
.progress-dialog::backdrop {background:#04100ccc;backdrop-filter:blur(4px);}
.progress-dialog .progress-pane {border:0;}.progress-dialog .progress-pane>header button {min-width:44px;min-height:44px;}
.progress-dialog .talent-star {flex:0 0 18px;}.progress-overall {font-variant-numeric:tabular-nums;}
@media(max-width:600px){.progress-dialog {width:calc(100vw - 16px);max-height:calc(100dvh - 16px);}.progress-overall {grid-column:3;grid-row:1;text-align:center;}}

#post-match-review .progress-pane>header [data-progress-action="close"] {font-size:24px;line-height:1;font-weight:700;}

.progress-table .progress-player strong { font-size: 13px; font-weight: 850; }
.progress-table .progress-position > :is(.role-badge, .squad-role-badge) { font-size: 10px; }

.progress-pane > header { position: sticky; top: 0; z-index: 2; background: #10271f; align-items: center; flex-wrap: wrap; }
.progress-pane > header > div { flex: 1; }

.progress-table .progress-level { text-align: center; vertical-align: middle; }
.progress-achievement:empty { display: none; }
