.analyzer-upload{display:grid;grid-template-columns:1fr auto;align-items:center;gap:20px}.demo-file{display:flex;flex-direction:column;gap:10px}.demo-file label{font-weight:600}.demo-file input{max-width:100%;font:inherit;color:var(--muted)}input::file-selector-button{background:#292d34;border:1px solid var(--line);border-radius:5px;padding:10px 14px;color:var(--text);font:inherit;margin-right:12px;cursor:pointer}.analysis-rules{grid-column:1}.analyzer-upload>button{grid-column:2;grid-row:1/3}.analysis-settings{display:flex;gap:20px;flex-wrap:wrap;margin-top:16px}.analysis-settings label{font-size:12px;color:var(--muted);display:flex;flex-direction:column;gap:7px}.analysis-settings input{width:160px;padding:10px;border:1px solid var(--line);border-radius:5px;background:var(--bg);color:var(--text);font:inherit}.analyzer-upload progress{width:100%;grid-column:1/-1;accent-color:var(--orange)}#demo-status{grid-column:1/-1;margin:0;font-size:13px}.analyzer-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;margin-top:30px}.analyzer-layout>aside h3{margin-bottom:16px}#analysis-list{display:grid;gap:8px}.analysis-job{text-align:left;display:flex;flex-direction:column;gap:5px;width:100%;padding:14px;min-width:0}.analysis-job strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;font-size:12px;white-space:nowrap}.analysis-job.active{border-color:var(--orange);background:var(--card)}.analysis-job .note{font-size:11px}.analysis-title{display:flex;align-items:center;gap:12px;margin-bottom:20px}.analysis-title h2{margin:0}.analysis-controls{display:flex;gap:14px;flex-wrap:wrap;align-items:end;margin-bottom:18px}.analysis-controls label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:var(--muted)}.analysis-controls select{max-width:260px}.analysis-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.analysis-metrics button{background:var(--card);text-align:left;padding:18px;min-width:0}.analysis-metrics strong{display:block;font-size:30px;line-height:1.2;color:var(--text)}.analysis-metrics span{font-size:11px;color:var(--muted)}.analysis-metrics .active{border-color:var(--orange)}.analysis-round{margin:10px 0;padding:16px}.analysis-round>summary{display:flex;align-items:center;gap:12px;justify-content:space-between;font-size:13px;list-style:none}.analysis-round>summary::-webkit-details-marker{display:none}.analysis-round .round-number{font-weight:750;min-width:70px}.round-tags{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.buy-label{font-size:11px;border-radius:4px;border:1px solid var(--line);padding:3px 7px;white-space:nowrap}.buy-full{color:var(--green)}.buy-eco{color:#f6c986}.buy-pistol{color:#c8c4e6}.analysis-round .table-wrap{margin-top:18px}.analysis-round td{white-space:normal;min-width:70px;vertical-align:top}.analysis-round td:first-child{min-width:140px}.analysis-round .inventory{min-width:180px;max-width:280px;font-size:11px;color:var(--muted)}.analysis-round .warning{color:#ffb36c}.analysis-method{font-size:12px;color:var(--muted);margin:18px 0}.analysis-method p{max-width:90ch}.analysis-note{color:#ffb36c;font-size:12px}#analysis-content>.empty{margin-top:0}.analysis-status{border-left:2px solid var(--orange)}
@media(max-width:900px){.analyzer-layout{grid-template-columns:1fr}#analysis-list{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.analysis-job{max-width:100%}}
@media(max-width:600px){.analyzer-upload{grid-template-columns:1fr}.analyzer-upload>button{grid-column:1;grid-row:auto}.analysis-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.analysis-metrics button{padding:14px}.analysis-round>summary{align-items:flex-start;flex-wrap:wrap;gap:8px}.analysis-controls select{max-width:100%}.analysis-controls label{width:100%}.analysis-controls select{width:100%}.analysis-title h2{font-size:21px}}
.analyzer-layout>*{min-width:0}.analyzer-upload>*{min-width:0}.analyzer-layout .table-wrap{max-width:100%}.analysis-rules{min-width:0}.analysis-round{max-width:100%}.analysis-title{flex-wrap:wrap}.analysis-method{overflow-wrap:anywhere}

.analysis-job-item{display:flex;gap:6px;min-width:0}.analysis-job-item .analysis-job{flex:1;width:0}.analysis-delete{flex:0 0 30px;padding:0;color:var(--muted);font-size:22px}.analysis-delete:hover:not(:disabled){color:#ff706a;border-color:#ff706a}.analysis-delete:disabled{opacity:.3;cursor:default}.utility-comparison{margin:24px 0}.utility-comparison h3{font-size:15px;margin:0 0 12px}.utility-comparison .table-wrap{border:1px solid var(--line);border-radius:8px}.utility-comparison th{font-size:10px;white-space:normal;min-width:85px;background:#23252d}.utility-comparison th:first-child{min-width:140px}.utility-comparison td{font-variant-numeric:tabular-nums;font-size:12px;vertical-align:middle}.analysis-player-link{padding:0;border:0;background:transparent;font:inherit;text-align:left}.analysis-player-link.active{color:var(--orange)}.utility-throws{display:flex;gap:3px;min-width:140px}.utility-chip{padding:4px 5px;border-radius:3px;color:white;font-size:10px;white-space:nowrap}.utility-chip.smoke{background:#258994}.utility-chip.flash{background:#456be3}.utility-chip.he{background:#ba693b}.utility-chip.fire{background:#b54149}.utility-chip.decoy{background:#737780}.utility-quote{display:inline-block;padding:6px 8px;background:#292d34;border-radius:5px}
.utility-comparison th,.utility-comparison td{padding:10px 8px}.utility-comparison th{min-width:64px;line-height:1.4}.utility-comparison th:first-child{min-width:120px}.utility-comparison .analysis-player-link{min-height:24px}.utility-comparison tbody tr:nth-child(even){background:#17191e}

.performance-comparison{margin:20px 0}.performance-comparison .table-wrap{border:1px solid var(--line);border-radius:8px}.performance-comparison th{font-size:11px;background:#22252b;padding:12px}.performance-comparison td{padding:12px 8px;vertical-align:middle}.performance-comparison td:first-child{min-width:145px}.performance-comparison tbody tr:nth-child(even){background:#17191e}.performance-cell{border:0;padding:0 4px;text-align:left;min-height:44px;white-space:nowrap}.performance-cell strong{display:block;font-size:13px}.performance-cell span{display:block;color:var(--muted);font-size:10px}.performance-identity{display:flex;align-items:center;gap:8px}.performance-identity .avatar-shell{width:28px;height:28px}.performance-identity .analysis-player-link{font-size:12px}.player-insights{display:grid;gap:8px;margin:20px 0}.player-insight{border:1px solid var(--line);border-radius:7px;background:var(--card);padding:14px 16px}.player-insight summary{display:flex;align-items:center;gap:16px;cursor:pointer;list-style:none}.player-insight summary strong{font-size:12px;min-width:110px}.insight-strength{font-size:12px;color:var(--green)}.insight-improvement{font-size:12px;color:#ffb36c;margin:12px 0}.insight-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0}.insight-stat{text-align:left;padding:10px;min-width:0}.insight-stat span{display:block;font-size:10px;color:var(--muted)}.insight-stat strong{font-size:14px}.player-insight .utility-throws{margin-top:12px}.performance-comparison .table-wrap{max-width:100%}@media(max-width:600px){.insight-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.player-insight summary{align-items:flex-start;gap:8px;flex-direction:column}.performance-comparison td,.performance-comparison th{padding:10px 6px}}

.teamplayer-award{padding:18px 20px;border-color:#776035;background:linear-gradient(110deg,#28231a,var(--card));margin:18px 0}.teamplayer-award-head{display:flex;align-items:center;gap:10px;margin-bottom:14px}.teamplayer-award h3{font-size:14px}.teamplayer-star{color:#f2c46d;font-size:20px}.teamplayer-winner{display:flex;align-items:center;gap:12px}.teamplayer-winner .avatar-shell{width:34px;height:34px}.teamplayer-winner .analysis-player-link{font-size:20px;font-weight:700}.teamplayer-score{margin-left:auto;color:#f2c46d;font-size:13px}.teamplayer-evidence{margin-top:8px;font-size:11px;color:var(--muted)}@media(max-width:600px){.teamplayer-winner{flex-wrap:wrap}.teamplayer-score{margin-left:0}.teamplayer-evidence{line-height:1.8}}

.teamplayer-ranking{margin-top:18px;border-top:1px solid #55472d;padding-top:6px}.teamplayer-ranking th,.teamplayer-ranking td{padding:10px 8px;font-size:11px}.teamplayer-ranking .analysis-player-link{min-height:28px;padding:0}.teamplayer-reason{font-size:11px;white-space:normal;min-width:230px}.teamplayer-reason span{display:block;margin-top:3px}.analysis-round .round-notes{min-width:175px;max-width:260px;font-size:11px;line-height:1.6}.teamplayer-ranking .table-wrap{max-width:100%}

.analysis-round-controls{margin-top:28px;justify-content:flex-start}.analysis-round-controls h3{margin:0;align-self:center}

.analysis-controls label{width:260px;max-width:100%}.analysis-controls select{width:100%}.economy-critical strong,.economy-critical span{color:var(--red)}.economy-warning strong,.economy-warning span{color:var(--orange)}.economy-neutral strong,.economy-neutral span{color:var(--text)}

.economy-round-list{flex-basis:100%;font-size:12px;color:var(--text)}.economy-round-numbers{line-height:1.5}.analysis-round-controls{scroll-margin-top:20px}

.player-details-toggle{display:inline-flex;align-items:center;gap:8px}.performance-comparison .player-detail-row td{padding:0;white-space:normal}.player-detail-row .player-insight{border:0;border-radius:0;padding:18px 20px;background:#131519}.player-detail-row .insight-stats{margin-bottom:0}.player-detail-row .insight-stat{white-space:normal}.player-detail-row .insight-strength{line-height:1.5}

.analysis-round>summary{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px}.analysis-round>summary>.round-number{justify-self:start}.analysis-round>summary>.round-tags{justify-self:center;justify-content:center}.analysis-round>summary>span:last-child{justify-self:end;text-align:right}@media(max-width:600px){.analysis-round>summary{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.analysis-round>summary>.round-number{grid-column:1;grid-row:1}.analysis-round>summary>.round-tags{grid-column:1/-1;grid-row:2}.analysis-round>summary>span:last-child{grid-column:2;grid-row:1}}

.teamplayer-award-head{cursor:pointer}.teamplayer-winner .avatar-shell{position:relative}.teamplayer-avatar-wrap{display:inline-flex;position:relative;width:34px;height:34px;flex:0 0 auto}.teamplayer-avatar-wrap>.teamplayer-easter-egg{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2;width:110px;height:auto;max-width:none;border-radius:5px;box-shadow:0 8px 28px #0008}

@media(max-width:900px){
.teamplayer-winner:has(.teamplayer-easter-egg:not([hidden])){flex-wrap:wrap}
.teamplayer-avatar-wrap:has(.teamplayer-easter-egg:not([hidden])){flex-basis:100%;width:100%;height:auto;justify-content:center}
.teamplayer-avatar-wrap:has(.teamplayer-easter-egg:not([hidden]))>.avatar-shell{display:none}
.teamplayer-avatar-wrap>.teamplayer-easter-egg:not([hidden]){position:static;transform:none;width:min(240px,100%);max-width:100%;height:auto;object-fit:contain}
}
/* Compact match header, editable association, and direct round navigation. */
.analysis-title.card{display:flex;align-items:center;gap:12px;padding:14px 16px;margin:0 0 12px}.analysis-heading{min-width:0}.analysis-heading h2{font-size:22px;margin:0 0 4px}.analysis-score{font-size:25px;font-variant-numeric:tabular-nums}.analysis-header-crew{display:flex;gap:4px;margin-left:auto}.analysis-header-crew .avatar-shell{width:25px;height:25px}.analysis-title .map-tile{width:60px;height:42px}.analysis-title .analysis-match-picker{margin:0;max-width:100%;flex-basis:100%;font-size:11px}.analysis-match-picker>summary{cursor:pointer;color:var(--muted);padding:4px 0}.analysis-match-picker select{margin-top:7px;max-width:100%;width:min(440px,100%)}.round-navigation{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 18px;padding:0;border:0;overflow:visible}.round-navigation .round-jump{position:relative;flex:0 0 34px;min-width:34px;height:34px;padding:0;font-size:12px;border-radius:5px;font-variant-numeric:tabular-nums}.round-jump.round-won{color:var(--green);border-color:#375e47}.round-jump.round-lost{color:var(--red);border-color:#62403f}.round-jump.round-issue::after{content:'';position:absolute;right:3px;top:3px;width:5px;height:5px;border-radius:50%;background:var(--orange)}.round-jump[aria-pressed=true]{background:#31343a;border-color:var(--text)}.analysis-round{scroll-margin-top:18px}.teamplayer-evidence{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0 14px}.teamplayer-contribution{font-size:11px;padding:5px 8px;background:#28251e;border-color:#5b4b30;white-space:normal}.teamplayer-contribution:hover{border-color:#bfa064}.analysis-round>summary:focus-visible,.round-jump:focus-visible{outline:2px solid var(--orange);outline-offset:3px}
@media(max-width:600px){.analysis-title.card{gap:8px;padding:12px}.analysis-title .map-tile{width:42px;height:32px}.analysis-heading h2{font-size:19px}.analysis-heading .note{font-size:10px}.analysis-score{font-size:21px}.analysis-header-crew{flex-basis:100%;margin-left:0}.round-navigation{gap:5px}.round-navigation .round-jump{flex-basis:31px;min-width:31px;height:31px}.teamplayer-contribution{font-size:10px}.analysis-title .analysis-match-picker{width:auto}}
