.stats-compare-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 28px}
dialog[open]{display:flex;flex-direction:column;overflow:hidden}
.modal-head{flex:none}
#modal-body{min-height:0;min-width:0;overflow:auto}
.team-grid>section{min-width:0}
.shooter-list p{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:14px}
.squad-pitch,.team-grid .squad-pitch{height:max(620px,calc(var(--squad-rows,5)*130px))}
.player-dot{width:18%;max-width:100px;background:transparent!important;box-shadow:none!important;border:0!important;display:flex;align-items:center;flex-direction:column;transform:translate(-50%,-50%)}
.player-dot .player-photo{height:66px;width:66px;object-fit:contain}
.player-dot b{display:flex;gap:5px;align-items:center;width:auto;height:auto;min-height:21px;margin:0 0 2px;padding:2px 5px;background:#124c37;font-size:11px;color:white;border:0;border-radius:4px;white-space:nowrap}
.player-dot span{max-width:100%;background:#174e37dd;border-radius:3px;color:#fff;padding:2px 4px;font-size:12px}
.player-dot small{font-size:10px;color:#306347}.player-dot em{color:#d9fbb5}
.squad-table td:first-child strong{display:block;white-space:nowrap}.squad-table td:first-child small{font-size:11px}.squad-table{min-width:650px}
@media(max-width:760px){
 .team-grid{grid-template-columns:minmax(0,1fr)}
 .stats-compare-grid{grid-template-columns:1fr}.squad-pitch,.team-grid .squad-pitch{height:max(500px,calc(var(--squad-rows,5)*125px))}
 .player-dot{max-width:80px}.player-dot .player-photo{height:52px;width:52px}.player-dot span{font-size:11px}
 .button,.button.small{font-size:14px;min-height:42px}.hint,.pill,.stat-label,.maintenance-item p,.party-find-row p{font-size:13px}
 .compare,.timeline li,.timeline li small,.detail-tabs button,.match-score span,.team h3{font-size:14px}
 .team p,.live-meta,.stat-foot,.rank-name small,.calendar-cell .day-results{font-size:12px}
 .detail-tabs{position:sticky;top:0;background:#fff;z-index:4}.detail-tabs button{min-height:44px;padding:12px 10px}
 .map-legend{font-size:12px}.team-grid .squad-pitch{margin-top:16px}.control-panel .card-body{grid-template-columns:1fr}
 .team{min-width:0}.team h3{overflow-wrap:anywhere}.live-status{gap:12px}.live-score{min-width:64px}
}

.party-win-rate { display:block; margin-top:4px; color:var(--muted,#6b7684); font-size:13px; }
